@everymatrix/casino-tournaments-thumbnail-games 0.2.0 → 0.2.1
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/{CasinoTournamentsThumbnailGames-AWAhNdqG.js → CasinoTournamentsThumbnailGames-5E9pnyA4.js} +730 -751
- package/components/{CasinoTournamentsThumbnailGames-6Z4opXQ_.js → CasinoTournamentsThumbnailGames-BoNXtTGv.js} +754 -775
- package/components/CasinoTournamentsThumbnailGames-f1oC-a5z.cjs +18 -0
- package/es2015/casino-tournaments-thumbnail-games.cjs +1 -1
- package/es2015/casino-tournaments-thumbnail-games.js +1 -1
- package/esnext/casino-tournaments-thumbnail-games.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-BD-QREJe.js +558 -0
- package/stencil/index-97d17652-DJqGt8q2.js +542 -0
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-BMiZteNE.cjs} +1 -1
- package/stencil/{ui-image-CHeV8e9p.js → ui-image-BW8AeEVd.js} +1 -1
- package/stencil/{ui-image-C7s6Uvn5.js → ui-image-CX3MBBZL.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/components/CasinoTournamentsThumbnailGames-ChN1OI2H.cjs +0 -18
- package/stencil/index-97d17652--F7PvMq9.js +0 -542
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-97d17652-CCFHkzJw.js +0 -558
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Er = Object.defineProperty, xr = Object.defineProperties;
|
|
2
2
|
var Tr = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var ot = Object.getOwnPropertySymbols;
|
|
4
|
+
var Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ae = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Sr.call(t, r) && Ae(e, r, t[r]);
|
|
8
|
+
if (ot)
|
|
9
|
+
for (var r of ot(t))
|
|
10
|
+
wr.call(t, r) && Ae(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, at = (e, t) => xr(e, Tr(t));
|
|
13
|
+
var I = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var ut = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(u));
|
|
@@ -27,32 +27,32 @@ var lt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-image-
|
|
30
|
+
import "../stencil/ui-image-CX3MBBZL.js";
|
|
31
31
|
function C() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Ut(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function ht() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
e.forEach(
|
|
39
|
+
function he(e) {
|
|
40
|
+
e.forEach(Ut);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function xe(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Dt(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
48
|
let ce;
|
|
49
|
-
function
|
|
49
|
+
function lt(e, t) {
|
|
50
50
|
return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Hr(e) {
|
|
53
53
|
return Object.keys(e).length === 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ft(e, ...t) {
|
|
56
56
|
if (e == null) {
|
|
57
57
|
for (const n of t)
|
|
58
58
|
n(void 0);
|
|
@@ -62,19 +62,19 @@ function kt(e, ...t) {
|
|
|
62
62
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
63
63
|
}
|
|
64
64
|
function Br(e, t, r) {
|
|
65
|
-
e.$$.on_destroy.push(
|
|
65
|
+
e.$$.on_destroy.push(Ft(t, r));
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function A(e, t) {
|
|
68
68
|
e.appendChild(t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
const n =
|
|
70
|
+
function Ar(e, t, r) {
|
|
71
|
+
const n = Pr(e);
|
|
72
72
|
if (!n.getElementById(t)) {
|
|
73
73
|
const i = O("style");
|
|
74
|
-
i.id = t, i.textContent = r,
|
|
74
|
+
i.id = t, i.textContent = r, Or(n, i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Pr(e) {
|
|
78
78
|
if (!e)
|
|
79
79
|
return document;
|
|
80
80
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -84,8 +84,8 @@ function Or(e) {
|
|
|
84
84
|
t
|
|
85
85
|
) : e.ownerDocument;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
return
|
|
87
|
+
function Or(e, t) {
|
|
88
|
+
return A(
|
|
89
89
|
/** @type {Document} */
|
|
90
90
|
e.head || e,
|
|
91
91
|
t
|
|
@@ -97,40 +97,40 @@ function F(e, t, r) {
|
|
|
97
97
|
function U(e) {
|
|
98
98
|
e.parentNode && e.parentNode.removeChild(e);
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function jt(e, t) {
|
|
101
101
|
for (let r = 0; r < e.length; r += 1)
|
|
102
102
|
e[r] && e[r].d(t);
|
|
103
103
|
}
|
|
104
104
|
function O(e) {
|
|
105
105
|
return document.createElement(e);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Z(e) {
|
|
108
108
|
return document.createTextNode(e);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
return
|
|
110
|
+
function oe() {
|
|
111
|
+
return Z(" ");
|
|
112
112
|
}
|
|
113
113
|
function Ir() {
|
|
114
|
-
return
|
|
114
|
+
return Z("");
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Nr(e, t, r, n) {
|
|
117
117
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function B(e, t, r) {
|
|
120
120
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
121
121
|
}
|
|
122
122
|
function H(e, t, r) {
|
|
123
123
|
const n = t.toLowerCase();
|
|
124
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
124
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function Lr(e) {
|
|
127
127
|
return Array.from(e.childNodes);
|
|
128
128
|
}
|
|
129
129
|
function ve(e, t) {
|
|
130
130
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
131
131
|
t);
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Cr(e) {
|
|
134
134
|
const t = {};
|
|
135
135
|
return e.childNodes.forEach(
|
|
136
136
|
/** @param {Element} node */
|
|
@@ -139,90 +139,90 @@ function Mr(e) {
|
|
|
139
139
|
}
|
|
140
140
|
), t;
|
|
141
141
|
}
|
|
142
|
-
let
|
|
143
|
-
function
|
|
144
|
-
|
|
142
|
+
let se;
|
|
143
|
+
function ie(e) {
|
|
144
|
+
se = e;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
if (!
|
|
146
|
+
function Mr() {
|
|
147
|
+
if (!se)
|
|
148
148
|
throw new Error("Function called outside component initialization");
|
|
149
|
-
return
|
|
149
|
+
return se;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function $r(e) {
|
|
152
|
+
Mr().$$.on_mount.push(e);
|
|
153
153
|
}
|
|
154
|
-
const X = [],
|
|
154
|
+
const X = [], Re = [];
|
|
155
155
|
let W = [];
|
|
156
|
-
const
|
|
157
|
-
let
|
|
158
|
-
function
|
|
159
|
-
|
|
156
|
+
const ct = [], Rr = /* @__PURE__ */ Promise.resolve();
|
|
157
|
+
let Ge = !1;
|
|
158
|
+
function Gr() {
|
|
159
|
+
Ge || (Ge = !0, Rr.then(D));
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Ue(e) {
|
|
162
162
|
W.push(e);
|
|
163
163
|
}
|
|
164
|
-
const
|
|
164
|
+
const Pe = /* @__PURE__ */ new Set();
|
|
165
165
|
let k = 0;
|
|
166
166
|
function D() {
|
|
167
167
|
if (k !== 0)
|
|
168
168
|
return;
|
|
169
|
-
const e =
|
|
169
|
+
const e = se;
|
|
170
170
|
do {
|
|
171
171
|
try {
|
|
172
172
|
for (; k < X.length; ) {
|
|
173
173
|
const t = X[k];
|
|
174
|
-
k++,
|
|
174
|
+
k++, ie(t), Ur(t.$$);
|
|
175
175
|
}
|
|
176
176
|
} catch (t) {
|
|
177
177
|
throw X.length = 0, k = 0, t;
|
|
178
178
|
}
|
|
179
|
-
for (
|
|
180
|
-
|
|
179
|
+
for (ie(null), X.length = 0, k = 0; Re.length; )
|
|
180
|
+
Re.pop()();
|
|
181
181
|
for (let t = 0; t < W.length; t += 1) {
|
|
182
182
|
const r = W[t];
|
|
183
|
-
|
|
183
|
+
Pe.has(r) || (Pe.add(r), r());
|
|
184
184
|
}
|
|
185
185
|
W.length = 0;
|
|
186
186
|
} while (X.length);
|
|
187
|
-
for (;
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
for (; ct.length; )
|
|
188
|
+
ct.pop()();
|
|
189
|
+
Ge = !1, Pe.clear(), ie(e);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function Ur(e) {
|
|
192
192
|
if (e.fragment !== null) {
|
|
193
|
-
e.update(),
|
|
193
|
+
e.update(), he(e.before_update);
|
|
194
194
|
const t = e.dirty;
|
|
195
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
195
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Dr(e) {
|
|
199
199
|
const t = [], r = [];
|
|
200
200
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
201
201
|
}
|
|
202
|
-
const
|
|
203
|
-
function
|
|
204
|
-
e && e.i && (
|
|
202
|
+
const Fr = /* @__PURE__ */ new Set();
|
|
203
|
+
function jr(e, t) {
|
|
204
|
+
e && e.i && (Fr.delete(e), e.i(t));
|
|
205
205
|
}
|
|
206
206
|
function ye(e) {
|
|
207
207
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function kr(e, t, r) {
|
|
210
210
|
const { fragment: n, after_update: i } = e.$$;
|
|
211
|
-
n && n.m(t, r),
|
|
212
|
-
const o = e.$$.on_mount.map(
|
|
213
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
214
|
-
}), i.forEach(
|
|
211
|
+
n && n.m(t, r), Ue(() => {
|
|
212
|
+
const o = e.$$.on_mount.map(Ut).filter(xe);
|
|
213
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : he(o), e.$$.on_mount = [];
|
|
214
|
+
}), i.forEach(Ue);
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function Vr(e, t) {
|
|
217
217
|
const r = e.$$;
|
|
218
|
-
r.fragment !== null && (
|
|
218
|
+
r.fragment !== null && (Dr(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
219
219
|
}
|
|
220
|
-
function
|
|
221
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
220
|
+
function Xr(e, t) {
|
|
221
|
+
e.$$.dirty[0] === -1 && (X.push(e), Gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
const u =
|
|
225
|
-
|
|
223
|
+
function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
224
|
+
const u = se;
|
|
225
|
+
ie(e);
|
|
226
226
|
const h = e.$$ = {
|
|
227
227
|
fragment: null,
|
|
228
228
|
ctx: [],
|
|
@@ -230,7 +230,7 @@ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
230
230
|
props: o,
|
|
231
231
|
update: C,
|
|
232
232
|
not_equal: i,
|
|
233
|
-
bound:
|
|
233
|
+
bound: ht(),
|
|
234
234
|
// lifecycle
|
|
235
235
|
on_mount: [],
|
|
236
236
|
on_destroy: [],
|
|
@@ -239,7 +239,7 @@ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
239
239
|
after_update: [],
|
|
240
240
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
241
241
|
// everything else
|
|
242
|
-
callbacks:
|
|
242
|
+
callbacks: ht(),
|
|
243
243
|
dirty: a,
|
|
244
244
|
skip_bound: !1,
|
|
245
245
|
root: t.target || u.$$.root
|
|
@@ -248,39 +248,39 @@ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
248
248
|
let l = !1;
|
|
249
249
|
if (h.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
250
250
|
const p = d.length ? d[0] : f;
|
|
251
|
-
return h.ctx && i(h.ctx[c], h.ctx[c] = p) && (!h.skip_bound && h.bound[c] && h.bound[c](p), l &&
|
|
252
|
-
}) : [], h.update(), l = !0,
|
|
251
|
+
return h.ctx && i(h.ctx[c], h.ctx[c] = p) && (!h.skip_bound && h.bound[c] && h.bound[c](p), l && Xr(e, c)), f;
|
|
252
|
+
}) : [], h.update(), l = !0, he(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
253
253
|
if (t.hydrate) {
|
|
254
|
-
const c =
|
|
254
|
+
const c = Lr(t.target);
|
|
255
255
|
h.fragment && h.fragment.l(c), c.forEach(U);
|
|
256
256
|
} else
|
|
257
257
|
h.fragment && h.fragment.c();
|
|
258
|
-
t.intro &&
|
|
258
|
+
t.intro && jr(e.$$.fragment), kr(e, t.target, t.anchor), D();
|
|
259
259
|
}
|
|
260
|
-
|
|
260
|
+
ie(u);
|
|
261
261
|
}
|
|
262
|
-
let
|
|
263
|
-
typeof HTMLElement == "function" && (
|
|
262
|
+
let kt;
|
|
263
|
+
typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
264
264
|
constructor(t, r, n) {
|
|
265
265
|
super();
|
|
266
266
|
/** The Svelte component constructor */
|
|
267
|
-
|
|
267
|
+
I(this, "$$ctor");
|
|
268
268
|
/** Slots */
|
|
269
|
-
|
|
269
|
+
I(this, "$$s");
|
|
270
270
|
/** The Svelte component instance */
|
|
271
|
-
|
|
271
|
+
I(this, "$$c");
|
|
272
272
|
/** Whether or not the custom element is connected */
|
|
273
|
-
|
|
273
|
+
I(this, "$$cn", !1);
|
|
274
274
|
/** Component props data */
|
|
275
|
-
|
|
275
|
+
I(this, "$$d", {});
|
|
276
276
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
277
|
-
|
|
277
|
+
I(this, "$$r", !1);
|
|
278
278
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
279
|
-
|
|
279
|
+
I(this, "$$p_d", {});
|
|
280
280
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
281
|
-
|
|
281
|
+
I(this, "$$l", {});
|
|
282
282
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
283
|
-
|
|
283
|
+
I(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
284
284
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
285
285
|
}
|
|
286
286
|
addEventListener(t, r, n) {
|
|
@@ -297,14 +297,14 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
connectedCallback() {
|
|
300
|
-
return
|
|
300
|
+
return ut(this, null, function* () {
|
|
301
301
|
if (this.$$cn = !0, !this.$$c) {
|
|
302
302
|
let t = function(o) {
|
|
303
303
|
return () => {
|
|
304
304
|
let s;
|
|
305
305
|
return {
|
|
306
306
|
c: function() {
|
|
307
|
-
s = O("slot"), o !== "default" &&
|
|
307
|
+
s = O("slot"), o !== "default" && B(s, "name", o);
|
|
308
308
|
},
|
|
309
309
|
/**
|
|
310
310
|
* @param {HTMLElement} target
|
|
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
321
321
|
};
|
|
322
322
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
323
323
|
return;
|
|
324
|
-
const r = {}, n =
|
|
324
|
+
const r = {}, n = Cr(this);
|
|
325
325
|
for (const o of this.$$s)
|
|
326
326
|
o in n && (r[o] = [t(o)]);
|
|
327
327
|
for (const o of this.attributes) {
|
|
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
332
332
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
333
333
|
this.$$c = new this.$$ctor({
|
|
334
334
|
target: this.shadowRoot || this,
|
|
335
|
-
props:
|
|
335
|
+
props: at(st({}, this.$$d), {
|
|
336
336
|
$$slots: r,
|
|
337
337
|
$$scope: {
|
|
338
338
|
ctx: []
|
|
@@ -410,8 +410,8 @@ function me(e, t, r, n) {
|
|
|
410
410
|
return t;
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
|
-
function
|
|
414
|
-
let s = class extends
|
|
413
|
+
function zr(e, t, r, n, i, o) {
|
|
414
|
+
let s = class extends kt {
|
|
415
415
|
constructor() {
|
|
416
416
|
super(e, r, i), this.$$p_d = t;
|
|
417
417
|
}
|
|
@@ -441,7 +441,7 @@ function Zr(e, t, r, n, i, o) {
|
|
|
441
441
|
}), e.element = /** @type {any} */
|
|
442
442
|
s, s;
|
|
443
443
|
}
|
|
444
|
-
class
|
|
444
|
+
class Zr {
|
|
445
445
|
constructor() {
|
|
446
446
|
/**
|
|
447
447
|
* ### PRIVATE API
|
|
@@ -450,7 +450,7 @@ class Qr {
|
|
|
450
450
|
*
|
|
451
451
|
* @type {any}
|
|
452
452
|
*/
|
|
453
|
-
|
|
453
|
+
I(this, "$$");
|
|
454
454
|
/**
|
|
455
455
|
* ### PRIVATE API
|
|
456
456
|
*
|
|
@@ -458,11 +458,11 @@ class Qr {
|
|
|
458
458
|
*
|
|
459
459
|
* @type {any}
|
|
460
460
|
*/
|
|
461
|
-
|
|
461
|
+
I(this, "$$set");
|
|
462
462
|
}
|
|
463
463
|
/** @returns {void} */
|
|
464
464
|
$destroy() {
|
|
465
|
-
|
|
465
|
+
Vr(this, 1), this.$destroy = C;
|
|
466
466
|
}
|
|
467
467
|
/**
|
|
468
468
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -471,7 +471,7 @@ class Qr {
|
|
|
471
471
|
* @returns {() => void}
|
|
472
472
|
*/
|
|
473
473
|
$on(t, r) {
|
|
474
|
-
if (!
|
|
474
|
+
if (!xe(r))
|
|
475
475
|
return C;
|
|
476
476
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
477
477
|
return n.push(r), () => {
|
|
@@ -484,18 +484,18 @@ class Qr {
|
|
|
484
484
|
* @returns {void}
|
|
485
485
|
*/
|
|
486
486
|
$set(t) {
|
|
487
|
-
this.$$set && !
|
|
487
|
+
this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
const
|
|
491
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
492
|
-
function
|
|
490
|
+
const Qr = "4";
|
|
491
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
|
|
492
|
+
function Jr(e, t) {
|
|
493
493
|
if (e) {
|
|
494
494
|
const r = document.createElement("style");
|
|
495
495
|
r.innerHTML = t, e.appendChild(r);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function qr(e, t) {
|
|
499
499
|
const r = new URL(t);
|
|
500
500
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
501
501
|
const i = document.createElement("style");
|
|
@@ -504,7 +504,7 @@ function Yr(e, t) {
|
|
|
504
504
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
505
505
|
});
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function Yr(e, t, r) {
|
|
508
508
|
if (window.emMessageBus) {
|
|
509
509
|
const n = document.createElement("style");
|
|
510
510
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -526,24 +526,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
526
526
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
527
527
|
PERFORMANCE OF THIS SOFTWARE.
|
|
528
528
|
***************************************************************************** */
|
|
529
|
-
var
|
|
530
|
-
return
|
|
529
|
+
var De = function(e, t) {
|
|
530
|
+
return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
531
531
|
r.__proto__ = n;
|
|
532
532
|
} || function(r, n) {
|
|
533
533
|
for (var i in n)
|
|
534
534
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
535
|
-
},
|
|
535
|
+
}, De(e, t);
|
|
536
536
|
};
|
|
537
|
-
function
|
|
537
|
+
function $(e, t) {
|
|
538
538
|
if (typeof t != "function" && t !== null)
|
|
539
539
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
540
|
-
|
|
540
|
+
De(e, t);
|
|
541
541
|
function r() {
|
|
542
542
|
this.constructor = e;
|
|
543
543
|
}
|
|
544
544
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
var _ = function() {
|
|
547
|
+
return _ = Object.assign || function(t) {
|
|
548
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
549
|
+
r = arguments[n];
|
|
550
|
+
for (var o in r)
|
|
551
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
552
|
+
}
|
|
553
|
+
return t;
|
|
554
|
+
}, _.apply(this, arguments);
|
|
555
|
+
};
|
|
556
|
+
function Kr(e, t) {
|
|
557
|
+
var r = {};
|
|
558
|
+
for (var n in e)
|
|
559
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
560
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
561
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
562
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
563
|
+
return r;
|
|
564
|
+
}
|
|
565
|
+
function Fe(e) {
|
|
547
566
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
548
567
|
if (r)
|
|
549
568
|
return r.call(e);
|
|
@@ -555,7 +574,7 @@ function ke(e) {
|
|
|
555
574
|
};
|
|
556
575
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
557
576
|
}
|
|
558
|
-
function
|
|
577
|
+
function je(e, t) {
|
|
559
578
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
560
579
|
if (!r)
|
|
561
580
|
return e;
|
|
@@ -575,22 +594,22 @@ function Ve(e, t) {
|
|
|
575
594
|
}
|
|
576
595
|
return o;
|
|
577
596
|
}
|
|
578
|
-
function
|
|
579
|
-
if (arguments.length === 2)
|
|
597
|
+
function z(e, t, r) {
|
|
598
|
+
if (r || arguments.length === 2)
|
|
580
599
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
581
600
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
582
601
|
return e.concat(o || t);
|
|
583
602
|
}
|
|
584
|
-
function
|
|
603
|
+
function M(e) {
|
|
585
604
|
return typeof e == "function";
|
|
586
605
|
}
|
|
587
|
-
function
|
|
606
|
+
function Vt(e) {
|
|
588
607
|
var t = function(n) {
|
|
589
608
|
Error.call(n), n.stack = new Error().stack;
|
|
590
609
|
}, r = e(t);
|
|
591
610
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
592
611
|
}
|
|
593
|
-
var
|
|
612
|
+
var Oe = Vt(function(e) {
|
|
594
613
|
return function(r) {
|
|
595
614
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
596
615
|
` + r.map(function(n, i) {
|
|
@@ -599,7 +618,7 @@ var Ie = Wt(function(e) {
|
|
|
599
618
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
600
619
|
};
|
|
601
620
|
});
|
|
602
|
-
function
|
|
621
|
+
function ke(e, t) {
|
|
603
622
|
if (e) {
|
|
604
623
|
var r = e.indexOf(t);
|
|
605
624
|
0 <= r && e.splice(r, 1);
|
|
@@ -617,7 +636,7 @@ var Te = function() {
|
|
|
617
636
|
if (s)
|
|
618
637
|
if (this._parentage = null, Array.isArray(s))
|
|
619
638
|
try {
|
|
620
|
-
for (var a =
|
|
639
|
+
for (var a = Fe(s), u = a.next(); !u.done; u = a.next()) {
|
|
621
640
|
var h = u.value;
|
|
622
641
|
h.remove(this);
|
|
623
642
|
}
|
|
@@ -634,22 +653,22 @@ var Te = function() {
|
|
|
634
653
|
else
|
|
635
654
|
s.remove(this);
|
|
636
655
|
var l = this.initialTeardown;
|
|
637
|
-
if (
|
|
656
|
+
if (M(l))
|
|
638
657
|
try {
|
|
639
658
|
l();
|
|
640
659
|
} catch (g) {
|
|
641
|
-
o = g instanceof
|
|
660
|
+
o = g instanceof Oe ? g.errors : [g];
|
|
642
661
|
}
|
|
643
662
|
var c = this._finalizers;
|
|
644
663
|
if (c) {
|
|
645
664
|
this._finalizers = null;
|
|
646
665
|
try {
|
|
647
|
-
for (var f =
|
|
666
|
+
for (var f = Fe(c), d = f.next(); !d.done; d = f.next()) {
|
|
648
667
|
var p = d.value;
|
|
649
668
|
try {
|
|
650
|
-
|
|
669
|
+
ft(p);
|
|
651
670
|
} catch (g) {
|
|
652
|
-
o = o != null ? o : [], g instanceof
|
|
671
|
+
o = o != null ? o : [], g instanceof Oe ? o = z(z([], je(o)), je(g.errors)) : o.push(g);
|
|
653
672
|
}
|
|
654
673
|
}
|
|
655
674
|
} catch (g) {
|
|
@@ -664,13 +683,13 @@ var Te = function() {
|
|
|
664
683
|
}
|
|
665
684
|
}
|
|
666
685
|
if (o)
|
|
667
|
-
throw new
|
|
686
|
+
throw new Oe(o);
|
|
668
687
|
}
|
|
669
688
|
}, e.prototype.add = function(t) {
|
|
670
689
|
var r;
|
|
671
690
|
if (t && t !== this)
|
|
672
691
|
if (this.closed)
|
|
673
|
-
|
|
692
|
+
ft(t);
|
|
674
693
|
else {
|
|
675
694
|
if (t instanceof e) {
|
|
676
695
|
if (t.closed || t._hasParent(this))
|
|
@@ -687,52 +706,56 @@ var Te = function() {
|
|
|
687
706
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
688
707
|
}, e.prototype._removeParent = function(t) {
|
|
689
708
|
var r = this._parentage;
|
|
690
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
709
|
+
r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
|
|
691
710
|
}, e.prototype.remove = function(t) {
|
|
692
711
|
var r = this._finalizers;
|
|
693
|
-
r &&
|
|
712
|
+
r && ke(r, t), t instanceof e && t._removeParent(this);
|
|
694
713
|
}, e.EMPTY = function() {
|
|
695
714
|
var t = new e();
|
|
696
715
|
return t.closed = !0, t;
|
|
697
716
|
}(), e;
|
|
698
|
-
}(),
|
|
699
|
-
function
|
|
700
|
-
return e instanceof Te || e && "closed" in e &&
|
|
701
|
-
}
|
|
702
|
-
function
|
|
703
|
-
|
|
704
|
-
}
|
|
705
|
-
var
|
|
706
|
-
|
|
707
|
-
|
|
717
|
+
}(), Xt = Te.EMPTY;
|
|
718
|
+
function Wt(e) {
|
|
719
|
+
return e instanceof Te || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
|
|
720
|
+
}
|
|
721
|
+
function ft(e) {
|
|
722
|
+
M(e) ? e() : e.unsubscribe();
|
|
723
|
+
}
|
|
724
|
+
var zt = {
|
|
725
|
+
onUnhandledError: null,
|
|
726
|
+
onStoppedNotification: null,
|
|
727
|
+
Promise: void 0,
|
|
728
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
729
|
+
useDeprecatedNextContext: !1
|
|
730
|
+
}, en = {
|
|
708
731
|
setTimeout: function(e, t) {
|
|
709
732
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
710
733
|
r[n - 2] = arguments[n];
|
|
711
|
-
return setTimeout.apply(void 0,
|
|
734
|
+
return setTimeout.apply(void 0, z([e, t], je(r)));
|
|
712
735
|
},
|
|
713
736
|
clearTimeout: function(e) {
|
|
714
737
|
return clearTimeout(e);
|
|
715
738
|
},
|
|
716
739
|
delegate: void 0
|
|
717
740
|
};
|
|
718
|
-
function
|
|
719
|
-
|
|
741
|
+
function tn(e) {
|
|
742
|
+
en.setTimeout(function() {
|
|
720
743
|
throw e;
|
|
721
744
|
});
|
|
722
745
|
}
|
|
723
|
-
function
|
|
746
|
+
function pt() {
|
|
724
747
|
}
|
|
725
748
|
function de(e) {
|
|
726
749
|
e();
|
|
727
750
|
}
|
|
728
|
-
var
|
|
729
|
-
|
|
751
|
+
var Zt = function(e) {
|
|
752
|
+
$(t, e);
|
|
730
753
|
function t(r) {
|
|
731
754
|
var n = e.call(this) || this;
|
|
732
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
755
|
+
return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = sn, n;
|
|
733
756
|
}
|
|
734
757
|
return t.create = function(r, n, i) {
|
|
735
|
-
return new
|
|
758
|
+
return new Ve(r, n, i);
|
|
736
759
|
}, t.prototype.next = function(r) {
|
|
737
760
|
this.isStopped || this._next(r);
|
|
738
761
|
}, t.prototype.error = function(r) {
|
|
@@ -756,7 +779,11 @@ var Qt = function(e) {
|
|
|
756
779
|
this.unsubscribe();
|
|
757
780
|
}
|
|
758
781
|
}, t;
|
|
759
|
-
}(Te),
|
|
782
|
+
}(Te), rn = Function.prototype.bind;
|
|
783
|
+
function Ie(e, t) {
|
|
784
|
+
return rn.call(e, t);
|
|
785
|
+
}
|
|
786
|
+
var nn = function() {
|
|
760
787
|
function e(t) {
|
|
761
788
|
this.partialObserver = t;
|
|
762
789
|
}
|
|
@@ -787,29 +814,41 @@ var Qt = function(e) {
|
|
|
787
814
|
fe(r);
|
|
788
815
|
}
|
|
789
816
|
}, e;
|
|
790
|
-
}(),
|
|
791
|
-
|
|
817
|
+
}(), Ve = function(e) {
|
|
818
|
+
$(t, e);
|
|
792
819
|
function t(r, n, i) {
|
|
793
820
|
var o = e.call(this) || this, s;
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
821
|
+
if (M(r) || !r)
|
|
822
|
+
s = {
|
|
823
|
+
next: r != null ? r : void 0,
|
|
824
|
+
error: n != null ? n : void 0,
|
|
825
|
+
complete: i != null ? i : void 0
|
|
826
|
+
};
|
|
827
|
+
else {
|
|
828
|
+
var a;
|
|
829
|
+
o && zt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
830
|
+
return o.unsubscribe();
|
|
831
|
+
}, s = {
|
|
832
|
+
next: r.next && Ie(r.next, a),
|
|
833
|
+
error: r.error && Ie(r.error, a),
|
|
834
|
+
complete: r.complete && Ie(r.complete, a)
|
|
835
|
+
}) : s = r;
|
|
836
|
+
}
|
|
837
|
+
return o.destination = new nn(s), o;
|
|
799
838
|
}
|
|
800
839
|
return t;
|
|
801
|
-
}(
|
|
840
|
+
}(Zt);
|
|
802
841
|
function fe(e) {
|
|
803
|
-
|
|
842
|
+
tn(e);
|
|
804
843
|
}
|
|
805
844
|
function on(e) {
|
|
806
845
|
throw e;
|
|
807
846
|
}
|
|
808
847
|
var sn = {
|
|
809
848
|
closed: !0,
|
|
810
|
-
next:
|
|
849
|
+
next: pt,
|
|
811
850
|
error: on,
|
|
812
|
-
complete:
|
|
851
|
+
complete: pt
|
|
813
852
|
}, an = function() {
|
|
814
853
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
815
854
|
}();
|
|
@@ -823,7 +862,7 @@ function hn(e) {
|
|
|
823
862
|
}, r);
|
|
824
863
|
};
|
|
825
864
|
}
|
|
826
|
-
var
|
|
865
|
+
var mt = function() {
|
|
827
866
|
function e(t) {
|
|
828
867
|
t && (this._subscribe = t);
|
|
829
868
|
}
|
|
@@ -831,7 +870,7 @@ var bt = function() {
|
|
|
831
870
|
var r = new e();
|
|
832
871
|
return r.source = this, r.operator = t, r;
|
|
833
872
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
834
|
-
var i = this, o = cn(t) ? t : new
|
|
873
|
+
var i = this, o = cn(t) ? t : new Ve(t, r, n);
|
|
835
874
|
return de(function() {
|
|
836
875
|
var s = i, a = s.operator, u = s.source;
|
|
837
876
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -844,8 +883,8 @@ var bt = function() {
|
|
|
844
883
|
}
|
|
845
884
|
}, e.prototype.forEach = function(t, r) {
|
|
846
885
|
var n = this;
|
|
847
|
-
return r =
|
|
848
|
-
var s = new
|
|
886
|
+
return r = dt(r), new r(function(i, o) {
|
|
887
|
+
var s = new Ve({
|
|
849
888
|
next: function(a) {
|
|
850
889
|
try {
|
|
851
890
|
t(a);
|
|
@@ -869,7 +908,7 @@ var bt = function() {
|
|
|
869
908
|
return hn(t)(this);
|
|
870
909
|
}, e.prototype.toPromise = function(t) {
|
|
871
910
|
var r = this;
|
|
872
|
-
return t =
|
|
911
|
+
return t = dt(t), new t(function(n, i) {
|
|
873
912
|
var o;
|
|
874
913
|
r.subscribe(function(s) {
|
|
875
914
|
return o = s;
|
|
@@ -883,28 +922,28 @@ var bt = function() {
|
|
|
883
922
|
return new e(t);
|
|
884
923
|
}, e;
|
|
885
924
|
}();
|
|
886
|
-
function
|
|
925
|
+
function dt(e) {
|
|
887
926
|
var t;
|
|
888
|
-
return (t = e != null ? e :
|
|
927
|
+
return (t = e != null ? e : zt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
889
928
|
}
|
|
890
929
|
function ln(e) {
|
|
891
|
-
return e &&
|
|
930
|
+
return e && M(e.next) && M(e.error) && M(e.complete);
|
|
892
931
|
}
|
|
893
932
|
function cn(e) {
|
|
894
|
-
return e && e instanceof
|
|
933
|
+
return e && e instanceof Zt || ln(e) && Wt(e);
|
|
895
934
|
}
|
|
896
|
-
var fn =
|
|
935
|
+
var fn = Vt(function(e) {
|
|
897
936
|
return function() {
|
|
898
937
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
899
938
|
};
|
|
900
|
-
}),
|
|
901
|
-
|
|
939
|
+
}), Qt = function(e) {
|
|
940
|
+
$(t, e);
|
|
902
941
|
function t() {
|
|
903
942
|
var r = e.call(this) || this;
|
|
904
943
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
905
944
|
}
|
|
906
945
|
return t.prototype.lift = function(r) {
|
|
907
|
-
var n = new
|
|
946
|
+
var n = new bt(this, this);
|
|
908
947
|
return n.operator = r, n;
|
|
909
948
|
}, t.prototype._throwIfClosed = function() {
|
|
910
949
|
if (this.closed)
|
|
@@ -916,7 +955,7 @@ var fn = Wt(function(e) {
|
|
|
916
955
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
917
956
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
918
957
|
try {
|
|
919
|
-
for (var s =
|
|
958
|
+
for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
920
959
|
var u = a.value;
|
|
921
960
|
u.next(r);
|
|
922
961
|
}
|
|
@@ -965,20 +1004,20 @@ var fn = Wt(function(e) {
|
|
|
965
1004
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
966
1005
|
}, t.prototype._innerSubscribe = function(r) {
|
|
967
1006
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
968
|
-
return o || s ?
|
|
969
|
-
n.currentObservers = null,
|
|
1007
|
+
return o || s ? Xt : (this.currentObservers = null, a.push(r), new Te(function() {
|
|
1008
|
+
n.currentObservers = null, ke(a, r);
|
|
970
1009
|
}));
|
|
971
1010
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
972
1011
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
973
1012
|
i ? r.error(o) : s && r.complete();
|
|
974
1013
|
}, t.prototype.asObservable = function() {
|
|
975
|
-
var r = new
|
|
1014
|
+
var r = new mt();
|
|
976
1015
|
return r.source = this, r;
|
|
977
1016
|
}, t.create = function(r, n) {
|
|
978
|
-
return new
|
|
1017
|
+
return new bt(r, n);
|
|
979
1018
|
}, t;
|
|
980
|
-
}(
|
|
981
|
-
|
|
1019
|
+
}(mt), bt = function(e) {
|
|
1020
|
+
$(t, e);
|
|
982
1021
|
function t(r, n) {
|
|
983
1022
|
var i = e.call(this) || this;
|
|
984
1023
|
return i.destination = r, i.source = n, i;
|
|
@@ -994,17 +1033,17 @@ var fn = Wt(function(e) {
|
|
|
994
1033
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
995
1034
|
}, t.prototype._subscribe = function(r) {
|
|
996
1035
|
var n, i;
|
|
997
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1036
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
|
|
998
1037
|
}, t;
|
|
999
|
-
}(
|
|
1038
|
+
}(Qt), Jt = {
|
|
1000
1039
|
now: function() {
|
|
1001
|
-
return (
|
|
1040
|
+
return (Jt.delegate || Date).now();
|
|
1002
1041
|
},
|
|
1003
1042
|
delegate: void 0
|
|
1004
1043
|
}, pn = function(e) {
|
|
1005
|
-
|
|
1044
|
+
$(t, e);
|
|
1006
1045
|
function t(r, n, i) {
|
|
1007
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1046
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
|
|
1008
1047
|
var o = e.call(this) || this;
|
|
1009
1048
|
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;
|
|
1010
1049
|
}
|
|
@@ -1024,24 +1063,24 @@ var fn = Wt(function(e) {
|
|
|
1024
1063
|
h && o.splice(0, h + 1);
|
|
1025
1064
|
}
|
|
1026
1065
|
}, t;
|
|
1027
|
-
}(
|
|
1028
|
-
const
|
|
1029
|
-
if (
|
|
1066
|
+
}(Qt);
|
|
1067
|
+
const gt = [], vt = {}, mn = (e, t = 0) => {
|
|
1068
|
+
if (gt.indexOf(e) == -1) {
|
|
1030
1069
|
const r = new pn(t);
|
|
1031
|
-
|
|
1070
|
+
vt[e] = r, gt.push(e);
|
|
1032
1071
|
}
|
|
1033
|
-
return
|
|
1072
|
+
return vt[e];
|
|
1034
1073
|
}, V = [];
|
|
1035
1074
|
function dn(e, t) {
|
|
1036
1075
|
return {
|
|
1037
|
-
subscribe:
|
|
1076
|
+
subscribe: Se(e, t).subscribe
|
|
1038
1077
|
};
|
|
1039
1078
|
}
|
|
1040
|
-
function
|
|
1079
|
+
function Se(e, t = C) {
|
|
1041
1080
|
let r;
|
|
1042
1081
|
const n = /* @__PURE__ */ new Set();
|
|
1043
1082
|
function i(a) {
|
|
1044
|
-
if (
|
|
1083
|
+
if (Dt(e, a) && (e = a, r)) {
|
|
1045
1084
|
const u = !V.length;
|
|
1046
1085
|
for (const h of n)
|
|
1047
1086
|
h[1](), V.push(h, e);
|
|
@@ -1063,7 +1102,7 @@ function we(e, t = C) {
|
|
|
1063
1102
|
}
|
|
1064
1103
|
return { set: i, update: o, subscribe: s };
|
|
1065
1104
|
}
|
|
1066
|
-
function
|
|
1105
|
+
function K(e, t, r) {
|
|
1067
1106
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1068
1107
|
if (!i.every(Boolean))
|
|
1069
1108
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1077,12 +1116,12 @@ function Y(e, t, r) {
|
|
|
1077
1116
|
return;
|
|
1078
1117
|
c();
|
|
1079
1118
|
const p = t(n ? h[0] : h, s, a);
|
|
1080
|
-
o ? s(p) : c =
|
|
1119
|
+
o ? s(p) : c = xe(p) ? p : C;
|
|
1081
1120
|
}, d = i.map(
|
|
1082
|
-
(p, g) =>
|
|
1121
|
+
(p, g) => Ft(
|
|
1083
1122
|
p,
|
|
1084
|
-
(
|
|
1085
|
-
h[g] =
|
|
1123
|
+
(E) => {
|
|
1124
|
+
h[g] = E, l &= ~(1 << g), u && f();
|
|
1086
1125
|
},
|
|
1087
1126
|
() => {
|
|
1088
1127
|
l |= 1 << g;
|
|
@@ -1090,7 +1129,7 @@ function Y(e, t, r) {
|
|
|
1090
1129
|
)
|
|
1091
1130
|
);
|
|
1092
1131
|
return u = !0, f(), function() {
|
|
1093
|
-
|
|
1132
|
+
he(d), c(), u = !1;
|
|
1094
1133
|
};
|
|
1095
1134
|
});
|
|
1096
1135
|
}
|
|
@@ -1111,212 +1150,162 @@ var _n = typeof Symbol == "function" && Symbol.for, En = _n ? Symbol.for("react.
|
|
|
1111
1150
|
function xn(e) {
|
|
1112
1151
|
return e.$$typeof === En;
|
|
1113
1152
|
}
|
|
1114
|
-
function
|
|
1153
|
+
function Tn(e) {
|
|
1115
1154
|
return Array.isArray(e) ? [] : {};
|
|
1116
1155
|
}
|
|
1117
|
-
function
|
|
1118
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1156
|
+
function ae(e, t) {
|
|
1157
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(Tn(e), e, t) : e;
|
|
1119
1158
|
}
|
|
1120
|
-
function
|
|
1159
|
+
function Sn(e, t, r) {
|
|
1121
1160
|
return e.concat(t).map(function(n) {
|
|
1122
|
-
return
|
|
1161
|
+
return ae(n, r);
|
|
1123
1162
|
});
|
|
1124
1163
|
}
|
|
1125
1164
|
function wn(e, t) {
|
|
1126
1165
|
if (!t.customMerge)
|
|
1127
|
-
return
|
|
1166
|
+
return Q;
|
|
1128
1167
|
var r = t.customMerge(e);
|
|
1129
|
-
return typeof r == "function" ? r :
|
|
1168
|
+
return typeof r == "function" ? r : Q;
|
|
1130
1169
|
}
|
|
1131
1170
|
function Hn(e) {
|
|
1132
1171
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1133
1172
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1134
1173
|
}) : [];
|
|
1135
1174
|
}
|
|
1136
|
-
function
|
|
1175
|
+
function yt(e) {
|
|
1137
1176
|
return Object.keys(e).concat(Hn(e));
|
|
1138
1177
|
}
|
|
1139
|
-
function
|
|
1178
|
+
function qt(e, t) {
|
|
1140
1179
|
try {
|
|
1141
1180
|
return t in e;
|
|
1142
1181
|
} catch (r) {
|
|
1143
1182
|
return !1;
|
|
1144
1183
|
}
|
|
1145
1184
|
}
|
|
1146
|
-
function
|
|
1147
|
-
return
|
|
1185
|
+
function Bn(e, t) {
|
|
1186
|
+
return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1148
1187
|
}
|
|
1149
|
-
function
|
|
1188
|
+
function An(e, t, r) {
|
|
1150
1189
|
var n = {};
|
|
1151
|
-
return r.isMergeableObject(e) &&
|
|
1152
|
-
n[i] =
|
|
1153
|
-
}),
|
|
1154
|
-
|
|
1190
|
+
return r.isMergeableObject(e) && yt(e).forEach(function(i) {
|
|
1191
|
+
n[i] = ae(e[i], r);
|
|
1192
|
+
}), yt(t).forEach(function(i) {
|
|
1193
|
+
Bn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
|
|
1155
1194
|
}), n;
|
|
1156
1195
|
}
|
|
1157
|
-
function
|
|
1158
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1196
|
+
function Q(e, t, r) {
|
|
1197
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = ae;
|
|
1159
1198
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1160
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1199
|
+
return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ae(t, r);
|
|
1161
1200
|
}
|
|
1162
|
-
|
|
1201
|
+
Q.all = function(t, r) {
|
|
1163
1202
|
if (!Array.isArray(t))
|
|
1164
1203
|
throw new Error("first argument should be an array");
|
|
1165
1204
|
return t.reduce(function(n, i) {
|
|
1166
|
-
return
|
|
1205
|
+
return Q(n, i, r);
|
|
1167
1206
|
}, {});
|
|
1168
1207
|
};
|
|
1169
|
-
var Pn =
|
|
1170
|
-
const
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
r.__proto__ = n;
|
|
1174
|
-
} || function(r, n) {
|
|
1175
|
-
for (var i in n)
|
|
1176
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1177
|
-
}, Ze(e, t);
|
|
1178
|
-
};
|
|
1179
|
-
function He(e, t) {
|
|
1180
|
-
if (typeof t != "function" && t !== null)
|
|
1181
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1182
|
-
Ze(e, t);
|
|
1183
|
-
function r() {
|
|
1184
|
-
this.constructor = e;
|
|
1185
|
-
}
|
|
1186
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1187
|
-
}
|
|
1188
|
-
var M = function() {
|
|
1189
|
-
return M = Object.assign || function(t) {
|
|
1190
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1191
|
-
r = arguments[n];
|
|
1192
|
-
for (var o in r)
|
|
1193
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1194
|
-
}
|
|
1195
|
-
return t;
|
|
1196
|
-
}, M.apply(this, arguments);
|
|
1197
|
-
};
|
|
1198
|
-
function In(e, t) {
|
|
1199
|
-
var r = {};
|
|
1200
|
-
for (var n in e)
|
|
1201
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1202
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1203
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1204
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1205
|
-
return r;
|
|
1206
|
-
}
|
|
1207
|
-
function Le(e, t, r) {
|
|
1208
|
-
if (r || arguments.length === 2)
|
|
1209
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1210
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1211
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1212
|
-
}
|
|
1213
|
-
function Ce(e, t) {
|
|
1214
|
-
var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Mn;
|
|
1208
|
+
var Pn = Q, On = Pn;
|
|
1209
|
+
const In = /* @__PURE__ */ bn(On);
|
|
1210
|
+
function Ne(e, t) {
|
|
1211
|
+
var r = t && t.cache ? t.cache : Rn, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Ln;
|
|
1215
1212
|
return i(e, {
|
|
1216
1213
|
cache: r,
|
|
1217
1214
|
serializer: n
|
|
1218
1215
|
});
|
|
1219
1216
|
}
|
|
1220
|
-
function
|
|
1217
|
+
function Nn(e) {
|
|
1221
1218
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1222
1219
|
}
|
|
1223
|
-
function
|
|
1224
|
-
var i =
|
|
1220
|
+
function Yt(e, t, r, n) {
|
|
1221
|
+
var i = Nn(n) ? n : r(n), o = t.get(i);
|
|
1225
1222
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1226
1223
|
}
|
|
1227
1224
|
function Kt(e, t, r) {
|
|
1228
1225
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1229
1226
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1230
1227
|
}
|
|
1231
|
-
function
|
|
1228
|
+
function et(e, t, r, n, i) {
|
|
1232
1229
|
return r.bind(t, e, n, i);
|
|
1233
1230
|
}
|
|
1234
|
-
function
|
|
1235
|
-
var r = e.length === 1 ?
|
|
1236
|
-
return
|
|
1231
|
+
function Ln(e, t) {
|
|
1232
|
+
var r = e.length === 1 ? Yt : Kt;
|
|
1233
|
+
return et(e, this, r, t.cache.create(), t.serializer);
|
|
1237
1234
|
}
|
|
1238
|
-
function
|
|
1239
|
-
return
|
|
1235
|
+
function Cn(e, t) {
|
|
1236
|
+
return et(e, this, Kt, t.cache.create(), t.serializer);
|
|
1240
1237
|
}
|
|
1241
|
-
|
|
1238
|
+
function Mn(e, t) {
|
|
1239
|
+
return et(e, this, Yt, t.cache.create(), t.serializer);
|
|
1240
|
+
}
|
|
1241
|
+
var $n = function() {
|
|
1242
1242
|
return JSON.stringify(arguments);
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
}()
|
|
1255
|
-
), Un = {
|
|
1243
|
+
};
|
|
1244
|
+
function tt() {
|
|
1245
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1246
|
+
}
|
|
1247
|
+
tt.prototype.get = function(e) {
|
|
1248
|
+
return this.cache[e];
|
|
1249
|
+
};
|
|
1250
|
+
tt.prototype.set = function(e, t) {
|
|
1251
|
+
this.cache[e] = t;
|
|
1252
|
+
};
|
|
1253
|
+
var Rn = {
|
|
1256
1254
|
create: function() {
|
|
1257
|
-
return new
|
|
1255
|
+
return new tt();
|
|
1258
1256
|
}
|
|
1259
|
-
},
|
|
1260
|
-
variadic:
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1264
|
-
r = arguments[n];
|
|
1265
|
-
for (var o in r)
|
|
1266
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1267
|
-
}
|
|
1268
|
-
return t;
|
|
1269
|
-
}, _e.apply(this, arguments);
|
|
1270
|
-
};
|
|
1271
|
-
var v;
|
|
1257
|
+
}, Le = {
|
|
1258
|
+
variadic: Cn,
|
|
1259
|
+
monadic: Mn
|
|
1260
|
+
}, v;
|
|
1272
1261
|
(function(e) {
|
|
1273
1262
|
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";
|
|
1274
1263
|
})(v || (v = {}));
|
|
1275
|
-
var
|
|
1264
|
+
var x;
|
|
1276
1265
|
(function(e) {
|
|
1277
1266
|
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";
|
|
1278
|
-
})(
|
|
1279
|
-
var
|
|
1267
|
+
})(x || (x = {}));
|
|
1268
|
+
var J;
|
|
1280
1269
|
(function(e) {
|
|
1281
1270
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1282
|
-
})(
|
|
1283
|
-
function
|
|
1284
|
-
return e.type ===
|
|
1271
|
+
})(J || (J = {}));
|
|
1272
|
+
function _t(e) {
|
|
1273
|
+
return e.type === x.literal;
|
|
1274
|
+
}
|
|
1275
|
+
function Gn(e) {
|
|
1276
|
+
return e.type === x.argument;
|
|
1285
1277
|
}
|
|
1286
|
-
function
|
|
1287
|
-
return e.type ===
|
|
1278
|
+
function er(e) {
|
|
1279
|
+
return e.type === x.number;
|
|
1288
1280
|
}
|
|
1289
1281
|
function tr(e) {
|
|
1290
|
-
return e.type ===
|
|
1282
|
+
return e.type === x.date;
|
|
1291
1283
|
}
|
|
1292
1284
|
function rr(e) {
|
|
1293
|
-
return e.type ===
|
|
1285
|
+
return e.type === x.time;
|
|
1294
1286
|
}
|
|
1295
1287
|
function nr(e) {
|
|
1296
|
-
return e.type ===
|
|
1288
|
+
return e.type === x.select;
|
|
1297
1289
|
}
|
|
1298
1290
|
function ir(e) {
|
|
1299
|
-
return e.type ===
|
|
1291
|
+
return e.type === x.plural;
|
|
1300
1292
|
}
|
|
1301
|
-
function
|
|
1302
|
-
return e.type ===
|
|
1293
|
+
function Un(e) {
|
|
1294
|
+
return e.type === x.pound;
|
|
1303
1295
|
}
|
|
1304
|
-
function
|
|
1305
|
-
return e.type ===
|
|
1296
|
+
function or(e) {
|
|
1297
|
+
return e.type === x.tag;
|
|
1306
1298
|
}
|
|
1307
1299
|
function sr(e) {
|
|
1308
|
-
return e.type ===
|
|
1309
|
-
}
|
|
1310
|
-
function ar(e) {
|
|
1311
|
-
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1300
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
|
1312
1301
|
}
|
|
1313
|
-
function
|
|
1314
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1302
|
+
function Xe(e) {
|
|
1303
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
1315
1304
|
}
|
|
1316
|
-
var
|
|
1317
|
-
function
|
|
1305
|
+
var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
|
|
1306
|
+
function Fn(e) {
|
|
1318
1307
|
var t = {};
|
|
1319
|
-
return e.replace(
|
|
1308
|
+
return e.replace(Dn, function(r) {
|
|
1320
1309
|
var n = r.length;
|
|
1321
1310
|
switch (r[0]) {
|
|
1322
1311
|
case "G":
|
|
@@ -1405,21 +1394,11 @@ function kn(e) {
|
|
|
1405
1394
|
return "";
|
|
1406
1395
|
}), t;
|
|
1407
1396
|
}
|
|
1408
|
-
var
|
|
1409
|
-
|
|
1410
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1411
|
-
r = arguments[n];
|
|
1412
|
-
for (var o in r)
|
|
1413
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1414
|
-
}
|
|
1415
|
-
return t;
|
|
1416
|
-
}, S.apply(this, arguments);
|
|
1417
|
-
};
|
|
1418
|
-
var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1419
|
-
function Xn(e) {
|
|
1397
|
+
var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1398
|
+
function kn(e) {
|
|
1420
1399
|
if (e.length === 0)
|
|
1421
1400
|
throw new Error("Number skeleton cannot be empty");
|
|
1422
|
-
for (var t = e.split(
|
|
1401
|
+
for (var t = e.split(jn).filter(function(f) {
|
|
1423
1402
|
return f.length > 0;
|
|
1424
1403
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1425
1404
|
var o = i[n], s = o.split("/");
|
|
@@ -1434,17 +1413,17 @@ function Xn(e) {
|
|
|
1434
1413
|
}
|
|
1435
1414
|
return r;
|
|
1436
1415
|
}
|
|
1437
|
-
function
|
|
1416
|
+
function Vn(e) {
|
|
1438
1417
|
return e.replace(/^(.*?)-/, "");
|
|
1439
1418
|
}
|
|
1440
|
-
var
|
|
1441
|
-
function
|
|
1419
|
+
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
|
|
1420
|
+
function xt(e) {
|
|
1442
1421
|
var t = {};
|
|
1443
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1422
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
|
|
1444
1423
|
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)), "";
|
|
1445
1424
|
}), t;
|
|
1446
1425
|
}
|
|
1447
|
-
function
|
|
1426
|
+
function lr(e) {
|
|
1448
1427
|
switch (e) {
|
|
1449
1428
|
case "sign-auto":
|
|
1450
1429
|
return {
|
|
@@ -1484,7 +1463,7 @@ function cr(e) {
|
|
|
1484
1463
|
};
|
|
1485
1464
|
}
|
|
1486
1465
|
}
|
|
1487
|
-
function
|
|
1466
|
+
function Wn(e) {
|
|
1488
1467
|
var t;
|
|
1489
1468
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1490
1469
|
notation: "engineering"
|
|
@@ -1492,17 +1471,17 @@ function Zn(e) {
|
|
|
1492
1471
|
notation: "scientific"
|
|
1493
1472
|
}, e = e.slice(1)), t) {
|
|
1494
1473
|
var r = e.slice(0, 2);
|
|
1495
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1474
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
|
|
1496
1475
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1497
1476
|
t.minimumIntegerDigits = e.length;
|
|
1498
1477
|
}
|
|
1499
1478
|
return t;
|
|
1500
1479
|
}
|
|
1501
|
-
function
|
|
1502
|
-
var t = {}, r =
|
|
1480
|
+
function Tt(e) {
|
|
1481
|
+
var t = {}, r = lr(e);
|
|
1503
1482
|
return r || t;
|
|
1504
1483
|
}
|
|
1505
|
-
function
|
|
1484
|
+
function zn(e) {
|
|
1506
1485
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1507
1486
|
var i = n[r];
|
|
1508
1487
|
switch (i.stem) {
|
|
@@ -1526,7 +1505,7 @@ function Qn(e) {
|
|
|
1526
1505
|
continue;
|
|
1527
1506
|
case "measure-unit":
|
|
1528
1507
|
case "unit":
|
|
1529
|
-
t.style = "unit", t.unit =
|
|
1508
|
+
t.style = "unit", t.unit = Vn(i.options[0]);
|
|
1530
1509
|
continue;
|
|
1531
1510
|
case "compact-short":
|
|
1532
1511
|
case "K":
|
|
@@ -1537,13 +1516,13 @@ function Qn(e) {
|
|
|
1537
1516
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1538
1517
|
continue;
|
|
1539
1518
|
case "scientific":
|
|
1540
|
-
t =
|
|
1541
|
-
return
|
|
1519
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
|
1520
|
+
return _(_({}, u), Tt(h));
|
|
1542
1521
|
}, {}));
|
|
1543
1522
|
continue;
|
|
1544
1523
|
case "engineering":
|
|
1545
|
-
t =
|
|
1546
|
-
return
|
|
1524
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
|
1525
|
+
return _(_({}, u), Tt(h));
|
|
1547
1526
|
}, {}));
|
|
1548
1527
|
continue;
|
|
1549
1528
|
case "notation-simple":
|
|
@@ -1588,7 +1567,7 @@ function Qn(e) {
|
|
|
1588
1567
|
case "integer-width":
|
|
1589
1568
|
if (i.options.length > 1)
|
|
1590
1569
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1591
|
-
i.options[0].replace(
|
|
1570
|
+
i.options[0].replace(Xn, function(u, h, l, c, f, d) {
|
|
1592
1571
|
if (h)
|
|
1593
1572
|
t.minimumIntegerDigits = l.length;
|
|
1594
1573
|
else {
|
|
@@ -1601,28 +1580,28 @@ function Qn(e) {
|
|
|
1601
1580
|
});
|
|
1602
1581
|
continue;
|
|
1603
1582
|
}
|
|
1604
|
-
if (
|
|
1583
|
+
if (hr.test(i.stem)) {
|
|
1605
1584
|
t.minimumIntegerDigits = i.stem.length;
|
|
1606
1585
|
continue;
|
|
1607
1586
|
}
|
|
1608
|
-
if (
|
|
1587
|
+
if (Et.test(i.stem)) {
|
|
1609
1588
|
if (i.options.length > 1)
|
|
1610
1589
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1611
|
-
i.stem.replace(
|
|
1590
|
+
i.stem.replace(Et, function(u, h, l, c, f, d) {
|
|
1612
1591
|
return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1613
1592
|
});
|
|
1614
1593
|
var o = i.options[0];
|
|
1615
|
-
o === "w" ? t =
|
|
1594
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), xt(o)));
|
|
1616
1595
|
continue;
|
|
1617
1596
|
}
|
|
1618
|
-
if (
|
|
1619
|
-
t =
|
|
1597
|
+
if (ur.test(i.stem)) {
|
|
1598
|
+
t = _(_({}, t), xt(i.stem));
|
|
1620
1599
|
continue;
|
|
1621
1600
|
}
|
|
1622
|
-
var s =
|
|
1623
|
-
s && (t =
|
|
1624
|
-
var a =
|
|
1625
|
-
a && (t =
|
|
1601
|
+
var s = lr(i.stem);
|
|
1602
|
+
s && (t = _(_({}, t), s));
|
|
1603
|
+
var a = Wn(i.stem);
|
|
1604
|
+
a && (t = _(_({}, t), a));
|
|
1626
1605
|
}
|
|
1627
1606
|
return t;
|
|
1628
1607
|
}
|
|
@@ -3041,13 +3020,13 @@ var pe = {
|
|
|
3041
3020
|
"h"
|
|
3042
3021
|
]
|
|
3043
3022
|
};
|
|
3044
|
-
function
|
|
3023
|
+
function Zn(e, t) {
|
|
3045
3024
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3046
3025
|
var i = e.charAt(n);
|
|
3047
3026
|
if (i === "j") {
|
|
3048
3027
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3049
3028
|
o++, n++;
|
|
3050
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h =
|
|
3029
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Qn(t);
|
|
3051
3030
|
for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
|
|
3052
3031
|
r += u;
|
|
3053
3032
|
for (; s-- > 0; )
|
|
@@ -3057,7 +3036,7 @@ function Jn(e, t) {
|
|
|
3057
3036
|
}
|
|
3058
3037
|
return r;
|
|
3059
3038
|
}
|
|
3060
|
-
function
|
|
3039
|
+
function Qn(e) {
|
|
3061
3040
|
var t = e.hourCycle;
|
|
3062
3041
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3063
3042
|
e.hourCycles && // @ts-ignore
|
|
@@ -3079,20 +3058,20 @@ function qn(e) {
|
|
|
3079
3058
|
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
|
3080
3059
|
return i[0];
|
|
3081
3060
|
}
|
|
3082
|
-
var
|
|
3061
|
+
var Ce, Jn = new RegExp("^".concat(ar.source, "*")), qn = new RegExp("".concat(ar.source, "*$"));
|
|
3083
3062
|
function y(e, t) {
|
|
3084
3063
|
return { start: e, end: t };
|
|
3085
3064
|
}
|
|
3086
|
-
var
|
|
3065
|
+
var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
|
|
3087
3066
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3088
|
-
},
|
|
3067
|
+
}, We = !0;
|
|
3089
3068
|
try {
|
|
3090
|
-
var
|
|
3091
|
-
|
|
3069
|
+
var si = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3070
|
+
We = ((Ce = si.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
|
|
3092
3071
|
} catch (e) {
|
|
3093
|
-
|
|
3072
|
+
We = !1;
|
|
3094
3073
|
}
|
|
3095
|
-
var
|
|
3074
|
+
var St = Yn ? (
|
|
3096
3075
|
// Native
|
|
3097
3076
|
function(t, r, n) {
|
|
3098
3077
|
return t.startsWith(r, n);
|
|
@@ -3102,7 +3081,7 @@ var Ht = ei ? (
|
|
|
3102
3081
|
function(t, r, n) {
|
|
3103
3082
|
return t.slice(n, n + r.length) === r;
|
|
3104
3083
|
}
|
|
3105
|
-
),
|
|
3084
|
+
), ze = Kn ? String.fromCodePoint : (
|
|
3106
3085
|
// IE11
|
|
3107
3086
|
function() {
|
|
3108
3087
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3114,9 +3093,9 @@ var Ht = ei ? (
|
|
|
3114
3093
|
}
|
|
3115
3094
|
return n;
|
|
3116
3095
|
}
|
|
3117
|
-
),
|
|
3096
|
+
), wt = (
|
|
3118
3097
|
// native
|
|
3119
|
-
|
|
3098
|
+
ei ? Object.fromEntries : (
|
|
3120
3099
|
// Ponyfill
|
|
3121
3100
|
function(t) {
|
|
3122
3101
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3126,7 +3105,7 @@ var Ht = ei ? (
|
|
|
3126
3105
|
return r;
|
|
3127
3106
|
}
|
|
3128
3107
|
)
|
|
3129
|
-
),
|
|
3108
|
+
), cr = ti ? (
|
|
3130
3109
|
// Native
|
|
3131
3110
|
function(t, r) {
|
|
3132
3111
|
return t.codePointAt(r);
|
|
@@ -3140,7 +3119,7 @@ var Ht = ei ? (
|
|
|
3140
3119
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3141
3120
|
}
|
|
3142
3121
|
}
|
|
3143
|
-
),
|
|
3122
|
+
), ai = ri ? (
|
|
3144
3123
|
// Native
|
|
3145
3124
|
function(t) {
|
|
3146
3125
|
return t.trimStart();
|
|
@@ -3148,9 +3127,9 @@ var Ht = ei ? (
|
|
|
3148
3127
|
) : (
|
|
3149
3128
|
// Ponyfill
|
|
3150
3129
|
function(t) {
|
|
3151
|
-
return t.replace(
|
|
3130
|
+
return t.replace(Jn, "");
|
|
3152
3131
|
}
|
|
3153
|
-
),
|
|
3132
|
+
), ui = ni ? (
|
|
3154
3133
|
// Native
|
|
3155
3134
|
function(t) {
|
|
3156
3135
|
return t.trimEnd();
|
|
@@ -3158,32 +3137,32 @@ var Ht = ei ? (
|
|
|
3158
3137
|
) : (
|
|
3159
3138
|
// Ponyfill
|
|
3160
3139
|
function(t) {
|
|
3161
|
-
return t.replace(
|
|
3140
|
+
return t.replace(qn, "");
|
|
3162
3141
|
}
|
|
3163
3142
|
);
|
|
3164
|
-
function
|
|
3143
|
+
function fr(e, t) {
|
|
3165
3144
|
return new RegExp(e, t);
|
|
3166
3145
|
}
|
|
3167
|
-
var
|
|
3168
|
-
if (
|
|
3169
|
-
var
|
|
3170
|
-
|
|
3146
|
+
var Ze;
|
|
3147
|
+
if (We) {
|
|
3148
|
+
var Ht = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3149
|
+
Ze = function(t, r) {
|
|
3171
3150
|
var n;
|
|
3172
|
-
|
|
3173
|
-
var i =
|
|
3151
|
+
Ht.lastIndex = r;
|
|
3152
|
+
var i = Ht.exec(t);
|
|
3174
3153
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3175
3154
|
};
|
|
3176
3155
|
} else
|
|
3177
|
-
|
|
3156
|
+
Ze = function(t, r) {
|
|
3178
3157
|
for (var n = []; ; ) {
|
|
3179
|
-
var i =
|
|
3180
|
-
if (i === void 0 ||
|
|
3158
|
+
var i = cr(t, r);
|
|
3159
|
+
if (i === void 0 || pr(i) || fi(i))
|
|
3181
3160
|
break;
|
|
3182
3161
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3183
3162
|
}
|
|
3184
|
-
return
|
|
3163
|
+
return ze.apply(void 0, n);
|
|
3185
3164
|
};
|
|
3186
|
-
var
|
|
3165
|
+
var hi = (
|
|
3187
3166
|
/** @class */
|
|
3188
3167
|
function() {
|
|
3189
3168
|
function e(t, r) {
|
|
@@ -3207,14 +3186,14 @@ var ci = (
|
|
|
3207
3186
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3208
3187
|
var a = this.clonePosition();
|
|
3209
3188
|
this.bump(), i.push({
|
|
3210
|
-
type:
|
|
3189
|
+
type: x.pound,
|
|
3211
3190
|
location: y(a, this.clonePosition())
|
|
3212
3191
|
});
|
|
3213
3192
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3214
3193
|
if (n)
|
|
3215
3194
|
break;
|
|
3216
3195
|
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3217
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3196
|
+
} else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
|
|
3218
3197
|
var s = this.parseTag(t, r);
|
|
3219
3198
|
if (s.err)
|
|
3220
3199
|
return s;
|
|
@@ -3235,7 +3214,7 @@ var ci = (
|
|
|
3235
3214
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3236
3215
|
return {
|
|
3237
3216
|
val: {
|
|
3238
|
-
type:
|
|
3217
|
+
type: x.literal,
|
|
3239
3218
|
value: "<".concat(i, "/>"),
|
|
3240
3219
|
location: y(n, this.clonePosition())
|
|
3241
3220
|
},
|
|
@@ -3247,12 +3226,12 @@ var ci = (
|
|
|
3247
3226
|
return o;
|
|
3248
3227
|
var s = o.val, a = this.clonePosition();
|
|
3249
3228
|
if (this.bumpIf("</")) {
|
|
3250
|
-
if (this.isEOF() || !
|
|
3229
|
+
if (this.isEOF() || !Qe(this.char()))
|
|
3251
3230
|
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
|
3252
3231
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3253
3232
|
return i !== h ? this.error(v.UNMATCHED_CLOSING_TAG, y(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3254
3233
|
val: {
|
|
3255
|
-
type:
|
|
3234
|
+
type: x.tag,
|
|
3256
3235
|
value: i,
|
|
3257
3236
|
children: s,
|
|
3258
3237
|
location: y(n, this.clonePosition())
|
|
@@ -3265,7 +3244,7 @@ var ci = (
|
|
|
3265
3244
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
|
3266
3245
|
}, e.prototype.parseTagName = function() {
|
|
3267
3246
|
var t = this.offset();
|
|
3268
|
-
for (this.bump(); !this.isEOF() &&
|
|
3247
|
+
for (this.bump(); !this.isEOF() && ci(this.char()); )
|
|
3269
3248
|
this.bump();
|
|
3270
3249
|
return this.message.slice(t, this.offset());
|
|
3271
3250
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3289,12 +3268,12 @@ var ci = (
|
|
|
3289
3268
|
}
|
|
3290
3269
|
var u = y(n, this.clonePosition());
|
|
3291
3270
|
return {
|
|
3292
|
-
val: { type:
|
|
3271
|
+
val: { type: x.literal, value: i, location: u },
|
|
3293
3272
|
err: null
|
|
3294
3273
|
};
|
|
3295
3274
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3296
3275
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3297
|
-
!
|
|
3276
|
+
!li(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3298
3277
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3299
3278
|
if (this.isEOF() || this.char() !== 39)
|
|
3300
3279
|
return null;
|
|
@@ -3328,12 +3307,12 @@ var ci = (
|
|
|
3328
3307
|
r.push(n);
|
|
3329
3308
|
this.bump();
|
|
3330
3309
|
}
|
|
3331
|
-
return
|
|
3310
|
+
return ze.apply(void 0, r);
|
|
3332
3311
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3333
3312
|
if (this.isEOF())
|
|
3334
3313
|
return null;
|
|
3335
3314
|
var n = this.char();
|
|
3336
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3315
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
|
|
3337
3316
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3338
3317
|
var n = this.clonePosition();
|
|
3339
3318
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3349,7 +3328,7 @@ var ci = (
|
|
|
3349
3328
|
case 125:
|
|
3350
3329
|
return this.bump(), {
|
|
3351
3330
|
val: {
|
|
3352
|
-
type:
|
|
3331
|
+
type: x.argument,
|
|
3353
3332
|
// value does not include the opening and closing braces.
|
|
3354
3333
|
value: i,
|
|
3355
3334
|
location: y(n, this.clonePosition())
|
|
@@ -3362,7 +3341,7 @@ var ci = (
|
|
|
3362
3341
|
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3363
3342
|
}
|
|
3364
3343
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3365
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3344
|
+
var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
|
|
3366
3345
|
this.bumpTo(i);
|
|
3367
3346
|
var o = this.clonePosition(), s = y(t, o);
|
|
3368
3347
|
return { value: n, location: s };
|
|
@@ -3381,7 +3360,7 @@ var ci = (
|
|
|
3381
3360
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3382
3361
|
if (c.err)
|
|
3383
3362
|
return c;
|
|
3384
|
-
var f =
|
|
3363
|
+
var f = ui(c.val);
|
|
3385
3364
|
if (f.length === 0)
|
|
3386
3365
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3387
3366
|
var d = y(l, this.clonePosition());
|
|
@@ -3391,25 +3370,25 @@ var ci = (
|
|
|
3391
3370
|
if (p.err)
|
|
3392
3371
|
return p;
|
|
3393
3372
|
var g = y(i, this.clonePosition());
|
|
3394
|
-
if (h &&
|
|
3395
|
-
var
|
|
3373
|
+
if (h && St(h == null ? void 0 : h.style, "::", 0)) {
|
|
3374
|
+
var E = ai(h.style.slice(2));
|
|
3396
3375
|
if (a === "number") {
|
|
3397
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3376
|
+
var c = this.parseNumberSkeletonFromString(E, h.styleLocation);
|
|
3398
3377
|
return c.err ? c : {
|
|
3399
|
-
val: { type:
|
|
3378
|
+
val: { type: x.number, value: n, location: g, style: c.val },
|
|
3400
3379
|
err: null
|
|
3401
3380
|
};
|
|
3402
3381
|
} else {
|
|
3403
|
-
if (
|
|
3382
|
+
if (E.length === 0)
|
|
3404
3383
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
|
|
3405
|
-
var
|
|
3406
|
-
this.locale && (
|
|
3384
|
+
var N = E;
|
|
3385
|
+
this.locale && (N = Zn(E, this.locale));
|
|
3407
3386
|
var f = {
|
|
3408
|
-
type:
|
|
3409
|
-
pattern:
|
|
3387
|
+
type: J.dateTime,
|
|
3388
|
+
pattern: N,
|
|
3410
3389
|
location: h.styleLocation,
|
|
3411
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3412
|
-
}, L = a === "date" ?
|
|
3390
|
+
parsedOptions: this.shouldParseSkeletons ? Fn(N) : {}
|
|
3391
|
+
}, L = a === "date" ? x.date : x.time;
|
|
3413
3392
|
return {
|
|
3414
3393
|
val: { type: L, value: n, location: g, style: f },
|
|
3415
3394
|
err: null
|
|
@@ -3418,7 +3397,7 @@ var ci = (
|
|
|
3418
3397
|
}
|
|
3419
3398
|
return {
|
|
3420
3399
|
val: {
|
|
3421
|
-
type: a === "number" ?
|
|
3400
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3422
3401
|
value: n,
|
|
3423
3402
|
location: g,
|
|
3424
3403
|
style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
|
|
@@ -3431,9 +3410,9 @@ var ci = (
|
|
|
3431
3410
|
case "select": {
|
|
3432
3411
|
var b = this.clonePosition();
|
|
3433
3412
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3434
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(b,
|
|
3413
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(b, _({}, b)));
|
|
3435
3414
|
this.bumpSpace();
|
|
3436
|
-
var w = this.parseIdentifierIfPossible(),
|
|
3415
|
+
var w = this.parseIdentifierIfPossible(), S = 0;
|
|
3437
3416
|
if (a !== "select" && w.value === "offset") {
|
|
3438
3417
|
if (!this.bumpIf(":"))
|
|
3439
3418
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
@@ -3441,7 +3420,7 @@ var ci = (
|
|
|
3441
3420
|
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3442
3421
|
if (c.err)
|
|
3443
3422
|
return c;
|
|
3444
|
-
this.bumpSpace(), w = this.parseIdentifierIfPossible(),
|
|
3423
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), S = c.val;
|
|
3445
3424
|
}
|
|
3446
3425
|
var m = this.tryParsePluralOrSelectOptions(t, a, r, w);
|
|
3447
3426
|
if (m.err)
|
|
@@ -3449,23 +3428,23 @@ var ci = (
|
|
|
3449
3428
|
var p = this.tryParseArgumentClose(i);
|
|
3450
3429
|
if (p.err)
|
|
3451
3430
|
return p;
|
|
3452
|
-
var
|
|
3431
|
+
var T = y(i, this.clonePosition());
|
|
3453
3432
|
return a === "select" ? {
|
|
3454
3433
|
val: {
|
|
3455
|
-
type:
|
|
3434
|
+
type: x.select,
|
|
3456
3435
|
value: n,
|
|
3457
|
-
options:
|
|
3458
|
-
location:
|
|
3436
|
+
options: wt(m.val),
|
|
3437
|
+
location: T
|
|
3459
3438
|
},
|
|
3460
3439
|
err: null
|
|
3461
3440
|
} : {
|
|
3462
3441
|
val: {
|
|
3463
|
-
type:
|
|
3442
|
+
type: x.plural,
|
|
3464
3443
|
value: n,
|
|
3465
|
-
options:
|
|
3466
|
-
offset:
|
|
3444
|
+
options: wt(m.val),
|
|
3445
|
+
offset: S,
|
|
3467
3446
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3468
|
-
location:
|
|
3447
|
+
location: T
|
|
3469
3448
|
},
|
|
3470
3449
|
err: null
|
|
3471
3450
|
};
|
|
@@ -3513,16 +3492,16 @@ var ci = (
|
|
|
3513
3492
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3514
3493
|
var n = [];
|
|
3515
3494
|
try {
|
|
3516
|
-
n =
|
|
3495
|
+
n = kn(t);
|
|
3517
3496
|
} catch (i) {
|
|
3518
3497
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3519
3498
|
}
|
|
3520
3499
|
return {
|
|
3521
3500
|
val: {
|
|
3522
|
-
type:
|
|
3501
|
+
type: J.number,
|
|
3523
3502
|
tokens: n,
|
|
3524
3503
|
location: r,
|
|
3525
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3504
|
+
parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
|
|
3526
3505
|
},
|
|
3527
3506
|
err: null
|
|
3528
3507
|
};
|
|
@@ -3570,7 +3549,7 @@ var ci = (
|
|
|
3570
3549
|
break;
|
|
3571
3550
|
}
|
|
3572
3551
|
var u = y(i, this.clonePosition());
|
|
3573
|
-
return o ? (s *= n,
|
|
3552
|
+
return o ? (s *= n, oi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3574
3553
|
}, e.prototype.offset = function() {
|
|
3575
3554
|
return this.position.offset;
|
|
3576
3555
|
}, e.prototype.isEOF = function() {
|
|
@@ -3585,7 +3564,7 @@ var ci = (
|
|
|
3585
3564
|
var t = this.position.offset;
|
|
3586
3565
|
if (t >= this.message.length)
|
|
3587
3566
|
throw Error("out of bound");
|
|
3588
|
-
var r =
|
|
3567
|
+
var r = cr(this.message, t);
|
|
3589
3568
|
if (r === void 0)
|
|
3590
3569
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3591
3570
|
return r;
|
|
@@ -3604,7 +3583,7 @@ var ci = (
|
|
|
3604
3583
|
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);
|
|
3605
3584
|
}
|
|
3606
3585
|
}, e.prototype.bumpIf = function(t) {
|
|
3607
|
-
if (
|
|
3586
|
+
if (St(this.message, t, this.offset())) {
|
|
3608
3587
|
for (var r = 0; r < t.length; r++)
|
|
3609
3588
|
this.bump();
|
|
3610
3589
|
return !0;
|
|
@@ -3626,7 +3605,7 @@ var ci = (
|
|
|
3626
3605
|
break;
|
|
3627
3606
|
}
|
|
3628
3607
|
}, e.prototype.bumpSpace = function() {
|
|
3629
|
-
for (; !this.isEOF() &&
|
|
3608
|
+
for (; !this.isEOF() && pr(this.char()); )
|
|
3630
3609
|
this.bump();
|
|
3631
3610
|
}, e.prototype.peek = function() {
|
|
3632
3611
|
if (this.isEOF())
|
|
@@ -3636,47 +3615,47 @@ var ci = (
|
|
|
3636
3615
|
}, e;
|
|
3637
3616
|
}()
|
|
3638
3617
|
);
|
|
3639
|
-
function
|
|
3618
|
+
function Qe(e) {
|
|
3640
3619
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3641
3620
|
}
|
|
3642
|
-
function
|
|
3643
|
-
return
|
|
3621
|
+
function li(e) {
|
|
3622
|
+
return Qe(e) || e === 47;
|
|
3644
3623
|
}
|
|
3645
|
-
function
|
|
3624
|
+
function ci(e) {
|
|
3646
3625
|
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;
|
|
3647
3626
|
}
|
|
3648
|
-
function
|
|
3627
|
+
function pr(e) {
|
|
3649
3628
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3650
3629
|
}
|
|
3651
|
-
function
|
|
3630
|
+
function fi(e) {
|
|
3652
3631
|
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;
|
|
3653
3632
|
}
|
|
3654
|
-
function
|
|
3633
|
+
function Je(e) {
|
|
3655
3634
|
e.forEach(function(t) {
|
|
3656
|
-
if (delete t.location,
|
|
3635
|
+
if (delete t.location, nr(t) || ir(t))
|
|
3657
3636
|
for (var r in t.options)
|
|
3658
|
-
delete t.options[r].location,
|
|
3637
|
+
delete t.options[r].location, Je(t.options[r].value);
|
|
3659
3638
|
else
|
|
3660
|
-
|
|
3639
|
+
er(t) && sr(t.style) || (tr(t) || rr(t)) && Xe(t.style) ? delete t.style.location : or(t) && Je(t.children);
|
|
3661
3640
|
});
|
|
3662
3641
|
}
|
|
3663
|
-
function
|
|
3664
|
-
t === void 0 && (t = {}), t =
|
|
3665
|
-
var r = new
|
|
3642
|
+
function pi(e, t) {
|
|
3643
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3644
|
+
var r = new hi(e, t).parse();
|
|
3666
3645
|
if (r.err) {
|
|
3667
3646
|
var n = SyntaxError(v[r.err.kind]);
|
|
3668
3647
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3669
3648
|
}
|
|
3670
|
-
return t != null && t.captureLocation ||
|
|
3649
|
+
return t != null && t.captureLocation || Je(r.val), r.val;
|
|
3671
3650
|
}
|
|
3672
|
-
var
|
|
3651
|
+
var q;
|
|
3673
3652
|
(function(e) {
|
|
3674
3653
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3675
|
-
})(
|
|
3676
|
-
var
|
|
3654
|
+
})(q || (q = {}));
|
|
3655
|
+
var we = (
|
|
3677
3656
|
/** @class */
|
|
3678
3657
|
function(e) {
|
|
3679
|
-
|
|
3658
|
+
$(t, e);
|
|
3680
3659
|
function t(r, n, i) {
|
|
3681
3660
|
var o = e.call(this, r) || this;
|
|
3682
3661
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3685,48 +3664,48 @@ var Ae = (
|
|
|
3685
3664
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3686
3665
|
}, t;
|
|
3687
3666
|
}(Error)
|
|
3688
|
-
),
|
|
3667
|
+
), Bt = (
|
|
3689
3668
|
/** @class */
|
|
3690
3669
|
function(e) {
|
|
3691
|
-
|
|
3670
|
+
$(t, e);
|
|
3692
3671
|
function t(r, n, i, o) {
|
|
3693
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3672
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
|
|
3694
3673
|
}
|
|
3695
3674
|
return t;
|
|
3696
|
-
}(
|
|
3697
|
-
),
|
|
3675
|
+
}(we)
|
|
3676
|
+
), mi = (
|
|
3698
3677
|
/** @class */
|
|
3699
3678
|
function(e) {
|
|
3700
|
-
|
|
3679
|
+
$(t, e);
|
|
3701
3680
|
function t(r, n, i) {
|
|
3702
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3681
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3703
3682
|
}
|
|
3704
3683
|
return t;
|
|
3705
|
-
}(
|
|
3706
|
-
),
|
|
3684
|
+
}(we)
|
|
3685
|
+
), di = (
|
|
3707
3686
|
/** @class */
|
|
3708
3687
|
function(e) {
|
|
3709
|
-
|
|
3688
|
+
$(t, e);
|
|
3710
3689
|
function t(r, n) {
|
|
3711
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3690
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3712
3691
|
}
|
|
3713
3692
|
return t;
|
|
3714
|
-
}(
|
|
3693
|
+
}(we)
|
|
3715
3694
|
), P;
|
|
3716
3695
|
(function(e) {
|
|
3717
3696
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3718
3697
|
})(P || (P = {}));
|
|
3719
|
-
function
|
|
3698
|
+
function bi(e) {
|
|
3720
3699
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3721
3700
|
var n = t[t.length - 1];
|
|
3722
3701
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3723
3702
|
}, []);
|
|
3724
3703
|
}
|
|
3725
|
-
function
|
|
3704
|
+
function gi(e) {
|
|
3726
3705
|
return typeof e == "function";
|
|
3727
3706
|
}
|
|
3728
3707
|
function be(e, t, r, n, i, o, s) {
|
|
3729
|
-
if (e.length === 1 &&
|
|
3708
|
+
if (e.length === 1 && _t(e[0]))
|
|
3730
3709
|
return [
|
|
3731
3710
|
{
|
|
3732
3711
|
type: P.literal,
|
|
@@ -3735,14 +3714,14 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3735
3714
|
];
|
|
3736
3715
|
for (var a = [], u = 0, h = e; u < h.length; u++) {
|
|
3737
3716
|
var l = h[u];
|
|
3738
|
-
if (
|
|
3717
|
+
if (_t(l)) {
|
|
3739
3718
|
a.push({
|
|
3740
3719
|
type: P.literal,
|
|
3741
3720
|
value: l.value
|
|
3742
3721
|
});
|
|
3743
3722
|
continue;
|
|
3744
3723
|
}
|
|
3745
|
-
if (
|
|
3724
|
+
if (Un(l)) {
|
|
3746
3725
|
typeof o == "number" && a.push({
|
|
3747
3726
|
type: P.literal,
|
|
3748
3727
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3751,89 +3730,89 @@ function be(e, t, r, n, i, o, s) {
|
|
|
3751
3730
|
}
|
|
3752
3731
|
var c = l.value;
|
|
3753
3732
|
if (!(i && c in i))
|
|
3754
|
-
throw new
|
|
3733
|
+
throw new di(c, s);
|
|
3755
3734
|
var f = i[c];
|
|
3756
|
-
if (
|
|
3735
|
+
if (Gn(l)) {
|
|
3757
3736
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3758
3737
|
type: typeof f == "string" ? P.literal : P.object,
|
|
3759
3738
|
value: f
|
|
3760
3739
|
});
|
|
3761
3740
|
continue;
|
|
3762
3741
|
}
|
|
3763
|
-
if (
|
|
3764
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
|
3742
|
+
if (tr(l)) {
|
|
3743
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
|
|
3765
3744
|
a.push({
|
|
3766
3745
|
type: P.literal,
|
|
3767
3746
|
value: r.getDateTimeFormat(t, d).format(f)
|
|
3768
3747
|
});
|
|
3769
3748
|
continue;
|
|
3770
3749
|
}
|
|
3771
|
-
if (
|
|
3772
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
|
3750
|
+
if (rr(l)) {
|
|
3751
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3773
3752
|
a.push({
|
|
3774
3753
|
type: P.literal,
|
|
3775
3754
|
value: r.getDateTimeFormat(t, d).format(f)
|
|
3776
3755
|
});
|
|
3777
3756
|
continue;
|
|
3778
3757
|
}
|
|
3779
|
-
if (
|
|
3780
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
3758
|
+
if (er(l)) {
|
|
3759
|
+
var d = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
|
|
3781
3760
|
d && d.scale && (f = f * (d.scale || 1)), a.push({
|
|
3782
3761
|
type: P.literal,
|
|
3783
3762
|
value: r.getNumberFormat(t, d).format(f)
|
|
3784
3763
|
});
|
|
3785
3764
|
continue;
|
|
3786
3765
|
}
|
|
3787
|
-
if (
|
|
3788
|
-
var p = l.children, g = l.value,
|
|
3789
|
-
if (!
|
|
3790
|
-
throw new
|
|
3791
|
-
var
|
|
3792
|
-
return
|
|
3766
|
+
if (or(l)) {
|
|
3767
|
+
var p = l.children, g = l.value, E = i[g];
|
|
3768
|
+
if (!gi(E))
|
|
3769
|
+
throw new mi(g, "function", s);
|
|
3770
|
+
var N = be(p, t, r, n, i, o), L = E(N.map(function(S) {
|
|
3771
|
+
return S.value;
|
|
3793
3772
|
}));
|
|
3794
|
-
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(
|
|
3773
|
+
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(S) {
|
|
3795
3774
|
return {
|
|
3796
|
-
type: typeof
|
|
3797
|
-
value:
|
|
3775
|
+
type: typeof S == "string" ? P.literal : P.object,
|
|
3776
|
+
value: S
|
|
3798
3777
|
};
|
|
3799
3778
|
}));
|
|
3800
3779
|
}
|
|
3801
|
-
if (
|
|
3780
|
+
if (nr(l)) {
|
|
3802
3781
|
var b = l.options[f] || l.options.other;
|
|
3803
3782
|
if (!b)
|
|
3804
|
-
throw new
|
|
3783
|
+
throw new Bt(l.value, f, Object.keys(l.options), s);
|
|
3805
3784
|
a.push.apply(a, be(b.value, t, r, n, i));
|
|
3806
3785
|
continue;
|
|
3807
3786
|
}
|
|
3808
|
-
if (
|
|
3787
|
+
if (ir(l)) {
|
|
3809
3788
|
var b = l.options["=".concat(f)];
|
|
3810
3789
|
if (!b) {
|
|
3811
3790
|
if (!Intl.PluralRules)
|
|
3812
|
-
throw new
|
|
3791
|
+
throw new we(`Intl.PluralRules is not available in this environment.
|
|
3813
3792
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3814
|
-
`,
|
|
3793
|
+
`, q.MISSING_INTL_API, s);
|
|
3815
3794
|
var w = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3816
3795
|
b = l.options[w] || l.options.other;
|
|
3817
3796
|
}
|
|
3818
3797
|
if (!b)
|
|
3819
|
-
throw new
|
|
3798
|
+
throw new Bt(l.value, f, Object.keys(l.options), s);
|
|
3820
3799
|
a.push.apply(a, be(b.value, t, r, n, i, f - (l.offset || 0)));
|
|
3821
3800
|
continue;
|
|
3822
3801
|
}
|
|
3823
3802
|
}
|
|
3824
|
-
return
|
|
3803
|
+
return bi(a);
|
|
3825
3804
|
}
|
|
3826
|
-
function
|
|
3827
|
-
return t ?
|
|
3828
|
-
return r[n] =
|
|
3805
|
+
function vi(e, t) {
|
|
3806
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3807
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3829
3808
|
}, {})) : e;
|
|
3830
3809
|
}
|
|
3831
|
-
function
|
|
3810
|
+
function yi(e, t) {
|
|
3832
3811
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3833
|
-
return r[n] =
|
|
3834
|
-
},
|
|
3812
|
+
return r[n] = vi(e[n], t[n]), r;
|
|
3813
|
+
}, _({}, e)) : e;
|
|
3835
3814
|
}
|
|
3836
|
-
function
|
|
3815
|
+
function Me(e) {
|
|
3837
3816
|
return {
|
|
3838
3817
|
create: function() {
|
|
3839
3818
|
return {
|
|
@@ -3847,39 +3826,39 @@ function Re(e) {
|
|
|
3847
3826
|
}
|
|
3848
3827
|
};
|
|
3849
3828
|
}
|
|
3850
|
-
function
|
|
3829
|
+
function _i(e) {
|
|
3851
3830
|
return e === void 0 && (e = {
|
|
3852
3831
|
number: {},
|
|
3853
3832
|
dateTime: {},
|
|
3854
3833
|
pluralRules: {}
|
|
3855
3834
|
}), {
|
|
3856
|
-
getNumberFormat:
|
|
3835
|
+
getNumberFormat: Ne(function() {
|
|
3857
3836
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3858
3837
|
r[n] = arguments[n];
|
|
3859
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3838
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
|
|
3860
3839
|
}, {
|
|
3861
|
-
cache:
|
|
3862
|
-
strategy:
|
|
3840
|
+
cache: Me(e.number),
|
|
3841
|
+
strategy: Le.variadic
|
|
3863
3842
|
}),
|
|
3864
|
-
getDateTimeFormat:
|
|
3843
|
+
getDateTimeFormat: Ne(function() {
|
|
3865
3844
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3866
3845
|
r[n] = arguments[n];
|
|
3867
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3846
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
|
|
3868
3847
|
}, {
|
|
3869
|
-
cache:
|
|
3870
|
-
strategy:
|
|
3848
|
+
cache: Me(e.dateTime),
|
|
3849
|
+
strategy: Le.variadic
|
|
3871
3850
|
}),
|
|
3872
|
-
getPluralRules:
|
|
3851
|
+
getPluralRules: Ne(function() {
|
|
3873
3852
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3874
3853
|
r[n] = arguments[n];
|
|
3875
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3854
|
+
return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
|
|
3876
3855
|
}, {
|
|
3877
|
-
cache:
|
|
3878
|
-
strategy:
|
|
3856
|
+
cache: Me(e.pluralRules),
|
|
3857
|
+
strategy: Le.variadic
|
|
3879
3858
|
})
|
|
3880
3859
|
};
|
|
3881
3860
|
}
|
|
3882
|
-
var
|
|
3861
|
+
var Ei = (
|
|
3883
3862
|
/** @class */
|
|
3884
3863
|
function() {
|
|
3885
3864
|
function e(t, r, n, i) {
|
|
@@ -3911,13 +3890,13 @@ var Si = (
|
|
|
3911
3890
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3912
3891
|
var s = i || {};
|
|
3913
3892
|
s.formatters;
|
|
3914
|
-
var a =
|
|
3915
|
-
this.ast = e.__parse(t,
|
|
3893
|
+
var a = Kr(s, ["formatters"]);
|
|
3894
|
+
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
|
3916
3895
|
} else
|
|
3917
3896
|
this.ast = t;
|
|
3918
3897
|
if (!Array.isArray(this.ast))
|
|
3919
3898
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3920
|
-
this.formats =
|
|
3899
|
+
this.formats = yi(e.formats, n), this.formatters = i && i.formatters || _i(this.formatterCache);
|
|
3921
3900
|
}
|
|
3922
3901
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3923
3902
|
get: function() {
|
|
@@ -3930,7 +3909,7 @@ var Si = (
|
|
|
3930
3909
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3931
3910
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3932
3911
|
}
|
|
3933
|
-
}, e.__parse =
|
|
3912
|
+
}, e.__parse = pi, e.formats = {
|
|
3934
3913
|
number: {
|
|
3935
3914
|
integer: {
|
|
3936
3915
|
maximumFractionDigits: 0
|
|
@@ -3991,7 +3970,7 @@ var Si = (
|
|
|
3991
3970
|
}, e;
|
|
3992
3971
|
}()
|
|
3993
3972
|
);
|
|
3994
|
-
function
|
|
3973
|
+
function xi(e, t) {
|
|
3995
3974
|
if (t == null)
|
|
3996
3975
|
return;
|
|
3997
3976
|
if (t in e)
|
|
@@ -4012,92 +3991,92 @@ function Ti(e, t) {
|
|
|
4012
3991
|
n = void 0;
|
|
4013
3992
|
return n;
|
|
4014
3993
|
}
|
|
4015
|
-
const R = {},
|
|
3994
|
+
const R = {}, Ti = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), mr = (e, t) => {
|
|
4016
3995
|
if (t == null)
|
|
4017
3996
|
return;
|
|
4018
3997
|
if (t in R && e in R[t])
|
|
4019
3998
|
return R[t][e];
|
|
4020
|
-
const r =
|
|
3999
|
+
const r = He(t);
|
|
4021
4000
|
for (let n = 0; n < r.length; n++) {
|
|
4022
|
-
const i = r[n], o =
|
|
4001
|
+
const i = r[n], o = wi(i, e);
|
|
4023
4002
|
if (o)
|
|
4024
|
-
return
|
|
4003
|
+
return Ti(e, t, o);
|
|
4025
4004
|
}
|
|
4026
4005
|
};
|
|
4027
|
-
let
|
|
4028
|
-
const
|
|
4029
|
-
function
|
|
4030
|
-
return
|
|
4006
|
+
let rt;
|
|
4007
|
+
const ee = Se({});
|
|
4008
|
+
function Si(e) {
|
|
4009
|
+
return rt[e] || null;
|
|
4031
4010
|
}
|
|
4032
|
-
function
|
|
4033
|
-
return e in
|
|
4011
|
+
function dr(e) {
|
|
4012
|
+
return e in rt;
|
|
4034
4013
|
}
|
|
4035
|
-
function
|
|
4036
|
-
if (!
|
|
4014
|
+
function wi(e, t) {
|
|
4015
|
+
if (!dr(e))
|
|
4037
4016
|
return null;
|
|
4038
|
-
const r =
|
|
4039
|
-
return
|
|
4017
|
+
const r = Si(e);
|
|
4018
|
+
return xi(r, t);
|
|
4040
4019
|
}
|
|
4041
|
-
function
|
|
4020
|
+
function Hi(e) {
|
|
4042
4021
|
if (e == null)
|
|
4043
4022
|
return;
|
|
4044
|
-
const t =
|
|
4023
|
+
const t = He(e);
|
|
4045
4024
|
for (let r = 0; r < t.length; r++) {
|
|
4046
4025
|
const n = t[r];
|
|
4047
|
-
if (
|
|
4026
|
+
if (dr(n))
|
|
4048
4027
|
return n;
|
|
4049
4028
|
}
|
|
4050
4029
|
}
|
|
4051
|
-
function
|
|
4052
|
-
delete R[e],
|
|
4030
|
+
function br(e, ...t) {
|
|
4031
|
+
delete R[e], ee.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
|
|
4053
4032
|
}
|
|
4054
|
-
|
|
4055
|
-
[
|
|
4033
|
+
K(
|
|
4034
|
+
[ee],
|
|
4056
4035
|
([e]) => Object.keys(e)
|
|
4057
4036
|
);
|
|
4058
|
-
|
|
4037
|
+
ee.subscribe((e) => rt = e);
|
|
4059
4038
|
const ge = {};
|
|
4060
|
-
function
|
|
4039
|
+
function Bi(e, t) {
|
|
4061
4040
|
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
|
4062
4041
|
}
|
|
4063
|
-
function
|
|
4042
|
+
function gr(e) {
|
|
4064
4043
|
return ge[e];
|
|
4065
4044
|
}
|
|
4066
|
-
function
|
|
4067
|
-
return
|
|
4068
|
-
const r =
|
|
4045
|
+
function Ai(e) {
|
|
4046
|
+
return He(e).map((t) => {
|
|
4047
|
+
const r = gr(t);
|
|
4069
4048
|
return [t, r ? [...r] : []];
|
|
4070
4049
|
}).filter(([, t]) => t.length > 0);
|
|
4071
4050
|
}
|
|
4072
|
-
function
|
|
4073
|
-
return e == null ? !1 :
|
|
4051
|
+
function qe(e) {
|
|
4052
|
+
return e == null ? !1 : He(e).some(
|
|
4074
4053
|
(t) => {
|
|
4075
4054
|
var r;
|
|
4076
|
-
return (r =
|
|
4055
|
+
return (r = gr(t)) == null ? void 0 : r.size;
|
|
4077
4056
|
}
|
|
4078
4057
|
);
|
|
4079
4058
|
}
|
|
4080
|
-
function
|
|
4059
|
+
function Pi(e, t) {
|
|
4081
4060
|
return Promise.all(
|
|
4082
|
-
t.map((n) => (
|
|
4083
|
-
).then((n) =>
|
|
4084
|
-
}
|
|
4085
|
-
const
|
|
4086
|
-
function
|
|
4087
|
-
if (!
|
|
4088
|
-
return e in
|
|
4089
|
-
const t =
|
|
4090
|
-
return
|
|
4061
|
+
t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
|
|
4062
|
+
).then((n) => br(e, ...n));
|
|
4063
|
+
}
|
|
4064
|
+
const ne = {};
|
|
4065
|
+
function vr(e) {
|
|
4066
|
+
if (!qe(e))
|
|
4067
|
+
return e in ne ? ne[e] : Promise.resolve();
|
|
4068
|
+
const t = Ai(e);
|
|
4069
|
+
return ne[e] = Promise.all(
|
|
4091
4070
|
t.map(
|
|
4092
|
-
([r, n]) =>
|
|
4071
|
+
([r, n]) => Pi(r, n)
|
|
4093
4072
|
)
|
|
4094
4073
|
).then(() => {
|
|
4095
|
-
if (
|
|
4096
|
-
return
|
|
4097
|
-
delete
|
|
4098
|
-
}),
|
|
4074
|
+
if (qe(e))
|
|
4075
|
+
return vr(e);
|
|
4076
|
+
delete ne[e];
|
|
4077
|
+
}), ne[e];
|
|
4099
4078
|
}
|
|
4100
|
-
const
|
|
4079
|
+
const Oi = {
|
|
4101
4080
|
number: {
|
|
4102
4081
|
scientific: { notation: "scientific" },
|
|
4103
4082
|
engineering: { notation: "engineering" },
|
|
@@ -4126,135 +4105,135 @@ const Ii = {
|
|
|
4126
4105
|
timeZoneName: "short"
|
|
4127
4106
|
}
|
|
4128
4107
|
}
|
|
4129
|
-
},
|
|
4108
|
+
}, Ii = {
|
|
4130
4109
|
fallbackLocale: null,
|
|
4131
4110
|
loadingDelay: 200,
|
|
4132
|
-
formats:
|
|
4111
|
+
formats: Oi,
|
|
4133
4112
|
warnOnMissingMessages: !0,
|
|
4134
4113
|
handleMissingMessage: void 0,
|
|
4135
4114
|
ignoreTag: !0
|
|
4136
|
-
},
|
|
4137
|
-
function
|
|
4138
|
-
return
|
|
4115
|
+
}, Ni = Ii;
|
|
4116
|
+
function Y() {
|
|
4117
|
+
return Ni;
|
|
4139
4118
|
}
|
|
4140
|
-
const
|
|
4141
|
-
var
|
|
4119
|
+
const $e = Se(!1);
|
|
4120
|
+
var Li = Object.defineProperty, Ci = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
|
|
4142
4121
|
for (var r in t || (t = {}))
|
|
4143
|
-
|
|
4144
|
-
if (
|
|
4145
|
-
for (var r of
|
|
4146
|
-
|
|
4122
|
+
$i.call(t, r) && Pt(e, r, t[r]);
|
|
4123
|
+
if (At)
|
|
4124
|
+
for (var r of At(t))
|
|
4125
|
+
Ri.call(t, r) && Pt(e, r, t[r]);
|
|
4147
4126
|
return e;
|
|
4148
|
-
},
|
|
4149
|
-
let
|
|
4150
|
-
const
|
|
4151
|
-
function
|
|
4127
|
+
}, Ui = (e, t) => Ci(e, Mi(t));
|
|
4128
|
+
let Ye;
|
|
4129
|
+
const _e = Se(null);
|
|
4130
|
+
function Ot(e) {
|
|
4152
4131
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4153
4132
|
}
|
|
4154
|
-
function
|
|
4155
|
-
const r =
|
|
4156
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4133
|
+
function He(e, t = Y().fallbackLocale) {
|
|
4134
|
+
const r = Ot(e);
|
|
4135
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
|
|
4157
4136
|
}
|
|
4158
4137
|
function j() {
|
|
4159
|
-
return
|
|
4138
|
+
return Ye != null ? Ye : void 0;
|
|
4160
4139
|
}
|
|
4161
|
-
|
|
4162
|
-
|
|
4140
|
+
_e.subscribe((e) => {
|
|
4141
|
+
Ye = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4163
4142
|
});
|
|
4164
|
-
const
|
|
4165
|
-
if (e &&
|
|
4166
|
-
const { loadingDelay: t } =
|
|
4143
|
+
const Di = (e) => {
|
|
4144
|
+
if (e && Hi(e) && qe(e)) {
|
|
4145
|
+
const { loadingDelay: t } = Y();
|
|
4167
4146
|
let r;
|
|
4168
4147
|
return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
|
|
4169
|
-
() =>
|
|
4148
|
+
() => $e.set(!0),
|
|
4170
4149
|
t
|
|
4171
|
-
) :
|
|
4172
|
-
|
|
4150
|
+
) : $e.set(!0), vr(e).then(() => {
|
|
4151
|
+
_e.set(e);
|
|
4173
4152
|
}).finally(() => {
|
|
4174
|
-
clearTimeout(r),
|
|
4153
|
+
clearTimeout(r), $e.set(!1);
|
|
4175
4154
|
});
|
|
4176
4155
|
}
|
|
4177
|
-
return
|
|
4178
|
-
}, G =
|
|
4179
|
-
set:
|
|
4180
|
-
}),
|
|
4156
|
+
return _e.set(e);
|
|
4157
|
+
}, G = Ui(Gi({}, _e), {
|
|
4158
|
+
set: Di
|
|
4159
|
+
}), Be = (e) => {
|
|
4181
4160
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4182
4161
|
return (n) => {
|
|
4183
4162
|
const i = JSON.stringify(n);
|
|
4184
4163
|
return i in t ? t[i] : t[i] = e(n);
|
|
4185
4164
|
};
|
|
4186
4165
|
};
|
|
4187
|
-
var
|
|
4166
|
+
var Fi = Object.defineProperty, Ee = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
4188
4167
|
for (var r in t || (t = {}))
|
|
4189
|
-
|
|
4190
|
-
if (
|
|
4191
|
-
for (var r of
|
|
4192
|
-
|
|
4168
|
+
yr.call(t, r) && It(e, r, t[r]);
|
|
4169
|
+
if (Ee)
|
|
4170
|
+
for (var r of Ee(t))
|
|
4171
|
+
_r.call(t, r) && It(e, r, t[r]);
|
|
4193
4172
|
return e;
|
|
4194
|
-
},
|
|
4173
|
+
}, te = (e, t) => {
|
|
4195
4174
|
var r = {};
|
|
4196
4175
|
for (var n in e)
|
|
4197
|
-
|
|
4198
|
-
if (e != null &&
|
|
4199
|
-
for (var n of
|
|
4200
|
-
t.indexOf(n) < 0 &&
|
|
4176
|
+
yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4177
|
+
if (e != null && Ee)
|
|
4178
|
+
for (var n of Ee(e))
|
|
4179
|
+
t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
|
|
4201
4180
|
return r;
|
|
4202
4181
|
};
|
|
4203
|
-
const
|
|
4204
|
-
const { formats: r } =
|
|
4182
|
+
const ue = (e, t) => {
|
|
4183
|
+
const { formats: r } = Y();
|
|
4205
4184
|
if (e in r && t in r[e])
|
|
4206
4185
|
return r[e][t];
|
|
4207
4186
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4208
|
-
},
|
|
4187
|
+
}, ji = Be(
|
|
4209
4188
|
(e) => {
|
|
4210
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4189
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4211
4190
|
if (r == null)
|
|
4212
4191
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4213
|
-
return n && (i =
|
|
4192
|
+
return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
|
|
4214
4193
|
}
|
|
4215
|
-
),
|
|
4194
|
+
), ki = Be(
|
|
4216
4195
|
(e) => {
|
|
4217
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4196
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4218
4197
|
if (r == null)
|
|
4219
4198
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4220
|
-
return n ? i =
|
|
4199
|
+
return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4221
4200
|
}
|
|
4222
|
-
),
|
|
4201
|
+
), Vi = Be(
|
|
4223
4202
|
(e) => {
|
|
4224
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4203
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4225
4204
|
if (r == null)
|
|
4226
4205
|
throw new Error(
|
|
4227
4206
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4228
4207
|
);
|
|
4229
|
-
return n ? i =
|
|
4208
|
+
return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4230
4209
|
}
|
|
4231
|
-
),
|
|
4210
|
+
), Xi = (e = {}) => {
|
|
4232
4211
|
var t = e, {
|
|
4233
4212
|
locale: r = j()
|
|
4234
|
-
} = t, n =
|
|
4213
|
+
} = t, n = te(t, [
|
|
4235
4214
|
"locale"
|
|
4236
4215
|
]);
|
|
4237
|
-
return
|
|
4238
|
-
},
|
|
4216
|
+
return ji(nt({ locale: r }, n));
|
|
4217
|
+
}, Wi = (e = {}) => {
|
|
4239
4218
|
var t = e, {
|
|
4240
4219
|
locale: r = j()
|
|
4241
|
-
} = t, n =
|
|
4220
|
+
} = t, n = te(t, [
|
|
4242
4221
|
"locale"
|
|
4243
4222
|
]);
|
|
4244
|
-
return
|
|
4245
|
-
},
|
|
4223
|
+
return ki(nt({ locale: r }, n));
|
|
4224
|
+
}, zi = (e = {}) => {
|
|
4246
4225
|
var t = e, {
|
|
4247
4226
|
locale: r = j()
|
|
4248
|
-
} = t, n =
|
|
4227
|
+
} = t, n = te(t, [
|
|
4249
4228
|
"locale"
|
|
4250
4229
|
]);
|
|
4251
|
-
return
|
|
4252
|
-
},
|
|
4230
|
+
return Vi(nt({ locale: r }, n));
|
|
4231
|
+
}, Zi = Be(
|
|
4253
4232
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4254
|
-
(e, t = j()) => new
|
|
4255
|
-
ignoreTag:
|
|
4233
|
+
(e, t = j()) => new Ei(e, t, Y().formats, {
|
|
4234
|
+
ignoreTag: Y().ignoreTag
|
|
4256
4235
|
})
|
|
4257
|
-
),
|
|
4236
|
+
), Qi = (e, t = {}) => {
|
|
4258
4237
|
var r, n, i, o;
|
|
4259
4238
|
let s = t;
|
|
4260
4239
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4267,9 +4246,9 @@ const ae = (e, t) => {
|
|
|
4267
4246
|
throw new Error(
|
|
4268
4247
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4269
4248
|
);
|
|
4270
|
-
let l =
|
|
4249
|
+
let l = mr(e, u);
|
|
4271
4250
|
if (!l)
|
|
4272
|
-
l = (o = (i = (n = (r =
|
|
4251
|
+
l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
|
4273
4252
|
else if (typeof l != "string")
|
|
4274
4253
|
return console.warn(
|
|
4275
4254
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4278,7 +4257,7 @@ const ae = (e, t) => {
|
|
|
4278
4257
|
return l;
|
|
4279
4258
|
let c = l;
|
|
4280
4259
|
try {
|
|
4281
|
-
c =
|
|
4260
|
+
c = Zi(l, u).format(a);
|
|
4282
4261
|
} catch (f) {
|
|
4283
4262
|
f instanceof Error && console.warn(
|
|
4284
4263
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4286,25 +4265,25 @@ const ae = (e, t) => {
|
|
|
4286
4265
|
);
|
|
4287
4266
|
}
|
|
4288
4267
|
return c;
|
|
4289
|
-
},
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4268
|
+
}, Ji = (e, t) => zi(t).format(e), qi = (e, t) => Wi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = j()) => mr(e, t), eo = K([G, ee], () => Qi);
|
|
4269
|
+
K([G], () => Ji);
|
|
4270
|
+
K([G], () => qi);
|
|
4271
|
+
K([G], () => Yi);
|
|
4272
|
+
K([G, ee], () => Ki);
|
|
4294
4273
|
window.emWidgets = { topic: mn };
|
|
4295
|
-
const
|
|
4296
|
-
function
|
|
4274
|
+
const to = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4275
|
+
function ro({ withLocale: e, translations: t }) {
|
|
4297
4276
|
G.subscribe((r) => {
|
|
4298
|
-
r == null && (
|
|
4277
|
+
r == null && (ee.set(t), G.set(e));
|
|
4299
4278
|
});
|
|
4300
4279
|
}
|
|
4301
|
-
function
|
|
4302
|
-
|
|
4280
|
+
function Nt(e, t) {
|
|
4281
|
+
br(e, t);
|
|
4303
4282
|
}
|
|
4304
|
-
function
|
|
4283
|
+
function no(e) {
|
|
4305
4284
|
G.set(e);
|
|
4306
4285
|
}
|
|
4307
|
-
const
|
|
4286
|
+
const Lt = {
|
|
4308
4287
|
en: {
|
|
4309
4288
|
loading: "Loading, please wait ...",
|
|
4310
4289
|
playNow: "Play Now",
|
|
@@ -4314,22 +4293,22 @@ const Mt = {
|
|
|
4314
4293
|
noGamesAvailable: "No games have been configured yet!"
|
|
4315
4294
|
}
|
|
4316
4295
|
};
|
|
4317
|
-
function
|
|
4318
|
-
|
|
4296
|
+
function io(e) {
|
|
4297
|
+
Ar(e, "svelte-grpqez", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
|
|
4319
4298
|
}
|
|
4320
|
-
function
|
|
4299
|
+
function Ct(e, t, r) {
|
|
4321
4300
|
const n = e.slice();
|
|
4322
4301
|
return n[20] = t[r], n;
|
|
4323
4302
|
}
|
|
4324
|
-
function
|
|
4303
|
+
function Mt(e, t, r) {
|
|
4325
4304
|
const n = e.slice();
|
|
4326
4305
|
return n[20] = t[r], n;
|
|
4327
4306
|
}
|
|
4328
|
-
function
|
|
4307
|
+
function $t(e) {
|
|
4329
4308
|
let t, r;
|
|
4330
4309
|
return {
|
|
4331
4310
|
c() {
|
|
4332
|
-
t = O("div"), r = O("casino-tournaments-tab"), H(r, "part", "TournamentGames"), H(r, "tabs", "casino,sports"), H(r, "tab", "casino"), H(r, "tid",
|
|
4311
|
+
t = O("div"), r = O("casino-tournaments-tab"), H(r, "part", "TournamentGames"), H(r, "tabs", "casino,sports"), H(r, "tab", "casino"), H(r, "tid", Ke), H(
|
|
4333
4312
|
r,
|
|
4334
4313
|
"clientstyling",
|
|
4335
4314
|
/*clientstyling*/
|
|
@@ -4344,10 +4323,10 @@ function Gt(e) {
|
|
|
4344
4323
|
"mbsource",
|
|
4345
4324
|
/*mbsource*/
|
|
4346
4325
|
e[2]
|
|
4347
|
-
),
|
|
4326
|
+
), B(t, "class", "GamesTabNav");
|
|
4348
4327
|
},
|
|
4349
4328
|
m(n, i) {
|
|
4350
|
-
F(n, t, i),
|
|
4329
|
+
F(n, t, i), A(t, r);
|
|
4351
4330
|
},
|
|
4352
4331
|
p(n, i) {
|
|
4353
4332
|
i & /*clientstyling*/
|
|
@@ -4375,17 +4354,17 @@ function Gt(e) {
|
|
|
4375
4354
|
}
|
|
4376
4355
|
};
|
|
4377
4356
|
}
|
|
4378
|
-
function
|
|
4357
|
+
function oo(e) {
|
|
4379
4358
|
let t, r = (
|
|
4380
4359
|
/*$_*/
|
|
4381
4360
|
e[8]("noGamesAvailable") + ""
|
|
4382
4361
|
), n;
|
|
4383
4362
|
return {
|
|
4384
4363
|
c() {
|
|
4385
|
-
t = O("div"), n =
|
|
4364
|
+
t = O("div"), n = Z(r), B(t, "class", "NoGames");
|
|
4386
4365
|
},
|
|
4387
4366
|
m(i, o) {
|
|
4388
|
-
F(i, t, o),
|
|
4367
|
+
F(i, t, o), A(t, n);
|
|
4389
4368
|
},
|
|
4390
4369
|
p(i, o) {
|
|
4391
4370
|
o & /*$_*/
|
|
@@ -4397,13 +4376,13 @@ function ao(e) {
|
|
|
4397
4376
|
}
|
|
4398
4377
|
};
|
|
4399
4378
|
}
|
|
4400
|
-
function
|
|
4379
|
+
function so(e) {
|
|
4401
4380
|
let t, r = ye(
|
|
4402
4381
|
/*casinoGames*/
|
|
4403
4382
|
e[7]
|
|
4404
4383
|
), n = [];
|
|
4405
4384
|
for (let i = 0; i < r.length; i += 1)
|
|
4406
|
-
n[i] =
|
|
4385
|
+
n[i] = Rt(Mt(e, r, i));
|
|
4407
4386
|
return {
|
|
4408
4387
|
c() {
|
|
4409
4388
|
for (let i = 0; i < n.length; i += 1)
|
|
@@ -4424,8 +4403,8 @@ function uo(e) {
|
|
|
4424
4403
|
);
|
|
4425
4404
|
let s;
|
|
4426
4405
|
for (s = 0; s < r.length; s += 1) {
|
|
4427
|
-
const a =
|
|
4428
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4406
|
+
const a = Mt(i, r, s);
|
|
4407
|
+
n[s] ? n[s].p(a, o) : (n[s] = Rt(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4429
4408
|
}
|
|
4430
4409
|
for (; s < n.length; s += 1)
|
|
4431
4410
|
n[s].d(1);
|
|
@@ -4433,25 +4412,25 @@ function uo(e) {
|
|
|
4433
4412
|
}
|
|
4434
4413
|
},
|
|
4435
4414
|
d(i) {
|
|
4436
|
-
i && U(t),
|
|
4415
|
+
i && U(t), jt(n, i);
|
|
4437
4416
|
}
|
|
4438
4417
|
};
|
|
4439
4418
|
}
|
|
4440
|
-
function
|
|
4419
|
+
function Rt(e) {
|
|
4441
4420
|
let t, r, n = (
|
|
4442
4421
|
/*$_*/
|
|
4443
4422
|
e[8]("playNow") + ""
|
|
4444
4423
|
), i, o, s, a, u, h, l, c, f;
|
|
4445
4424
|
return {
|
|
4446
4425
|
c() {
|
|
4447
|
-
t = O("div"), r = O("span"), i =
|
|
4426
|
+
t = O("div"), r = O("span"), i = Z(n), o = oe(), s = O("ui-image"), l = oe(), B(r, "class", "PlayNowButton"), lt(s.src, a = /*item*/
|
|
4448
4427
|
e[20].thumbnail) || H(s, "src", a), H(s, "width", "132px"), H(s, "height", "100px"), H(s, "alt", u = /*item*/
|
|
4449
4428
|
e[20].name), H(s, "title", h = /*item*/
|
|
4450
|
-
e[20].name),
|
|
4429
|
+
e[20].name), B(t, "class", "item"), B(t, "role", "button"), B(t, "tabindex", "0");
|
|
4451
4430
|
},
|
|
4452
4431
|
m(d, p) {
|
|
4453
|
-
F(d, t, p),
|
|
4454
|
-
|
|
4432
|
+
F(d, t, p), A(t, r), A(r, i), A(t, o), A(t, s), A(t, l), c || (f = Nr(t, "click", function() {
|
|
4433
|
+
xe(
|
|
4455
4434
|
/*gameClicked*/
|
|
4456
4435
|
e[10](
|
|
4457
4436
|
/*item*/
|
|
@@ -4467,7 +4446,7 @@ function Ut(e) {
|
|
|
4467
4446
|
e = d, p & /*$_*/
|
|
4468
4447
|
256 && n !== (n = /*$_*/
|
|
4469
4448
|
e[8]("playNow") + "") && ve(i, n), p & /*casinoGames*/
|
|
4470
|
-
128 && !
|
|
4449
|
+
128 && !lt(s.src, a = /*item*/
|
|
4471
4450
|
e[20].thumbnail) && H(s, "src", a), p & /*casinoGames*/
|
|
4472
4451
|
128 && u !== (u = /*item*/
|
|
4473
4452
|
e[20].name) && H(s, "alt", u), p & /*casinoGames*/
|
|
@@ -4479,7 +4458,7 @@ function Ut(e) {
|
|
|
4479
4458
|
}
|
|
4480
4459
|
};
|
|
4481
4460
|
}
|
|
4482
|
-
function
|
|
4461
|
+
function Gt(e) {
|
|
4483
4462
|
let t, r = (
|
|
4484
4463
|
/*item*/
|
|
4485
4464
|
e[20].rule + ""
|
|
@@ -4489,10 +4468,10 @@ function Dt(e) {
|
|
|
4489
4468
|
), s;
|
|
4490
4469
|
return {
|
|
4491
4470
|
c() {
|
|
4492
|
-
t = O("li"), n =
|
|
4471
|
+
t = O("li"), n = Z(r), i = oe(), s = Z(o), B(t, "part", "li"), B(t, "class", "Market");
|
|
4493
4472
|
},
|
|
4494
4473
|
m(a, u) {
|
|
4495
|
-
F(a, t, u),
|
|
4474
|
+
F(a, t, u), A(t, n), A(t, i), A(t, s);
|
|
4496
4475
|
},
|
|
4497
4476
|
p(a, u) {
|
|
4498
4477
|
u & /*sportsRules*/
|
|
@@ -4506,104 +4485,104 @@ function Dt(e) {
|
|
|
4506
4485
|
}
|
|
4507
4486
|
};
|
|
4508
4487
|
}
|
|
4509
|
-
function
|
|
4510
|
-
var
|
|
4488
|
+
function ao(e) {
|
|
4489
|
+
var N, L;
|
|
4511
4490
|
let t, r, n, i, o, s, a, u, h, l, c = (
|
|
4512
4491
|
/*tournamentdetails*/
|
|
4513
4492
|
e[3] && /*tournamentdetails*/
|
|
4514
|
-
((
|
|
4515
|
-
((L = e[3].wallet) == null ? void 0 : L.casino) &&
|
|
4493
|
+
((N = e[3].wallet) == null ? void 0 : N.sports) && /*tournamentdetails*/
|
|
4494
|
+
((L = e[3].wallet) == null ? void 0 : L.casino) && $t(e)
|
|
4516
4495
|
);
|
|
4517
4496
|
function f(b, w) {
|
|
4518
|
-
var
|
|
4497
|
+
var S;
|
|
4519
4498
|
return (
|
|
4520
4499
|
/*casinoGames*/
|
|
4521
|
-
(
|
|
4500
|
+
(S = b[7]) != null && S.length ? so : oo
|
|
4522
4501
|
);
|
|
4523
4502
|
}
|
|
4524
4503
|
let d = f(e), p = d(e), g = ye(
|
|
4525
4504
|
/*sportsRules*/
|
|
4526
4505
|
e[6]
|
|
4527
|
-
),
|
|
4506
|
+
), E = [];
|
|
4528
4507
|
for (let b = 0; b < g.length; b += 1)
|
|
4529
|
-
|
|
4508
|
+
E[b] = Gt(Ct(e, g, b));
|
|
4530
4509
|
return {
|
|
4531
4510
|
c() {
|
|
4532
|
-
t = O("div"), c && c.c(), r =
|
|
4533
|
-
for (let b = 0; b <
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
(e[5] != "casino" ? "hidden" : "")),
|
|
4537
|
-
(e[5] != "sports" ? "hidden" : "")),
|
|
4511
|
+
t = O("div"), c && c.c(), r = oe(), n = O("div"), i = O("div"), o = O("div"), p.c(), a = oe(), u = O("div"), h = O("ul");
|
|
4512
|
+
for (let b = 0; b < E.length; b += 1)
|
|
4513
|
+
E[b].c();
|
|
4514
|
+
B(o, "class", "GameList items"), B(i, "class", s = "TabContent GamesContent " + /*activeTab*/
|
|
4515
|
+
(e[5] != "casino" ? "hidden" : "")), B(h, "class", "SportsPage"), B(u, "class", l = "TabContent GamesContent " + /*activeTab*/
|
|
4516
|
+
(e[5] != "sports" ? "hidden" : "")), B(n, "class", "GamesWrapper"), B(t, "class", to(
|
|
4538
4517
|
/*userAgent*/
|
|
4539
4518
|
e[9]
|
|
4540
4519
|
) ? "MobileClass" : "");
|
|
4541
4520
|
},
|
|
4542
4521
|
m(b, w) {
|
|
4543
|
-
F(b, t, w), c && c.m(t, null),
|
|
4544
|
-
for (let
|
|
4545
|
-
|
|
4522
|
+
F(b, t, w), c && c.m(t, null), A(t, r), A(t, n), A(n, i), A(i, o), p.m(o, null), A(n, a), A(n, u), A(u, h);
|
|
4523
|
+
for (let S = 0; S < E.length; S += 1)
|
|
4524
|
+
E[S] && E[S].m(h, null);
|
|
4546
4525
|
e[13](t);
|
|
4547
4526
|
},
|
|
4548
4527
|
p(b, [w]) {
|
|
4549
|
-
var
|
|
4528
|
+
var S, m;
|
|
4550
4529
|
if (/*tournamentdetails*/
|
|
4551
4530
|
b[3] && /*tournamentdetails*/
|
|
4552
|
-
((
|
|
4553
|
-
((m = b[3].wallet) != null && m.casino) ? c ? c.p(b, w) : (c =
|
|
4531
|
+
((S = b[3].wallet) != null && S.sports) && /*tournamentdetails*/
|
|
4532
|
+
((m = b[3].wallet) != null && m.casino) ? c ? c.p(b, w) : (c = $t(b), c.c(), c.m(t, r)) : c && (c.d(1), c = null), d === (d = f(b)) && p ? p.p(b, w) : (p.d(1), p = d(b), p && (p.c(), p.m(o, null))), w & /*activeTab*/
|
|
4554
4533
|
32 && s !== (s = "TabContent GamesContent " + /*activeTab*/
|
|
4555
|
-
(b[5] != "casino" ? "hidden" : "")) &&
|
|
4534
|
+
(b[5] != "casino" ? "hidden" : "")) && B(i, "class", s), w & /*$_, sportsRules*/
|
|
4556
4535
|
320) {
|
|
4557
4536
|
g = ye(
|
|
4558
4537
|
/*sportsRules*/
|
|
4559
4538
|
b[6]
|
|
4560
4539
|
);
|
|
4561
|
-
let
|
|
4562
|
-
for (
|
|
4563
|
-
const
|
|
4564
|
-
|
|
4540
|
+
let T;
|
|
4541
|
+
for (T = 0; T < g.length; T += 1) {
|
|
4542
|
+
const re = Ct(b, g, T);
|
|
4543
|
+
E[T] ? E[T].p(re, w) : (E[T] = Gt(re), E[T].c(), E[T].m(h, null));
|
|
4565
4544
|
}
|
|
4566
|
-
for (;
|
|
4567
|
-
|
|
4568
|
-
|
|
4545
|
+
for (; T < E.length; T += 1)
|
|
4546
|
+
E[T].d(1);
|
|
4547
|
+
E.length = g.length;
|
|
4569
4548
|
}
|
|
4570
4549
|
w & /*activeTab*/
|
|
4571
4550
|
32 && l !== (l = "TabContent GamesContent " + /*activeTab*/
|
|
4572
|
-
(b[5] != "sports" ? "hidden" : "")) &&
|
|
4551
|
+
(b[5] != "sports" ? "hidden" : "")) && B(u, "class", l);
|
|
4573
4552
|
},
|
|
4574
4553
|
i: C,
|
|
4575
4554
|
o: C,
|
|
4576
4555
|
d(b) {
|
|
4577
|
-
b && U(t), c && c.d(), p.d(),
|
|
4556
|
+
b && U(t), c && c.d(), p.d(), jt(E, b), e[13](null);
|
|
4578
4557
|
}
|
|
4579
4558
|
};
|
|
4580
4559
|
}
|
|
4581
|
-
let
|
|
4582
|
-
function
|
|
4560
|
+
let Ke = "gameTab";
|
|
4561
|
+
function uo(e, t, r) {
|
|
4583
4562
|
let n;
|
|
4584
|
-
Br(e,
|
|
4563
|
+
Br(e, eo, (m) => r(8, n = m));
|
|
4585
4564
|
let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { translationurl: a } = t, { lang: u = "en" } = t, h = "casino", l = [], c = [], f, d = window.navigator.userAgent, p;
|
|
4586
|
-
|
|
4565
|
+
ro({ withLocale: "en", translations: {} });
|
|
4587
4566
|
const g = () => {
|
|
4588
4567
|
fetch(a).then((m) => m.json()).then((m) => {
|
|
4589
|
-
Object.keys(m).forEach((
|
|
4590
|
-
|
|
4568
|
+
Object.keys(m).forEach((T) => {
|
|
4569
|
+
Nt(T, m[T]);
|
|
4591
4570
|
});
|
|
4592
4571
|
}).catch((m) => {
|
|
4593
4572
|
console.log(m);
|
|
4594
4573
|
});
|
|
4595
4574
|
};
|
|
4596
|
-
Object.keys(
|
|
4597
|
-
|
|
4575
|
+
Object.keys(Lt).forEach((m) => {
|
|
4576
|
+
Nt(m, Lt[m]);
|
|
4598
4577
|
});
|
|
4599
|
-
const
|
|
4600
|
-
|
|
4578
|
+
const E = () => {
|
|
4579
|
+
no(u), setTimeout(
|
|
4601
4580
|
() => {
|
|
4602
|
-
|
|
4581
|
+
N();
|
|
4603
4582
|
},
|
|
4604
4583
|
10
|
|
4605
4584
|
);
|
|
4606
|
-
},
|
|
4585
|
+
}, N = () => {
|
|
4607
4586
|
window.postMessage(
|
|
4608
4587
|
{
|
|
4609
4588
|
type: "TournamentsTabsLocalize",
|
|
@@ -4625,9 +4604,9 @@ function lo(e, t, r) {
|
|
|
4625
4604
|
window.location.href
|
|
4626
4605
|
);
|
|
4627
4606
|
}, b = () => {
|
|
4628
|
-
var
|
|
4629
|
-
r(7, c = ((
|
|
4630
|
-
const m = (
|
|
4607
|
+
var T, re, it;
|
|
4608
|
+
r(7, c = ((T = f.games) == null ? void 0 : T.items) || []);
|
|
4609
|
+
const m = (it = (re = f.metadata) == null ? void 0 : re.sports) == null ? void 0 : it.rules;
|
|
4631
4610
|
if (m) {
|
|
4632
4611
|
r(5, h = f.wallet.casino ? "casino" : "sports");
|
|
4633
4612
|
try {
|
|
@@ -4640,13 +4619,13 @@ function lo(e, t, r) {
|
|
|
4640
4619
|
}, w = (m) => {
|
|
4641
4620
|
if (!m.data || !m.data.type)
|
|
4642
4621
|
return;
|
|
4643
|
-
const
|
|
4622
|
+
const T = m.data.tid || "";
|
|
4644
4623
|
switch (m.data.type) {
|
|
4645
4624
|
case "TournamentsTabSwitch":
|
|
4646
|
-
|
|
4625
|
+
T === Ke && r(5, h = m.data.tab);
|
|
4647
4626
|
break;
|
|
4648
4627
|
case "TournamentsTabListenerLoaded":
|
|
4649
|
-
|
|
4628
|
+
N();
|
|
4650
4629
|
break;
|
|
4651
4630
|
case "TournamentsGamesUpdate":
|
|
4652
4631
|
r(3, f = m.data.details), b();
|
|
@@ -4656,17 +4635,17 @@ function lo(e, t, r) {
|
|
|
4656
4635
|
break;
|
|
4657
4636
|
}
|
|
4658
4637
|
};
|
|
4659
|
-
|
|
4638
|
+
$r(() => (window.postMessage(
|
|
4660
4639
|
{
|
|
4661
4640
|
type: "TournamentsGamesListenerLoaded",
|
|
4662
|
-
gamesTabTid:
|
|
4641
|
+
gamesTabTid: Ke
|
|
4663
4642
|
},
|
|
4664
4643
|
window.location.href
|
|
4665
4644
|
), window.addEventListener("message", w, !1), () => {
|
|
4666
4645
|
window.removeEventListener("message", w);
|
|
4667
4646
|
}));
|
|
4668
|
-
function
|
|
4669
|
-
|
|
4647
|
+
function S(m) {
|
|
4648
|
+
Re[m ? "unshift" : "push"](() => {
|
|
4670
4649
|
p = m, r(4, p);
|
|
4671
4650
|
});
|
|
4672
4651
|
}
|
|
@@ -4675,11 +4654,11 @@ function lo(e, t, r) {
|
|
|
4675
4654
|
}, e.$$.update = () => {
|
|
4676
4655
|
e.$$.dirty & /*tournamentdetails*/
|
|
4677
4656
|
8 && f && b(), e.$$.dirty & /*lang*/
|
|
4678
|
-
4096 && u &&
|
|
4657
|
+
4096 && u && E(), e.$$.dirty & /*translationurl*/
|
|
4679
4658
|
2048 && a && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4680
|
-
17 && i && p &&
|
|
4681
|
-
18 && o && p &&
|
|
4682
|
-
20 && s && p &&
|
|
4659
|
+
17 && i && p && Jr(p, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4660
|
+
18 && o && p && qr(p, o), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4661
|
+
20 && s && p && Yr(p, `${s}.Style`);
|
|
4683
4662
|
}, [
|
|
4684
4663
|
i,
|
|
4685
4664
|
o,
|
|
@@ -4694,17 +4673,17 @@ function lo(e, t, r) {
|
|
|
4694
4673
|
L,
|
|
4695
4674
|
a,
|
|
4696
4675
|
u,
|
|
4697
|
-
|
|
4676
|
+
S
|
|
4698
4677
|
];
|
|
4699
4678
|
}
|
|
4700
|
-
class
|
|
4679
|
+
class ho extends Zr {
|
|
4701
4680
|
constructor(t) {
|
|
4702
|
-
super(),
|
|
4681
|
+
super(), Wr(
|
|
4703
4682
|
this,
|
|
4704
4683
|
t,
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4684
|
+
uo,
|
|
4685
|
+
ao,
|
|
4686
|
+
Dt,
|
|
4708
4687
|
{
|
|
4709
4688
|
clientstyling: 0,
|
|
4710
4689
|
clientstylingurl: 1,
|
|
@@ -4712,7 +4691,7 @@ class co extends Qr {
|
|
|
4712
4691
|
translationurl: 11,
|
|
4713
4692
|
lang: 12
|
|
4714
4693
|
},
|
|
4715
|
-
|
|
4694
|
+
io
|
|
4716
4695
|
);
|
|
4717
4696
|
}
|
|
4718
4697
|
get clientstyling() {
|
|
@@ -4746,7 +4725,7 @@ class co extends Qr {
|
|
|
4746
4725
|
this.$$set({ lang: t }), D();
|
|
4747
4726
|
}
|
|
4748
4727
|
}
|
|
4749
|
-
|
|
4728
|
+
zr(ho, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
|
|
4750
4729
|
export {
|
|
4751
|
-
|
|
4730
|
+
ho as default
|
|
4752
4731
|
};
|