@everymatrix/casino-random-game 1.77.19 → 1.77.20
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-BCx6_mSm.js → CasinoRandomGame-ByCdDwkD.js} +756 -799
- package/components/CasinoRandomGame-TZXxfhwD.cjs +19 -0
- package/components/{CasinoRandomGame-DGqtZD9p.js → CasinoRandomGame-YGA85kwE.js} +762 -805
- 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/components/CasinoRandomGame-CIt395QJ.cjs +0 -19
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Vr = Object.defineProperty, Wr = Object.defineProperties;
|
|
2
|
+
var Xr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var mt = Object.getOwnPropertySymbols;
|
|
4
|
+
var zr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ge = (e, t, r) => t in e ? Vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
zr.call(t, r) && Ge(e, r, t[r]);
|
|
8
|
+
if (mt)
|
|
9
|
+
for (var r of mt(t))
|
|
10
|
+
Jr.call(t, r) && Ge(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var N = (e, t, r) => (
|
|
12
|
+
}, pt = (e, t) => Wr(e, Xr(t));
|
|
13
|
+
var N = (e, t, r) => (Ge(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var ye = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
@@ -27,9 +27,9 @@ var ye = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
|
|
28
28
|
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function C() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Zr(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,50 +37,50 @@ function en(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function zt(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function bt() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
46
|
function J(e) {
|
|
47
|
-
e.forEach(
|
|
47
|
+
e.forEach(zt);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function st(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Jt(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
55
|
let ve;
|
|
56
|
-
function
|
|
56
|
+
function gt(e, t) {
|
|
57
57
|
return e === t ? !0 : (ve || (ve = document.createElement("a")), ve.href = t, e === ve.href);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Qr(e) {
|
|
60
60
|
return Object.keys(e).length === 0;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function Zt(e, ...t) {
|
|
63
63
|
if (e == null) {
|
|
64
64
|
for (const n of t)
|
|
65
65
|
n(void 0);
|
|
66
|
-
return
|
|
66
|
+
return C;
|
|
67
67
|
}
|
|
68
68
|
const r = e.subscribe(...t);
|
|
69
69
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
e.$$.on_destroy.push(
|
|
71
|
+
function Yr(e, t, r) {
|
|
72
|
+
e.$$.on_destroy.push(Zt(t, r));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function qr(e, t, r, n) {
|
|
75
75
|
if (e) {
|
|
76
|
-
const i =
|
|
76
|
+
const i = Qt(e, t, r, n);
|
|
77
77
|
return e[0](i);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
return e[1] && n ?
|
|
80
|
+
function Qt(e, t, r, n) {
|
|
81
|
+
return e[1] && n ? Zr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Kr(e, t, r, n) {
|
|
84
84
|
if (e[2] && n) {
|
|
85
85
|
const i = e[2](n(r));
|
|
86
86
|
if (t.dirty === void 0)
|
|
@@ -95,13 +95,13 @@ function on(e, t, r, n) {
|
|
|
95
95
|
}
|
|
96
96
|
return t.dirty;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function en(e, t, r, n, i, o) {
|
|
99
99
|
if (i) {
|
|
100
|
-
const a =
|
|
100
|
+
const a = Qt(t, r, n, o);
|
|
101
101
|
e.p(a, i);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function tn(e) {
|
|
105
105
|
if (e.ctx.length > 32) {
|
|
106
106
|
const t = [], r = e.ctx.length / 32;
|
|
107
107
|
for (let n = 0; n < r; n++)
|
|
@@ -110,17 +110,17 @@ function sn(e) {
|
|
|
110
110
|
}
|
|
111
111
|
return -1;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function x(e, t) {
|
|
114
114
|
e.appendChild(t);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
const n =
|
|
116
|
+
function rn(e, t, r) {
|
|
117
|
+
const n = nn(e);
|
|
118
118
|
if (!n.getElementById(t)) {
|
|
119
|
-
const i =
|
|
120
|
-
i.id = t, i.textContent = r,
|
|
119
|
+
const i = S("style");
|
|
120
|
+
i.id = t, i.textContent = r, on(n, i);
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function nn(e) {
|
|
124
124
|
if (!e)
|
|
125
125
|
return document;
|
|
126
126
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -130,8 +130,8 @@ function ln(e) {
|
|
|
130
130
|
t
|
|
131
131
|
) : e.ownerDocument;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
return
|
|
133
|
+
function on(e, t) {
|
|
134
|
+
return x(
|
|
135
135
|
/** @type {Document} */
|
|
136
136
|
e.head || e,
|
|
137
137
|
t
|
|
@@ -140,17 +140,17 @@ function hn(e, t) {
|
|
|
140
140
|
function I(e, t, r) {
|
|
141
141
|
e.insertBefore(t, r || null);
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function R(e) {
|
|
144
144
|
e.parentNode && e.parentNode.removeChild(e);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function an(e, t) {
|
|
147
147
|
for (let r = 0; r < e.length; r += 1)
|
|
148
148
|
e[r] && e[r].d(t);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function S(e) {
|
|
151
151
|
return document.createElement(e);
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function yt(e) {
|
|
154
154
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
155
155
|
}
|
|
156
156
|
function k(e) {
|
|
@@ -165,14 +165,14 @@ function Be(e, t, r, n) {
|
|
|
165
165
|
function g(e, t, r) {
|
|
166
166
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function sn(e) {
|
|
169
169
|
return Array.from(e.childNodes);
|
|
170
170
|
}
|
|
171
171
|
function z(e, t) {
|
|
172
172
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
173
173
|
t);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function un(e) {
|
|
176
176
|
const t = {};
|
|
177
177
|
return e.childNodes.forEach(
|
|
178
178
|
/** @param {Element} node */
|
|
@@ -181,72 +181,72 @@ function mn(e) {
|
|
|
181
181
|
}
|
|
182
182
|
), t;
|
|
183
183
|
}
|
|
184
|
-
let
|
|
185
|
-
function
|
|
186
|
-
|
|
184
|
+
let me;
|
|
185
|
+
function ce(e) {
|
|
186
|
+
me = e;
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
if (!
|
|
188
|
+
function ln() {
|
|
189
|
+
if (!me)
|
|
190
190
|
throw new Error("Function called outside component initialization");
|
|
191
|
-
return
|
|
191
|
+
return me;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
|
|
193
|
+
function hn(e) {
|
|
194
|
+
ln().$$.on_mount.push(e);
|
|
195
195
|
}
|
|
196
196
|
const K = [], Ae = [];
|
|
197
197
|
let ee = [];
|
|
198
|
-
const
|
|
199
|
-
let
|
|
200
|
-
function
|
|
201
|
-
|
|
198
|
+
const vt = [], Yt = /* @__PURE__ */ Promise.resolve();
|
|
199
|
+
let We = !1;
|
|
200
|
+
function qt() {
|
|
201
|
+
We || (We = !0, Yt.then(O));
|
|
202
202
|
}
|
|
203
|
-
function
|
|
204
|
-
return
|
|
203
|
+
function cn() {
|
|
204
|
+
return qt(), Yt;
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Xe(e) {
|
|
207
207
|
ee.push(e);
|
|
208
208
|
}
|
|
209
|
-
const
|
|
209
|
+
const Ue = /* @__PURE__ */ new Set();
|
|
210
210
|
let Y = 0;
|
|
211
|
-
function
|
|
211
|
+
function O() {
|
|
212
212
|
if (Y !== 0)
|
|
213
213
|
return;
|
|
214
|
-
const e =
|
|
214
|
+
const e = me;
|
|
215
215
|
do {
|
|
216
216
|
try {
|
|
217
217
|
for (; Y < K.length; ) {
|
|
218
218
|
const t = K[Y];
|
|
219
|
-
Y++,
|
|
219
|
+
Y++, ce(t), fn(t.$$);
|
|
220
220
|
}
|
|
221
221
|
} catch (t) {
|
|
222
222
|
throw K.length = 0, Y = 0, t;
|
|
223
223
|
}
|
|
224
|
-
for (
|
|
224
|
+
for (ce(null), K.length = 0, Y = 0; Ae.length; )
|
|
225
225
|
Ae.pop()();
|
|
226
226
|
for (let t = 0; t < ee.length; t += 1) {
|
|
227
227
|
const r = ee[t];
|
|
228
|
-
|
|
228
|
+
Ue.has(r) || (Ue.add(r), r());
|
|
229
229
|
}
|
|
230
230
|
ee.length = 0;
|
|
231
231
|
} while (K.length);
|
|
232
|
-
for (;
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
for (; vt.length; )
|
|
233
|
+
vt.pop()();
|
|
234
|
+
We = !1, Ue.clear(), ce(e);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function fn(e) {
|
|
237
237
|
if (e.fragment !== null) {
|
|
238
238
|
e.update(), J(e.before_update);
|
|
239
239
|
const t = e.dirty;
|
|
240
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
240
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function mn(e) {
|
|
244
244
|
const t = [], r = [];
|
|
245
245
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
246
246
|
}
|
|
247
247
|
const Ee = /* @__PURE__ */ new Set();
|
|
248
248
|
let X;
|
|
249
|
-
function
|
|
249
|
+
function dn() {
|
|
250
250
|
X = {
|
|
251
251
|
r: 0,
|
|
252
252
|
c: [],
|
|
@@ -254,13 +254,13 @@ function vn() {
|
|
|
254
254
|
// parent group
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function pn() {
|
|
258
258
|
X.r || J(X.c), X = X.p;
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function fe(e, t) {
|
|
261
261
|
e && e.i && (Ee.delete(e), e.i(t));
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function ze(e, t, r, n) {
|
|
264
264
|
if (e && e.o) {
|
|
265
265
|
if (Ee.has(e))
|
|
266
266
|
return;
|
|
@@ -270,34 +270,34 @@ function Qe(e, t, r, n) {
|
|
|
270
270
|
} else
|
|
271
271
|
n && n();
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function _t(e) {
|
|
274
274
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function bn(e, t, r) {
|
|
277
277
|
const { fragment: n, after_update: i } = e.$$;
|
|
278
|
-
n && n.m(t, r),
|
|
279
|
-
const o = e.$$.on_mount.map(
|
|
278
|
+
n && n.m(t, r), Xe(() => {
|
|
279
|
+
const o = e.$$.on_mount.map(zt).filter(st);
|
|
280
280
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
|
|
281
|
-
}), i.forEach(
|
|
281
|
+
}), i.forEach(Xe);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function gn(e, t) {
|
|
284
284
|
const r = e.$$;
|
|
285
|
-
r.fragment !== null && (
|
|
285
|
+
r.fragment !== null && (mn(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
|
287
|
+
function yn(e, t) {
|
|
288
|
+
e.$$.dirty[0] === -1 && (K.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
const h =
|
|
292
|
-
|
|
290
|
+
function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
291
|
+
const h = me;
|
|
292
|
+
ce(e);
|
|
293
293
|
const l = e.$$ = {
|
|
294
294
|
fragment: null,
|
|
295
295
|
ctx: [],
|
|
296
296
|
// state
|
|
297
297
|
props: o,
|
|
298
|
-
update:
|
|
298
|
+
update: C,
|
|
299
299
|
not_equal: i,
|
|
300
|
-
bound:
|
|
300
|
+
bound: bt(),
|
|
301
301
|
// lifecycle
|
|
302
302
|
on_mount: [],
|
|
303
303
|
on_destroy: [],
|
|
@@ -306,7 +306,7 @@ function Sn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
306
306
|
after_update: [],
|
|
307
307
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
308
308
|
// everything else
|
|
309
|
-
callbacks:
|
|
309
|
+
callbacks: bt(),
|
|
310
310
|
dirty: s,
|
|
311
311
|
skip_bound: !1,
|
|
312
312
|
root: t.target || h.$$.root
|
|
@@ -315,19 +315,19 @@ function Sn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
315
315
|
let u = !1;
|
|
316
316
|
if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
|
|
317
317
|
const d = m.length ? m[0] : c;
|
|
318
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u &&
|
|
318
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && yn(e, f)), c;
|
|
319
319
|
}) : [], l.update(), u = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
320
320
|
if (t.hydrate) {
|
|
321
|
-
const f =
|
|
322
|
-
l.fragment && l.fragment.l(f), f.forEach(
|
|
321
|
+
const f = sn(t.target);
|
|
322
|
+
l.fragment && l.fragment.l(f), f.forEach(R);
|
|
323
323
|
} else
|
|
324
324
|
l.fragment && l.fragment.c();
|
|
325
|
-
t.intro &&
|
|
325
|
+
t.intro && fe(e.$$.fragment), bn(e, t.target, t.anchor), O();
|
|
326
326
|
}
|
|
327
|
-
|
|
327
|
+
ce(h);
|
|
328
328
|
}
|
|
329
|
-
let
|
|
330
|
-
typeof HTMLElement == "function" && (
|
|
329
|
+
let Kt;
|
|
330
|
+
typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
331
331
|
constructor(t, r, n) {
|
|
332
332
|
super();
|
|
333
333
|
/** The Svelte component constructor */
|
|
@@ -371,7 +371,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
|
371
371
|
let a;
|
|
372
372
|
return {
|
|
373
373
|
c: function() {
|
|
374
|
-
a =
|
|
374
|
+
a = S("slot"), o !== "default" && g(a, "name", o);
|
|
375
375
|
},
|
|
376
376
|
/**
|
|
377
377
|
* @param {HTMLElement} target
|
|
@@ -381,14 +381,14 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
|
381
381
|
I(l, a, u);
|
|
382
382
|
},
|
|
383
383
|
d: function(l) {
|
|
384
|
-
l &&
|
|
384
|
+
l && R(a);
|
|
385
385
|
}
|
|
386
386
|
};
|
|
387
387
|
};
|
|
388
388
|
};
|
|
389
389
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
390
390
|
return;
|
|
391
|
-
const r = {}, n =
|
|
391
|
+
const r = {}, n = un(this);
|
|
392
392
|
for (const o of this.$$s)
|
|
393
393
|
o in n && (r[o] = [t(o)]);
|
|
394
394
|
for (const o of this.attributes) {
|
|
@@ -399,7 +399,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
|
399
399
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
400
400
|
this.$$c = new this.$$ctor({
|
|
401
401
|
target: this.shadowRoot || this,
|
|
402
|
-
props:
|
|
402
|
+
props: pt(dt({}, this.$$d), {
|
|
403
403
|
$$slots: r,
|
|
404
404
|
$$scope: {
|
|
405
405
|
ctx: []
|
|
@@ -477,8 +477,8 @@ function we(e, t, r, n) {
|
|
|
477
477
|
return t;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
function
|
|
481
|
-
let a = class extends
|
|
480
|
+
function _n(e, t, r, n, i, o) {
|
|
481
|
+
let a = class extends Kt {
|
|
482
482
|
constructor() {
|
|
483
483
|
super(e, r, i), this.$$p_d = t;
|
|
484
484
|
}
|
|
@@ -508,7 +508,7 @@ function Tn(e, t, r, n, i, o) {
|
|
|
508
508
|
}), e.element = /** @type {any} */
|
|
509
509
|
a, a;
|
|
510
510
|
}
|
|
511
|
-
class
|
|
511
|
+
class xn {
|
|
512
512
|
constructor() {
|
|
513
513
|
/**
|
|
514
514
|
* ### PRIVATE API
|
|
@@ -529,7 +529,7 @@ class Hn {
|
|
|
529
529
|
}
|
|
530
530
|
/** @returns {void} */
|
|
531
531
|
$destroy() {
|
|
532
|
-
|
|
532
|
+
gn(this, 1), this.$destroy = C;
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
535
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -538,8 +538,8 @@ class Hn {
|
|
|
538
538
|
* @returns {() => void}
|
|
539
539
|
*/
|
|
540
540
|
$on(t, r) {
|
|
541
|
-
if (!
|
|
542
|
-
return
|
|
541
|
+
if (!st(r))
|
|
542
|
+
return C;
|
|
543
543
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
544
544
|
return n.push(r), () => {
|
|
545
545
|
const i = n.indexOf(r);
|
|
@@ -551,11 +551,11 @@ class Hn {
|
|
|
551
551
|
* @returns {void}
|
|
552
552
|
*/
|
|
553
553
|
$set(t) {
|
|
554
|
-
this.$$set && !
|
|
554
|
+
this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
const
|
|
558
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
557
|
+
const En = "4";
|
|
558
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(En);
|
|
559
559
|
/*! *****************************************************************************
|
|
560
560
|
Copyright (c) Microsoft Corporation.
|
|
561
561
|
|
|
@@ -570,24 +570,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
570
570
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
571
571
|
PERFORMANCE OF THIS SOFTWARE.
|
|
572
572
|
***************************************************************************** */
|
|
573
|
-
var
|
|
574
|
-
return
|
|
573
|
+
var Je = function(e, t) {
|
|
574
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
575
575
|
r.__proto__ = n;
|
|
576
576
|
} || function(r, n) {
|
|
577
577
|
for (var i in n)
|
|
578
578
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
579
|
-
},
|
|
579
|
+
}, Je(e, t);
|
|
580
580
|
};
|
|
581
|
-
function
|
|
581
|
+
function $(e, t) {
|
|
582
582
|
if (typeof t != "function" && t !== null)
|
|
583
583
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
584
|
-
|
|
584
|
+
Je(e, t);
|
|
585
585
|
function r() {
|
|
586
586
|
this.constructor = e;
|
|
587
587
|
}
|
|
588
588
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
var _ = function() {
|
|
591
|
+
return _ = Object.assign || function(t) {
|
|
592
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
593
|
+
r = arguments[n];
|
|
594
|
+
for (var o in r)
|
|
595
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
596
|
+
}
|
|
597
|
+
return t;
|
|
598
|
+
}, _.apply(this, arguments);
|
|
599
|
+
};
|
|
600
|
+
function wn(e, t) {
|
|
601
|
+
var r = {};
|
|
602
|
+
for (var n in e)
|
|
603
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
604
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
605
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
606
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
607
|
+
return r;
|
|
608
|
+
}
|
|
609
|
+
function Ze(e) {
|
|
591
610
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
592
611
|
if (r)
|
|
593
612
|
return r.call(e);
|
|
@@ -599,7 +618,7 @@ function qe(e) {
|
|
|
599
618
|
};
|
|
600
619
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
601
620
|
}
|
|
602
|
-
function
|
|
621
|
+
function Qe(e, t) {
|
|
603
622
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
604
623
|
if (!r)
|
|
605
624
|
return e;
|
|
@@ -619,8 +638,8 @@ function Ke(e, t) {
|
|
|
619
638
|
}
|
|
620
639
|
return o;
|
|
621
640
|
}
|
|
622
|
-
function
|
|
623
|
-
if (arguments.length === 2)
|
|
641
|
+
function te(e, t, r) {
|
|
642
|
+
if (r || arguments.length === 2)
|
|
624
643
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
625
644
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
626
645
|
return e.concat(o || t);
|
|
@@ -628,13 +647,13 @@ function et(e, t, r) {
|
|
|
628
647
|
function D(e) {
|
|
629
648
|
return typeof e == "function";
|
|
630
649
|
}
|
|
631
|
-
function
|
|
650
|
+
function er(e) {
|
|
632
651
|
var t = function(n) {
|
|
633
652
|
Error.call(n), n.stack = new Error().stack;
|
|
634
653
|
}, r = e(t);
|
|
635
654
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
636
655
|
}
|
|
637
|
-
var
|
|
656
|
+
var Fe = er(function(e) {
|
|
638
657
|
return function(r) {
|
|
639
658
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
640
659
|
` + r.map(function(n, i) {
|
|
@@ -643,13 +662,13 @@ var De = or(function(e) {
|
|
|
643
662
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
644
663
|
};
|
|
645
664
|
});
|
|
646
|
-
function
|
|
665
|
+
function Ye(e, t) {
|
|
647
666
|
if (e) {
|
|
648
667
|
var r = e.indexOf(t);
|
|
649
668
|
0 <= r && e.splice(r, 1);
|
|
650
669
|
}
|
|
651
670
|
}
|
|
652
|
-
var
|
|
671
|
+
var Oe = function() {
|
|
653
672
|
function e(t) {
|
|
654
673
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
655
674
|
}
|
|
@@ -661,7 +680,7 @@ var Ie = function() {
|
|
|
661
680
|
if (a)
|
|
662
681
|
if (this._parentage = null, Array.isArray(a))
|
|
663
682
|
try {
|
|
664
|
-
for (var s =
|
|
683
|
+
for (var s = Ze(a), h = s.next(); !h.done; h = s.next()) {
|
|
665
684
|
var l = h.value;
|
|
666
685
|
l.remove(this);
|
|
667
686
|
}
|
|
@@ -682,18 +701,18 @@ var Ie = function() {
|
|
|
682
701
|
try {
|
|
683
702
|
u();
|
|
684
703
|
} catch (p) {
|
|
685
|
-
o = p instanceof
|
|
704
|
+
o = p instanceof Fe ? p.errors : [p];
|
|
686
705
|
}
|
|
687
706
|
var f = this._finalizers;
|
|
688
707
|
if (f) {
|
|
689
708
|
this._finalizers = null;
|
|
690
709
|
try {
|
|
691
|
-
for (var c =
|
|
710
|
+
for (var c = Ze(f), m = c.next(); !m.done; m = c.next()) {
|
|
692
711
|
var d = m.value;
|
|
693
712
|
try {
|
|
694
|
-
|
|
713
|
+
xt(d);
|
|
695
714
|
} catch (p) {
|
|
696
|
-
o = o != null ? o : [], p instanceof
|
|
715
|
+
o = o != null ? o : [], p instanceof Fe ? o = te(te([], Qe(o)), Qe(p.errors)) : o.push(p);
|
|
697
716
|
}
|
|
698
717
|
}
|
|
699
718
|
} catch (p) {
|
|
@@ -708,13 +727,13 @@ var Ie = function() {
|
|
|
708
727
|
}
|
|
709
728
|
}
|
|
710
729
|
if (o)
|
|
711
|
-
throw new
|
|
730
|
+
throw new Fe(o);
|
|
712
731
|
}
|
|
713
732
|
}, e.prototype.add = function(t) {
|
|
714
733
|
var r;
|
|
715
734
|
if (t && t !== this)
|
|
716
735
|
if (this.closed)
|
|
717
|
-
|
|
736
|
+
xt(t);
|
|
718
737
|
else {
|
|
719
738
|
if (t instanceof e) {
|
|
720
739
|
if (t.closed || t._hasParent(this))
|
|
@@ -731,52 +750,52 @@ var Ie = function() {
|
|
|
731
750
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
732
751
|
}, e.prototype._removeParent = function(t) {
|
|
733
752
|
var r = this._parentage;
|
|
734
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
753
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
|
|
735
754
|
}, e.prototype.remove = function(t) {
|
|
736
755
|
var r = this._finalizers;
|
|
737
|
-
r &&
|
|
756
|
+
r && Ye(r, t), t instanceof e && t._removeParent(this);
|
|
738
757
|
}, e.EMPTY = function() {
|
|
739
758
|
var t = new e();
|
|
740
759
|
return t.closed = !0, t;
|
|
741
760
|
}(), e;
|
|
742
|
-
}(),
|
|
743
|
-
function
|
|
744
|
-
return e instanceof
|
|
761
|
+
}(), tr = Oe.EMPTY;
|
|
762
|
+
function rr(e) {
|
|
763
|
+
return e instanceof Oe || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
|
745
764
|
}
|
|
746
|
-
function
|
|
765
|
+
function xt(e) {
|
|
747
766
|
D(e) ? e() : e.unsubscribe();
|
|
748
767
|
}
|
|
749
|
-
var
|
|
768
|
+
var Sn = {
|
|
750
769
|
Promise: void 0
|
|
751
|
-
},
|
|
770
|
+
}, Tn = {
|
|
752
771
|
setTimeout: function(e, t) {
|
|
753
772
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
754
773
|
r[n - 2] = arguments[n];
|
|
755
|
-
return setTimeout.apply(void 0,
|
|
774
|
+
return setTimeout.apply(void 0, te([e, t], Qe(r)));
|
|
756
775
|
},
|
|
757
776
|
clearTimeout: function(e) {
|
|
758
777
|
return clearTimeout(e);
|
|
759
778
|
},
|
|
760
779
|
delegate: void 0
|
|
761
780
|
};
|
|
762
|
-
function
|
|
763
|
-
|
|
781
|
+
function Hn(e) {
|
|
782
|
+
Tn.setTimeout(function() {
|
|
764
783
|
throw e;
|
|
765
784
|
});
|
|
766
785
|
}
|
|
767
|
-
function
|
|
786
|
+
function Et() {
|
|
768
787
|
}
|
|
769
788
|
function Se(e) {
|
|
770
789
|
e();
|
|
771
790
|
}
|
|
772
|
-
var
|
|
773
|
-
|
|
791
|
+
var nr = function(e) {
|
|
792
|
+
$(t, e);
|
|
774
793
|
function t(r) {
|
|
775
794
|
var n = e.call(this) || this;
|
|
776
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
795
|
+
return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = Pn, n;
|
|
777
796
|
}
|
|
778
797
|
return t.create = function(r, n, i) {
|
|
779
|
-
return new
|
|
798
|
+
return new qe(r, n, i);
|
|
780
799
|
}, t.prototype.next = function(r) {
|
|
781
800
|
this.isStopped || this._next(r);
|
|
782
801
|
}, t.prototype.error = function(r) {
|
|
@@ -800,7 +819,7 @@ var ur = function(e) {
|
|
|
800
819
|
this.unsubscribe();
|
|
801
820
|
}
|
|
802
821
|
}, t;
|
|
803
|
-
}(
|
|
822
|
+
}(Oe), Bn = function() {
|
|
804
823
|
function e(t) {
|
|
805
824
|
this.partialObserver = t;
|
|
806
825
|
}
|
|
@@ -831,43 +850,43 @@ var ur = function(e) {
|
|
|
831
850
|
_e(r);
|
|
832
851
|
}
|
|
833
852
|
}, e;
|
|
834
|
-
}(),
|
|
835
|
-
|
|
853
|
+
}(), qe = function(e) {
|
|
854
|
+
$(t, e);
|
|
836
855
|
function t(r, n, i) {
|
|
837
856
|
var o = e.call(this) || this, a;
|
|
838
857
|
return D(r) || !r ? a = {
|
|
839
858
|
next: r != null ? r : void 0,
|
|
840
859
|
error: n != null ? n : void 0,
|
|
841
860
|
complete: i != null ? i : void 0
|
|
842
|
-
} : a = r, o.destination = new
|
|
861
|
+
} : a = r, o.destination = new Bn(a), o;
|
|
843
862
|
}
|
|
844
863
|
return t;
|
|
845
|
-
}(
|
|
864
|
+
}(nr);
|
|
846
865
|
function _e(e) {
|
|
847
|
-
|
|
866
|
+
Hn(e);
|
|
848
867
|
}
|
|
849
|
-
function
|
|
868
|
+
function An(e) {
|
|
850
869
|
throw e;
|
|
851
870
|
}
|
|
852
|
-
var
|
|
871
|
+
var Pn = {
|
|
853
872
|
closed: !0,
|
|
854
|
-
next:
|
|
855
|
-
error:
|
|
856
|
-
complete:
|
|
857
|
-
},
|
|
873
|
+
next: Et,
|
|
874
|
+
error: An,
|
|
875
|
+
complete: Et
|
|
876
|
+
}, Rn = function() {
|
|
858
877
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
859
878
|
}();
|
|
860
|
-
function
|
|
879
|
+
function On(e) {
|
|
861
880
|
return e;
|
|
862
881
|
}
|
|
863
|
-
function
|
|
864
|
-
return e.length === 0 ?
|
|
882
|
+
function In(e) {
|
|
883
|
+
return e.length === 0 ? On : e.length === 1 ? e[0] : function(r) {
|
|
865
884
|
return e.reduce(function(n, i) {
|
|
866
885
|
return i(n);
|
|
867
886
|
}, r);
|
|
868
887
|
};
|
|
869
888
|
}
|
|
870
|
-
var
|
|
889
|
+
var wt = function() {
|
|
871
890
|
function e(t) {
|
|
872
891
|
t && (this._subscribe = t);
|
|
873
892
|
}
|
|
@@ -875,7 +894,7 @@ var At = function() {
|
|
|
875
894
|
var r = new e();
|
|
876
895
|
return r.source = this, r.operator = t, r;
|
|
877
896
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
878
|
-
var i = this, o =
|
|
897
|
+
var i = this, o = Ln(t) ? t : new qe(t, r, n);
|
|
879
898
|
return Se(function() {
|
|
880
899
|
var a = i, s = a.operator, h = a.source;
|
|
881
900
|
o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -888,8 +907,8 @@ var At = function() {
|
|
|
888
907
|
}
|
|
889
908
|
}, e.prototype.forEach = function(t, r) {
|
|
890
909
|
var n = this;
|
|
891
|
-
return r =
|
|
892
|
-
var a = new
|
|
910
|
+
return r = St(r), new r(function(i, o) {
|
|
911
|
+
var a = new qe({
|
|
893
912
|
next: function(s) {
|
|
894
913
|
try {
|
|
895
914
|
t(s);
|
|
@@ -905,15 +924,15 @@ var At = function() {
|
|
|
905
924
|
}, e.prototype._subscribe = function(t) {
|
|
906
925
|
var r;
|
|
907
926
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
908
|
-
}, e.prototype[
|
|
927
|
+
}, e.prototype[Rn] = function() {
|
|
909
928
|
return this;
|
|
910
929
|
}, e.prototype.pipe = function() {
|
|
911
930
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
912
931
|
t[r] = arguments[r];
|
|
913
|
-
return
|
|
932
|
+
return In(t)(this);
|
|
914
933
|
}, e.prototype.toPromise = function(t) {
|
|
915
934
|
var r = this;
|
|
916
|
-
return t =
|
|
935
|
+
return t = St(t), new t(function(n, i) {
|
|
917
936
|
var o;
|
|
918
937
|
r.subscribe(function(a) {
|
|
919
938
|
return o = a;
|
|
@@ -927,32 +946,32 @@ var At = function() {
|
|
|
927
946
|
return new e(t);
|
|
928
947
|
}, e;
|
|
929
948
|
}();
|
|
930
|
-
function
|
|
949
|
+
function St(e) {
|
|
931
950
|
var t;
|
|
932
|
-
return (t = e != null ? e :
|
|
951
|
+
return (t = e != null ? e : Sn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
933
952
|
}
|
|
934
|
-
function
|
|
953
|
+
function Nn(e) {
|
|
935
954
|
return e && D(e.next) && D(e.error) && D(e.complete);
|
|
936
955
|
}
|
|
937
|
-
function
|
|
938
|
-
return e && e instanceof
|
|
956
|
+
function Ln(e) {
|
|
957
|
+
return e && e instanceof nr || Nn(e) && rr(e);
|
|
939
958
|
}
|
|
940
|
-
var
|
|
959
|
+
var Mn = er(function(e) {
|
|
941
960
|
return function() {
|
|
942
961
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
943
962
|
};
|
|
944
|
-
}),
|
|
945
|
-
|
|
963
|
+
}), ir = function(e) {
|
|
964
|
+
$(t, e);
|
|
946
965
|
function t() {
|
|
947
966
|
var r = e.call(this) || this;
|
|
948
967
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
949
968
|
}
|
|
950
969
|
return t.prototype.lift = function(r) {
|
|
951
|
-
var n = new
|
|
970
|
+
var n = new Tt(this, this);
|
|
952
971
|
return n.operator = r, n;
|
|
953
972
|
}, t.prototype._throwIfClosed = function() {
|
|
954
973
|
if (this.closed)
|
|
955
|
-
throw new
|
|
974
|
+
throw new Mn();
|
|
956
975
|
}, t.prototype.next = function(r) {
|
|
957
976
|
var n = this;
|
|
958
977
|
Se(function() {
|
|
@@ -960,7 +979,7 @@ var $n = or(function(e) {
|
|
|
960
979
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
961
980
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
962
981
|
try {
|
|
963
|
-
for (var a =
|
|
982
|
+
for (var a = Ze(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
964
983
|
var h = s.value;
|
|
965
984
|
h.next(r);
|
|
966
985
|
}
|
|
@@ -1009,20 +1028,20 @@ var $n = or(function(e) {
|
|
|
1009
1028
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1010
1029
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1011
1030
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1012
|
-
return o || a ?
|
|
1013
|
-
n.currentObservers = null,
|
|
1031
|
+
return o || a ? tr : (this.currentObservers = null, s.push(r), new Oe(function() {
|
|
1032
|
+
n.currentObservers = null, Ye(s, r);
|
|
1014
1033
|
}));
|
|
1015
1034
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1016
1035
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1017
1036
|
i ? r.error(o) : a && r.complete();
|
|
1018
1037
|
}, t.prototype.asObservable = function() {
|
|
1019
|
-
var r = new
|
|
1038
|
+
var r = new wt();
|
|
1020
1039
|
return r.source = this, r;
|
|
1021
1040
|
}, t.create = function(r, n) {
|
|
1022
|
-
return new
|
|
1041
|
+
return new Tt(r, n);
|
|
1023
1042
|
}, t;
|
|
1024
|
-
}(
|
|
1025
|
-
|
|
1043
|
+
}(wt), Tt = function(e) {
|
|
1044
|
+
$(t, e);
|
|
1026
1045
|
function t(r, n) {
|
|
1027
1046
|
var i = e.call(this) || this;
|
|
1028
1047
|
return i.destination = r, i.source = n, i;
|
|
@@ -1038,17 +1057,17 @@ var $n = or(function(e) {
|
|
|
1038
1057
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1039
1058
|
}, t.prototype._subscribe = function(r) {
|
|
1040
1059
|
var n, i;
|
|
1041
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1060
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
|
|
1042
1061
|
}, t;
|
|
1043
|
-
}(
|
|
1062
|
+
}(ir), or = {
|
|
1044
1063
|
now: function() {
|
|
1045
|
-
return (
|
|
1064
|
+
return (or.delegate || Date).now();
|
|
1046
1065
|
},
|
|
1047
1066
|
delegate: void 0
|
|
1048
|
-
},
|
|
1049
|
-
|
|
1067
|
+
}, Cn = function(e) {
|
|
1068
|
+
$(t, e);
|
|
1050
1069
|
function t(r, n, i) {
|
|
1051
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1070
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
|
|
1052
1071
|
var o = e.call(this) || this;
|
|
1053
1072
|
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;
|
|
1054
1073
|
}
|
|
@@ -1068,24 +1087,24 @@ var $n = or(function(e) {
|
|
|
1068
1087
|
l && o.splice(0, l + 1);
|
|
1069
1088
|
}
|
|
1070
1089
|
}, t;
|
|
1071
|
-
}(
|
|
1072
|
-
const
|
|
1073
|
-
if (
|
|
1074
|
-
const r = new
|
|
1075
|
-
|
|
1090
|
+
}(ir);
|
|
1091
|
+
const Ht = [], Bt = {}, Gn = (e, t = 0) => {
|
|
1092
|
+
if (Ht.indexOf(e) == -1) {
|
|
1093
|
+
const r = new Cn(t);
|
|
1094
|
+
Bt[e] = r, Ht.push(e);
|
|
1076
1095
|
}
|
|
1077
|
-
return
|
|
1096
|
+
return Bt[e];
|
|
1078
1097
|
}, q = [];
|
|
1079
|
-
function
|
|
1098
|
+
function Un(e, t) {
|
|
1080
1099
|
return {
|
|
1081
|
-
subscribe:
|
|
1100
|
+
subscribe: Ie(e, t).subscribe
|
|
1082
1101
|
};
|
|
1083
1102
|
}
|
|
1084
|
-
function
|
|
1103
|
+
function Ie(e, t = C) {
|
|
1085
1104
|
let r;
|
|
1086
1105
|
const n = /* @__PURE__ */ new Set();
|
|
1087
1106
|
function i(s) {
|
|
1088
|
-
if (
|
|
1107
|
+
if (Jt(e, s) && (e = s, r)) {
|
|
1089
1108
|
const h = !q.length;
|
|
1090
1109
|
for (const l of n)
|
|
1091
1110
|
l[1](), q.push(l, e);
|
|
@@ -1099,31 +1118,31 @@ function Ne(e, t = G) {
|
|
|
1099
1118
|
function o(s) {
|
|
1100
1119
|
i(s(e));
|
|
1101
1120
|
}
|
|
1102
|
-
function a(s, h =
|
|
1121
|
+
function a(s, h = C) {
|
|
1103
1122
|
const l = [s, h];
|
|
1104
|
-
return n.add(l), n.size === 1 && (r = t(i, o) ||
|
|
1123
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || C), s(e), () => {
|
|
1105
1124
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
1106
1125
|
};
|
|
1107
1126
|
}
|
|
1108
1127
|
return { set: i, update: o, subscribe: a };
|
|
1109
1128
|
}
|
|
1110
|
-
function
|
|
1129
|
+
function ae(e, t, r) {
|
|
1111
1130
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1112
1131
|
if (!i.every(Boolean))
|
|
1113
1132
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1114
1133
|
const o = t.length < 2;
|
|
1115
|
-
return
|
|
1134
|
+
return Un(r, (a, s) => {
|
|
1116
1135
|
let h = !1;
|
|
1117
1136
|
const l = [];
|
|
1118
|
-
let u = 0, f =
|
|
1137
|
+
let u = 0, f = C;
|
|
1119
1138
|
const c = () => {
|
|
1120
1139
|
if (u)
|
|
1121
1140
|
return;
|
|
1122
1141
|
f();
|
|
1123
1142
|
const d = t(n ? l[0] : l, a, s);
|
|
1124
|
-
o ? a(d) : f =
|
|
1143
|
+
o ? a(d) : f = st(d) ? d : C;
|
|
1125
1144
|
}, m = i.map(
|
|
1126
|
-
(d, p) =>
|
|
1145
|
+
(d, p) => Zt(
|
|
1127
1146
|
d,
|
|
1128
1147
|
(A) => {
|
|
1129
1148
|
l[p] = A, u &= ~(1 << p), h && c();
|
|
@@ -1138,153 +1157,111 @@ function oe(e, t, r) {
|
|
|
1138
1157
|
};
|
|
1139
1158
|
});
|
|
1140
1159
|
}
|
|
1141
|
-
function
|
|
1160
|
+
function Fn(e) {
|
|
1142
1161
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1143
1162
|
}
|
|
1144
|
-
var
|
|
1145
|
-
return
|
|
1163
|
+
var Dn = function(t) {
|
|
1164
|
+
return $n(t) && !jn(t);
|
|
1146
1165
|
};
|
|
1147
|
-
function
|
|
1166
|
+
function $n(e) {
|
|
1148
1167
|
return !!e && typeof e == "object";
|
|
1149
1168
|
}
|
|
1150
|
-
function
|
|
1169
|
+
function jn(e) {
|
|
1151
1170
|
var t = Object.prototype.toString.call(e);
|
|
1152
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1171
|
+
return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
|
|
1153
1172
|
}
|
|
1154
|
-
var
|
|
1155
|
-
function
|
|
1156
|
-
return e.$$typeof ===
|
|
1173
|
+
var kn = typeof Symbol == "function" && Symbol.for, Vn = kn ? Symbol.for("react.element") : 60103;
|
|
1174
|
+
function Wn(e) {
|
|
1175
|
+
return e.$$typeof === Vn;
|
|
1157
1176
|
}
|
|
1158
|
-
function
|
|
1177
|
+
function Xn(e) {
|
|
1159
1178
|
return Array.isArray(e) ? [] : {};
|
|
1160
1179
|
}
|
|
1161
|
-
function
|
|
1162
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1180
|
+
function de(e, t) {
|
|
1181
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(Xn(e), e, t) : e;
|
|
1163
1182
|
}
|
|
1164
|
-
function
|
|
1183
|
+
function zn(e, t, r) {
|
|
1165
1184
|
return e.concat(t).map(function(n) {
|
|
1166
|
-
return
|
|
1185
|
+
return de(n, r);
|
|
1167
1186
|
});
|
|
1168
1187
|
}
|
|
1169
|
-
function
|
|
1188
|
+
function Jn(e, t) {
|
|
1170
1189
|
if (!t.customMerge)
|
|
1171
|
-
return
|
|
1190
|
+
return re;
|
|
1172
1191
|
var r = t.customMerge(e);
|
|
1173
|
-
return typeof r == "function" ? r :
|
|
1192
|
+
return typeof r == "function" ? r : re;
|
|
1174
1193
|
}
|
|
1175
|
-
function
|
|
1194
|
+
function Zn(e) {
|
|
1176
1195
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1177
1196
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1178
1197
|
}) : [];
|
|
1179
1198
|
}
|
|
1180
|
-
function
|
|
1181
|
-
return Object.keys(e).concat(
|
|
1199
|
+
function At(e) {
|
|
1200
|
+
return Object.keys(e).concat(Zn(e));
|
|
1182
1201
|
}
|
|
1183
|
-
function
|
|
1202
|
+
function ar(e, t) {
|
|
1184
1203
|
try {
|
|
1185
1204
|
return t in e;
|
|
1186
1205
|
} catch (r) {
|
|
1187
1206
|
return !1;
|
|
1188
1207
|
}
|
|
1189
1208
|
}
|
|
1190
|
-
function
|
|
1191
|
-
return
|
|
1209
|
+
function Qn(e, t) {
|
|
1210
|
+
return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1192
1211
|
}
|
|
1193
|
-
function
|
|
1212
|
+
function Yn(e, t, r) {
|
|
1194
1213
|
var n = {};
|
|
1195
|
-
return r.isMergeableObject(e) &&
|
|
1196
|
-
n[i] =
|
|
1197
|
-
}),
|
|
1198
|
-
|
|
1214
|
+
return r.isMergeableObject(e) && At(e).forEach(function(i) {
|
|
1215
|
+
n[i] = de(e[i], r);
|
|
1216
|
+
}), At(t).forEach(function(i) {
|
|
1217
|
+
Qn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
|
|
1199
1218
|
}), n;
|
|
1200
1219
|
}
|
|
1201
|
-
function
|
|
1202
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1220
|
+
function re(e, t, r) {
|
|
1221
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || zn, r.isMergeableObject = r.isMergeableObject || Dn, r.cloneUnlessOtherwiseSpecified = de;
|
|
1203
1222
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1204
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1223
|
+
return o ? n ? r.arrayMerge(e, t, r) : Yn(e, t, r) : de(t, r);
|
|
1205
1224
|
}
|
|
1206
|
-
|
|
1225
|
+
re.all = function(t, r) {
|
|
1207
1226
|
if (!Array.isArray(t))
|
|
1208
1227
|
throw new Error("first argument should be an array");
|
|
1209
1228
|
return t.reduce(function(n, i) {
|
|
1210
|
-
return
|
|
1229
|
+
return re(n, i, r);
|
|
1211
1230
|
}, {});
|
|
1212
1231
|
};
|
|
1213
|
-
var
|
|
1214
|
-
const
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
r.__proto__ = n;
|
|
1218
|
-
} || function(r, n) {
|
|
1219
|
-
for (var i in n)
|
|
1220
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1221
|
-
}, nt(e, t);
|
|
1222
|
-
};
|
|
1223
|
-
function Le(e, t) {
|
|
1224
|
-
if (typeof t != "function" && t !== null)
|
|
1225
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1226
|
-
nt(e, t);
|
|
1227
|
-
function r() {
|
|
1228
|
-
this.constructor = e;
|
|
1229
|
-
}
|
|
1230
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1231
|
-
}
|
|
1232
|
-
var C = function() {
|
|
1233
|
-
return C = Object.assign || function(t) {
|
|
1234
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1235
|
-
r = arguments[n];
|
|
1236
|
-
for (var o in r)
|
|
1237
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1238
|
-
}
|
|
1239
|
-
return t;
|
|
1240
|
-
}, C.apply(this, arguments);
|
|
1241
|
-
};
|
|
1242
|
-
function oi(e, t) {
|
|
1243
|
-
var r = {};
|
|
1244
|
-
for (var n in e)
|
|
1245
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1246
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1247
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1248
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1249
|
-
return r;
|
|
1250
|
-
}
|
|
1251
|
-
function je(e, t, r) {
|
|
1252
|
-
if (r || arguments.length === 2)
|
|
1253
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1254
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1255
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1256
|
-
}
|
|
1257
|
-
function ke(e, t) {
|
|
1258
|
-
var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : ui;
|
|
1232
|
+
var qn = re, Kn = qn;
|
|
1233
|
+
const ei = /* @__PURE__ */ Fn(Kn);
|
|
1234
|
+
function De(e, t) {
|
|
1235
|
+
var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : oi, i = t && t.strategy ? t.strategy : ni;
|
|
1259
1236
|
return i(e, {
|
|
1260
1237
|
cache: r,
|
|
1261
1238
|
serializer: n
|
|
1262
1239
|
});
|
|
1263
1240
|
}
|
|
1264
|
-
function
|
|
1241
|
+
function ti(e) {
|
|
1265
1242
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1266
1243
|
}
|
|
1267
|
-
function
|
|
1268
|
-
var i =
|
|
1244
|
+
function ri(e, t, r, n) {
|
|
1245
|
+
var i = ti(n) ? n : r(n), o = t.get(i);
|
|
1269
1246
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1270
1247
|
}
|
|
1271
|
-
function
|
|
1248
|
+
function sr(e, t, r) {
|
|
1272
1249
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1273
1250
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1274
1251
|
}
|
|
1275
|
-
function
|
|
1252
|
+
function ur(e, t, r, n, i) {
|
|
1276
1253
|
return r.bind(t, e, n, i);
|
|
1277
1254
|
}
|
|
1278
|
-
function
|
|
1279
|
-
var r = e.length === 1 ?
|
|
1280
|
-
return
|
|
1255
|
+
function ni(e, t) {
|
|
1256
|
+
var r = e.length === 1 ? ri : sr;
|
|
1257
|
+
return ur(e, this, r, t.cache.create(), t.serializer);
|
|
1281
1258
|
}
|
|
1282
|
-
function
|
|
1283
|
-
return
|
|
1259
|
+
function ii(e, t) {
|
|
1260
|
+
return ur(e, this, sr, t.cache.create(), t.serializer);
|
|
1284
1261
|
}
|
|
1285
|
-
var
|
|
1262
|
+
var oi = function() {
|
|
1286
1263
|
return JSON.stringify(arguments);
|
|
1287
|
-
},
|
|
1264
|
+
}, ai = (
|
|
1288
1265
|
/** @class */
|
|
1289
1266
|
function() {
|
|
1290
1267
|
function e() {
|
|
@@ -1296,71 +1273,61 @@ var hi = function() {
|
|
|
1296
1273
|
this.cache[t] = r;
|
|
1297
1274
|
}, e;
|
|
1298
1275
|
}()
|
|
1299
|
-
),
|
|
1276
|
+
), si = {
|
|
1300
1277
|
create: function() {
|
|
1301
|
-
return new
|
|
1278
|
+
return new ai();
|
|
1302
1279
|
}
|
|
1303
|
-
},
|
|
1304
|
-
variadic:
|
|
1305
|
-
},
|
|
1306
|
-
return Pe = Object.assign || function(t) {
|
|
1307
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1308
|
-
r = arguments[n];
|
|
1309
|
-
for (var o in r)
|
|
1310
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1311
|
-
}
|
|
1312
|
-
return t;
|
|
1313
|
-
}, Pe.apply(this, arguments);
|
|
1314
|
-
};
|
|
1315
|
-
var y;
|
|
1280
|
+
}, $e = {
|
|
1281
|
+
variadic: ii
|
|
1282
|
+
}, y;
|
|
1316
1283
|
(function(e) {
|
|
1317
1284
|
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";
|
|
1318
1285
|
})(y || (y = {}));
|
|
1319
|
-
var
|
|
1286
|
+
var w;
|
|
1320
1287
|
(function(e) {
|
|
1321
1288
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1322
|
-
})(
|
|
1323
|
-
var
|
|
1289
|
+
})(w || (w = {}));
|
|
1290
|
+
var ne;
|
|
1324
1291
|
(function(e) {
|
|
1325
1292
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1326
|
-
})(
|
|
1327
|
-
function
|
|
1328
|
-
return e.type ===
|
|
1293
|
+
})(ne || (ne = {}));
|
|
1294
|
+
function Pt(e) {
|
|
1295
|
+
return e.type === w.literal;
|
|
1329
1296
|
}
|
|
1330
|
-
function
|
|
1331
|
-
return e.type ===
|
|
1297
|
+
function ui(e) {
|
|
1298
|
+
return e.type === w.argument;
|
|
1332
1299
|
}
|
|
1333
|
-
function
|
|
1334
|
-
return e.type ===
|
|
1300
|
+
function lr(e) {
|
|
1301
|
+
return e.type === w.number;
|
|
1335
1302
|
}
|
|
1336
|
-
function
|
|
1337
|
-
return e.type ===
|
|
1303
|
+
function hr(e) {
|
|
1304
|
+
return e.type === w.date;
|
|
1338
1305
|
}
|
|
1339
|
-
function
|
|
1340
|
-
return e.type ===
|
|
1306
|
+
function cr(e) {
|
|
1307
|
+
return e.type === w.time;
|
|
1341
1308
|
}
|
|
1342
|
-
function
|
|
1343
|
-
return e.type ===
|
|
1309
|
+
function fr(e) {
|
|
1310
|
+
return e.type === w.select;
|
|
1344
1311
|
}
|
|
1345
|
-
function
|
|
1346
|
-
return e.type ===
|
|
1312
|
+
function mr(e) {
|
|
1313
|
+
return e.type === w.plural;
|
|
1347
1314
|
}
|
|
1348
|
-
function
|
|
1349
|
-
return e.type ===
|
|
1315
|
+
function li(e) {
|
|
1316
|
+
return e.type === w.pound;
|
|
1350
1317
|
}
|
|
1351
|
-
function
|
|
1352
|
-
return e.type ===
|
|
1318
|
+
function dr(e) {
|
|
1319
|
+
return e.type === w.tag;
|
|
1353
1320
|
}
|
|
1354
|
-
function
|
|
1355
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1321
|
+
function pr(e) {
|
|
1322
|
+
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1356
1323
|
}
|
|
1357
|
-
function
|
|
1358
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1324
|
+
function Ke(e) {
|
|
1325
|
+
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1359
1326
|
}
|
|
1360
|
-
var
|
|
1361
|
-
function
|
|
1327
|
+
var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1328
|
+
function ci(e) {
|
|
1362
1329
|
var t = {};
|
|
1363
|
-
return e.replace(
|
|
1330
|
+
return e.replace(hi, function(r) {
|
|
1364
1331
|
var n = r.length;
|
|
1365
1332
|
switch (r[0]) {
|
|
1366
1333
|
case "G":
|
|
@@ -1449,21 +1416,11 @@ function bi(e) {
|
|
|
1449
1416
|
return "";
|
|
1450
1417
|
}), t;
|
|
1451
1418
|
}
|
|
1452
|
-
var
|
|
1453
|
-
|
|
1454
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1455
|
-
r = arguments[n];
|
|
1456
|
-
for (var o in r)
|
|
1457
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1458
|
-
}
|
|
1459
|
-
return t;
|
|
1460
|
-
}, S.apply(this, arguments);
|
|
1461
|
-
};
|
|
1462
|
-
var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1463
|
-
function yi(e) {
|
|
1419
|
+
var fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1420
|
+
function mi(e) {
|
|
1464
1421
|
if (e.length === 0)
|
|
1465
1422
|
throw new Error("Number skeleton cannot be empty");
|
|
1466
|
-
for (var t = e.split(
|
|
1423
|
+
for (var t = e.split(fi).filter(function(c) {
|
|
1467
1424
|
return c.length > 0;
|
|
1468
1425
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1469
1426
|
var o = i[n], a = o.split("/");
|
|
@@ -1478,17 +1435,17 @@ function yi(e) {
|
|
|
1478
1435
|
}
|
|
1479
1436
|
return r;
|
|
1480
1437
|
}
|
|
1481
|
-
function
|
|
1438
|
+
function di(e) {
|
|
1482
1439
|
return e.replace(/^(.*?)-/, "");
|
|
1483
1440
|
}
|
|
1484
|
-
var
|
|
1485
|
-
function
|
|
1441
|
+
var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, pi = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
|
|
1442
|
+
function Ot(e) {
|
|
1486
1443
|
var t = {};
|
|
1487
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1444
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
|
|
1488
1445
|
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)), "";
|
|
1489
1446
|
}), t;
|
|
1490
1447
|
}
|
|
1491
|
-
function
|
|
1448
|
+
function vr(e) {
|
|
1492
1449
|
switch (e) {
|
|
1493
1450
|
case "sign-auto":
|
|
1494
1451
|
return {
|
|
@@ -1528,7 +1485,7 @@ function Sr(e) {
|
|
|
1528
1485
|
};
|
|
1529
1486
|
}
|
|
1530
1487
|
}
|
|
1531
|
-
function
|
|
1488
|
+
function bi(e) {
|
|
1532
1489
|
var t;
|
|
1533
1490
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1534
1491
|
notation: "engineering"
|
|
@@ -1536,17 +1493,17 @@ function xi(e) {
|
|
|
1536
1493
|
notation: "scientific"
|
|
1537
1494
|
}, e = e.slice(1)), t) {
|
|
1538
1495
|
var r = e.slice(0, 2);
|
|
1539
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1496
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
|
|
1540
1497
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1541
1498
|
t.minimumIntegerDigits = e.length;
|
|
1542
1499
|
}
|
|
1543
1500
|
return t;
|
|
1544
1501
|
}
|
|
1545
|
-
function
|
|
1546
|
-
var t = {}, r =
|
|
1502
|
+
function It(e) {
|
|
1503
|
+
var t = {}, r = vr(e);
|
|
1547
1504
|
return r || t;
|
|
1548
1505
|
}
|
|
1549
|
-
function
|
|
1506
|
+
function gi(e) {
|
|
1550
1507
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1551
1508
|
var i = n[r];
|
|
1552
1509
|
switch (i.stem) {
|
|
@@ -1570,7 +1527,7 @@ function Ei(e) {
|
|
|
1570
1527
|
continue;
|
|
1571
1528
|
case "measure-unit":
|
|
1572
1529
|
case "unit":
|
|
1573
|
-
t.style = "unit", t.unit =
|
|
1530
|
+
t.style = "unit", t.unit = di(i.options[0]);
|
|
1574
1531
|
continue;
|
|
1575
1532
|
case "compact-short":
|
|
1576
1533
|
case "K":
|
|
@@ -1581,13 +1538,13 @@ function Ei(e) {
|
|
|
1581
1538
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1582
1539
|
continue;
|
|
1583
1540
|
case "scientific":
|
|
1584
|
-
t =
|
|
1585
|
-
return
|
|
1541
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
|
1542
|
+
return _(_({}, h), It(l));
|
|
1586
1543
|
}, {}));
|
|
1587
1544
|
continue;
|
|
1588
1545
|
case "engineering":
|
|
1589
|
-
t =
|
|
1590
|
-
return
|
|
1546
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
|
1547
|
+
return _(_({}, h), It(l));
|
|
1591
1548
|
}, {}));
|
|
1592
1549
|
continue;
|
|
1593
1550
|
case "notation-simple":
|
|
@@ -1632,7 +1589,7 @@ function Ei(e) {
|
|
|
1632
1589
|
case "integer-width":
|
|
1633
1590
|
if (i.options.length > 1)
|
|
1634
1591
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1635
|
-
i.options[0].replace(
|
|
1592
|
+
i.options[0].replace(pi, function(h, l, u, f, c, m) {
|
|
1636
1593
|
if (l)
|
|
1637
1594
|
t.minimumIntegerDigits = u.length;
|
|
1638
1595
|
else {
|
|
@@ -1645,28 +1602,28 @@ function Ei(e) {
|
|
|
1645
1602
|
});
|
|
1646
1603
|
continue;
|
|
1647
1604
|
}
|
|
1648
|
-
if (
|
|
1605
|
+
if (yr.test(i.stem)) {
|
|
1649
1606
|
t.minimumIntegerDigits = i.stem.length;
|
|
1650
1607
|
continue;
|
|
1651
1608
|
}
|
|
1652
|
-
if (
|
|
1609
|
+
if (Rt.test(i.stem)) {
|
|
1653
1610
|
if (i.options.length > 1)
|
|
1654
1611
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1655
|
-
i.stem.replace(
|
|
1612
|
+
i.stem.replace(Rt, function(h, l, u, f, c, m) {
|
|
1656
1613
|
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), "";
|
|
1657
1614
|
});
|
|
1658
1615
|
var o = i.options[0];
|
|
1659
|
-
o === "w" ? t =
|
|
1616
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Ot(o)));
|
|
1660
1617
|
continue;
|
|
1661
1618
|
}
|
|
1662
|
-
if (
|
|
1663
|
-
t =
|
|
1619
|
+
if (gr.test(i.stem)) {
|
|
1620
|
+
t = _(_({}, t), Ot(i.stem));
|
|
1664
1621
|
continue;
|
|
1665
1622
|
}
|
|
1666
|
-
var a =
|
|
1667
|
-
a && (t =
|
|
1668
|
-
var s =
|
|
1669
|
-
s && (t =
|
|
1623
|
+
var a = vr(i.stem);
|
|
1624
|
+
a && (t = _(_({}, t), a));
|
|
1625
|
+
var s = bi(i.stem);
|
|
1626
|
+
s && (t = _(_({}, t), s));
|
|
1670
1627
|
}
|
|
1671
1628
|
return t;
|
|
1672
1629
|
}
|
|
@@ -3085,13 +3042,13 @@ var xe = {
|
|
|
3085
3042
|
"h"
|
|
3086
3043
|
]
|
|
3087
3044
|
};
|
|
3088
|
-
function
|
|
3045
|
+
function yi(e, t) {
|
|
3089
3046
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3090
3047
|
var i = e.charAt(n);
|
|
3091
3048
|
if (i === "j") {
|
|
3092
3049
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3093
3050
|
o++, n++;
|
|
3094
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l =
|
|
3051
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = vi(t);
|
|
3095
3052
|
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
3096
3053
|
r += h;
|
|
3097
3054
|
for (; a-- > 0; )
|
|
@@ -3101,7 +3058,7 @@ function wi(e, t) {
|
|
|
3101
3058
|
}
|
|
3102
3059
|
return r;
|
|
3103
3060
|
}
|
|
3104
|
-
function
|
|
3061
|
+
function vi(e) {
|
|
3105
3062
|
var t = e.hourCycle;
|
|
3106
3063
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3107
3064
|
e.hourCycles && // @ts-ignore
|
|
@@ -3123,20 +3080,20 @@ function Si(e) {
|
|
|
3123
3080
|
var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
|
|
3124
3081
|
return i[0];
|
|
3125
3082
|
}
|
|
3126
|
-
var
|
|
3083
|
+
var je, _i = new RegExp("^".concat(br.source, "*")), xi = new RegExp("".concat(br.source, "*$"));
|
|
3127
3084
|
function v(e, t) {
|
|
3128
3085
|
return { start: e, end: t };
|
|
3129
3086
|
}
|
|
3130
|
-
var
|
|
3087
|
+
var Ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, Si = !!Object.fromEntries, Ti = !!String.prototype.codePointAt, Hi = !!String.prototype.trimStart, Bi = !!String.prototype.trimEnd, Ai = !!Number.isSafeInteger, Pi = Ai ? Number.isSafeInteger : function(e) {
|
|
3131
3088
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3132
|
-
},
|
|
3089
|
+
}, et = !0;
|
|
3133
3090
|
try {
|
|
3134
|
-
var
|
|
3135
|
-
|
|
3091
|
+
var Ri = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3092
|
+
et = ((je = Ri.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
3136
3093
|
} catch (e) {
|
|
3137
|
-
|
|
3094
|
+
et = !1;
|
|
3138
3095
|
}
|
|
3139
|
-
var
|
|
3096
|
+
var Nt = Ei ? (
|
|
3140
3097
|
// Native
|
|
3141
3098
|
function(t, r, n) {
|
|
3142
3099
|
return t.startsWith(r, n);
|
|
@@ -3146,7 +3103,7 @@ var Ut = Bi ? (
|
|
|
3146
3103
|
function(t, r, n) {
|
|
3147
3104
|
return t.slice(n, n + r.length) === r;
|
|
3148
3105
|
}
|
|
3149
|
-
),
|
|
3106
|
+
), tt = wi ? String.fromCodePoint : (
|
|
3150
3107
|
// IE11
|
|
3151
3108
|
function() {
|
|
3152
3109
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3158,9 +3115,9 @@ var Ut = Bi ? (
|
|
|
3158
3115
|
}
|
|
3159
3116
|
return n;
|
|
3160
3117
|
}
|
|
3161
|
-
),
|
|
3118
|
+
), Lt = (
|
|
3162
3119
|
// native
|
|
3163
|
-
|
|
3120
|
+
Si ? Object.fromEntries : (
|
|
3164
3121
|
// Ponyfill
|
|
3165
3122
|
function(t) {
|
|
3166
3123
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3170,7 +3127,7 @@ var Ut = Bi ? (
|
|
|
3170
3127
|
return r;
|
|
3171
3128
|
}
|
|
3172
3129
|
)
|
|
3173
|
-
),
|
|
3130
|
+
), _r = Ti ? (
|
|
3174
3131
|
// Native
|
|
3175
3132
|
function(t, r) {
|
|
3176
3133
|
return t.codePointAt(r);
|
|
@@ -3184,7 +3141,7 @@ var Ut = Bi ? (
|
|
|
3184
3141
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3185
3142
|
}
|
|
3186
3143
|
}
|
|
3187
|
-
),
|
|
3144
|
+
), Oi = Hi ? (
|
|
3188
3145
|
// Native
|
|
3189
3146
|
function(t) {
|
|
3190
3147
|
return t.trimStart();
|
|
@@ -3192,9 +3149,9 @@ var Ut = Bi ? (
|
|
|
3192
3149
|
) : (
|
|
3193
3150
|
// Ponyfill
|
|
3194
3151
|
function(t) {
|
|
3195
|
-
return t.replace(
|
|
3152
|
+
return t.replace(_i, "");
|
|
3196
3153
|
}
|
|
3197
|
-
),
|
|
3154
|
+
), Ii = Bi ? (
|
|
3198
3155
|
// Native
|
|
3199
3156
|
function(t) {
|
|
3200
3157
|
return t.trimEnd();
|
|
@@ -3202,32 +3159,32 @@ var Ut = Bi ? (
|
|
|
3202
3159
|
) : (
|
|
3203
3160
|
// Ponyfill
|
|
3204
3161
|
function(t) {
|
|
3205
|
-
return t.replace(
|
|
3162
|
+
return t.replace(xi, "");
|
|
3206
3163
|
}
|
|
3207
3164
|
);
|
|
3208
|
-
function
|
|
3165
|
+
function xr(e, t) {
|
|
3209
3166
|
return new RegExp(e, t);
|
|
3210
3167
|
}
|
|
3211
|
-
var
|
|
3212
|
-
if (
|
|
3213
|
-
var
|
|
3214
|
-
|
|
3168
|
+
var rt;
|
|
3169
|
+
if (et) {
|
|
3170
|
+
var Mt = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3171
|
+
rt = function(t, r) {
|
|
3215
3172
|
var n;
|
|
3216
|
-
|
|
3217
|
-
var i =
|
|
3173
|
+
Mt.lastIndex = r;
|
|
3174
|
+
var i = Mt.exec(t);
|
|
3218
3175
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3219
3176
|
};
|
|
3220
3177
|
} else
|
|
3221
|
-
|
|
3178
|
+
rt = function(t, r) {
|
|
3222
3179
|
for (var n = []; ; ) {
|
|
3223
|
-
var i =
|
|
3224
|
-
if (i === void 0 ||
|
|
3180
|
+
var i = _r(t, r);
|
|
3181
|
+
if (i === void 0 || Er(i) || Ci(i))
|
|
3225
3182
|
break;
|
|
3226
3183
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3227
3184
|
}
|
|
3228
|
-
return
|
|
3185
|
+
return tt.apply(void 0, n);
|
|
3229
3186
|
};
|
|
3230
|
-
var
|
|
3187
|
+
var Ni = (
|
|
3231
3188
|
/** @class */
|
|
3232
3189
|
function() {
|
|
3233
3190
|
function e(t, r) {
|
|
@@ -3251,14 +3208,14 @@ var Ui = (
|
|
|
3251
3208
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3252
3209
|
var s = this.clonePosition();
|
|
3253
3210
|
this.bump(), i.push({
|
|
3254
|
-
type:
|
|
3211
|
+
type: w.pound,
|
|
3255
3212
|
location: v(s, this.clonePosition())
|
|
3256
3213
|
});
|
|
3257
3214
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3258
3215
|
if (n)
|
|
3259
3216
|
break;
|
|
3260
3217
|
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3261
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3218
|
+
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3262
3219
|
var a = this.parseTag(t, r);
|
|
3263
3220
|
if (a.err)
|
|
3264
3221
|
return a;
|
|
@@ -3279,7 +3236,7 @@ var Ui = (
|
|
|
3279
3236
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3280
3237
|
return {
|
|
3281
3238
|
val: {
|
|
3282
|
-
type:
|
|
3239
|
+
type: w.literal,
|
|
3283
3240
|
value: "<".concat(i, "/>"),
|
|
3284
3241
|
location: v(n, this.clonePosition())
|
|
3285
3242
|
},
|
|
@@ -3291,12 +3248,12 @@ var Ui = (
|
|
|
3291
3248
|
return o;
|
|
3292
3249
|
var a = o.val, s = this.clonePosition();
|
|
3293
3250
|
if (this.bumpIf("</")) {
|
|
3294
|
-
if (this.isEOF() || !
|
|
3251
|
+
if (this.isEOF() || !nt(this.char()))
|
|
3295
3252
|
return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
|
|
3296
3253
|
var h = this.clonePosition(), l = this.parseTagName();
|
|
3297
3254
|
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3298
3255
|
val: {
|
|
3299
|
-
type:
|
|
3256
|
+
type: w.tag,
|
|
3300
3257
|
value: i,
|
|
3301
3258
|
children: a,
|
|
3302
3259
|
location: v(n, this.clonePosition())
|
|
@@ -3309,7 +3266,7 @@ var Ui = (
|
|
|
3309
3266
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
|
3310
3267
|
}, e.prototype.parseTagName = function() {
|
|
3311
3268
|
var t = this.offset();
|
|
3312
|
-
for (this.bump(); !this.isEOF() &&
|
|
3269
|
+
for (this.bump(); !this.isEOF() && Mi(this.char()); )
|
|
3313
3270
|
this.bump();
|
|
3314
3271
|
return this.message.slice(t, this.offset());
|
|
3315
3272
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3333,12 +3290,12 @@ var Ui = (
|
|
|
3333
3290
|
}
|
|
3334
3291
|
var h = v(n, this.clonePosition());
|
|
3335
3292
|
return {
|
|
3336
|
-
val: { type:
|
|
3293
|
+
val: { type: w.literal, value: i, location: h },
|
|
3337
3294
|
err: null
|
|
3338
3295
|
};
|
|
3339
3296
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3340
3297
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3341
|
-
|
|
3298
|
+
!Li(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3342
3299
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3343
3300
|
if (this.isEOF() || this.char() !== 39)
|
|
3344
3301
|
return null;
|
|
@@ -3372,12 +3329,12 @@ var Ui = (
|
|
|
3372
3329
|
r.push(n);
|
|
3373
3330
|
this.bump();
|
|
3374
3331
|
}
|
|
3375
|
-
return
|
|
3332
|
+
return tt.apply(void 0, r);
|
|
3376
3333
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3377
3334
|
if (this.isEOF())
|
|
3378
3335
|
return null;
|
|
3379
3336
|
var n = this.char();
|
|
3380
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3337
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
|
|
3381
3338
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3382
3339
|
var n = this.clonePosition();
|
|
3383
3340
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3393,7 +3350,7 @@ var Ui = (
|
|
|
3393
3350
|
case 125:
|
|
3394
3351
|
return this.bump(), {
|
|
3395
3352
|
val: {
|
|
3396
|
-
type:
|
|
3353
|
+
type: w.argument,
|
|
3397
3354
|
// value does not include the opening and closing braces.
|
|
3398
3355
|
value: i,
|
|
3399
3356
|
location: v(n, this.clonePosition())
|
|
@@ -3406,7 +3363,7 @@ var Ui = (
|
|
|
3406
3363
|
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3407
3364
|
}
|
|
3408
3365
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3409
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3366
|
+
var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
|
|
3410
3367
|
this.bumpTo(i);
|
|
3411
3368
|
var o = this.clonePosition(), a = v(t, o);
|
|
3412
3369
|
return { value: n, location: a };
|
|
@@ -3425,7 +3382,7 @@ var Ui = (
|
|
|
3425
3382
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3426
3383
|
if (f.err)
|
|
3427
3384
|
return f;
|
|
3428
|
-
var c =
|
|
3385
|
+
var c = Ii(f.val);
|
|
3429
3386
|
if (c.length === 0)
|
|
3430
3387
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3431
3388
|
var m = v(u, this.clonePosition());
|
|
@@ -3435,25 +3392,25 @@ var Ui = (
|
|
|
3435
3392
|
if (d.err)
|
|
3436
3393
|
return d;
|
|
3437
3394
|
var p = v(i, this.clonePosition());
|
|
3438
|
-
if (l &&
|
|
3439
|
-
var A =
|
|
3395
|
+
if (l && Nt(l == null ? void 0 : l.style, "::", 0)) {
|
|
3396
|
+
var A = Oi(l.style.slice(2));
|
|
3440
3397
|
if (s === "number") {
|
|
3441
3398
|
var f = this.parseNumberSkeletonFromString(A, l.styleLocation);
|
|
3442
3399
|
return f.err ? f : {
|
|
3443
|
-
val: { type:
|
|
3400
|
+
val: { type: w.number, value: n, location: p, style: f.val },
|
|
3444
3401
|
err: null
|
|
3445
3402
|
};
|
|
3446
3403
|
} else {
|
|
3447
3404
|
if (A.length === 0)
|
|
3448
3405
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
|
|
3449
3406
|
var H = A;
|
|
3450
|
-
this.locale && (H =
|
|
3407
|
+
this.locale && (H = yi(A, this.locale));
|
|
3451
3408
|
var c = {
|
|
3452
|
-
type:
|
|
3409
|
+
type: ne.dateTime,
|
|
3453
3410
|
pattern: H,
|
|
3454
3411
|
location: l.styleLocation,
|
|
3455
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3456
|
-
}, T = s === "date" ?
|
|
3412
|
+
parsedOptions: this.shouldParseSkeletons ? ci(H) : {}
|
|
3413
|
+
}, T = s === "date" ? w.date : w.time;
|
|
3457
3414
|
return {
|
|
3458
3415
|
val: { type: T, value: n, location: p, style: c },
|
|
3459
3416
|
err: null
|
|
@@ -3462,7 +3419,7 @@ var Ui = (
|
|
|
3462
3419
|
}
|
|
3463
3420
|
return {
|
|
3464
3421
|
val: {
|
|
3465
|
-
type: s === "number" ?
|
|
3422
|
+
type: s === "number" ? w.number : s === "date" ? w.date : w.time,
|
|
3466
3423
|
value: n,
|
|
3467
3424
|
location: p,
|
|
3468
3425
|
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
|
@@ -3475,7 +3432,7 @@ var Ui = (
|
|
|
3475
3432
|
case "select": {
|
|
3476
3433
|
var B = this.clonePosition();
|
|
3477
3434
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3478
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B,
|
|
3435
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, _({}, B)));
|
|
3479
3436
|
this.bumpSpace();
|
|
3480
3437
|
var L = this.parseIdentifierIfPossible(), M = 0;
|
|
3481
3438
|
if (s !== "select" && L.value === "offset") {
|
|
@@ -3487,26 +3444,26 @@ var Ui = (
|
|
|
3487
3444
|
return f;
|
|
3488
3445
|
this.bumpSpace(), L = this.parseIdentifierIfPossible(), M = f.val;
|
|
3489
3446
|
}
|
|
3490
|
-
var
|
|
3491
|
-
if (
|
|
3492
|
-
return
|
|
3447
|
+
var G = this.tryParsePluralOrSelectOptions(t, s, r, L);
|
|
3448
|
+
if (G.err)
|
|
3449
|
+
return G;
|
|
3493
3450
|
var d = this.tryParseArgumentClose(i);
|
|
3494
3451
|
if (d.err)
|
|
3495
3452
|
return d;
|
|
3496
3453
|
var be = v(i, this.clonePosition());
|
|
3497
3454
|
return s === "select" ? {
|
|
3498
3455
|
val: {
|
|
3499
|
-
type:
|
|
3456
|
+
type: w.select,
|
|
3500
3457
|
value: n,
|
|
3501
|
-
options:
|
|
3458
|
+
options: Lt(G.val),
|
|
3502
3459
|
location: be
|
|
3503
3460
|
},
|
|
3504
3461
|
err: null
|
|
3505
3462
|
} : {
|
|
3506
3463
|
val: {
|
|
3507
|
-
type:
|
|
3464
|
+
type: w.plural,
|
|
3508
3465
|
value: n,
|
|
3509
|
-
options:
|
|
3466
|
+
options: Lt(G.val),
|
|
3510
3467
|
offset: M,
|
|
3511
3468
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3512
3469
|
location: be
|
|
@@ -3557,16 +3514,16 @@ var Ui = (
|
|
|
3557
3514
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3558
3515
|
var n = [];
|
|
3559
3516
|
try {
|
|
3560
|
-
n =
|
|
3517
|
+
n = mi(t);
|
|
3561
3518
|
} catch (i) {
|
|
3562
3519
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3563
3520
|
}
|
|
3564
3521
|
return {
|
|
3565
3522
|
val: {
|
|
3566
|
-
type:
|
|
3523
|
+
type: ne.number,
|
|
3567
3524
|
tokens: n,
|
|
3568
3525
|
location: r,
|
|
3569
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3526
|
+
parsedOptions: this.shouldParseSkeletons ? gi(n) : {}
|
|
3570
3527
|
},
|
|
3571
3528
|
err: null
|
|
3572
3529
|
};
|
|
@@ -3614,7 +3571,7 @@ var Ui = (
|
|
|
3614
3571
|
break;
|
|
3615
3572
|
}
|
|
3616
3573
|
var h = v(i, this.clonePosition());
|
|
3617
|
-
return o ? (a *= n,
|
|
3574
|
+
return o ? (a *= n, Pi(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3618
3575
|
}, e.prototype.offset = function() {
|
|
3619
3576
|
return this.position.offset;
|
|
3620
3577
|
}, e.prototype.isEOF = function() {
|
|
@@ -3629,7 +3586,7 @@ var Ui = (
|
|
|
3629
3586
|
var t = this.position.offset;
|
|
3630
3587
|
if (t >= this.message.length)
|
|
3631
3588
|
throw Error("out of bound");
|
|
3632
|
-
var r =
|
|
3589
|
+
var r = _r(this.message, t);
|
|
3633
3590
|
if (r === void 0)
|
|
3634
3591
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3635
3592
|
return r;
|
|
@@ -3648,7 +3605,7 @@ var Ui = (
|
|
|
3648
3605
|
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);
|
|
3649
3606
|
}
|
|
3650
3607
|
}, e.prototype.bumpIf = function(t) {
|
|
3651
|
-
if (
|
|
3608
|
+
if (Nt(this.message, t, this.offset())) {
|
|
3652
3609
|
for (var r = 0; r < t.length; r++)
|
|
3653
3610
|
this.bump();
|
|
3654
3611
|
return !0;
|
|
@@ -3670,7 +3627,7 @@ var Ui = (
|
|
|
3670
3627
|
break;
|
|
3671
3628
|
}
|
|
3672
3629
|
}, e.prototype.bumpSpace = function() {
|
|
3673
|
-
for (; !this.isEOF() &&
|
|
3630
|
+
for (; !this.isEOF() && Er(this.char()); )
|
|
3674
3631
|
this.bump();
|
|
3675
3632
|
}, e.prototype.peek = function() {
|
|
3676
3633
|
if (this.isEOF())
|
|
@@ -3680,47 +3637,47 @@ var Ui = (
|
|
|
3680
3637
|
}, e;
|
|
3681
3638
|
}()
|
|
3682
3639
|
);
|
|
3683
|
-
function
|
|
3640
|
+
function nt(e) {
|
|
3684
3641
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3685
3642
|
}
|
|
3686
|
-
function
|
|
3687
|
-
return
|
|
3643
|
+
function Li(e) {
|
|
3644
|
+
return nt(e) || e === 47;
|
|
3688
3645
|
}
|
|
3689
|
-
function
|
|
3646
|
+
function Mi(e) {
|
|
3690
3647
|
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;
|
|
3691
3648
|
}
|
|
3692
|
-
function
|
|
3649
|
+
function Er(e) {
|
|
3693
3650
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3694
3651
|
}
|
|
3695
|
-
function
|
|
3652
|
+
function Ci(e) {
|
|
3696
3653
|
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;
|
|
3697
3654
|
}
|
|
3698
|
-
function
|
|
3655
|
+
function it(e) {
|
|
3699
3656
|
e.forEach(function(t) {
|
|
3700
|
-
if (delete t.location,
|
|
3657
|
+
if (delete t.location, fr(t) || mr(t))
|
|
3701
3658
|
for (var r in t.options)
|
|
3702
|
-
delete t.options[r].location,
|
|
3659
|
+
delete t.options[r].location, it(t.options[r].value);
|
|
3703
3660
|
else
|
|
3704
|
-
|
|
3661
|
+
lr(t) && pr(t.style) || (hr(t) || cr(t)) && Ke(t.style) ? delete t.style.location : dr(t) && it(t.children);
|
|
3705
3662
|
});
|
|
3706
3663
|
}
|
|
3707
|
-
function
|
|
3708
|
-
t === void 0 && (t = {}), t =
|
|
3709
|
-
var r = new
|
|
3664
|
+
function Gi(e, t) {
|
|
3665
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3666
|
+
var r = new Ni(e, t).parse();
|
|
3710
3667
|
if (r.err) {
|
|
3711
3668
|
var n = SyntaxError(y[r.err.kind]);
|
|
3712
3669
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3713
3670
|
}
|
|
3714
|
-
return t != null && t.captureLocation ||
|
|
3671
|
+
return t != null && t.captureLocation || it(r.val), r.val;
|
|
3715
3672
|
}
|
|
3716
|
-
var
|
|
3673
|
+
var ie;
|
|
3717
3674
|
(function(e) {
|
|
3718
3675
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3719
|
-
})(
|
|
3720
|
-
var
|
|
3676
|
+
})(ie || (ie = {}));
|
|
3677
|
+
var Ne = (
|
|
3721
3678
|
/** @class */
|
|
3722
3679
|
function(e) {
|
|
3723
|
-
|
|
3680
|
+
$(t, e);
|
|
3724
3681
|
function t(r, n, i) {
|
|
3725
3682
|
var o = e.call(this, r) || this;
|
|
3726
3683
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3729,48 +3686,48 @@ var Me = (
|
|
|
3729
3686
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3730
3687
|
}, t;
|
|
3731
3688
|
}(Error)
|
|
3732
|
-
),
|
|
3689
|
+
), Ct = (
|
|
3733
3690
|
/** @class */
|
|
3734
3691
|
function(e) {
|
|
3735
|
-
|
|
3692
|
+
$(t, e);
|
|
3736
3693
|
function t(r, n, i, o) {
|
|
3737
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3694
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
|
|
3738
3695
|
}
|
|
3739
3696
|
return t;
|
|
3740
|
-
}(
|
|
3741
|
-
),
|
|
3697
|
+
}(Ne)
|
|
3698
|
+
), Ui = (
|
|
3742
3699
|
/** @class */
|
|
3743
3700
|
function(e) {
|
|
3744
|
-
|
|
3701
|
+
$(t, e);
|
|
3745
3702
|
function t(r, n, i) {
|
|
3746
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3703
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3747
3704
|
}
|
|
3748
3705
|
return t;
|
|
3749
|
-
}(
|
|
3750
|
-
),
|
|
3706
|
+
}(Ne)
|
|
3707
|
+
), Fi = (
|
|
3751
3708
|
/** @class */
|
|
3752
3709
|
function(e) {
|
|
3753
|
-
|
|
3710
|
+
$(t, e);
|
|
3754
3711
|
function t(r, n) {
|
|
3755
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3712
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
|
|
3756
3713
|
}
|
|
3757
3714
|
return t;
|
|
3758
|
-
}(
|
|
3715
|
+
}(Ne)
|
|
3759
3716
|
), P;
|
|
3760
3717
|
(function(e) {
|
|
3761
3718
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3762
3719
|
})(P || (P = {}));
|
|
3763
|
-
function
|
|
3720
|
+
function Di(e) {
|
|
3764
3721
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3765
3722
|
var n = t[t.length - 1];
|
|
3766
3723
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3767
3724
|
}, []);
|
|
3768
3725
|
}
|
|
3769
|
-
function
|
|
3726
|
+
function $i(e) {
|
|
3770
3727
|
return typeof e == "function";
|
|
3771
3728
|
}
|
|
3772
3729
|
function Te(e, t, r, n, i, o, a) {
|
|
3773
|
-
if (e.length === 1 &&
|
|
3730
|
+
if (e.length === 1 && Pt(e[0]))
|
|
3774
3731
|
return [
|
|
3775
3732
|
{
|
|
3776
3733
|
type: P.literal,
|
|
@@ -3779,14 +3736,14 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
3779
3736
|
];
|
|
3780
3737
|
for (var s = [], h = 0, l = e; h < l.length; h++) {
|
|
3781
3738
|
var u = l[h];
|
|
3782
|
-
if (
|
|
3739
|
+
if (Pt(u)) {
|
|
3783
3740
|
s.push({
|
|
3784
3741
|
type: P.literal,
|
|
3785
3742
|
value: u.value
|
|
3786
3743
|
});
|
|
3787
3744
|
continue;
|
|
3788
3745
|
}
|
|
3789
|
-
if (
|
|
3746
|
+
if (li(u)) {
|
|
3790
3747
|
typeof o == "number" && s.push({
|
|
3791
3748
|
type: P.literal,
|
|
3792
3749
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3795,43 +3752,43 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
3795
3752
|
}
|
|
3796
3753
|
var f = u.value;
|
|
3797
3754
|
if (!(i && f in i))
|
|
3798
|
-
throw new
|
|
3755
|
+
throw new Fi(f, a);
|
|
3799
3756
|
var c = i[f];
|
|
3800
|
-
if (
|
|
3757
|
+
if (ui(u)) {
|
|
3801
3758
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3802
3759
|
type: typeof c == "string" ? P.literal : P.object,
|
|
3803
3760
|
value: c
|
|
3804
3761
|
});
|
|
3805
3762
|
continue;
|
|
3806
3763
|
}
|
|
3807
|
-
if (
|
|
3808
|
-
var m = typeof u.style == "string" ? n.date[u.style] :
|
|
3764
|
+
if (hr(u)) {
|
|
3765
|
+
var m = typeof u.style == "string" ? n.date[u.style] : Ke(u.style) ? u.style.parsedOptions : void 0;
|
|
3809
3766
|
s.push({
|
|
3810
3767
|
type: P.literal,
|
|
3811
3768
|
value: r.getDateTimeFormat(t, m).format(c)
|
|
3812
3769
|
});
|
|
3813
3770
|
continue;
|
|
3814
3771
|
}
|
|
3815
|
-
if (
|
|
3816
|
-
var m = typeof u.style == "string" ? n.time[u.style] :
|
|
3772
|
+
if (cr(u)) {
|
|
3773
|
+
var m = typeof u.style == "string" ? n.time[u.style] : Ke(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3817
3774
|
s.push({
|
|
3818
3775
|
type: P.literal,
|
|
3819
3776
|
value: r.getDateTimeFormat(t, m).format(c)
|
|
3820
3777
|
});
|
|
3821
3778
|
continue;
|
|
3822
3779
|
}
|
|
3823
|
-
if (
|
|
3824
|
-
var m = typeof u.style == "string" ? n.number[u.style] :
|
|
3780
|
+
if (lr(u)) {
|
|
3781
|
+
var m = typeof u.style == "string" ? n.number[u.style] : pr(u.style) ? u.style.parsedOptions : void 0;
|
|
3825
3782
|
m && m.scale && (c = c * (m.scale || 1)), s.push({
|
|
3826
3783
|
type: P.literal,
|
|
3827
3784
|
value: r.getNumberFormat(t, m).format(c)
|
|
3828
3785
|
});
|
|
3829
3786
|
continue;
|
|
3830
3787
|
}
|
|
3831
|
-
if (
|
|
3788
|
+
if (dr(u)) {
|
|
3832
3789
|
var d = u.children, p = u.value, A = i[p];
|
|
3833
|
-
if (
|
|
3834
|
-
throw new
|
|
3790
|
+
if (!$i(A))
|
|
3791
|
+
throw new Ui(p, "function", a);
|
|
3835
3792
|
var H = Te(d, t, r, n, i, o), T = A(H.map(function(M) {
|
|
3836
3793
|
return M.value;
|
|
3837
3794
|
}));
|
|
@@ -3842,42 +3799,42 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
3842
3799
|
};
|
|
3843
3800
|
}));
|
|
3844
3801
|
}
|
|
3845
|
-
if (
|
|
3802
|
+
if (fr(u)) {
|
|
3846
3803
|
var B = u.options[c] || u.options.other;
|
|
3847
3804
|
if (!B)
|
|
3848
|
-
throw new
|
|
3805
|
+
throw new Ct(u.value, c, Object.keys(u.options), a);
|
|
3849
3806
|
s.push.apply(s, Te(B.value, t, r, n, i));
|
|
3850
3807
|
continue;
|
|
3851
3808
|
}
|
|
3852
|
-
if (
|
|
3809
|
+
if (mr(u)) {
|
|
3853
3810
|
var B = u.options["=".concat(c)];
|
|
3854
3811
|
if (!B) {
|
|
3855
3812
|
if (!Intl.PluralRules)
|
|
3856
|
-
throw new
|
|
3813
|
+
throw new Ne(`Intl.PluralRules is not available in this environment.
|
|
3857
3814
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3858
|
-
`,
|
|
3815
|
+
`, ie.MISSING_INTL_API, a);
|
|
3859
3816
|
var L = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
|
|
3860
3817
|
B = u.options[L] || u.options.other;
|
|
3861
3818
|
}
|
|
3862
3819
|
if (!B)
|
|
3863
|
-
throw new
|
|
3820
|
+
throw new Ct(u.value, c, Object.keys(u.options), a);
|
|
3864
3821
|
s.push.apply(s, Te(B.value, t, r, n, i, c - (u.offset || 0)));
|
|
3865
3822
|
continue;
|
|
3866
3823
|
}
|
|
3867
3824
|
}
|
|
3868
|
-
return
|
|
3825
|
+
return Di(s);
|
|
3869
3826
|
}
|
|
3870
|
-
function
|
|
3871
|
-
return t ?
|
|
3872
|
-
return r[n] =
|
|
3827
|
+
function ji(e, t) {
|
|
3828
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3829
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3873
3830
|
}, {})) : e;
|
|
3874
3831
|
}
|
|
3875
|
-
function
|
|
3832
|
+
function ki(e, t) {
|
|
3876
3833
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3877
|
-
return r[n] =
|
|
3878
|
-
},
|
|
3834
|
+
return r[n] = ji(e[n], t[n]), r;
|
|
3835
|
+
}, _({}, e)) : e;
|
|
3879
3836
|
}
|
|
3880
|
-
function
|
|
3837
|
+
function ke(e) {
|
|
3881
3838
|
return {
|
|
3882
3839
|
create: function() {
|
|
3883
3840
|
return {
|
|
@@ -3891,39 +3848,39 @@ function Xe(e) {
|
|
|
3891
3848
|
}
|
|
3892
3849
|
};
|
|
3893
3850
|
}
|
|
3894
|
-
function
|
|
3851
|
+
function Vi(e) {
|
|
3895
3852
|
return e === void 0 && (e = {
|
|
3896
3853
|
number: {},
|
|
3897
3854
|
dateTime: {},
|
|
3898
3855
|
pluralRules: {}
|
|
3899
3856
|
}), {
|
|
3900
|
-
getNumberFormat:
|
|
3857
|
+
getNumberFormat: De(function() {
|
|
3901
3858
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3902
3859
|
r[n] = arguments[n];
|
|
3903
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3860
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3904
3861
|
}, {
|
|
3905
|
-
cache:
|
|
3906
|
-
strategy:
|
|
3862
|
+
cache: ke(e.number),
|
|
3863
|
+
strategy: $e.variadic
|
|
3907
3864
|
}),
|
|
3908
|
-
getDateTimeFormat:
|
|
3865
|
+
getDateTimeFormat: De(function() {
|
|
3909
3866
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3910
3867
|
r[n] = arguments[n];
|
|
3911
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3868
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3912
3869
|
}, {
|
|
3913
|
-
cache:
|
|
3914
|
-
strategy:
|
|
3870
|
+
cache: ke(e.dateTime),
|
|
3871
|
+
strategy: $e.variadic
|
|
3915
3872
|
}),
|
|
3916
|
-
getPluralRules:
|
|
3873
|
+
getPluralRules: De(function() {
|
|
3917
3874
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3918
3875
|
r[n] = arguments[n];
|
|
3919
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3876
|
+
return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
|
|
3920
3877
|
}, {
|
|
3921
|
-
cache:
|
|
3922
|
-
strategy:
|
|
3878
|
+
cache: ke(e.pluralRules),
|
|
3879
|
+
strategy: $e.variadic
|
|
3923
3880
|
})
|
|
3924
3881
|
};
|
|
3925
3882
|
}
|
|
3926
|
-
var
|
|
3883
|
+
var Wi = (
|
|
3927
3884
|
/** @class */
|
|
3928
3885
|
function() {
|
|
3929
3886
|
function e(t, r, n, i) {
|
|
@@ -3955,13 +3912,13 @@ var Qi = (
|
|
|
3955
3912
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3956
3913
|
var a = i || {};
|
|
3957
3914
|
a.formatters;
|
|
3958
|
-
var s =
|
|
3959
|
-
this.ast = e.__parse(t,
|
|
3915
|
+
var s = wn(a, ["formatters"]);
|
|
3916
|
+
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
3960
3917
|
} else
|
|
3961
3918
|
this.ast = t;
|
|
3962
3919
|
if (!Array.isArray(this.ast))
|
|
3963
3920
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3964
|
-
this.formats =
|
|
3921
|
+
this.formats = ki(e.formats, n), this.formatters = i && i.formatters || Vi(this.formatterCache);
|
|
3965
3922
|
}
|
|
3966
3923
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3967
3924
|
get: function() {
|
|
@@ -3974,7 +3931,7 @@ var Qi = (
|
|
|
3974
3931
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3975
3932
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3976
3933
|
}
|
|
3977
|
-
}, e.__parse =
|
|
3934
|
+
}, e.__parse = Gi, e.formats = {
|
|
3978
3935
|
number: {
|
|
3979
3936
|
integer: {
|
|
3980
3937
|
maximumFractionDigits: 0
|
|
@@ -4035,7 +3992,7 @@ var Qi = (
|
|
|
4035
3992
|
}, e;
|
|
4036
3993
|
}()
|
|
4037
3994
|
);
|
|
4038
|
-
function
|
|
3995
|
+
function Xi(e, t) {
|
|
4039
3996
|
if (t == null)
|
|
4040
3997
|
return;
|
|
4041
3998
|
if (t in e)
|
|
@@ -4056,92 +4013,92 @@ function Yi(e, t) {
|
|
|
4056
4013
|
n = void 0;
|
|
4057
4014
|
return n;
|
|
4058
4015
|
}
|
|
4059
|
-
const j = {},
|
|
4016
|
+
const j = {}, zi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), wr = (e, t) => {
|
|
4060
4017
|
if (t == null)
|
|
4061
4018
|
return;
|
|
4062
4019
|
if (t in j && e in j[t])
|
|
4063
4020
|
return j[t][e];
|
|
4064
|
-
const r =
|
|
4021
|
+
const r = Le(t);
|
|
4065
4022
|
for (let n = 0; n < r.length; n++) {
|
|
4066
|
-
const i = r[n], o =
|
|
4023
|
+
const i = r[n], o = Zi(i, e);
|
|
4067
4024
|
if (o)
|
|
4068
|
-
return
|
|
4025
|
+
return zi(e, t, o);
|
|
4069
4026
|
}
|
|
4070
4027
|
};
|
|
4071
|
-
let
|
|
4072
|
-
const
|
|
4073
|
-
function
|
|
4074
|
-
return
|
|
4028
|
+
let ut;
|
|
4029
|
+
const se = Ie({});
|
|
4030
|
+
function Ji(e) {
|
|
4031
|
+
return ut[e] || null;
|
|
4075
4032
|
}
|
|
4076
|
-
function
|
|
4077
|
-
return e in
|
|
4033
|
+
function Sr(e) {
|
|
4034
|
+
return e in ut;
|
|
4078
4035
|
}
|
|
4079
|
-
function
|
|
4080
|
-
if (!
|
|
4036
|
+
function Zi(e, t) {
|
|
4037
|
+
if (!Sr(e))
|
|
4081
4038
|
return null;
|
|
4082
|
-
const r =
|
|
4083
|
-
return
|
|
4039
|
+
const r = Ji(e);
|
|
4040
|
+
return Xi(r, t);
|
|
4084
4041
|
}
|
|
4085
|
-
function
|
|
4042
|
+
function Qi(e) {
|
|
4086
4043
|
if (e == null)
|
|
4087
4044
|
return;
|
|
4088
|
-
const t =
|
|
4045
|
+
const t = Le(e);
|
|
4089
4046
|
for (let r = 0; r < t.length; r++) {
|
|
4090
4047
|
const n = t[r];
|
|
4091
|
-
if (
|
|
4048
|
+
if (Sr(n))
|
|
4092
4049
|
return n;
|
|
4093
4050
|
}
|
|
4094
4051
|
}
|
|
4095
|
-
function
|
|
4096
|
-
delete j[e],
|
|
4052
|
+
function Tr(e, ...t) {
|
|
4053
|
+
delete j[e], se.update((r) => (r[e] = ei.all([r[e] || {}, ...t]), r));
|
|
4097
4054
|
}
|
|
4098
|
-
|
|
4099
|
-
[
|
|
4055
|
+
ae(
|
|
4056
|
+
[se],
|
|
4100
4057
|
([e]) => Object.keys(e)
|
|
4101
4058
|
);
|
|
4102
|
-
|
|
4059
|
+
se.subscribe((e) => ut = e);
|
|
4103
4060
|
const He = {};
|
|
4104
|
-
function
|
|
4061
|
+
function Yi(e, t) {
|
|
4105
4062
|
He[e].delete(t), He[e].size === 0 && delete He[e];
|
|
4106
4063
|
}
|
|
4107
|
-
function
|
|
4064
|
+
function Hr(e) {
|
|
4108
4065
|
return He[e];
|
|
4109
4066
|
}
|
|
4110
|
-
function
|
|
4111
|
-
return
|
|
4112
|
-
const r =
|
|
4067
|
+
function qi(e) {
|
|
4068
|
+
return Le(e).map((t) => {
|
|
4069
|
+
const r = Hr(t);
|
|
4113
4070
|
return [t, r ? [...r] : []];
|
|
4114
4071
|
}).filter(([, t]) => t.length > 0);
|
|
4115
4072
|
}
|
|
4116
|
-
function
|
|
4117
|
-
return e == null ? !1 :
|
|
4073
|
+
function ot(e) {
|
|
4074
|
+
return e == null ? !1 : Le(e).some(
|
|
4118
4075
|
(t) => {
|
|
4119
4076
|
var r;
|
|
4120
|
-
return (r =
|
|
4077
|
+
return (r = Hr(t)) == null ? void 0 : r.size;
|
|
4121
4078
|
}
|
|
4122
4079
|
);
|
|
4123
4080
|
}
|
|
4124
|
-
function
|
|
4081
|
+
function Ki(e, t) {
|
|
4125
4082
|
return Promise.all(
|
|
4126
|
-
t.map((n) => (
|
|
4127
|
-
).then((n) =>
|
|
4128
|
-
}
|
|
4129
|
-
const
|
|
4130
|
-
function
|
|
4131
|
-
if (!
|
|
4132
|
-
return e in
|
|
4133
|
-
const t =
|
|
4134
|
-
return
|
|
4083
|
+
t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
|
|
4084
|
+
).then((n) => Tr(e, ...n));
|
|
4085
|
+
}
|
|
4086
|
+
const he = {};
|
|
4087
|
+
function Br(e) {
|
|
4088
|
+
if (!ot(e))
|
|
4089
|
+
return e in he ? he[e] : Promise.resolve();
|
|
4090
|
+
const t = qi(e);
|
|
4091
|
+
return he[e] = Promise.all(
|
|
4135
4092
|
t.map(
|
|
4136
|
-
([r, n]) =>
|
|
4093
|
+
([r, n]) => Ki(r, n)
|
|
4137
4094
|
)
|
|
4138
4095
|
).then(() => {
|
|
4139
|
-
if (
|
|
4140
|
-
return
|
|
4141
|
-
delete
|
|
4142
|
-
}),
|
|
4096
|
+
if (ot(e))
|
|
4097
|
+
return Br(e);
|
|
4098
|
+
delete he[e];
|
|
4099
|
+
}), he[e];
|
|
4143
4100
|
}
|
|
4144
|
-
const
|
|
4101
|
+
const eo = {
|
|
4145
4102
|
number: {
|
|
4146
4103
|
scientific: { notation: "scientific" },
|
|
4147
4104
|
engineering: { notation: "engineering" },
|
|
@@ -4170,135 +4127,135 @@ const oo = {
|
|
|
4170
4127
|
timeZoneName: "short"
|
|
4171
4128
|
}
|
|
4172
4129
|
}
|
|
4173
|
-
},
|
|
4130
|
+
}, to = {
|
|
4174
4131
|
fallbackLocale: null,
|
|
4175
4132
|
loadingDelay: 200,
|
|
4176
|
-
formats:
|
|
4133
|
+
formats: eo,
|
|
4177
4134
|
warnOnMissingMessages: !0,
|
|
4178
4135
|
handleMissingMessage: void 0,
|
|
4179
4136
|
ignoreTag: !0
|
|
4180
|
-
},
|
|
4181
|
-
function
|
|
4182
|
-
return
|
|
4137
|
+
}, ro = to;
|
|
4138
|
+
function oe() {
|
|
4139
|
+
return ro;
|
|
4183
4140
|
}
|
|
4184
|
-
const
|
|
4185
|
-
var
|
|
4141
|
+
const Ve = Ie(!1);
|
|
4142
|
+
var no = Object.defineProperty, io = Object.defineProperties, oo = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, ao = Object.prototype.hasOwnProperty, so = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, uo = (e, t) => {
|
|
4186
4143
|
for (var r in t || (t = {}))
|
|
4187
|
-
|
|
4188
|
-
if (
|
|
4189
|
-
for (var r of
|
|
4190
|
-
|
|
4144
|
+
ao.call(t, r) && Ut(e, r, t[r]);
|
|
4145
|
+
if (Gt)
|
|
4146
|
+
for (var r of Gt(t))
|
|
4147
|
+
so.call(t, r) && Ut(e, r, t[r]);
|
|
4191
4148
|
return e;
|
|
4192
|
-
},
|
|
4193
|
-
let
|
|
4194
|
-
const
|
|
4195
|
-
function
|
|
4149
|
+
}, lo = (e, t) => io(e, oo(t));
|
|
4150
|
+
let at;
|
|
4151
|
+
const Pe = Ie(null);
|
|
4152
|
+
function Ft(e) {
|
|
4196
4153
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4197
4154
|
}
|
|
4198
|
-
function
|
|
4199
|
-
const r =
|
|
4200
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4155
|
+
function Le(e, t = oe().fallbackLocale) {
|
|
4156
|
+
const r = Ft(e);
|
|
4157
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
|
|
4201
4158
|
}
|
|
4202
4159
|
function Z() {
|
|
4203
|
-
return
|
|
4160
|
+
return at != null ? at : void 0;
|
|
4204
4161
|
}
|
|
4205
|
-
|
|
4206
|
-
|
|
4162
|
+
Pe.subscribe((e) => {
|
|
4163
|
+
at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4207
4164
|
});
|
|
4208
|
-
const
|
|
4209
|
-
if (e &&
|
|
4210
|
-
const { loadingDelay: t } =
|
|
4165
|
+
const ho = (e) => {
|
|
4166
|
+
if (e && Qi(e) && ot(e)) {
|
|
4167
|
+
const { loadingDelay: t } = oe();
|
|
4211
4168
|
let r;
|
|
4212
4169
|
return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
|
|
4213
|
-
() =>
|
|
4170
|
+
() => Ve.set(!0),
|
|
4214
4171
|
t
|
|
4215
|
-
) :
|
|
4216
|
-
|
|
4172
|
+
) : Ve.set(!0), Br(e).then(() => {
|
|
4173
|
+
Pe.set(e);
|
|
4217
4174
|
}).finally(() => {
|
|
4218
|
-
clearTimeout(r),
|
|
4175
|
+
clearTimeout(r), Ve.set(!1);
|
|
4219
4176
|
});
|
|
4220
4177
|
}
|
|
4221
|
-
return
|
|
4222
|
-
}, W =
|
|
4223
|
-
set:
|
|
4224
|
-
}),
|
|
4178
|
+
return Pe.set(e);
|
|
4179
|
+
}, W = lo(uo({}, Pe), {
|
|
4180
|
+
set: ho
|
|
4181
|
+
}), Me = (e) => {
|
|
4225
4182
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4226
4183
|
return (n) => {
|
|
4227
4184
|
const i = JSON.stringify(n);
|
|
4228
4185
|
return i in t ? t[i] : t[i] = e(n);
|
|
4229
4186
|
};
|
|
4230
4187
|
};
|
|
4231
|
-
var
|
|
4188
|
+
var co = Object.defineProperty, Re = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4232
4189
|
for (var r in t || (t = {}))
|
|
4233
|
-
|
|
4190
|
+
Ar.call(t, r) && Dt(e, r, t[r]);
|
|
4234
4191
|
if (Re)
|
|
4235
4192
|
for (var r of Re(t))
|
|
4236
|
-
|
|
4193
|
+
Pr.call(t, r) && Dt(e, r, t[r]);
|
|
4237
4194
|
return e;
|
|
4238
|
-
},
|
|
4195
|
+
}, ue = (e, t) => {
|
|
4239
4196
|
var r = {};
|
|
4240
4197
|
for (var n in e)
|
|
4241
|
-
|
|
4198
|
+
Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4242
4199
|
if (e != null && Re)
|
|
4243
4200
|
for (var n of Re(e))
|
|
4244
|
-
t.indexOf(n) < 0 &&
|
|
4201
|
+
t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
|
|
4245
4202
|
return r;
|
|
4246
4203
|
};
|
|
4247
|
-
const
|
|
4248
|
-
const { formats: r } =
|
|
4204
|
+
const pe = (e, t) => {
|
|
4205
|
+
const { formats: r } = oe();
|
|
4249
4206
|
if (e in r && t in r[e])
|
|
4250
4207
|
return r[e][t];
|
|
4251
4208
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4252
|
-
},
|
|
4209
|
+
}, fo = Me(
|
|
4253
4210
|
(e) => {
|
|
4254
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4211
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4255
4212
|
if (r == null)
|
|
4256
4213
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4257
|
-
return n && (i =
|
|
4214
|
+
return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
|
|
4258
4215
|
}
|
|
4259
|
-
),
|
|
4216
|
+
), mo = Me(
|
|
4260
4217
|
(e) => {
|
|
4261
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4218
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4262
4219
|
if (r == null)
|
|
4263
4220
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4264
|
-
return n ? i =
|
|
4221
|
+
return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4265
4222
|
}
|
|
4266
|
-
),
|
|
4223
|
+
), po = Me(
|
|
4267
4224
|
(e) => {
|
|
4268
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4225
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4269
4226
|
if (r == null)
|
|
4270
4227
|
throw new Error(
|
|
4271
4228
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4272
4229
|
);
|
|
4273
|
-
return n ? i =
|
|
4230
|
+
return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4274
4231
|
}
|
|
4275
|
-
),
|
|
4232
|
+
), bo = (e = {}) => {
|
|
4276
4233
|
var t = e, {
|
|
4277
4234
|
locale: r = Z()
|
|
4278
|
-
} = t, n =
|
|
4235
|
+
} = t, n = ue(t, [
|
|
4279
4236
|
"locale"
|
|
4280
4237
|
]);
|
|
4281
|
-
return
|
|
4282
|
-
},
|
|
4238
|
+
return fo(lt({ locale: r }, n));
|
|
4239
|
+
}, go = (e = {}) => {
|
|
4283
4240
|
var t = e, {
|
|
4284
4241
|
locale: r = Z()
|
|
4285
|
-
} = t, n =
|
|
4242
|
+
} = t, n = ue(t, [
|
|
4286
4243
|
"locale"
|
|
4287
4244
|
]);
|
|
4288
|
-
return
|
|
4289
|
-
},
|
|
4245
|
+
return mo(lt({ locale: r }, n));
|
|
4246
|
+
}, yo = (e = {}) => {
|
|
4290
4247
|
var t = e, {
|
|
4291
4248
|
locale: r = Z()
|
|
4292
|
-
} = t, n =
|
|
4249
|
+
} = t, n = ue(t, [
|
|
4293
4250
|
"locale"
|
|
4294
4251
|
]);
|
|
4295
|
-
return
|
|
4296
|
-
},
|
|
4252
|
+
return po(lt({ locale: r }, n));
|
|
4253
|
+
}, vo = Me(
|
|
4297
4254
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4298
|
-
(e, t = Z()) => new
|
|
4299
|
-
ignoreTag:
|
|
4255
|
+
(e, t = Z()) => new Wi(e, t, oe().formats, {
|
|
4256
|
+
ignoreTag: oe().ignoreTag
|
|
4300
4257
|
})
|
|
4301
|
-
),
|
|
4258
|
+
), _o = (e, t = {}) => {
|
|
4302
4259
|
var r, n, i, o;
|
|
4303
4260
|
let a = t;
|
|
4304
4261
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4311,9 +4268,9 @@ const de = (e, t) => {
|
|
|
4311
4268
|
throw new Error(
|
|
4312
4269
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4313
4270
|
);
|
|
4314
|
-
let u =
|
|
4271
|
+
let u = wr(e, h);
|
|
4315
4272
|
if (!u)
|
|
4316
|
-
u = (o = (i = (n = (r =
|
|
4273
|
+
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;
|
|
4317
4274
|
else if (typeof u != "string")
|
|
4318
4275
|
return console.warn(
|
|
4319
4276
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4322,7 +4279,7 @@ const de = (e, t) => {
|
|
|
4322
4279
|
return u;
|
|
4323
4280
|
let f = u;
|
|
4324
4281
|
try {
|
|
4325
|
-
f =
|
|
4282
|
+
f = vo(u, h).format(s);
|
|
4326
4283
|
} catch (c) {
|
|
4327
4284
|
c instanceof Error && console.warn(
|
|
4328
4285
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4330,20 +4287,20 @@ const de = (e, t) => {
|
|
|
4330
4287
|
);
|
|
4331
4288
|
}
|
|
4332
4289
|
return f;
|
|
4333
|
-
},
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
window.emWidgets = { topic:
|
|
4339
|
-
const
|
|
4340
|
-
function
|
|
4290
|
+
}, xo = (e, t) => yo(t).format(e), Eo = (e, t) => go(t).format(e), wo = (e, t) => bo(t).format(e), So = (e, t = Z()) => wr(e, t), To = ae([W, se], () => _o);
|
|
4291
|
+
ae([W], () => xo);
|
|
4292
|
+
ae([W], () => Eo);
|
|
4293
|
+
ae([W], () => wo);
|
|
4294
|
+
ae([W, se], () => So);
|
|
4295
|
+
window.emWidgets = { topic: Gn };
|
|
4296
|
+
const Ho = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4297
|
+
function Bo(e, t) {
|
|
4341
4298
|
if (e) {
|
|
4342
4299
|
const r = document.createElement("style");
|
|
4343
4300
|
r.innerHTML = t, e.appendChild(r);
|
|
4344
4301
|
}
|
|
4345
4302
|
}
|
|
4346
|
-
function
|
|
4303
|
+
function Ao(e, t) {
|
|
4347
4304
|
const r = new URL(t);
|
|
4348
4305
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4349
4306
|
const i = document.createElement("style");
|
|
@@ -4352,7 +4309,7 @@ function No(e, t) {
|
|
|
4352
4309
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4353
4310
|
});
|
|
4354
4311
|
}
|
|
4355
|
-
function
|
|
4312
|
+
function Po(e, t, r) {
|
|
4356
4313
|
if (window.emMessageBus) {
|
|
4357
4314
|
const n = document.createElement("style");
|
|
4358
4315
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4360,18 +4317,18 @@ function Lo(e, t, r) {
|
|
|
4360
4317
|
});
|
|
4361
4318
|
}
|
|
4362
4319
|
}
|
|
4363
|
-
function
|
|
4320
|
+
function Ro({ withLocale: e, translations: t }) {
|
|
4364
4321
|
W.subscribe((r) => {
|
|
4365
|
-
r == null && (
|
|
4322
|
+
r == null && (se.set(t), W.set(e));
|
|
4366
4323
|
});
|
|
4367
4324
|
}
|
|
4368
|
-
function
|
|
4369
|
-
|
|
4325
|
+
function $t(e, t) {
|
|
4326
|
+
Tr(e, t);
|
|
4370
4327
|
}
|
|
4371
|
-
function
|
|
4328
|
+
function Oo(e) {
|
|
4372
4329
|
W.set(e);
|
|
4373
4330
|
}
|
|
4374
|
-
const
|
|
4331
|
+
const jt = {
|
|
4375
4332
|
en: {
|
|
4376
4333
|
playRandomGame: "Play a random game",
|
|
4377
4334
|
randomGameLoading: "Selecting ...",
|
|
@@ -4445,39 +4402,39 @@ const zt = {
|
|
|
4445
4402
|
noGames: "There are no random games to play"
|
|
4446
4403
|
}
|
|
4447
4404
|
};
|
|
4448
|
-
function
|
|
4449
|
-
|
|
4405
|
+
function Io(e) {
|
|
4406
|
+
rn(e, "svelte-kfgfhx", "*,*::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}.CasinoPlayRandomGameWrapper{min-height:0}.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, #22B04E));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{margin:5px 0;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, #22B04E));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, #22B04E));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}");
|
|
4450
4407
|
}
|
|
4451
|
-
function
|
|
4408
|
+
function kt(e, t, r) {
|
|
4452
4409
|
const n = e.slice();
|
|
4453
4410
|
return n[41] = t[r], n;
|
|
4454
4411
|
}
|
|
4455
|
-
const
|
|
4456
|
-
function
|
|
4412
|
+
const No = (e) => ({}), Vt = (e) => ({});
|
|
4413
|
+
function Wt(e) {
|
|
4457
4414
|
let t, r, n, i, o, a, s;
|
|
4458
4415
|
const h = (
|
|
4459
4416
|
/*#slots*/
|
|
4460
4417
|
e[23].close
|
|
4461
|
-
), l =
|
|
4418
|
+
), l = qr(
|
|
4462
4419
|
h,
|
|
4463
4420
|
e,
|
|
4464
4421
|
/*$$scope*/
|
|
4465
4422
|
e[22],
|
|
4466
|
-
|
|
4467
|
-
), u = l ||
|
|
4423
|
+
Vt
|
|
4424
|
+
), u = l || Lo();
|
|
4468
4425
|
function f(d, p) {
|
|
4469
4426
|
return (
|
|
4470
4427
|
/*hasRandomGames*/
|
|
4471
|
-
d[7] ?
|
|
4428
|
+
d[7] ? Co : Mo
|
|
4472
4429
|
);
|
|
4473
4430
|
}
|
|
4474
4431
|
let c = f(e), m = c(e);
|
|
4475
4432
|
return {
|
|
4476
4433
|
c() {
|
|
4477
|
-
t =
|
|
4434
|
+
t = S("div"), r = S("div"), n = S("span"), u && u.c(), i = V(), m.c(), g(n, "class", "ModalCloseBtn"), g(n, "role", "button"), g(r, "class", "ModalContainer"), g(t, "class", "ModalWindow");
|
|
4478
4435
|
},
|
|
4479
4436
|
m(d, p) {
|
|
4480
|
-
I(d, t, p),
|
|
4437
|
+
I(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 = Be(
|
|
4481
4438
|
n,
|
|
4482
4439
|
"click",
|
|
4483
4440
|
/*closeModal*/
|
|
@@ -4486,62 +4443,62 @@ function Qt(e) {
|
|
|
4486
4443
|
},
|
|
4487
4444
|
p(d, p) {
|
|
4488
4445
|
l && l.p && (!o || p[0] & /*$$scope*/
|
|
4489
|
-
4194304) &&
|
|
4446
|
+
4194304) && en(
|
|
4490
4447
|
l,
|
|
4491
4448
|
h,
|
|
4492
4449
|
d,
|
|
4493
4450
|
/*$$scope*/
|
|
4494
4451
|
d[22],
|
|
4495
|
-
o ?
|
|
4452
|
+
o ? Kr(
|
|
4496
4453
|
h,
|
|
4497
4454
|
/*$$scope*/
|
|
4498
4455
|
d[22],
|
|
4499
4456
|
p,
|
|
4500
|
-
|
|
4501
|
-
) :
|
|
4457
|
+
No
|
|
4458
|
+
) : tn(
|
|
4502
4459
|
/*$$scope*/
|
|
4503
4460
|
d[22]
|
|
4504
4461
|
),
|
|
4505
|
-
|
|
4462
|
+
Vt
|
|
4506
4463
|
), c === (c = f(d)) && m ? m.p(d, p) : (m.d(1), m = c(d), m && (m.c(), m.m(r, null)));
|
|
4507
4464
|
},
|
|
4508
4465
|
i(d) {
|
|
4509
|
-
o || (
|
|
4466
|
+
o || (fe(u, d), o = !0);
|
|
4510
4467
|
},
|
|
4511
4468
|
o(d) {
|
|
4512
|
-
|
|
4469
|
+
ze(u, d), o = !1;
|
|
4513
4470
|
},
|
|
4514
4471
|
d(d) {
|
|
4515
|
-
d &&
|
|
4472
|
+
d && R(t), u && u.d(d), m.d(), a = !1, s();
|
|
4516
4473
|
}
|
|
4517
4474
|
};
|
|
4518
4475
|
}
|
|
4519
|
-
function
|
|
4476
|
+
function Lo(e) {
|
|
4520
4477
|
let t, r;
|
|
4521
4478
|
return {
|
|
4522
4479
|
c() {
|
|
4523
|
-
t =
|
|
4480
|
+
t = yt("svg"), r = yt("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4524
4481
|
},
|
|
4525
4482
|
m(n, i) {
|
|
4526
|
-
I(n, t, i),
|
|
4483
|
+
I(n, t, i), x(t, r);
|
|
4527
4484
|
},
|
|
4528
|
-
p:
|
|
4485
|
+
p: C,
|
|
4529
4486
|
d(n) {
|
|
4530
|
-
n &&
|
|
4487
|
+
n && R(t);
|
|
4531
4488
|
}
|
|
4532
4489
|
};
|
|
4533
4490
|
}
|
|
4534
|
-
function
|
|
4491
|
+
function Mo(e) {
|
|
4535
4492
|
let t, r = (
|
|
4536
4493
|
/*$_*/
|
|
4537
4494
|
e[9]("noGames") + ""
|
|
4538
4495
|
), n;
|
|
4539
4496
|
return {
|
|
4540
4497
|
c() {
|
|
4541
|
-
t =
|
|
4498
|
+
t = S("p"), n = k(r), g(t, "class", "RandomGameLoading");
|
|
4542
4499
|
},
|
|
4543
4500
|
m(i, o) {
|
|
4544
|
-
I(i, t, o),
|
|
4501
|
+
I(i, t, o), x(t, n);
|
|
4545
4502
|
},
|
|
4546
4503
|
p(i, o) {
|
|
4547
4504
|
o[0] & /*$_*/
|
|
@@ -4549,48 +4506,48 @@ function Fo(e) {
|
|
|
4549
4506
|
i[9]("noGames") + "") && z(n, r);
|
|
4550
4507
|
},
|
|
4551
4508
|
d(i) {
|
|
4552
|
-
i &&
|
|
4509
|
+
i && R(t);
|
|
4553
4510
|
}
|
|
4554
4511
|
};
|
|
4555
4512
|
}
|
|
4556
|
-
function
|
|
4557
|
-
let t, r, n, i, o =
|
|
4513
|
+
function Co(e) {
|
|
4514
|
+
let t, r, n, i, o = _t(
|
|
4558
4515
|
/*gamesToShow*/
|
|
4559
4516
|
e[4]
|
|
4560
4517
|
), a = [];
|
|
4561
4518
|
for (let u = 0; u < o.length; u += 1)
|
|
4562
|
-
a[u] =
|
|
4519
|
+
a[u] = Xt(kt(e, o, u));
|
|
4563
4520
|
function s(u, f) {
|
|
4564
4521
|
return (
|
|
4565
4522
|
/*animationDone*/
|
|
4566
|
-
u[6] ?
|
|
4523
|
+
u[6] ? Uo : Go
|
|
4567
4524
|
);
|
|
4568
4525
|
}
|
|
4569
4526
|
let h = s(e), l = h(e);
|
|
4570
4527
|
return {
|
|
4571
4528
|
c() {
|
|
4572
|
-
t =
|
|
4529
|
+
t = S("div"), r = S("main"), n = S("div");
|
|
4573
4530
|
for (let u = 0; u < a.length; u += 1)
|
|
4574
4531
|
a[u].c();
|
|
4575
4532
|
i = V(), l.c(), g(n, "class", "GamesContainer"), g(r, "class", "RandomGamesSliderWrapper"), g(t, "class", "RandomGameWrapper");
|
|
4576
4533
|
},
|
|
4577
4534
|
m(u, f) {
|
|
4578
|
-
I(u, t, f),
|
|
4535
|
+
I(u, t, f), x(t, r), x(r, n);
|
|
4579
4536
|
for (let c = 0; c < a.length; c += 1)
|
|
4580
4537
|
a[c] && a[c].m(n, null);
|
|
4581
|
-
e[24](n),
|
|
4538
|
+
e[24](n), x(t, i), l.m(t, null);
|
|
4582
4539
|
},
|
|
4583
4540
|
p(u, f) {
|
|
4584
4541
|
if (f[0] & /*gamesToShow*/
|
|
4585
4542
|
16) {
|
|
4586
|
-
o =
|
|
4543
|
+
o = _t(
|
|
4587
4544
|
/*gamesToShow*/
|
|
4588
4545
|
u[4]
|
|
4589
4546
|
);
|
|
4590
4547
|
let c;
|
|
4591
4548
|
for (c = 0; c < o.length; c += 1) {
|
|
4592
|
-
const m =
|
|
4593
|
-
a[c] ? a[c].p(m, f) : (a[c] =
|
|
4549
|
+
const m = kt(u, o, c);
|
|
4550
|
+
a[c] ? a[c].p(m, f) : (a[c] = Xt(m), a[c].c(), a[c].m(n, null));
|
|
4594
4551
|
}
|
|
4595
4552
|
for (; c < a.length; c += 1)
|
|
4596
4553
|
a[c].d(1);
|
|
@@ -4599,25 +4556,25 @@ function Do(e) {
|
|
|
4599
4556
|
h === (h = s(u)) && l ? l.p(u, f) : (l.d(1), l = h(u), l && (l.c(), l.m(t, null)));
|
|
4600
4557
|
},
|
|
4601
4558
|
d(u) {
|
|
4602
|
-
u &&
|
|
4559
|
+
u && R(t), an(a, u), e[24](null), l.d();
|
|
4603
4560
|
}
|
|
4604
4561
|
};
|
|
4605
4562
|
}
|
|
4606
|
-
function
|
|
4563
|
+
function Xt(e) {
|
|
4607
4564
|
let t, r, n, i, o, a;
|
|
4608
4565
|
return {
|
|
4609
4566
|
c() {
|
|
4610
|
-
t =
|
|
4567
|
+
t = S("div"), r = S("img"), a = V(), g(r, "class", "RandomGameImage"), gt(r.src, n = /*game*/
|
|
4611
4568
|
e[41].thumbnail) || g(r, "src", n), g(r, "alt", i = /*game*/
|
|
4612
4569
|
e[41].name), g(r, "title", o = /*game*/
|
|
4613
4570
|
e[41].name), g(t, "class", "item");
|
|
4614
4571
|
},
|
|
4615
4572
|
m(s, h) {
|
|
4616
|
-
I(s, t, h),
|
|
4573
|
+
I(s, t, h), x(t, r), x(t, a);
|
|
4617
4574
|
},
|
|
4618
4575
|
p(s, h) {
|
|
4619
4576
|
h[0] & /*gamesToShow*/
|
|
4620
|
-
16 && !
|
|
4577
|
+
16 && !gt(r.src, n = /*game*/
|
|
4621
4578
|
s[41].thumbnail) && g(r, "src", n), h[0] & /*gamesToShow*/
|
|
4622
4579
|
16 && i !== (i = /*game*/
|
|
4623
4580
|
s[41].name) && g(r, "alt", i), h[0] & /*gamesToShow*/
|
|
@@ -4625,21 +4582,21 @@ function Yt(e) {
|
|
|
4625
4582
|
s[41].name) && g(r, "title", o);
|
|
4626
4583
|
},
|
|
4627
4584
|
d(s) {
|
|
4628
|
-
s &&
|
|
4585
|
+
s && R(t);
|
|
4629
4586
|
}
|
|
4630
4587
|
};
|
|
4631
4588
|
}
|
|
4632
|
-
function
|
|
4589
|
+
function Go(e) {
|
|
4633
4590
|
let t, r = (
|
|
4634
4591
|
/*$_*/
|
|
4635
4592
|
e[9]("randomGameLoading") + ""
|
|
4636
4593
|
), n;
|
|
4637
4594
|
return {
|
|
4638
4595
|
c() {
|
|
4639
|
-
t =
|
|
4596
|
+
t = S("p"), n = k(r), g(t, "class", "RandomGameLoading");
|
|
4640
4597
|
},
|
|
4641
4598
|
m(i, o) {
|
|
4642
|
-
I(i, t, o),
|
|
4599
|
+
I(i, t, o), x(t, n);
|
|
4643
4600
|
},
|
|
4644
4601
|
p(i, o) {
|
|
4645
4602
|
o[0] & /*$_*/
|
|
@@ -4647,11 +4604,11 @@ function jo(e) {
|
|
|
4647
4604
|
i[9]("randomGameLoading") + "") && z(n, r);
|
|
4648
4605
|
},
|
|
4649
4606
|
d(i) {
|
|
4650
|
-
i &&
|
|
4607
|
+
i && R(t);
|
|
4651
4608
|
}
|
|
4652
4609
|
};
|
|
4653
4610
|
}
|
|
4654
|
-
function
|
|
4611
|
+
function Uo(e) {
|
|
4655
4612
|
let t, r, n, i, o = (
|
|
4656
4613
|
/*randomGame*/
|
|
4657
4614
|
e[3].name + ""
|
|
@@ -4664,11 +4621,11 @@ function ko(e) {
|
|
|
4664
4621
|
), d, p, A;
|
|
4665
4622
|
return {
|
|
4666
4623
|
c() {
|
|
4667
|
-
t =
|
|
4668
|
-
</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 = V(), n =
|
|
4624
|
+
t = S("button"), t.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
|
|
4625
|
+
</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 = V(), n = S("div"), i = S("p"), a = k(o), s = V(), h = S("p"), u = k(l), f = V(), c = S("button"), d = k(m), g(t, "class", "RandomTryAgain"), g(i, "class", "RandomGameTitle"), g(h, "class", "RandomGameVendor"), g(c, "class", "RandomGamePlay"), g(n, "class", "RandomGameDetails");
|
|
4669
4626
|
},
|
|
4670
4627
|
m(H, T) {
|
|
4671
|
-
I(H, t, T), I(H, r, T), I(H, n, T),
|
|
4628
|
+
I(H, t, T), I(H, r, T), I(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 = [
|
|
4672
4629
|
Be(
|
|
4673
4630
|
t,
|
|
4674
4631
|
"click",
|
|
@@ -4693,21 +4650,21 @@ function ko(e) {
|
|
|
4693
4650
|
H[9]("playNowRandomGame") + "") && z(d, m);
|
|
4694
4651
|
},
|
|
4695
4652
|
d(H) {
|
|
4696
|
-
H && (
|
|
4653
|
+
H && (R(t), R(r), R(n)), p = !1, J(A);
|
|
4697
4654
|
}
|
|
4698
4655
|
};
|
|
4699
4656
|
}
|
|
4700
|
-
function
|
|
4657
|
+
function Fo(e) {
|
|
4701
4658
|
let t, r = (
|
|
4702
4659
|
/*$_*/
|
|
4703
4660
|
e[9]("playRandomGame") + ""
|
|
4704
4661
|
), n;
|
|
4705
4662
|
return {
|
|
4706
4663
|
c() {
|
|
4707
|
-
t =
|
|
4664
|
+
t = S("span"), n = k(r), g(t, "class", "RandomButtonText");
|
|
4708
4665
|
},
|
|
4709
4666
|
m(i, o) {
|
|
4710
|
-
I(i, t, o),
|
|
4667
|
+
I(i, t, o), x(t, n);
|
|
4711
4668
|
},
|
|
4712
4669
|
p(i, o) {
|
|
4713
4670
|
o[0] & /*$_*/
|
|
@@ -4715,21 +4672,21 @@ function Vo(e) {
|
|
|
4715
4672
|
i[9]("playRandomGame") + "") && z(n, r);
|
|
4716
4673
|
},
|
|
4717
4674
|
d(i) {
|
|
4718
|
-
i &&
|
|
4675
|
+
i && R(t);
|
|
4719
4676
|
}
|
|
4720
4677
|
};
|
|
4721
4678
|
}
|
|
4722
|
-
function
|
|
4679
|
+
function Do(e) {
|
|
4723
4680
|
let t, r;
|
|
4724
4681
|
return {
|
|
4725
4682
|
c() {
|
|
4726
|
-
t =
|
|
4683
|
+
t = S("span"), r = k(
|
|
4727
4684
|
/*buttontext*/
|
|
4728
4685
|
e[1]
|
|
4729
4686
|
), g(t, "class", "RandomButtonText");
|
|
4730
4687
|
},
|
|
4731
4688
|
m(n, i) {
|
|
4732
|
-
I(n, t, i),
|
|
4689
|
+
I(n, t, i), x(t, r);
|
|
4733
4690
|
},
|
|
4734
4691
|
p(n, i) {
|
|
4735
4692
|
i[0] & /*buttontext*/
|
|
@@ -4740,32 +4697,32 @@ function Wo(e) {
|
|
|
4740
4697
|
);
|
|
4741
4698
|
},
|
|
4742
4699
|
d(n) {
|
|
4743
|
-
n &&
|
|
4700
|
+
n && R(t);
|
|
4744
4701
|
}
|
|
4745
4702
|
};
|
|
4746
4703
|
}
|
|
4747
|
-
function
|
|
4704
|
+
function $o(e) {
|
|
4748
4705
|
let t, r, n, i, o, a, s, h, l, u = (
|
|
4749
4706
|
/*show*/
|
|
4750
|
-
e[5] &&
|
|
4707
|
+
e[5] && Wt(e)
|
|
4751
4708
|
);
|
|
4752
4709
|
function f(d, p) {
|
|
4753
4710
|
if (
|
|
4754
4711
|
/*buttontext*/
|
|
4755
4712
|
d[1]
|
|
4756
4713
|
)
|
|
4757
|
-
return
|
|
4714
|
+
return Do;
|
|
4758
4715
|
if (!/*buttontext*/
|
|
4759
4716
|
d[1])
|
|
4760
|
-
return
|
|
4717
|
+
return Fo;
|
|
4761
4718
|
}
|
|
4762
4719
|
let c = f(e), m = c && c(e);
|
|
4763
4720
|
return {
|
|
4764
4721
|
c() {
|
|
4765
|
-
t =
|
|
4722
|
+
t = S("div"), u && u.c(), r = V(), n = S("div"), i = S("button"), m && m.c(), o = V(), a = S("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper");
|
|
4766
4723
|
},
|
|
4767
4724
|
m(d, p) {
|
|
4768
|
-
I(d, t, p), u && u.m(t, null),
|
|
4725
|
+
I(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*/
|
|
4769
4726
|
e[0], e[28](t), s = !0, h || (l = Be(
|
|
4770
4727
|
i,
|
|
4771
4728
|
"click",
|
|
@@ -4776,75 +4733,75 @@ function Xo(e) {
|
|
|
4776
4733
|
p(d, p) {
|
|
4777
4734
|
/*show*/
|
|
4778
4735
|
d[5] ? u ? (u.p(d, p), p[0] & /*show*/
|
|
4779
|
-
32 &&
|
|
4736
|
+
32 && fe(u, 1)) : (u = Wt(d), u.c(), fe(u, 1), u.m(t, r)) : u && (dn(), ze(u, 1, 1, () => {
|
|
4780
4737
|
u = null;
|
|
4781
|
-
}),
|
|
4738
|
+
}), pn()), 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*/
|
|
4782
4739
|
1) && (a.innerHTML = /*randombuttonicon*/
|
|
4783
4740
|
d[0]);
|
|
4784
4741
|
},
|
|
4785
4742
|
i(d) {
|
|
4786
|
-
s || (
|
|
4743
|
+
s || (fe(u), s = !0);
|
|
4787
4744
|
},
|
|
4788
4745
|
o(d) {
|
|
4789
|
-
|
|
4746
|
+
ze(u), s = !1;
|
|
4790
4747
|
},
|
|
4791
4748
|
d(d) {
|
|
4792
|
-
d &&
|
|
4749
|
+
d && R(t), u && u.d(), m && m.d(), e[28](null), h = !1, l();
|
|
4793
4750
|
}
|
|
4794
4751
|
};
|
|
4795
4752
|
}
|
|
4796
|
-
function
|
|
4753
|
+
function jo(e, t, r) {
|
|
4797
4754
|
let n;
|
|
4798
|
-
|
|
4799
|
-
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,
|
|
4800
|
-
|
|
4801
|
-
const
|
|
4802
|
-
fetch(c).then((
|
|
4803
|
-
Object.keys(
|
|
4804
|
-
|
|
4755
|
+
Yr(e, To, (b) => r(9, n = b));
|
|
4756
|
+
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, G = !1, be = window.navigator.userAgent, U, Q, ht, ge, ct = null;
|
|
4757
|
+
Ro({ withLocale: "en", translations: {} });
|
|
4758
|
+
const Rr = () => {
|
|
4759
|
+
fetch(c).then((E) => E.json()).then((E) => {
|
|
4760
|
+
Object.keys(E).forEach((F) => {
|
|
4761
|
+
$t(F, E[F]);
|
|
4805
4762
|
});
|
|
4806
|
-
}).catch((
|
|
4807
|
-
console.log(
|
|
4763
|
+
}).catch((E) => {
|
|
4764
|
+
console.log(E);
|
|
4808
4765
|
});
|
|
4809
4766
|
};
|
|
4810
|
-
Object.keys(
|
|
4811
|
-
|
|
4767
|
+
Object.keys(jt).forEach((b) => {
|
|
4768
|
+
$t(b, jt[b]);
|
|
4812
4769
|
});
|
|
4813
|
-
const
|
|
4770
|
+
const Or = () => {
|
|
4814
4771
|
let b = new URL(`${a}/v1/casino/games`);
|
|
4815
|
-
b.searchParams.append("platform",
|
|
4816
|
-
H =
|
|
4817
|
-
}).catch((
|
|
4818
|
-
console.log(
|
|
4772
|
+
b.searchParams.append("platform", Ho(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) => {
|
|
4773
|
+
H = E.items, H.length ? (r(4, B = Ir(H.slice(0, 19))), r(7, G = !0)) : (r(4, B = []), r(7, G = !1));
|
|
4774
|
+
}).catch((E) => {
|
|
4775
|
+
console.log(E), r(7, G = !1);
|
|
4819
4776
|
});
|
|
4820
|
-
},
|
|
4821
|
-
const
|
|
4822
|
-
return
|
|
4823
|
-
},
|
|
4824
|
-
yield
|
|
4825
|
-
}),
|
|
4826
|
-
r(6, M = !1), r(5, L = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield
|
|
4827
|
-
const b = window.getComputedStyle(Q).getPropertyValue("gap"),
|
|
4777
|
+
}, Ir = (b) => {
|
|
4778
|
+
const E = Lr(b);
|
|
4779
|
+
return E.concat(E);
|
|
4780
|
+
}, Nr = () => ye(this, null, function* () {
|
|
4781
|
+
yield cn(), ge = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[ge]), ht = Q.children[ge];
|
|
4782
|
+
}), Ce = () => ye(this, null, function* () {
|
|
4783
|
+
r(6, M = !1), r(5, L = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield Nr();
|
|
4784
|
+
const b = window.getComputedStyle(Q).getPropertyValue("gap"), E = parseInt(b, 10) || 0, le = (ht.offsetHeight + E) * ge, jr = [
|
|
4828
4785
|
{ transform: "translateX(0px)" },
|
|
4829
4786
|
{ filter: "blur(5px)" },
|
|
4830
4787
|
{
|
|
4831
|
-
transform: `translateY(-${
|
|
4788
|
+
transform: `translateY(-${le}px)`
|
|
4832
4789
|
}
|
|
4833
|
-
],
|
|
4790
|
+
], kr = {
|
|
4834
4791
|
duration: 2e3,
|
|
4835
4792
|
easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
|
|
4836
4793
|
fill: "forwards"
|
|
4837
4794
|
};
|
|
4838
|
-
|
|
4795
|
+
ct = Q.animate(jr, kr), ct.onfinish = () => {
|
|
4839
4796
|
r(6, M = !0);
|
|
4840
4797
|
};
|
|
4841
|
-
}),
|
|
4842
|
-
const
|
|
4843
|
-
let F =
|
|
4798
|
+
}), Lr = (b) => {
|
|
4799
|
+
const E = structuredClone(b);
|
|
4800
|
+
let F = E.length, le;
|
|
4844
4801
|
for (; F != 0; )
|
|
4845
|
-
|
|
4846
|
-
return
|
|
4847
|
-
},
|
|
4802
|
+
le = Math.floor(Math.random() * F), F--, [E[F], E[le]] = [E[le], E[F]];
|
|
4803
|
+
return E;
|
|
4804
|
+
}, ft = () => {
|
|
4848
4805
|
window.postMessage(
|
|
4849
4806
|
{
|
|
4850
4807
|
type: h,
|
|
@@ -4855,48 +4812,48 @@ function zo(e, t, r) {
|
|
|
4855
4812
|
context: "RandomGameWidget",
|
|
4856
4813
|
gameId: `${T.gId || T.id}`
|
|
4857
4814
|
});
|
|
4858
|
-
},
|
|
4815
|
+
}, Mr = () => {
|
|
4859
4816
|
r(5, L = !1), window.postMessage({ type: "RandomWidgetState", state: L }, window.location.href);
|
|
4860
|
-
},
|
|
4861
|
-
|
|
4817
|
+
}, Cr = () => {
|
|
4818
|
+
Oo(l);
|
|
4862
4819
|
};
|
|
4863
|
-
|
|
4820
|
+
hn(() => () => {
|
|
4864
4821
|
});
|
|
4865
|
-
function
|
|
4822
|
+
function Gr(b) {
|
|
4866
4823
|
Ae[b ? "unshift" : "push"](() => {
|
|
4867
4824
|
Q = b, r(8, Q);
|
|
4868
4825
|
});
|
|
4869
4826
|
}
|
|
4870
|
-
const
|
|
4871
|
-
function
|
|
4827
|
+
const Ur = () => Ce(), Fr = () => ft(), Dr = () => Ce();
|
|
4828
|
+
function $r(b) {
|
|
4872
4829
|
Ae[b ? "unshift" : "push"](() => {
|
|
4873
|
-
|
|
4830
|
+
U = b, r(2, U);
|
|
4874
4831
|
});
|
|
4875
4832
|
}
|
|
4876
4833
|
return e.$$set = (b) => {
|
|
4877
4834
|
"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);
|
|
4878
4835
|
}, e.$$.update = () => {
|
|
4879
4836
|
e.$$.dirty[0] & /*lang*/
|
|
4880
|
-
65536 && l &&
|
|
4881
|
-
131072 && c &&
|
|
4882
|
-
24576 && a && s &&
|
|
4883
|
-
262148 && m &&
|
|
4884
|
-
524292 && d &&
|
|
4885
|
-
2097156 &&
|
|
4837
|
+
65536 && l && Cr(), e.$$.dirty[0] & /*translationurl*/
|
|
4838
|
+
131072 && c && Rr(), e.$$.dirty[0] & /*endpoint, datasource*/
|
|
4839
|
+
24576 && a && s && Or(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4840
|
+
262148 && m && U && Bo(U, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4841
|
+
524292 && d && U && Ao(U, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4842
|
+
2097156 && U && Po(U, `${A}.Style`);
|
|
4886
4843
|
}, [
|
|
4887
4844
|
u,
|
|
4888
4845
|
f,
|
|
4889
|
-
|
|
4846
|
+
U,
|
|
4890
4847
|
T,
|
|
4891
4848
|
B,
|
|
4892
4849
|
L,
|
|
4893
4850
|
M,
|
|
4894
|
-
|
|
4851
|
+
G,
|
|
4895
4852
|
Q,
|
|
4896
4853
|
n,
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4854
|
+
Ce,
|
|
4855
|
+
ft,
|
|
4856
|
+
Mr,
|
|
4900
4857
|
a,
|
|
4901
4858
|
s,
|
|
4902
4859
|
h,
|
|
@@ -4908,21 +4865,21 @@ function zo(e, t, r) {
|
|
|
4908
4865
|
A,
|
|
4909
4866
|
o,
|
|
4910
4867
|
i,
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4868
|
+
Gr,
|
|
4869
|
+
Ur,
|
|
4870
|
+
Fr,
|
|
4871
|
+
Dr,
|
|
4872
|
+
$r
|
|
4916
4873
|
];
|
|
4917
4874
|
}
|
|
4918
|
-
class
|
|
4875
|
+
class ko extends xn {
|
|
4919
4876
|
constructor(t) {
|
|
4920
|
-
super(),
|
|
4877
|
+
super(), vn(
|
|
4921
4878
|
this,
|
|
4922
4879
|
t,
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4880
|
+
jo,
|
|
4881
|
+
$o,
|
|
4882
|
+
Jt,
|
|
4926
4883
|
{
|
|
4927
4884
|
endpoint: 13,
|
|
4928
4885
|
datasource: 14,
|
|
@@ -4936,7 +4893,7 @@ class Jo extends Hn {
|
|
|
4936
4893
|
filteredrandomgamecategories: 20,
|
|
4937
4894
|
mbsource: 21
|
|
4938
4895
|
},
|
|
4939
|
-
|
|
4896
|
+
Io,
|
|
4940
4897
|
[-1, -1]
|
|
4941
4898
|
);
|
|
4942
4899
|
}
|
|
@@ -4944,70 +4901,70 @@ class Jo extends Hn {
|
|
|
4944
4901
|
return this.$$.ctx[13];
|
|
4945
4902
|
}
|
|
4946
4903
|
set endpoint(t) {
|
|
4947
|
-
this.$$set({ endpoint: t }),
|
|
4904
|
+
this.$$set({ endpoint: t }), O();
|
|
4948
4905
|
}
|
|
4949
4906
|
get datasource() {
|
|
4950
4907
|
return this.$$.ctx[14];
|
|
4951
4908
|
}
|
|
4952
4909
|
set datasource(t) {
|
|
4953
|
-
this.$$set({ datasource: t }),
|
|
4910
|
+
this.$$set({ datasource: t }), O();
|
|
4954
4911
|
}
|
|
4955
4912
|
get gameevent() {
|
|
4956
4913
|
return this.$$.ctx[15];
|
|
4957
4914
|
}
|
|
4958
4915
|
set gameevent(t) {
|
|
4959
|
-
this.$$set({ gameevent: t }),
|
|
4916
|
+
this.$$set({ gameevent: t }), O();
|
|
4960
4917
|
}
|
|
4961
4918
|
get lang() {
|
|
4962
4919
|
return this.$$.ctx[16];
|
|
4963
4920
|
}
|
|
4964
4921
|
set lang(t) {
|
|
4965
|
-
this.$$set({ lang: t }),
|
|
4922
|
+
this.$$set({ lang: t }), O();
|
|
4966
4923
|
}
|
|
4967
4924
|
get randombuttonicon() {
|
|
4968
4925
|
return this.$$.ctx[0];
|
|
4969
4926
|
}
|
|
4970
4927
|
set randombuttonicon(t) {
|
|
4971
|
-
this.$$set({ randombuttonicon: t }),
|
|
4928
|
+
this.$$set({ randombuttonicon: t }), O();
|
|
4972
4929
|
}
|
|
4973
4930
|
get buttontext() {
|
|
4974
4931
|
return this.$$.ctx[1];
|
|
4975
4932
|
}
|
|
4976
4933
|
set buttontext(t) {
|
|
4977
|
-
this.$$set({ buttontext: t }),
|
|
4934
|
+
this.$$set({ buttontext: t }), O();
|
|
4978
4935
|
}
|
|
4979
4936
|
get translationurl() {
|
|
4980
4937
|
return this.$$.ctx[17];
|
|
4981
4938
|
}
|
|
4982
4939
|
set translationurl(t) {
|
|
4983
|
-
this.$$set({ translationurl: t }),
|
|
4940
|
+
this.$$set({ translationurl: t }), O();
|
|
4984
4941
|
}
|
|
4985
4942
|
get clientstyling() {
|
|
4986
4943
|
return this.$$.ctx[18];
|
|
4987
4944
|
}
|
|
4988
4945
|
set clientstyling(t) {
|
|
4989
|
-
this.$$set({ clientstyling: t }),
|
|
4946
|
+
this.$$set({ clientstyling: t }), O();
|
|
4990
4947
|
}
|
|
4991
4948
|
get clientstylingurl() {
|
|
4992
4949
|
return this.$$.ctx[19];
|
|
4993
4950
|
}
|
|
4994
4951
|
set clientstylingurl(t) {
|
|
4995
|
-
this.$$set({ clientstylingurl: t }),
|
|
4952
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4996
4953
|
}
|
|
4997
4954
|
get filteredrandomgamecategories() {
|
|
4998
4955
|
return this.$$.ctx[20];
|
|
4999
4956
|
}
|
|
5000
4957
|
set filteredrandomgamecategories(t) {
|
|
5001
|
-
this.$$set({ filteredrandomgamecategories: t }),
|
|
4958
|
+
this.$$set({ filteredrandomgamecategories: t }), O();
|
|
5002
4959
|
}
|
|
5003
4960
|
get mbsource() {
|
|
5004
4961
|
return this.$$.ctx[21];
|
|
5005
4962
|
}
|
|
5006
4963
|
set mbsource(t) {
|
|
5007
|
-
this.$$set({ mbsource: t }),
|
|
4964
|
+
this.$$set({ mbsource: t }), O();
|
|
5008
4965
|
}
|
|
5009
4966
|
}
|
|
5010
|
-
|
|
4967
|
+
_n(ko, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
|
|
5011
4968
|
export {
|
|
5012
|
-
|
|
4969
|
+
ko as default
|
|
5013
4970
|
};
|