@everymatrix/player-account-gaming-limits-group-edit 1.86.2 → 1.86.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Bg8Q2dBa.js → PlayerAccountGamingLimitsConfirmationModal-BVEN_jud.js} +819 -840
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DLTfnyHJ.js → PlayerAccountGamingLimitsConfirmationModal-CVGOp2-3.js} +836 -857
- package/components/PlayerAccountGamingLimitsConfirmationModal-DYGdK0WH.cjs +21 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-DAfY6GRn.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-CN09QvR3.js → PlayerAccountGamingLimitsGroupEdit-Dq_1FOCu.js} +52 -50
- package/components/{PlayerAccountGamingLimitsGroupEdit-BCX8sKN5.js → PlayerAccountGamingLimitsGroupEdit-WaIZuAGr.js} +50 -48
- package/components/{PlayerAccountGamingLimitsPopup-CYNiCT4V.cjs → PlayerAccountGamingLimitsPopup-BZZuMY5A.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-C_bPAPGM.js → PlayerAccountGamingLimitsPopup-Bj5UkSx2.js} +25 -25
- package/components/{PlayerAccountGamingLimitsPopup-B0rlP5n4.js → PlayerAccountGamingLimitsPopup-Bky-tUde.js} +30 -30
- package/components/{PlayerAccountModal-C7p2GDVY.js → PlayerAccountModal-C0OJZpCU.js} +26 -26
- package/components/{PlayerAccountModal-Czp7qlo-.js → PlayerAccountModal-Ctf9UtlE.js} +26 -26
- package/components/{PlayerAccountModal-4fKW33kt.cjs → PlayerAccountModal-DigoUFYy.cjs} +1 -1
- package/es2015/player-account-gaming-limits-group-edit.cjs +1 -1
- package/es2015/player-account-gaming-limits-group-edit.js +1 -1
- package/esnext/player-account-gaming-limits-group-edit.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-BQRpJqej.cjs +0 -21
- package/components/PlayerAccountGamingLimitsGroupEdit-0kwlLjjE.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
function
|
|
1
|
+
function O() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const Tr = (e) => e;
|
|
4
|
+
function Hr(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,46 +9,46 @@ function Cr(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function $t(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function lt() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function U(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach($t);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Ee(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Rt(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function Cr(e) {
|
|
28
28
|
return Object.keys(e).length === 0;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Gt(e, ...t) {
|
|
31
31
|
if (e == null) {
|
|
32
32
|
for (const n of t)
|
|
33
33
|
n(void 0);
|
|
34
|
-
return
|
|
34
|
+
return O;
|
|
35
35
|
}
|
|
36
36
|
const r = e.subscribe(...t);
|
|
37
37
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
38
38
|
}
|
|
39
39
|
function Br(e, t, r) {
|
|
40
|
-
e.$$.on_destroy.push(
|
|
40
|
+
e.$$.on_destroy.push(Gt(t, r));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Ar(e, t, r, n) {
|
|
43
43
|
if (e) {
|
|
44
|
-
const i =
|
|
44
|
+
const i = Ut(e, t, r, n);
|
|
45
45
|
return e[0](i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return e[1] && n ?
|
|
48
|
+
function Ut(e, t, r, n) {
|
|
49
|
+
return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Pr(e, t, r, n) {
|
|
52
52
|
if (e[2] && n) {
|
|
53
53
|
const i = e[2](n(r));
|
|
54
54
|
if (t.dirty === void 0)
|
|
@@ -65,11 +65,11 @@ function Or(e, t, r, n) {
|
|
|
65
65
|
}
|
|
66
66
|
function Lr(e, t, r, n, i, o) {
|
|
67
67
|
if (i) {
|
|
68
|
-
const a =
|
|
68
|
+
const a = Ut(t, r, n, o);
|
|
69
69
|
e.p(a, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Or(e) {
|
|
73
73
|
if (e.ctx.length > 32) {
|
|
74
74
|
const t = [], r = e.ctx.length / 32;
|
|
75
75
|
for (let n = 0; n < r; n++)
|
|
@@ -78,17 +78,17 @@ function Ir(e) {
|
|
|
78
78
|
}
|
|
79
79
|
return -1;
|
|
80
80
|
}
|
|
81
|
-
const
|
|
82
|
-
let
|
|
81
|
+
const Dt = typeof window < "u";
|
|
82
|
+
let Ir = Dt ? () => window.performance.now() : () => Date.now(), tt = Dt ? (e) => requestAnimationFrame(e) : O;
|
|
83
83
|
const X = /* @__PURE__ */ new Set();
|
|
84
|
-
function
|
|
84
|
+
function Ft(e) {
|
|
85
85
|
X.forEach((t) => {
|
|
86
86
|
t.c(e) || (X.delete(t), t.f());
|
|
87
|
-
}), X.size !== 0 &&
|
|
87
|
+
}), X.size !== 0 && tt(Ft);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Mr(e) {
|
|
90
90
|
let t;
|
|
91
|
-
return X.size === 0 &&
|
|
91
|
+
return X.size === 0 && tt(Ft), {
|
|
92
92
|
promise: new Promise((r) => {
|
|
93
93
|
X.add(t = { c: e, f: r });
|
|
94
94
|
}),
|
|
@@ -100,14 +100,14 @@ function Nr(e) {
|
|
|
100
100
|
function P(e, t) {
|
|
101
101
|
e.appendChild(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
const n =
|
|
103
|
+
function Nr(e, t, r) {
|
|
104
|
+
const n = rt(e);
|
|
105
105
|
if (!n.getElementById(t)) {
|
|
106
106
|
const i = I("style");
|
|
107
|
-
i.id = t, i.textContent = r,
|
|
107
|
+
i.id = t, i.textContent = r, jt(n, i);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function rt(e) {
|
|
111
111
|
if (!e)
|
|
112
112
|
return document;
|
|
113
113
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -117,46 +117,46 @@ function st(e) {
|
|
|
117
117
|
t
|
|
118
118
|
) : e.ownerDocument;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function $r(e) {
|
|
121
121
|
const t = I("style");
|
|
122
|
-
return t.textContent = "/* empty */",
|
|
122
|
+
return t.textContent = "/* empty */", jt(rt(e), t), t.sheet;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function jt(e, t) {
|
|
125
125
|
return P(
|
|
126
126
|
/** @type {Document} */
|
|
127
127
|
e.head || e,
|
|
128
128
|
t
|
|
129
129
|
), t.sheet;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function nt(e, t, r) {
|
|
132
132
|
e.insertBefore(t, r || null);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function ue(e) {
|
|
135
135
|
e.parentNode && e.parentNode.removeChild(e);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function vo(e, t) {
|
|
138
138
|
for (let r = 0; r < e.length; r += 1)
|
|
139
139
|
e[r] && e[r].d(t);
|
|
140
140
|
}
|
|
141
141
|
function I(e) {
|
|
142
142
|
return document.createElement(e);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function ht(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function ne(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
return
|
|
150
|
+
function Be() {
|
|
151
|
+
return ne(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
153
|
+
function _o() {
|
|
154
|
+
return ne("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Ae(e, t, r, n) {
|
|
157
157
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function xo(e) {
|
|
160
160
|
return function(t) {
|
|
161
161
|
return t.preventDefault(), e.call(this, t);
|
|
162
162
|
};
|
|
@@ -164,24 +164,24 @@ function wo(e) {
|
|
|
164
164
|
function H(e, t, r) {
|
|
165
165
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function Eo(e, t, r) {
|
|
168
168
|
const n = t.toLowerCase();
|
|
169
169
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function wo(e) {
|
|
172
172
|
return e === "" ? null : +e;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Rr(e) {
|
|
175
175
|
return Array.from(e.childNodes);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Pe(e, t) {
|
|
178
178
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
179
179
|
t);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function So(e, t) {
|
|
182
182
|
e.value = t ?? "";
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function To(e, t, r) {
|
|
185
185
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
186
186
|
const i = e.options[n];
|
|
187
187
|
if (i.__value === t) {
|
|
@@ -191,14 +191,14 @@ function Co(e, t, r) {
|
|
|
191
191
|
}
|
|
192
192
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Ho(e) {
|
|
195
195
|
const t = e.querySelector(":checked");
|
|
196
196
|
return t && t.__value;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Gr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
199
199
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function Ur(e) {
|
|
202
202
|
const t = {};
|
|
203
203
|
return e.childNodes.forEach(
|
|
204
204
|
/** @param {Element} node */
|
|
@@ -209,17 +209,17 @@ function Dr(e) {
|
|
|
209
209
|
}
|
|
210
210
|
const ge = /* @__PURE__ */ new Map();
|
|
211
211
|
let ye = 0;
|
|
212
|
-
function
|
|
212
|
+
function Dr(e) {
|
|
213
213
|
let t = 5381, r = e.length;
|
|
214
214
|
for (; r--; )
|
|
215
215
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
216
216
|
return t >>> 0;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
const r = { stylesheet:
|
|
218
|
+
function Fr(e, t) {
|
|
219
|
+
const r = { stylesheet: $r(t), rules: {} };
|
|
220
220
|
return ge.set(e, r), r;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function ct(e, t, r, n, i, o, a, s = 0) {
|
|
223
223
|
const l = 16.666 / n;
|
|
224
224
|
let u = `{
|
|
225
225
|
`;
|
|
@@ -229,126 +229,126 @@ function mt(e, t, r, n, i, o, a, s = 0) {
|
|
|
229
229
|
`;
|
|
230
230
|
}
|
|
231
231
|
const h = u + `100% {${a(r, 1 - r)}}
|
|
232
|
-
}`, c = `__svelte_${
|
|
232
|
+
}`, c = `__svelte_${Dr(h)}_${s}`, f = rt(e), { stylesheet: p, rules: m } = ge.get(f) || Fr(f, e);
|
|
233
233
|
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
234
234
|
const d = e.style.animation || "";
|
|
235
235
|
return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, ye += 1, c;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function jr(e, t) {
|
|
238
238
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
239
239
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
240
240
|
// remove all Svelte animations
|
|
241
241
|
), i = r.length - n.length;
|
|
242
|
-
i && (e.style.animation = n.join(", "), ye -= i, ye ||
|
|
242
|
+
i && (e.style.animation = n.join(", "), ye -= i, ye || kr());
|
|
243
243
|
}
|
|
244
|
-
function
|
|
245
|
-
|
|
244
|
+
function kr() {
|
|
245
|
+
tt(() => {
|
|
246
246
|
ye || (ge.forEach((e) => {
|
|
247
247
|
const { ownerNode: t } = e.stylesheet;
|
|
248
|
-
t &&
|
|
248
|
+
t && ue(t);
|
|
249
249
|
}), ge.clear());
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
let
|
|
253
|
-
function
|
|
254
|
-
|
|
252
|
+
let oe;
|
|
253
|
+
function ie(e) {
|
|
254
|
+
oe = e;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
257
|
-
if (!
|
|
256
|
+
function Vr() {
|
|
257
|
+
if (!oe)
|
|
258
258
|
throw new Error("Function called outside component initialization");
|
|
259
|
-
return
|
|
259
|
+
return oe;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
|
|
261
|
+
function Xr(e) {
|
|
262
|
+
Vr().$$.on_mount.push(e);
|
|
263
263
|
}
|
|
264
|
-
const V = [],
|
|
264
|
+
const V = [], De = [];
|
|
265
265
|
let z = [];
|
|
266
|
-
const
|
|
267
|
-
let
|
|
268
|
-
function
|
|
269
|
-
|
|
266
|
+
const ft = [], zr = /* @__PURE__ */ Promise.resolve();
|
|
267
|
+
let Fe = !1;
|
|
268
|
+
function Wr() {
|
|
269
|
+
Fe || (Fe = !0, zr.then(M));
|
|
270
270
|
}
|
|
271
271
|
function ve(e) {
|
|
272
272
|
z.push(e);
|
|
273
273
|
}
|
|
274
|
-
const
|
|
274
|
+
const Le = /* @__PURE__ */ new Set();
|
|
275
275
|
let j = 0;
|
|
276
|
-
function
|
|
276
|
+
function M() {
|
|
277
277
|
if (j !== 0)
|
|
278
278
|
return;
|
|
279
|
-
const e =
|
|
279
|
+
const e = oe;
|
|
280
280
|
do {
|
|
281
281
|
try {
|
|
282
282
|
for (; j < V.length; ) {
|
|
283
283
|
const t = V[j];
|
|
284
|
-
j++,
|
|
284
|
+
j++, ie(t), Zr(t.$$);
|
|
285
285
|
}
|
|
286
286
|
} catch (t) {
|
|
287
287
|
throw V.length = 0, j = 0, t;
|
|
288
288
|
}
|
|
289
|
-
for (
|
|
290
|
-
|
|
289
|
+
for (ie(null), V.length = 0, j = 0; De.length; )
|
|
290
|
+
De.pop()();
|
|
291
291
|
for (let t = 0; t < z.length; t += 1) {
|
|
292
292
|
const r = z[t];
|
|
293
|
-
|
|
293
|
+
Le.has(r) || (Le.add(r), r());
|
|
294
294
|
}
|
|
295
295
|
z.length = 0;
|
|
296
296
|
} while (V.length);
|
|
297
|
-
for (;
|
|
298
|
-
|
|
299
|
-
|
|
297
|
+
for (; ft.length; )
|
|
298
|
+
ft.pop()();
|
|
299
|
+
Fe = !1, Le.clear(), ie(e);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Zr(e) {
|
|
302
302
|
if (e.fragment !== null) {
|
|
303
303
|
e.update(), U(e.before_update);
|
|
304
304
|
const t = e.dirty;
|
|
305
305
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ve);
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function Qr(e) {
|
|
309
309
|
const t = [], r = [];
|
|
310
310
|
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
311
311
|
}
|
|
312
|
-
let
|
|
313
|
-
function
|
|
314
|
-
return
|
|
315
|
-
|
|
316
|
-
})),
|
|
312
|
+
let te;
|
|
313
|
+
function Jr() {
|
|
314
|
+
return te || (te = Promise.resolve(), te.then(() => {
|
|
315
|
+
te = null;
|
|
316
|
+
})), te;
|
|
317
317
|
}
|
|
318
|
-
function
|
|
319
|
-
e.dispatchEvent(
|
|
318
|
+
function Oe(e, t, r) {
|
|
319
|
+
e.dispatchEvent(Gr(`${t ? "intro" : "outro"}${r}`));
|
|
320
320
|
}
|
|
321
321
|
const fe = /* @__PURE__ */ new Set();
|
|
322
|
-
let
|
|
323
|
-
function
|
|
324
|
-
|
|
322
|
+
let N;
|
|
323
|
+
function Co() {
|
|
324
|
+
N = {
|
|
325
325
|
r: 0,
|
|
326
326
|
c: [],
|
|
327
|
-
p:
|
|
327
|
+
p: N
|
|
328
328
|
// parent group
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
|
|
331
|
+
function Bo() {
|
|
332
|
+
N.r || U(N.c), N = N.p;
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function kt(e, t) {
|
|
335
335
|
e && e.i && (fe.delete(e), e.i(t));
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function qr(e, t, r, n) {
|
|
338
338
|
if (e && e.o) {
|
|
339
339
|
if (fe.has(e))
|
|
340
340
|
return;
|
|
341
|
-
fe.add(e),
|
|
341
|
+
fe.add(e), N.c.push(() => {
|
|
342
342
|
fe.delete(e), n && (r && e.d(1), n());
|
|
343
343
|
}), e.o(t);
|
|
344
344
|
} else
|
|
345
345
|
n && n();
|
|
346
346
|
}
|
|
347
|
-
const
|
|
348
|
-
function
|
|
347
|
+
const Yr = { duration: 0 };
|
|
348
|
+
function Ao(e, t, r, n) {
|
|
349
349
|
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
|
|
350
350
|
function c() {
|
|
351
|
-
u &&
|
|
351
|
+
u && jr(e, u);
|
|
352
352
|
}
|
|
353
353
|
function f(m, d) {
|
|
354
354
|
const v = (
|
|
@@ -369,16 +369,16 @@ function Oo(e, t, r, n) {
|
|
|
369
369
|
const {
|
|
370
370
|
delay: d = 0,
|
|
371
371
|
duration: v = 300,
|
|
372
|
-
easing: T =
|
|
373
|
-
tick: C =
|
|
372
|
+
easing: T = Tr,
|
|
373
|
+
tick: C = O,
|
|
374
374
|
css: S
|
|
375
|
-
} = o ||
|
|
376
|
-
start:
|
|
375
|
+
} = o || Yr, B = {
|
|
376
|
+
start: Ir() + d,
|
|
377
377
|
b: m
|
|
378
378
|
};
|
|
379
|
-
m || (
|
|
380
|
-
e.inert, e.inert = !0)), s || l ? l =
|
|
381
|
-
if (l &&
|
|
379
|
+
m || (B.group = N, N.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
380
|
+
e.inert, e.inert = !0)), s || l ? l = B : (S && (c(), u = ct(e, a, m, v, d, T, S)), m && C(0, 1), s = f(B, v), ve(() => Oe(e, m, "start")), Mr((w) => {
|
|
381
|
+
if (l && w > l.start && (s = f(l, v), l = null, Oe(e, s.b, "start"), S && (c(), u = ct(
|
|
382
382
|
e,
|
|
383
383
|
a,
|
|
384
384
|
s.b,
|
|
@@ -387,11 +387,11 @@ function Oo(e, t, r, n) {
|
|
|
387
387
|
T,
|
|
388
388
|
o.css
|
|
389
389
|
))), s) {
|
|
390
|
-
if (
|
|
391
|
-
C(a = s.b, 1 - a),
|
|
392
|
-
else if (
|
|
393
|
-
const
|
|
394
|
-
a = s.a + s.d * T(
|
|
390
|
+
if (w >= s.end)
|
|
391
|
+
C(a = s.b, 1 - a), Oe(e, s.b, "end"), l || (s.b ? c() : --s.group.r || U(s.group.c)), s = null;
|
|
392
|
+
else if (w >= s.start) {
|
|
393
|
+
const x = w - s.start;
|
|
394
|
+
a = s.a + s.d * T(x / s.duration), C(a, 1 - a);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
return !!(s || l);
|
|
@@ -399,7 +399,7 @@ function Oo(e, t, r, n) {
|
|
|
399
399
|
}
|
|
400
400
|
return {
|
|
401
401
|
run(m) {
|
|
402
|
-
|
|
402
|
+
Ee(o) ? Jr().then(() => {
|
|
403
403
|
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
404
404
|
}) : p(m);
|
|
405
405
|
},
|
|
@@ -408,34 +408,34 @@ function Oo(e, t, r, n) {
|
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function Po(e) {
|
|
412
412
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function Kr(e, t, r) {
|
|
415
415
|
const { fragment: n, after_update: i } = e.$$;
|
|
416
416
|
n && n.m(t, r), ve(() => {
|
|
417
|
-
const o = e.$$.on_mount.map(
|
|
417
|
+
const o = e.$$.on_mount.map($t).filter(Ee);
|
|
418
418
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
|
|
419
419
|
}), i.forEach(ve);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function en(e, t) {
|
|
422
422
|
const r = e.$$;
|
|
423
|
-
r.fragment !== null && (
|
|
423
|
+
r.fragment !== null && (Qr(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
425
|
+
function tn(e, t) {
|
|
426
|
+
e.$$.dirty[0] === -1 && (V.push(e), Wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
427
427
|
}
|
|
428
|
-
function
|
|
429
|
-
const l =
|
|
430
|
-
|
|
428
|
+
function rn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
429
|
+
const l = oe;
|
|
430
|
+
ie(e);
|
|
431
431
|
const u = e.$$ = {
|
|
432
432
|
fragment: null,
|
|
433
433
|
ctx: [],
|
|
434
434
|
// state
|
|
435
435
|
props: o,
|
|
436
|
-
update:
|
|
436
|
+
update: O,
|
|
437
437
|
not_equal: i,
|
|
438
|
-
bound:
|
|
438
|
+
bound: lt(),
|
|
439
439
|
// lifecycle
|
|
440
440
|
on_mount: [],
|
|
441
441
|
on_destroy: [],
|
|
@@ -444,7 +444,7 @@ function nn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
444
444
|
after_update: [],
|
|
445
445
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
446
446
|
// everything else
|
|
447
|
-
callbacks:
|
|
447
|
+
callbacks: lt(),
|
|
448
448
|
dirty: s,
|
|
449
449
|
skip_bound: !1,
|
|
450
450
|
root: t.target || l.$$.root
|
|
@@ -453,19 +453,19 @@ function nn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
453
453
|
let h = !1;
|
|
454
454
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
455
455
|
const m = p.length ? p[0] : f;
|
|
456
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h &&
|
|
456
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && tn(e, c)), f;
|
|
457
457
|
}) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
458
458
|
if (t.hydrate) {
|
|
459
|
-
const c =
|
|
460
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
459
|
+
const c = Rr(t.target);
|
|
460
|
+
u.fragment && u.fragment.l(c), c.forEach(ue);
|
|
461
461
|
} else
|
|
462
462
|
u.fragment && u.fragment.c();
|
|
463
|
-
t.intro &&
|
|
463
|
+
t.intro && kt(e.$$.fragment), Kr(e, t.target, t.anchor), M();
|
|
464
464
|
}
|
|
465
|
-
|
|
465
|
+
ie(l);
|
|
466
466
|
}
|
|
467
|
-
let
|
|
468
|
-
typeof HTMLElement == "function" && (
|
|
467
|
+
let Vt;
|
|
468
|
+
typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
469
469
|
/** The Svelte component constructor */
|
|
470
470
|
$$ctor;
|
|
471
471
|
/** Slots */
|
|
@@ -514,17 +514,17 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
514
514
|
* @param {HTMLElement} [anchor]
|
|
515
515
|
*/
|
|
516
516
|
m: function(l, u) {
|
|
517
|
-
|
|
517
|
+
nt(l, o, u);
|
|
518
518
|
},
|
|
519
519
|
d: function(l) {
|
|
520
|
-
l &&
|
|
520
|
+
l && ue(o);
|
|
521
521
|
}
|
|
522
522
|
};
|
|
523
523
|
};
|
|
524
524
|
};
|
|
525
525
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
526
526
|
return;
|
|
527
|
-
const t = {}, r =
|
|
527
|
+
const t = {}, r = Ur(this);
|
|
528
528
|
for (const i of this.$$s)
|
|
529
529
|
i in r && (t[i] = [e(i)]);
|
|
530
530
|
for (const i of this.attributes) {
|
|
@@ -611,8 +611,8 @@ function me(e, t, r, n) {
|
|
|
611
611
|
return t;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
function
|
|
615
|
-
let a = class extends
|
|
614
|
+
function nn(e, t, r, n, i, o) {
|
|
615
|
+
let a = class extends Vt {
|
|
616
616
|
constructor() {
|
|
617
617
|
super(e, r, i), this.$$p_d = t;
|
|
618
618
|
}
|
|
@@ -640,7 +640,7 @@ function on(e, t, r, n, i, o) {
|
|
|
640
640
|
}), e.element = /** @type {any} */
|
|
641
641
|
a, a;
|
|
642
642
|
}
|
|
643
|
-
class
|
|
643
|
+
class on {
|
|
644
644
|
/**
|
|
645
645
|
* ### PRIVATE API
|
|
646
646
|
*
|
|
@@ -659,7 +659,7 @@ class sn {
|
|
|
659
659
|
$$set = void 0;
|
|
660
660
|
/** @returns {void} */
|
|
661
661
|
$destroy() {
|
|
662
|
-
|
|
662
|
+
en(this, 1), this.$destroy = O;
|
|
663
663
|
}
|
|
664
664
|
/**
|
|
665
665
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -668,8 +668,8 @@ class sn {
|
|
|
668
668
|
* @returns {() => void}
|
|
669
669
|
*/
|
|
670
670
|
$on(t, r) {
|
|
671
|
-
if (!
|
|
672
|
-
return
|
|
671
|
+
if (!Ee(r))
|
|
672
|
+
return O;
|
|
673
673
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
674
674
|
return n.push(r), () => {
|
|
675
675
|
const i = n.indexOf(r);
|
|
@@ -681,11 +681,11 @@ class sn {
|
|
|
681
681
|
* @returns {void}
|
|
682
682
|
*/
|
|
683
683
|
$set(t) {
|
|
684
|
-
this.$$set && !
|
|
684
|
+
this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
|
-
const
|
|
688
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
687
|
+
const sn = "4";
|
|
688
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
|
|
689
689
|
/*! *****************************************************************************
|
|
690
690
|
Copyright (c) Microsoft Corporation.
|
|
691
691
|
|
|
@@ -700,24 +700,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
700
700
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
701
701
|
PERFORMANCE OF THIS SOFTWARE.
|
|
702
702
|
***************************************************************************** */
|
|
703
|
-
var
|
|
704
|
-
return
|
|
703
|
+
var je = function(e, t) {
|
|
704
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
705
705
|
r.__proto__ = n;
|
|
706
706
|
} || function(r, n) {
|
|
707
707
|
for (var i in n)
|
|
708
708
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
709
|
-
},
|
|
709
|
+
}, je(e, t);
|
|
710
710
|
};
|
|
711
|
-
function
|
|
711
|
+
function R(e, t) {
|
|
712
712
|
if (typeof t != "function" && t !== null)
|
|
713
713
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
714
|
-
|
|
714
|
+
je(e, t);
|
|
715
715
|
function r() {
|
|
716
716
|
this.constructor = e;
|
|
717
717
|
}
|
|
718
718
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
var _ = function() {
|
|
721
|
+
return _ = Object.assign || function(t) {
|
|
722
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
723
|
+
r = arguments[n];
|
|
724
|
+
for (var o in r)
|
|
725
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
726
|
+
}
|
|
727
|
+
return t;
|
|
728
|
+
}, _.apply(this, arguments);
|
|
729
|
+
};
|
|
730
|
+
function an(e, t) {
|
|
731
|
+
var r = {};
|
|
732
|
+
for (var n in e)
|
|
733
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
734
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
735
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
736
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
737
|
+
return r;
|
|
738
|
+
}
|
|
739
|
+
function ke(e) {
|
|
721
740
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
722
741
|
if (r)
|
|
723
742
|
return r.call(e);
|
|
@@ -729,7 +748,7 @@ function Xe(e) {
|
|
|
729
748
|
};
|
|
730
749
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
731
750
|
}
|
|
732
|
-
function
|
|
751
|
+
function Ve(e, t) {
|
|
733
752
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
734
753
|
if (!r)
|
|
735
754
|
return e;
|
|
@@ -749,22 +768,22 @@ function ze(e, t) {
|
|
|
749
768
|
}
|
|
750
769
|
return o;
|
|
751
770
|
}
|
|
752
|
-
function
|
|
753
|
-
if (arguments.length === 2)
|
|
771
|
+
function W(e, t, r) {
|
|
772
|
+
if (r || arguments.length === 2)
|
|
754
773
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
755
774
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
756
775
|
return e.concat(o || t);
|
|
757
776
|
}
|
|
758
|
-
function
|
|
777
|
+
function $(e) {
|
|
759
778
|
return typeof e == "function";
|
|
760
779
|
}
|
|
761
|
-
function
|
|
780
|
+
function Xt(e) {
|
|
762
781
|
var t = function(n) {
|
|
763
782
|
Error.call(n), n.stack = new Error().stack;
|
|
764
783
|
}, r = e(t);
|
|
765
784
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
766
785
|
}
|
|
767
|
-
var
|
|
786
|
+
var Ie = Xt(function(e) {
|
|
768
787
|
return function(r) {
|
|
769
788
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
770
789
|
` + r.map(function(n, i) {
|
|
@@ -773,13 +792,13 @@ var Ne = Wt(function(e) {
|
|
|
773
792
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
774
793
|
};
|
|
775
794
|
});
|
|
776
|
-
function
|
|
795
|
+
function Xe(e, t) {
|
|
777
796
|
if (e) {
|
|
778
797
|
var r = e.indexOf(t);
|
|
779
798
|
0 <= r && e.splice(r, 1);
|
|
780
799
|
}
|
|
781
800
|
}
|
|
782
|
-
var
|
|
801
|
+
var we = function() {
|
|
783
802
|
function e(t) {
|
|
784
803
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
785
804
|
}
|
|
@@ -791,7 +810,7 @@ var Se = function() {
|
|
|
791
810
|
if (a)
|
|
792
811
|
if (this._parentage = null, Array.isArray(a))
|
|
793
812
|
try {
|
|
794
|
-
for (var s =
|
|
813
|
+
for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
|
|
795
814
|
var u = l.value;
|
|
796
815
|
u.remove(this);
|
|
797
816
|
}
|
|
@@ -808,22 +827,22 @@ var Se = function() {
|
|
|
808
827
|
else
|
|
809
828
|
a.remove(this);
|
|
810
829
|
var h = this.initialTeardown;
|
|
811
|
-
if (
|
|
830
|
+
if ($(h))
|
|
812
831
|
try {
|
|
813
832
|
h();
|
|
814
833
|
} catch (d) {
|
|
815
|
-
o = d instanceof
|
|
834
|
+
o = d instanceof Ie ? d.errors : [d];
|
|
816
835
|
}
|
|
817
836
|
var c = this._finalizers;
|
|
818
837
|
if (c) {
|
|
819
838
|
this._finalizers = null;
|
|
820
839
|
try {
|
|
821
|
-
for (var f =
|
|
840
|
+
for (var f = ke(c), p = f.next(); !p.done; p = f.next()) {
|
|
822
841
|
var m = p.value;
|
|
823
842
|
try {
|
|
824
|
-
|
|
843
|
+
mt(m);
|
|
825
844
|
} catch (d) {
|
|
826
|
-
o = o ?? [], d instanceof
|
|
845
|
+
o = o ?? [], d instanceof Ie ? o = W(W([], Ve(o)), Ve(d.errors)) : o.push(d);
|
|
827
846
|
}
|
|
828
847
|
}
|
|
829
848
|
} catch (d) {
|
|
@@ -838,13 +857,13 @@ var Se = function() {
|
|
|
838
857
|
}
|
|
839
858
|
}
|
|
840
859
|
if (o)
|
|
841
|
-
throw new
|
|
860
|
+
throw new Ie(o);
|
|
842
861
|
}
|
|
843
862
|
}, e.prototype.add = function(t) {
|
|
844
863
|
var r;
|
|
845
864
|
if (t && t !== this)
|
|
846
865
|
if (this.closed)
|
|
847
|
-
|
|
866
|
+
mt(t);
|
|
848
867
|
else {
|
|
849
868
|
if (t instanceof e) {
|
|
850
869
|
if (t.closed || t._hasParent(this))
|
|
@@ -861,52 +880,56 @@ var Se = function() {
|
|
|
861
880
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
862
881
|
}, e.prototype._removeParent = function(t) {
|
|
863
882
|
var r = this._parentage;
|
|
864
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
883
|
+
r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
|
|
865
884
|
}, e.prototype.remove = function(t) {
|
|
866
885
|
var r = this._finalizers;
|
|
867
|
-
r &&
|
|
886
|
+
r && Xe(r, t), t instanceof e && t._removeParent(this);
|
|
868
887
|
}, e.EMPTY = function() {
|
|
869
888
|
var t = new e();
|
|
870
889
|
return t.closed = !0, t;
|
|
871
890
|
}(), e;
|
|
872
|
-
}(),
|
|
873
|
-
function
|
|
874
|
-
return e instanceof
|
|
875
|
-
}
|
|
876
|
-
function
|
|
877
|
-
|
|
878
|
-
}
|
|
879
|
-
var
|
|
880
|
-
|
|
881
|
-
|
|
891
|
+
}(), zt = we.EMPTY;
|
|
892
|
+
function Wt(e) {
|
|
893
|
+
return e instanceof we || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
894
|
+
}
|
|
895
|
+
function mt(e) {
|
|
896
|
+
$(e) ? e() : e.unsubscribe();
|
|
897
|
+
}
|
|
898
|
+
var Zt = {
|
|
899
|
+
onUnhandledError: null,
|
|
900
|
+
onStoppedNotification: null,
|
|
901
|
+
Promise: void 0,
|
|
902
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
903
|
+
useDeprecatedNextContext: !1
|
|
904
|
+
}, un = {
|
|
882
905
|
setTimeout: function(e, t) {
|
|
883
906
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
884
907
|
r[n - 2] = arguments[n];
|
|
885
|
-
return setTimeout.apply(void 0,
|
|
908
|
+
return setTimeout.apply(void 0, W([e, t], Ve(r)));
|
|
886
909
|
},
|
|
887
910
|
clearTimeout: function(e) {
|
|
888
911
|
return clearTimeout(e);
|
|
889
912
|
},
|
|
890
913
|
delegate: void 0
|
|
891
914
|
};
|
|
892
|
-
function
|
|
893
|
-
|
|
915
|
+
function ln(e) {
|
|
916
|
+
un.setTimeout(function() {
|
|
894
917
|
throw e;
|
|
895
918
|
});
|
|
896
919
|
}
|
|
897
|
-
function
|
|
920
|
+
function pt() {
|
|
898
921
|
}
|
|
899
922
|
function pe(e) {
|
|
900
923
|
e();
|
|
901
924
|
}
|
|
902
|
-
var
|
|
903
|
-
|
|
925
|
+
var Qt = function(e) {
|
|
926
|
+
R(t, e);
|
|
904
927
|
function t(r) {
|
|
905
928
|
var n = e.call(this) || this;
|
|
906
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
929
|
+
return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = mn, n;
|
|
907
930
|
}
|
|
908
931
|
return t.create = function(r, n, i) {
|
|
909
|
-
return new
|
|
932
|
+
return new ze(r, n, i);
|
|
910
933
|
}, t.prototype.next = function(r) {
|
|
911
934
|
this.isStopped || this._next(r);
|
|
912
935
|
}, t.prototype.error = function(r) {
|
|
@@ -930,7 +953,11 @@ var Jt = function(e) {
|
|
|
930
953
|
this.unsubscribe();
|
|
931
954
|
}
|
|
932
955
|
}, t;
|
|
933
|
-
}(
|
|
956
|
+
}(we), hn = Function.prototype.bind;
|
|
957
|
+
function Me(e, t) {
|
|
958
|
+
return hn.call(e, t);
|
|
959
|
+
}
|
|
960
|
+
var cn = function() {
|
|
934
961
|
function e(t) {
|
|
935
962
|
this.partialObserver = t;
|
|
936
963
|
}
|
|
@@ -961,29 +988,41 @@ var Jt = function(e) {
|
|
|
961
988
|
he(r);
|
|
962
989
|
}
|
|
963
990
|
}, e;
|
|
964
|
-
}(),
|
|
965
|
-
|
|
991
|
+
}(), ze = function(e) {
|
|
992
|
+
R(t, e);
|
|
966
993
|
function t(r, n, i) {
|
|
967
994
|
var o = e.call(this) || this, a;
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
995
|
+
if ($(r) || !r)
|
|
996
|
+
a = {
|
|
997
|
+
next: r ?? void 0,
|
|
998
|
+
error: n ?? void 0,
|
|
999
|
+
complete: i ?? void 0
|
|
1000
|
+
};
|
|
1001
|
+
else {
|
|
1002
|
+
var s;
|
|
1003
|
+
o && Zt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
1004
|
+
return o.unsubscribe();
|
|
1005
|
+
}, a = {
|
|
1006
|
+
next: r.next && Me(r.next, s),
|
|
1007
|
+
error: r.error && Me(r.error, s),
|
|
1008
|
+
complete: r.complete && Me(r.complete, s)
|
|
1009
|
+
}) : a = r;
|
|
1010
|
+
}
|
|
1011
|
+
return o.destination = new cn(a), o;
|
|
973
1012
|
}
|
|
974
1013
|
return t;
|
|
975
|
-
}(
|
|
1014
|
+
}(Qt);
|
|
976
1015
|
function he(e) {
|
|
977
|
-
|
|
1016
|
+
ln(e);
|
|
978
1017
|
}
|
|
979
1018
|
function fn(e) {
|
|
980
1019
|
throw e;
|
|
981
1020
|
}
|
|
982
1021
|
var mn = {
|
|
983
1022
|
closed: !0,
|
|
984
|
-
next:
|
|
1023
|
+
next: pt,
|
|
985
1024
|
error: fn,
|
|
986
|
-
complete:
|
|
1025
|
+
complete: pt
|
|
987
1026
|
}, pn = function() {
|
|
988
1027
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
989
1028
|
}();
|
|
@@ -997,7 +1036,7 @@ function bn(e) {
|
|
|
997
1036
|
}, r);
|
|
998
1037
|
};
|
|
999
1038
|
}
|
|
1000
|
-
var
|
|
1039
|
+
var dt = function() {
|
|
1001
1040
|
function e(t) {
|
|
1002
1041
|
t && (this._subscribe = t);
|
|
1003
1042
|
}
|
|
@@ -1005,7 +1044,7 @@ var gt = function() {
|
|
|
1005
1044
|
var r = new e();
|
|
1006
1045
|
return r.source = this, r.operator = t, r;
|
|
1007
1046
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1008
|
-
var i = this, o = yn(t) ? t : new
|
|
1047
|
+
var i = this, o = yn(t) ? t : new ze(t, r, n);
|
|
1009
1048
|
return pe(function() {
|
|
1010
1049
|
var a = i, s = a.operator, l = a.source;
|
|
1011
1050
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1018,8 +1057,8 @@ var gt = function() {
|
|
|
1018
1057
|
}
|
|
1019
1058
|
}, e.prototype.forEach = function(t, r) {
|
|
1020
1059
|
var n = this;
|
|
1021
|
-
return r =
|
|
1022
|
-
var a = new
|
|
1060
|
+
return r = bt(r), new r(function(i, o) {
|
|
1061
|
+
var a = new ze({
|
|
1023
1062
|
next: function(s) {
|
|
1024
1063
|
try {
|
|
1025
1064
|
t(s);
|
|
@@ -1043,7 +1082,7 @@ var gt = function() {
|
|
|
1043
1082
|
return bn(t)(this);
|
|
1044
1083
|
}, e.prototype.toPromise = function(t) {
|
|
1045
1084
|
var r = this;
|
|
1046
|
-
return t =
|
|
1085
|
+
return t = bt(t), new t(function(n, i) {
|
|
1047
1086
|
var o;
|
|
1048
1087
|
r.subscribe(function(a) {
|
|
1049
1088
|
return o = a;
|
|
@@ -1057,28 +1096,28 @@ var gt = function() {
|
|
|
1057
1096
|
return new e(t);
|
|
1058
1097
|
}, e;
|
|
1059
1098
|
}();
|
|
1060
|
-
function
|
|
1099
|
+
function bt(e) {
|
|
1061
1100
|
var t;
|
|
1062
|
-
return (t = e ??
|
|
1101
|
+
return (t = e ?? Zt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1063
1102
|
}
|
|
1064
1103
|
function gn(e) {
|
|
1065
|
-
return e &&
|
|
1104
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
1066
1105
|
}
|
|
1067
1106
|
function yn(e) {
|
|
1068
|
-
return e && e instanceof
|
|
1107
|
+
return e && e instanceof Qt || gn(e) && Wt(e);
|
|
1069
1108
|
}
|
|
1070
|
-
var vn =
|
|
1109
|
+
var vn = Xt(function(e) {
|
|
1071
1110
|
return function() {
|
|
1072
1111
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1073
1112
|
};
|
|
1074
|
-
}),
|
|
1075
|
-
|
|
1113
|
+
}), Jt = function(e) {
|
|
1114
|
+
R(t, e);
|
|
1076
1115
|
function t() {
|
|
1077
1116
|
var r = e.call(this) || this;
|
|
1078
1117
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1079
1118
|
}
|
|
1080
1119
|
return t.prototype.lift = function(r) {
|
|
1081
|
-
var n = new
|
|
1120
|
+
var n = new gt(this, this);
|
|
1082
1121
|
return n.operator = r, n;
|
|
1083
1122
|
}, t.prototype._throwIfClosed = function() {
|
|
1084
1123
|
if (this.closed)
|
|
@@ -1090,7 +1129,7 @@ var vn = Wt(function(e) {
|
|
|
1090
1129
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1091
1130
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1092
1131
|
try {
|
|
1093
|
-
for (var a =
|
|
1132
|
+
for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1094
1133
|
var l = s.value;
|
|
1095
1134
|
l.next(r);
|
|
1096
1135
|
}
|
|
@@ -1139,20 +1178,20 @@ var vn = Wt(function(e) {
|
|
|
1139
1178
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1140
1179
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1141
1180
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1142
|
-
return o || a ?
|
|
1143
|
-
n.currentObservers = null,
|
|
1181
|
+
return o || a ? zt : (this.currentObservers = null, s.push(r), new we(function() {
|
|
1182
|
+
n.currentObservers = null, Xe(s, r);
|
|
1144
1183
|
}));
|
|
1145
1184
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1146
1185
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1147
1186
|
i ? r.error(o) : a && r.complete();
|
|
1148
1187
|
}, t.prototype.asObservable = function() {
|
|
1149
|
-
var r = new
|
|
1188
|
+
var r = new dt();
|
|
1150
1189
|
return r.source = this, r;
|
|
1151
1190
|
}, t.create = function(r, n) {
|
|
1152
|
-
return new
|
|
1191
|
+
return new gt(r, n);
|
|
1153
1192
|
}, t;
|
|
1154
|
-
}(
|
|
1155
|
-
|
|
1193
|
+
}(dt), gt = function(e) {
|
|
1194
|
+
R(t, e);
|
|
1156
1195
|
function t(r, n) {
|
|
1157
1196
|
var i = e.call(this) || this;
|
|
1158
1197
|
return i.destination = r, i.source = n, i;
|
|
@@ -1168,17 +1207,17 @@ var vn = Wt(function(e) {
|
|
|
1168
1207
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1169
1208
|
}, t.prototype._subscribe = function(r) {
|
|
1170
1209
|
var n, i;
|
|
1171
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1210
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
|
|
1172
1211
|
}, t;
|
|
1173
|
-
}(
|
|
1212
|
+
}(Jt), qt = {
|
|
1174
1213
|
now: function() {
|
|
1175
|
-
return (
|
|
1214
|
+
return (qt.delegate || Date).now();
|
|
1176
1215
|
},
|
|
1177
1216
|
delegate: void 0
|
|
1178
1217
|
}, _n = function(e) {
|
|
1179
|
-
|
|
1218
|
+
R(t, e);
|
|
1180
1219
|
function t(r, n, i) {
|
|
1181
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1220
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = qt);
|
|
1182
1221
|
var o = e.call(this) || this;
|
|
1183
1222
|
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;
|
|
1184
1223
|
}
|
|
@@ -1198,24 +1237,24 @@ var vn = Wt(function(e) {
|
|
|
1198
1237
|
u && o.splice(0, u + 1);
|
|
1199
1238
|
}
|
|
1200
1239
|
}, t;
|
|
1201
|
-
}(
|
|
1202
|
-
const
|
|
1203
|
-
if (
|
|
1240
|
+
}(Jt);
|
|
1241
|
+
const yt = [], vt = {}, xn = (e, t = 0) => {
|
|
1242
|
+
if (yt.indexOf(e) == -1) {
|
|
1204
1243
|
const r = new _n(t);
|
|
1205
|
-
|
|
1244
|
+
vt[e] = r, yt.push(e);
|
|
1206
1245
|
}
|
|
1207
|
-
return
|
|
1246
|
+
return vt[e];
|
|
1208
1247
|
}, k = [];
|
|
1209
1248
|
function En(e, t) {
|
|
1210
1249
|
return {
|
|
1211
|
-
subscribe:
|
|
1250
|
+
subscribe: Se(e, t).subscribe
|
|
1212
1251
|
};
|
|
1213
1252
|
}
|
|
1214
|
-
function
|
|
1253
|
+
function Se(e, t = O) {
|
|
1215
1254
|
let r;
|
|
1216
1255
|
const n = /* @__PURE__ */ new Set();
|
|
1217
1256
|
function i(s) {
|
|
1218
|
-
if (
|
|
1257
|
+
if (Rt(e, s) && (e = s, r)) {
|
|
1219
1258
|
const l = !k.length;
|
|
1220
1259
|
for (const u of n)
|
|
1221
1260
|
u[1](), k.push(u, e);
|
|
@@ -1229,15 +1268,15 @@ function Te(e, t = L) {
|
|
|
1229
1268
|
function o(s) {
|
|
1230
1269
|
i(s(e));
|
|
1231
1270
|
}
|
|
1232
|
-
function a(s, l =
|
|
1271
|
+
function a(s, l = O) {
|
|
1233
1272
|
const u = [s, l];
|
|
1234
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1273
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || O), s(e), () => {
|
|
1235
1274
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1236
1275
|
};
|
|
1237
1276
|
}
|
|
1238
1277
|
return { set: i, update: o, subscribe: a };
|
|
1239
1278
|
}
|
|
1240
|
-
function
|
|
1279
|
+
function Y(e, t, r) {
|
|
1241
1280
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1242
1281
|
if (!i.every(Boolean))
|
|
1243
1282
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1245,15 +1284,15 @@ function q(e, t, r) {
|
|
|
1245
1284
|
return En(r, (a, s) => {
|
|
1246
1285
|
let l = !1;
|
|
1247
1286
|
const u = [];
|
|
1248
|
-
let h = 0, c =
|
|
1287
|
+
let h = 0, c = O;
|
|
1249
1288
|
const f = () => {
|
|
1250
1289
|
if (h)
|
|
1251
1290
|
return;
|
|
1252
1291
|
c();
|
|
1253
1292
|
const m = t(n ? u[0] : u, a, s);
|
|
1254
|
-
o ? a(m) : c =
|
|
1293
|
+
o ? a(m) : c = Ee(m) ? m : O;
|
|
1255
1294
|
}, p = i.map(
|
|
1256
|
-
(m, d) =>
|
|
1295
|
+
(m, d) => Gt(
|
|
1257
1296
|
m,
|
|
1258
1297
|
(v) => {
|
|
1259
1298
|
u[d] = v, h &= ~(1 << d), l && f();
|
|
@@ -1279,38 +1318,38 @@ function Tn(e) {
|
|
|
1279
1318
|
}
|
|
1280
1319
|
function Hn(e) {
|
|
1281
1320
|
var t = Object.prototype.toString.call(e);
|
|
1282
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1321
|
+
return t === "[object RegExp]" || t === "[object Date]" || An(e);
|
|
1283
1322
|
}
|
|
1284
|
-
var Cn = typeof Symbol == "function" && Symbol.for,
|
|
1285
|
-
function
|
|
1286
|
-
return e.$$typeof ===
|
|
1323
|
+
var Cn = typeof Symbol == "function" && Symbol.for, Bn = Cn ? Symbol.for("react.element") : 60103;
|
|
1324
|
+
function An(e) {
|
|
1325
|
+
return e.$$typeof === Bn;
|
|
1287
1326
|
}
|
|
1288
1327
|
function Pn(e) {
|
|
1289
1328
|
return Array.isArray(e) ? [] : {};
|
|
1290
1329
|
}
|
|
1291
|
-
function
|
|
1292
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1330
|
+
function se(e, t) {
|
|
1331
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Pn(e), e, t) : e;
|
|
1293
1332
|
}
|
|
1294
|
-
function
|
|
1333
|
+
function Ln(e, t, r) {
|
|
1295
1334
|
return e.concat(t).map(function(n) {
|
|
1296
|
-
return
|
|
1335
|
+
return se(n, r);
|
|
1297
1336
|
});
|
|
1298
1337
|
}
|
|
1299
|
-
function
|
|
1338
|
+
function On(e, t) {
|
|
1300
1339
|
if (!t.customMerge)
|
|
1301
|
-
return
|
|
1340
|
+
return Z;
|
|
1302
1341
|
var r = t.customMerge(e);
|
|
1303
|
-
return typeof r == "function" ? r :
|
|
1342
|
+
return typeof r == "function" ? r : Z;
|
|
1304
1343
|
}
|
|
1305
1344
|
function In(e) {
|
|
1306
1345
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1307
1346
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1308
1347
|
}) : [];
|
|
1309
1348
|
}
|
|
1310
|
-
function
|
|
1349
|
+
function _t(e) {
|
|
1311
1350
|
return Object.keys(e).concat(In(e));
|
|
1312
1351
|
}
|
|
1313
|
-
function
|
|
1352
|
+
function Yt(e, t) {
|
|
1314
1353
|
try {
|
|
1315
1354
|
return t in e;
|
|
1316
1355
|
} catch {
|
|
@@ -1318,179 +1357,129 @@ function Kt(e, t) {
|
|
|
1318
1357
|
}
|
|
1319
1358
|
}
|
|
1320
1359
|
function Mn(e, t) {
|
|
1321
|
-
return
|
|
1360
|
+
return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1322
1361
|
}
|
|
1323
1362
|
function Nn(e, t, r) {
|
|
1324
1363
|
var n = {};
|
|
1325
|
-
return r.isMergeableObject(e) &&
|
|
1326
|
-
n[i] =
|
|
1327
|
-
}),
|
|
1328
|
-
Mn(e, i) || (
|
|
1364
|
+
return r.isMergeableObject(e) && _t(e).forEach(function(i) {
|
|
1365
|
+
n[i] = se(e[i], r);
|
|
1366
|
+
}), _t(t).forEach(function(i) {
|
|
1367
|
+
Mn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
1329
1368
|
}), n;
|
|
1330
1369
|
}
|
|
1331
|
-
function
|
|
1332
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1370
|
+
function Z(e, t, r) {
|
|
1371
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ln, r.isMergeableObject = r.isMergeableObject || Sn, r.cloneUnlessOtherwiseSpecified = se;
|
|
1333
1372
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1334
|
-
return o ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) :
|
|
1373
|
+
return o ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : se(t, r);
|
|
1335
1374
|
}
|
|
1336
|
-
|
|
1375
|
+
Z.all = function(t, r) {
|
|
1337
1376
|
if (!Array.isArray(t))
|
|
1338
1377
|
throw new Error("first argument should be an array");
|
|
1339
1378
|
return t.reduce(function(n, i) {
|
|
1340
|
-
return
|
|
1379
|
+
return Z(n, i, r);
|
|
1341
1380
|
}, {});
|
|
1342
1381
|
};
|
|
1343
|
-
var $n =
|
|
1382
|
+
var $n = Z, Rn = $n;
|
|
1344
1383
|
const Gn = /* @__PURE__ */ wn(Rn);
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
r.__proto__ = n;
|
|
1348
|
-
} || function(r, n) {
|
|
1349
|
-
for (var i in n)
|
|
1350
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1351
|
-
}, Je(e, t);
|
|
1352
|
-
};
|
|
1353
|
-
function He(e, t) {
|
|
1354
|
-
if (typeof t != "function" && t !== null)
|
|
1355
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1356
|
-
Je(e, t);
|
|
1357
|
-
function r() {
|
|
1358
|
-
this.constructor = e;
|
|
1359
|
-
}
|
|
1360
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1361
|
-
}
|
|
1362
|
-
var M = function() {
|
|
1363
|
-
return M = Object.assign || function(t) {
|
|
1364
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1365
|
-
r = arguments[n];
|
|
1366
|
-
for (var o in r)
|
|
1367
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1368
|
-
}
|
|
1369
|
-
return t;
|
|
1370
|
-
}, M.apply(this, arguments);
|
|
1371
|
-
};
|
|
1372
|
-
function Un(e, t) {
|
|
1373
|
-
var r = {};
|
|
1374
|
-
for (var n in e)
|
|
1375
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1376
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1377
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1378
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1379
|
-
return r;
|
|
1380
|
-
}
|
|
1381
|
-
function $e(e, t, r) {
|
|
1382
|
-
if (r || arguments.length === 2)
|
|
1383
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1384
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1385
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1386
|
-
}
|
|
1387
|
-
function Re(e, t) {
|
|
1388
|
-
var r = t && t.cache ? t.cache : zn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : jn;
|
|
1384
|
+
function Ne(e, t) {
|
|
1385
|
+
var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Dn;
|
|
1389
1386
|
return i(e, {
|
|
1390
1387
|
cache: r,
|
|
1391
1388
|
serializer: n
|
|
1392
1389
|
});
|
|
1393
1390
|
}
|
|
1394
|
-
function
|
|
1391
|
+
function Un(e) {
|
|
1395
1392
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1396
1393
|
}
|
|
1397
|
-
function
|
|
1398
|
-
var i =
|
|
1394
|
+
function Kt(e, t, r, n) {
|
|
1395
|
+
var i = Un(n) ? n : r(n), o = t.get(i);
|
|
1399
1396
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1400
1397
|
}
|
|
1401
1398
|
function er(e, t, r) {
|
|
1402
1399
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1403
1400
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1404
1401
|
}
|
|
1405
|
-
function
|
|
1402
|
+
function it(e, t, r, n, i) {
|
|
1406
1403
|
return r.bind(t, e, n, i);
|
|
1407
1404
|
}
|
|
1408
|
-
function
|
|
1409
|
-
var r = e.length === 1 ?
|
|
1410
|
-
return
|
|
1405
|
+
function Dn(e, t) {
|
|
1406
|
+
var r = e.length === 1 ? Kt : er;
|
|
1407
|
+
return it(e, this, r, t.cache.create(), t.serializer);
|
|
1408
|
+
}
|
|
1409
|
+
function Fn(e, t) {
|
|
1410
|
+
return it(e, this, er, t.cache.create(), t.serializer);
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1413
|
-
return
|
|
1412
|
+
function jn(e, t) {
|
|
1413
|
+
return it(e, this, Kt, t.cache.create(), t.serializer);
|
|
1414
1414
|
}
|
|
1415
|
-
var
|
|
1415
|
+
var kn = function() {
|
|
1416
1416
|
return JSON.stringify(arguments);
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
}()
|
|
1429
|
-
), zn = {
|
|
1417
|
+
};
|
|
1418
|
+
function ot() {
|
|
1419
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1420
|
+
}
|
|
1421
|
+
ot.prototype.get = function(e) {
|
|
1422
|
+
return this.cache[e];
|
|
1423
|
+
};
|
|
1424
|
+
ot.prototype.set = function(e, t) {
|
|
1425
|
+
this.cache[e] = t;
|
|
1426
|
+
};
|
|
1427
|
+
var Vn = {
|
|
1430
1428
|
create: function() {
|
|
1431
|
-
return new
|
|
1429
|
+
return new ot();
|
|
1432
1430
|
}
|
|
1433
|
-
},
|
|
1434
|
-
variadic:
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1438
|
-
r = arguments[n];
|
|
1439
|
-
for (var o in r)
|
|
1440
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1441
|
-
}
|
|
1442
|
-
return t;
|
|
1443
|
-
}, _e.apply(this, arguments);
|
|
1444
|
-
};
|
|
1445
|
-
var b;
|
|
1431
|
+
}, $e = {
|
|
1432
|
+
variadic: Fn,
|
|
1433
|
+
monadic: jn
|
|
1434
|
+
}, b;
|
|
1446
1435
|
(function(e) {
|
|
1447
1436
|
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";
|
|
1448
1437
|
})(b || (b = {}));
|
|
1449
|
-
var
|
|
1438
|
+
var E;
|
|
1450
1439
|
(function(e) {
|
|
1451
1440
|
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";
|
|
1452
|
-
})(
|
|
1453
|
-
var
|
|
1441
|
+
})(E || (E = {}));
|
|
1442
|
+
var Q;
|
|
1454
1443
|
(function(e) {
|
|
1455
1444
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1456
|
-
})(
|
|
1457
|
-
function
|
|
1458
|
-
return e.type ===
|
|
1445
|
+
})(Q || (Q = {}));
|
|
1446
|
+
function xt(e) {
|
|
1447
|
+
return e.type === E.literal;
|
|
1448
|
+
}
|
|
1449
|
+
function Xn(e) {
|
|
1450
|
+
return e.type === E.argument;
|
|
1459
1451
|
}
|
|
1460
|
-
function
|
|
1461
|
-
return e.type ===
|
|
1452
|
+
function tr(e) {
|
|
1453
|
+
return e.type === E.number;
|
|
1462
1454
|
}
|
|
1463
1455
|
function rr(e) {
|
|
1464
|
-
return e.type ===
|
|
1456
|
+
return e.type === E.date;
|
|
1465
1457
|
}
|
|
1466
1458
|
function nr(e) {
|
|
1467
|
-
return e.type ===
|
|
1459
|
+
return e.type === E.time;
|
|
1468
1460
|
}
|
|
1469
1461
|
function ir(e) {
|
|
1470
|
-
return e.type ===
|
|
1462
|
+
return e.type === E.select;
|
|
1471
1463
|
}
|
|
1472
1464
|
function or(e) {
|
|
1473
|
-
return e.type ===
|
|
1465
|
+
return e.type === E.plural;
|
|
1474
1466
|
}
|
|
1475
|
-
function
|
|
1476
|
-
return e.type ===
|
|
1467
|
+
function zn(e) {
|
|
1468
|
+
return e.type === E.pound;
|
|
1477
1469
|
}
|
|
1478
|
-
function
|
|
1479
|
-
return e.type ===
|
|
1470
|
+
function sr(e) {
|
|
1471
|
+
return e.type === E.tag;
|
|
1480
1472
|
}
|
|
1481
1473
|
function ar(e) {
|
|
1482
|
-
return e.type ===
|
|
1483
|
-
}
|
|
1484
|
-
function ur(e) {
|
|
1485
|
-
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1474
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1486
1475
|
}
|
|
1487
|
-
function
|
|
1488
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1476
|
+
function We(e) {
|
|
1477
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1489
1478
|
}
|
|
1490
|
-
var
|
|
1491
|
-
function
|
|
1479
|
+
var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[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;
|
|
1480
|
+
function Zn(e) {
|
|
1492
1481
|
var t = {};
|
|
1493
|
-
return e.replace(
|
|
1482
|
+
return e.replace(Wn, function(r) {
|
|
1494
1483
|
var n = r.length;
|
|
1495
1484
|
switch (r[0]) {
|
|
1496
1485
|
case "G":
|
|
@@ -1579,21 +1568,11 @@ function Jn(e) {
|
|
|
1579
1568
|
return "";
|
|
1580
1569
|
}), t;
|
|
1581
1570
|
}
|
|
1582
|
-
var
|
|
1583
|
-
|
|
1584
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1585
|
-
r = arguments[n];
|
|
1586
|
-
for (var o in r)
|
|
1587
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1588
|
-
}
|
|
1589
|
-
return t;
|
|
1590
|
-
}, w.apply(this, arguments);
|
|
1591
|
-
};
|
|
1592
|
-
var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1593
|
-
function Yn(e) {
|
|
1571
|
+
var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1572
|
+
function Jn(e) {
|
|
1594
1573
|
if (e.length === 0)
|
|
1595
1574
|
throw new Error("Number skeleton cannot be empty");
|
|
1596
|
-
for (var t = e.split(
|
|
1575
|
+
for (var t = e.split(Qn).filter(function(f) {
|
|
1597
1576
|
return f.length > 0;
|
|
1598
1577
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1599
1578
|
var o = i[n], a = o.split("/");
|
|
@@ -1608,17 +1587,17 @@ function Yn(e) {
|
|
|
1608
1587
|
}
|
|
1609
1588
|
return r;
|
|
1610
1589
|
}
|
|
1611
|
-
function
|
|
1590
|
+
function qn(e) {
|
|
1612
1591
|
return e.replace(/^(.*?)-/, "");
|
|
1613
1592
|
}
|
|
1614
|
-
var
|
|
1615
|
-
function
|
|
1593
|
+
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
|
|
1594
|
+
function wt(e) {
|
|
1616
1595
|
var t = {};
|
|
1617
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1596
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, n, i) {
|
|
1618
1597
|
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)), "";
|
|
1619
1598
|
}), t;
|
|
1620
1599
|
}
|
|
1621
|
-
function
|
|
1600
|
+
function cr(e) {
|
|
1622
1601
|
switch (e) {
|
|
1623
1602
|
case "sign-auto":
|
|
1624
1603
|
return {
|
|
@@ -1658,7 +1637,7 @@ function fr(e) {
|
|
|
1658
1637
|
};
|
|
1659
1638
|
}
|
|
1660
1639
|
}
|
|
1661
|
-
function
|
|
1640
|
+
function Kn(e) {
|
|
1662
1641
|
var t;
|
|
1663
1642
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1664
1643
|
notation: "engineering"
|
|
@@ -1666,17 +1645,17 @@ function ti(e) {
|
|
|
1666
1645
|
notation: "scientific"
|
|
1667
1646
|
}, e = e.slice(1)), t) {
|
|
1668
1647
|
var r = e.slice(0, 2);
|
|
1669
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1648
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
|
|
1670
1649
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1671
1650
|
t.minimumIntegerDigits = e.length;
|
|
1672
1651
|
}
|
|
1673
1652
|
return t;
|
|
1674
1653
|
}
|
|
1675
|
-
function
|
|
1676
|
-
var t = {}, r =
|
|
1654
|
+
function St(e) {
|
|
1655
|
+
var t = {}, r = cr(e);
|
|
1677
1656
|
return r || t;
|
|
1678
1657
|
}
|
|
1679
|
-
function
|
|
1658
|
+
function ei(e) {
|
|
1680
1659
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1681
1660
|
var i = n[r];
|
|
1682
1661
|
switch (i.stem) {
|
|
@@ -1700,7 +1679,7 @@ function ri(e) {
|
|
|
1700
1679
|
continue;
|
|
1701
1680
|
case "measure-unit":
|
|
1702
1681
|
case "unit":
|
|
1703
|
-
t.style = "unit", t.unit =
|
|
1682
|
+
t.style = "unit", t.unit = qn(i.options[0]);
|
|
1704
1683
|
continue;
|
|
1705
1684
|
case "compact-short":
|
|
1706
1685
|
case "K":
|
|
@@ -1711,13 +1690,13 @@ function ri(e) {
|
|
|
1711
1690
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1712
1691
|
continue;
|
|
1713
1692
|
case "scientific":
|
|
1714
|
-
t =
|
|
1715
|
-
return
|
|
1693
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1694
|
+
return _(_({}, l), St(u));
|
|
1716
1695
|
}, {}));
|
|
1717
1696
|
continue;
|
|
1718
1697
|
case "engineering":
|
|
1719
|
-
t =
|
|
1720
|
-
return
|
|
1698
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1699
|
+
return _(_({}, l), St(u));
|
|
1721
1700
|
}, {}));
|
|
1722
1701
|
continue;
|
|
1723
1702
|
case "notation-simple":
|
|
@@ -1762,7 +1741,7 @@ function ri(e) {
|
|
|
1762
1741
|
case "integer-width":
|
|
1763
1742
|
if (i.options.length > 1)
|
|
1764
1743
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1765
|
-
i.options[0].replace(
|
|
1744
|
+
i.options[0].replace(Yn, function(l, u, h, c, f, p) {
|
|
1766
1745
|
if (u)
|
|
1767
1746
|
t.minimumIntegerDigits = h.length;
|
|
1768
1747
|
else {
|
|
@@ -1775,28 +1754,28 @@ function ri(e) {
|
|
|
1775
1754
|
});
|
|
1776
1755
|
continue;
|
|
1777
1756
|
}
|
|
1778
|
-
if (
|
|
1757
|
+
if (hr.test(i.stem)) {
|
|
1779
1758
|
t.minimumIntegerDigits = i.stem.length;
|
|
1780
1759
|
continue;
|
|
1781
1760
|
}
|
|
1782
|
-
if (
|
|
1761
|
+
if (Et.test(i.stem)) {
|
|
1783
1762
|
if (i.options.length > 1)
|
|
1784
1763
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1785
|
-
i.stem.replace(
|
|
1764
|
+
i.stem.replace(Et, function(l, u, h, c, f, p) {
|
|
1786
1765
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1787
1766
|
});
|
|
1788
1767
|
var o = i.options[0];
|
|
1789
|
-
o === "w" ? t =
|
|
1768
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), wt(o)));
|
|
1790
1769
|
continue;
|
|
1791
1770
|
}
|
|
1792
|
-
if (
|
|
1793
|
-
t =
|
|
1771
|
+
if (lr.test(i.stem)) {
|
|
1772
|
+
t = _(_({}, t), wt(i.stem));
|
|
1794
1773
|
continue;
|
|
1795
1774
|
}
|
|
1796
|
-
var a =
|
|
1797
|
-
a && (t =
|
|
1798
|
-
var s =
|
|
1799
|
-
s && (t =
|
|
1775
|
+
var a = cr(i.stem);
|
|
1776
|
+
a && (t = _(_({}, t), a));
|
|
1777
|
+
var s = Kn(i.stem);
|
|
1778
|
+
s && (t = _(_({}, t), s));
|
|
1800
1779
|
}
|
|
1801
1780
|
return t;
|
|
1802
1781
|
}
|
|
@@ -3215,13 +3194,13 @@ var ce = {
|
|
|
3215
3194
|
"h"
|
|
3216
3195
|
]
|
|
3217
3196
|
};
|
|
3218
|
-
function
|
|
3197
|
+
function ti(e, t) {
|
|
3219
3198
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3220
3199
|
var i = e.charAt(n);
|
|
3221
3200
|
if (i === "j") {
|
|
3222
3201
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3223
3202
|
o++, n++;
|
|
3224
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3203
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ri(t);
|
|
3225
3204
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3226
3205
|
r += l;
|
|
3227
3206
|
for (; a-- > 0; )
|
|
@@ -3231,7 +3210,7 @@ function ni(e, t) {
|
|
|
3231
3210
|
}
|
|
3232
3211
|
return r;
|
|
3233
3212
|
}
|
|
3234
|
-
function
|
|
3213
|
+
function ri(e) {
|
|
3235
3214
|
var t = e.hourCycle;
|
|
3236
3215
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3237
3216
|
e.hourCycles && // @ts-ignore
|
|
@@ -3253,20 +3232,20 @@ function ii(e) {
|
|
|
3253
3232
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3254
3233
|
return i[0];
|
|
3255
3234
|
}
|
|
3256
|
-
var
|
|
3235
|
+
var Re, ni = new RegExp("^".concat(ur.source, "*")), ii = new RegExp("".concat(ur.source, "*$"));
|
|
3257
3236
|
function y(e, t) {
|
|
3258
3237
|
return { start: e, end: t };
|
|
3259
3238
|
}
|
|
3260
|
-
var
|
|
3239
|
+
var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, ui = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
|
|
3261
3240
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3262
|
-
},
|
|
3241
|
+
}, Ze = !0;
|
|
3263
3242
|
try {
|
|
3264
|
-
var
|
|
3265
|
-
|
|
3243
|
+
var mi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3244
|
+
Ze = ((Re = mi.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
|
3266
3245
|
} catch {
|
|
3267
|
-
|
|
3246
|
+
Ze = !1;
|
|
3268
3247
|
}
|
|
3269
|
-
var
|
|
3248
|
+
var Tt = oi ? (
|
|
3270
3249
|
// Native
|
|
3271
3250
|
function(t, r, n) {
|
|
3272
3251
|
return t.startsWith(r, n);
|
|
@@ -3276,7 +3255,7 @@ var Ct = ai ? (
|
|
|
3276
3255
|
function(t, r, n) {
|
|
3277
3256
|
return t.slice(n, n + r.length) === r;
|
|
3278
3257
|
}
|
|
3279
|
-
),
|
|
3258
|
+
), Qe = si ? String.fromCodePoint : (
|
|
3280
3259
|
// IE11
|
|
3281
3260
|
function() {
|
|
3282
3261
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3288,9 +3267,9 @@ var Ct = ai ? (
|
|
|
3288
3267
|
}
|
|
3289
3268
|
return n;
|
|
3290
3269
|
}
|
|
3291
|
-
),
|
|
3270
|
+
), Ht = (
|
|
3292
3271
|
// native
|
|
3293
|
-
|
|
3272
|
+
ai ? Object.fromEntries : (
|
|
3294
3273
|
// Ponyfill
|
|
3295
3274
|
function(t) {
|
|
3296
3275
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3300,7 +3279,7 @@ var Ct = ai ? (
|
|
|
3300
3279
|
return r;
|
|
3301
3280
|
}
|
|
3302
3281
|
)
|
|
3303
|
-
),
|
|
3282
|
+
), fr = ui ? (
|
|
3304
3283
|
// Native
|
|
3305
3284
|
function(t, r) {
|
|
3306
3285
|
return t.codePointAt(r);
|
|
@@ -3314,7 +3293,7 @@ var Ct = ai ? (
|
|
|
3314
3293
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3315
3294
|
}
|
|
3316
3295
|
}
|
|
3317
|
-
),
|
|
3296
|
+
), pi = li ? (
|
|
3318
3297
|
// Native
|
|
3319
3298
|
function(t) {
|
|
3320
3299
|
return t.trimStart();
|
|
@@ -3322,9 +3301,9 @@ var Ct = ai ? (
|
|
|
3322
3301
|
) : (
|
|
3323
3302
|
// Ponyfill
|
|
3324
3303
|
function(t) {
|
|
3325
|
-
return t.replace(
|
|
3304
|
+
return t.replace(ni, "");
|
|
3326
3305
|
}
|
|
3327
|
-
),
|
|
3306
|
+
), di = hi ? (
|
|
3328
3307
|
// Native
|
|
3329
3308
|
function(t) {
|
|
3330
3309
|
return t.trimEnd();
|
|
@@ -3332,32 +3311,32 @@ var Ct = ai ? (
|
|
|
3332
3311
|
) : (
|
|
3333
3312
|
// Ponyfill
|
|
3334
3313
|
function(t) {
|
|
3335
|
-
return t.replace(
|
|
3314
|
+
return t.replace(ii, "");
|
|
3336
3315
|
}
|
|
3337
3316
|
);
|
|
3338
|
-
function
|
|
3317
|
+
function mr(e, t) {
|
|
3339
3318
|
return new RegExp(e, t);
|
|
3340
3319
|
}
|
|
3341
|
-
var
|
|
3342
|
-
if (
|
|
3343
|
-
var
|
|
3344
|
-
|
|
3320
|
+
var Je;
|
|
3321
|
+
if (Ze) {
|
|
3322
|
+
var Ct = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3323
|
+
Je = function(t, r) {
|
|
3345
3324
|
var n;
|
|
3346
|
-
|
|
3347
|
-
var i =
|
|
3325
|
+
Ct.lastIndex = r;
|
|
3326
|
+
var i = Ct.exec(t);
|
|
3348
3327
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3349
3328
|
};
|
|
3350
3329
|
} else
|
|
3351
|
-
|
|
3330
|
+
Je = function(t, r) {
|
|
3352
3331
|
for (var n = []; ; ) {
|
|
3353
|
-
var i =
|
|
3354
|
-
if (i === void 0 ||
|
|
3332
|
+
var i = fr(t, r);
|
|
3333
|
+
if (i === void 0 || pr(i) || vi(i))
|
|
3355
3334
|
break;
|
|
3356
3335
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3357
3336
|
}
|
|
3358
|
-
return
|
|
3337
|
+
return Qe.apply(void 0, n);
|
|
3359
3338
|
};
|
|
3360
|
-
var
|
|
3339
|
+
var bi = (
|
|
3361
3340
|
/** @class */
|
|
3362
3341
|
function() {
|
|
3363
3342
|
function e(t, r) {
|
|
@@ -3381,14 +3360,14 @@ var yi = (
|
|
|
3381
3360
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3382
3361
|
var s = this.clonePosition();
|
|
3383
3362
|
this.bump(), i.push({
|
|
3384
|
-
type:
|
|
3363
|
+
type: E.pound,
|
|
3385
3364
|
location: y(s, this.clonePosition())
|
|
3386
3365
|
});
|
|
3387
3366
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3388
3367
|
if (n)
|
|
3389
3368
|
break;
|
|
3390
3369
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3391
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3370
|
+
} else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
|
3392
3371
|
var a = this.parseTag(t, r);
|
|
3393
3372
|
if (a.err)
|
|
3394
3373
|
return a;
|
|
@@ -3409,7 +3388,7 @@ var yi = (
|
|
|
3409
3388
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3410
3389
|
return {
|
|
3411
3390
|
val: {
|
|
3412
|
-
type:
|
|
3391
|
+
type: E.literal,
|
|
3413
3392
|
value: "<".concat(i, "/>"),
|
|
3414
3393
|
location: y(n, this.clonePosition())
|
|
3415
3394
|
},
|
|
@@ -3421,12 +3400,12 @@ var yi = (
|
|
|
3421
3400
|
return o;
|
|
3422
3401
|
var a = o.val, s = this.clonePosition();
|
|
3423
3402
|
if (this.bumpIf("</")) {
|
|
3424
|
-
if (this.isEOF() || !
|
|
3403
|
+
if (this.isEOF() || !qe(this.char()))
|
|
3425
3404
|
return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
|
|
3426
3405
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3427
3406
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3428
3407
|
val: {
|
|
3429
|
-
type:
|
|
3408
|
+
type: E.tag,
|
|
3430
3409
|
value: i,
|
|
3431
3410
|
children: a,
|
|
3432
3411
|
location: y(n, this.clonePosition())
|
|
@@ -3439,7 +3418,7 @@ var yi = (
|
|
|
3439
3418
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3440
3419
|
}, e.prototype.parseTagName = function() {
|
|
3441
3420
|
var t = this.offset();
|
|
3442
|
-
for (this.bump(); !this.isEOF() &&
|
|
3421
|
+
for (this.bump(); !this.isEOF() && yi(this.char()); )
|
|
3443
3422
|
this.bump();
|
|
3444
3423
|
return this.message.slice(t, this.offset());
|
|
3445
3424
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3463,12 +3442,12 @@ var yi = (
|
|
|
3463
3442
|
}
|
|
3464
3443
|
var l = y(n, this.clonePosition());
|
|
3465
3444
|
return {
|
|
3466
|
-
val: { type:
|
|
3445
|
+
val: { type: E.literal, value: i, location: l },
|
|
3467
3446
|
err: null
|
|
3468
3447
|
};
|
|
3469
3448
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3470
3449
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3471
|
-
!
|
|
3450
|
+
!gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3472
3451
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3473
3452
|
if (this.isEOF() || this.char() !== 39)
|
|
3474
3453
|
return null;
|
|
@@ -3502,12 +3481,12 @@ var yi = (
|
|
|
3502
3481
|
r.push(n);
|
|
3503
3482
|
this.bump();
|
|
3504
3483
|
}
|
|
3505
|
-
return
|
|
3484
|
+
return Qe.apply(void 0, r);
|
|
3506
3485
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3507
3486
|
if (this.isEOF())
|
|
3508
3487
|
return null;
|
|
3509
3488
|
var n = this.char();
|
|
3510
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3489
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
|
3511
3490
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3512
3491
|
var n = this.clonePosition();
|
|
3513
3492
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3523,7 +3502,7 @@ var yi = (
|
|
|
3523
3502
|
case 125:
|
|
3524
3503
|
return this.bump(), {
|
|
3525
3504
|
val: {
|
|
3526
|
-
type:
|
|
3505
|
+
type: E.argument,
|
|
3527
3506
|
// value does not include the opening and closing braces.
|
|
3528
3507
|
value: i,
|
|
3529
3508
|
location: y(n, this.clonePosition())
|
|
@@ -3536,7 +3515,7 @@ var yi = (
|
|
|
3536
3515
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3537
3516
|
}
|
|
3538
3517
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3539
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3518
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3540
3519
|
this.bumpTo(i);
|
|
3541
3520
|
var o = this.clonePosition(), a = y(t, o);
|
|
3542
3521
|
return { value: n, location: a };
|
|
@@ -3555,7 +3534,7 @@ var yi = (
|
|
|
3555
3534
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3556
3535
|
if (c.err)
|
|
3557
3536
|
return c;
|
|
3558
|
-
var f =
|
|
3537
|
+
var f = di(c.val);
|
|
3559
3538
|
if (f.length === 0)
|
|
3560
3539
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3561
3540
|
var p = y(h, this.clonePosition());
|
|
@@ -3565,25 +3544,25 @@ var yi = (
|
|
|
3565
3544
|
if (m.err)
|
|
3566
3545
|
return m;
|
|
3567
3546
|
var d = y(i, this.clonePosition());
|
|
3568
|
-
if (u &&
|
|
3569
|
-
var v =
|
|
3547
|
+
if (u && Tt(u?.style, "::", 0)) {
|
|
3548
|
+
var v = pi(u.style.slice(2));
|
|
3570
3549
|
if (s === "number") {
|
|
3571
3550
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3572
3551
|
return c.err ? c : {
|
|
3573
|
-
val: { type:
|
|
3552
|
+
val: { type: E.number, value: n, location: d, style: c.val },
|
|
3574
3553
|
err: null
|
|
3575
3554
|
};
|
|
3576
3555
|
} else {
|
|
3577
3556
|
if (v.length === 0)
|
|
3578
3557
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3579
3558
|
var T = v;
|
|
3580
|
-
this.locale && (T =
|
|
3559
|
+
this.locale && (T = ti(v, this.locale));
|
|
3581
3560
|
var f = {
|
|
3582
|
-
type:
|
|
3561
|
+
type: Q.dateTime,
|
|
3583
3562
|
pattern: T,
|
|
3584
3563
|
location: u.styleLocation,
|
|
3585
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3586
|
-
}, C = s === "date" ?
|
|
3564
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(T) : {}
|
|
3565
|
+
}, C = s === "date" ? E.date : E.time;
|
|
3587
3566
|
return {
|
|
3588
3567
|
val: { type: C, value: n, location: d, style: f },
|
|
3589
3568
|
err: null
|
|
@@ -3592,7 +3571,7 @@ var yi = (
|
|
|
3592
3571
|
}
|
|
3593
3572
|
return {
|
|
3594
3573
|
val: {
|
|
3595
|
-
type: s === "number" ?
|
|
3574
|
+
type: s === "number" ? E.number : s === "date" ? E.date : E.time,
|
|
3596
3575
|
value: n,
|
|
3597
3576
|
location: d,
|
|
3598
3577
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3605,41 +3584,41 @@ var yi = (
|
|
|
3605
3584
|
case "select": {
|
|
3606
3585
|
var S = this.clonePosition();
|
|
3607
3586
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3608
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S,
|
|
3587
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S, _({}, S)));
|
|
3609
3588
|
this.bumpSpace();
|
|
3610
|
-
var
|
|
3611
|
-
if (s !== "select" &&
|
|
3589
|
+
var B = this.parseIdentifierIfPossible(), w = 0;
|
|
3590
|
+
if (s !== "select" && B.value === "offset") {
|
|
3612
3591
|
if (!this.bumpIf(":"))
|
|
3613
3592
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3614
3593
|
this.bumpSpace();
|
|
3615
3594
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3616
3595
|
if (c.err)
|
|
3617
3596
|
return c;
|
|
3618
|
-
this.bumpSpace(),
|
|
3597
|
+
this.bumpSpace(), B = this.parseIdentifierIfPossible(), w = c.val;
|
|
3619
3598
|
}
|
|
3620
|
-
var
|
|
3621
|
-
if (
|
|
3622
|
-
return
|
|
3599
|
+
var x = this.tryParsePluralOrSelectOptions(t, s, r, B);
|
|
3600
|
+
if (x.err)
|
|
3601
|
+
return x;
|
|
3623
3602
|
var m = this.tryParseArgumentClose(i);
|
|
3624
3603
|
if (m.err)
|
|
3625
3604
|
return m;
|
|
3626
|
-
var
|
|
3605
|
+
var L = y(i, this.clonePosition());
|
|
3627
3606
|
return s === "select" ? {
|
|
3628
3607
|
val: {
|
|
3629
|
-
type:
|
|
3608
|
+
type: E.select,
|
|
3630
3609
|
value: n,
|
|
3631
|
-
options:
|
|
3632
|
-
location:
|
|
3610
|
+
options: Ht(x.val),
|
|
3611
|
+
location: L
|
|
3633
3612
|
},
|
|
3634
3613
|
err: null
|
|
3635
3614
|
} : {
|
|
3636
3615
|
val: {
|
|
3637
|
-
type:
|
|
3616
|
+
type: E.plural,
|
|
3638
3617
|
value: n,
|
|
3639
|
-
options:
|
|
3640
|
-
offset:
|
|
3618
|
+
options: Ht(x.val),
|
|
3619
|
+
offset: w,
|
|
3641
3620
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3642
|
-
location:
|
|
3621
|
+
location: L
|
|
3643
3622
|
},
|
|
3644
3623
|
err: null
|
|
3645
3624
|
};
|
|
@@ -3687,16 +3666,16 @@ var yi = (
|
|
|
3687
3666
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3688
3667
|
var n = [];
|
|
3689
3668
|
try {
|
|
3690
|
-
n =
|
|
3669
|
+
n = Jn(t);
|
|
3691
3670
|
} catch {
|
|
3692
3671
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3693
3672
|
}
|
|
3694
3673
|
return {
|
|
3695
3674
|
val: {
|
|
3696
|
-
type:
|
|
3675
|
+
type: Q.number,
|
|
3697
3676
|
tokens: n,
|
|
3698
3677
|
location: r,
|
|
3699
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3678
|
+
parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
|
|
3700
3679
|
},
|
|
3701
3680
|
err: null
|
|
3702
3681
|
};
|
|
@@ -3744,7 +3723,7 @@ var yi = (
|
|
|
3744
3723
|
break;
|
|
3745
3724
|
}
|
|
3746
3725
|
var l = y(i, this.clonePosition());
|
|
3747
|
-
return o ? (a *= n,
|
|
3726
|
+
return o ? (a *= n, fi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3748
3727
|
}, e.prototype.offset = function() {
|
|
3749
3728
|
return this.position.offset;
|
|
3750
3729
|
}, e.prototype.isEOF = function() {
|
|
@@ -3759,7 +3738,7 @@ var yi = (
|
|
|
3759
3738
|
var t = this.position.offset;
|
|
3760
3739
|
if (t >= this.message.length)
|
|
3761
3740
|
throw Error("out of bound");
|
|
3762
|
-
var r =
|
|
3741
|
+
var r = fr(this.message, t);
|
|
3763
3742
|
if (r === void 0)
|
|
3764
3743
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3765
3744
|
return r;
|
|
@@ -3778,7 +3757,7 @@ var yi = (
|
|
|
3778
3757
|
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);
|
|
3779
3758
|
}
|
|
3780
3759
|
}, e.prototype.bumpIf = function(t) {
|
|
3781
|
-
if (
|
|
3760
|
+
if (Tt(this.message, t, this.offset())) {
|
|
3782
3761
|
for (var r = 0; r < t.length; r++)
|
|
3783
3762
|
this.bump();
|
|
3784
3763
|
return !0;
|
|
@@ -3800,7 +3779,7 @@ var yi = (
|
|
|
3800
3779
|
break;
|
|
3801
3780
|
}
|
|
3802
3781
|
}, e.prototype.bumpSpace = function() {
|
|
3803
|
-
for (; !this.isEOF() &&
|
|
3782
|
+
for (; !this.isEOF() && pr(this.char()); )
|
|
3804
3783
|
this.bump();
|
|
3805
3784
|
}, e.prototype.peek = function() {
|
|
3806
3785
|
if (this.isEOF())
|
|
@@ -3810,47 +3789,47 @@ var yi = (
|
|
|
3810
3789
|
}, e;
|
|
3811
3790
|
}()
|
|
3812
3791
|
);
|
|
3813
|
-
function
|
|
3792
|
+
function qe(e) {
|
|
3814
3793
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3815
3794
|
}
|
|
3816
|
-
function
|
|
3817
|
-
return
|
|
3795
|
+
function gi(e) {
|
|
3796
|
+
return qe(e) || e === 47;
|
|
3818
3797
|
}
|
|
3819
|
-
function
|
|
3798
|
+
function yi(e) {
|
|
3820
3799
|
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;
|
|
3821
3800
|
}
|
|
3822
|
-
function
|
|
3801
|
+
function pr(e) {
|
|
3823
3802
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3824
3803
|
}
|
|
3825
|
-
function
|
|
3804
|
+
function vi(e) {
|
|
3826
3805
|
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;
|
|
3827
3806
|
}
|
|
3828
|
-
function
|
|
3807
|
+
function Ye(e) {
|
|
3829
3808
|
e.forEach(function(t) {
|
|
3830
|
-
if (delete t.location,
|
|
3809
|
+
if (delete t.location, ir(t) || or(t))
|
|
3831
3810
|
for (var r in t.options)
|
|
3832
|
-
delete t.options[r].location,
|
|
3811
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
|
3833
3812
|
else
|
|
3834
|
-
|
|
3813
|
+
tr(t) && ar(t.style) || (rr(t) || nr(t)) && We(t.style) ? delete t.style.location : sr(t) && Ye(t.children);
|
|
3835
3814
|
});
|
|
3836
3815
|
}
|
|
3837
|
-
function
|
|
3838
|
-
t === void 0 && (t = {}), t =
|
|
3839
|
-
var r = new
|
|
3816
|
+
function _i(e, t) {
|
|
3817
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3818
|
+
var r = new bi(e, t).parse();
|
|
3840
3819
|
if (r.err) {
|
|
3841
3820
|
var n = SyntaxError(b[r.err.kind]);
|
|
3842
3821
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3843
3822
|
}
|
|
3844
|
-
return t?.captureLocation ||
|
|
3823
|
+
return t?.captureLocation || Ye(r.val), r.val;
|
|
3845
3824
|
}
|
|
3846
|
-
var
|
|
3825
|
+
var J;
|
|
3847
3826
|
(function(e) {
|
|
3848
3827
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3849
|
-
})(
|
|
3850
|
-
var
|
|
3828
|
+
})(J || (J = {}));
|
|
3829
|
+
var Te = (
|
|
3851
3830
|
/** @class */
|
|
3852
3831
|
function(e) {
|
|
3853
|
-
|
|
3832
|
+
R(t, e);
|
|
3854
3833
|
function t(r, n, i) {
|
|
3855
3834
|
var o = e.call(this, r) || this;
|
|
3856
3835
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3859,155 +3838,155 @@ var Ce = (
|
|
|
3859
3838
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3860
3839
|
}, t;
|
|
3861
3840
|
}(Error)
|
|
3862
|
-
),
|
|
3841
|
+
), Bt = (
|
|
3863
3842
|
/** @class */
|
|
3864
3843
|
function(e) {
|
|
3865
|
-
|
|
3844
|
+
R(t, e);
|
|
3866
3845
|
function t(r, n, i, o) {
|
|
3867
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3846
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3868
3847
|
}
|
|
3869
3848
|
return t;
|
|
3870
|
-
}(
|
|
3871
|
-
),
|
|
3849
|
+
}(Te)
|
|
3850
|
+
), xi = (
|
|
3872
3851
|
/** @class */
|
|
3873
3852
|
function(e) {
|
|
3874
|
-
|
|
3853
|
+
R(t, e);
|
|
3875
3854
|
function t(r, n, i) {
|
|
3876
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3855
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3877
3856
|
}
|
|
3878
3857
|
return t;
|
|
3879
|
-
}(
|
|
3880
|
-
),
|
|
3858
|
+
}(Te)
|
|
3859
|
+
), Ei = (
|
|
3881
3860
|
/** @class */
|
|
3882
3861
|
function(e) {
|
|
3883
|
-
|
|
3862
|
+
R(t, e);
|
|
3884
3863
|
function t(r, n) {
|
|
3885
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3864
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3886
3865
|
}
|
|
3887
3866
|
return t;
|
|
3888
|
-
}(
|
|
3889
|
-
),
|
|
3867
|
+
}(Te)
|
|
3868
|
+
), A;
|
|
3890
3869
|
(function(e) {
|
|
3891
3870
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3892
|
-
})(
|
|
3893
|
-
function
|
|
3871
|
+
})(A || (A = {}));
|
|
3872
|
+
function wi(e) {
|
|
3894
3873
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3895
3874
|
var n = t[t.length - 1];
|
|
3896
|
-
return !n || n.type !==
|
|
3875
|
+
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3897
3876
|
}, []);
|
|
3898
3877
|
}
|
|
3899
|
-
function
|
|
3878
|
+
function Si(e) {
|
|
3900
3879
|
return typeof e == "function";
|
|
3901
3880
|
}
|
|
3902
3881
|
function de(e, t, r, n, i, o, a) {
|
|
3903
|
-
if (e.length === 1 &&
|
|
3882
|
+
if (e.length === 1 && xt(e[0]))
|
|
3904
3883
|
return [
|
|
3905
3884
|
{
|
|
3906
|
-
type:
|
|
3885
|
+
type: A.literal,
|
|
3907
3886
|
value: e[0].value
|
|
3908
3887
|
}
|
|
3909
3888
|
];
|
|
3910
3889
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3911
3890
|
var h = u[l];
|
|
3912
|
-
if (
|
|
3891
|
+
if (xt(h)) {
|
|
3913
3892
|
s.push({
|
|
3914
|
-
type:
|
|
3893
|
+
type: A.literal,
|
|
3915
3894
|
value: h.value
|
|
3916
3895
|
});
|
|
3917
3896
|
continue;
|
|
3918
3897
|
}
|
|
3919
|
-
if (
|
|
3898
|
+
if (zn(h)) {
|
|
3920
3899
|
typeof o == "number" && s.push({
|
|
3921
|
-
type:
|
|
3900
|
+
type: A.literal,
|
|
3922
3901
|
value: r.getNumberFormat(t).format(o)
|
|
3923
3902
|
});
|
|
3924
3903
|
continue;
|
|
3925
3904
|
}
|
|
3926
3905
|
var c = h.value;
|
|
3927
3906
|
if (!(i && c in i))
|
|
3928
|
-
throw new
|
|
3907
|
+
throw new Ei(c, a);
|
|
3929
3908
|
var f = i[c];
|
|
3930
|
-
if (
|
|
3909
|
+
if (Xn(h)) {
|
|
3931
3910
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3932
|
-
type: typeof f == "string" ?
|
|
3911
|
+
type: typeof f == "string" ? A.literal : A.object,
|
|
3933
3912
|
value: f
|
|
3934
3913
|
});
|
|
3935
3914
|
continue;
|
|
3936
3915
|
}
|
|
3937
|
-
if (
|
|
3938
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3916
|
+
if (rr(h)) {
|
|
3917
|
+
var p = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
|
|
3939
3918
|
s.push({
|
|
3940
|
-
type:
|
|
3919
|
+
type: A.literal,
|
|
3941
3920
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3942
3921
|
});
|
|
3943
3922
|
continue;
|
|
3944
3923
|
}
|
|
3945
|
-
if (
|
|
3946
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3924
|
+
if (nr(h)) {
|
|
3925
|
+
var p = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3947
3926
|
s.push({
|
|
3948
|
-
type:
|
|
3927
|
+
type: A.literal,
|
|
3949
3928
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3950
3929
|
});
|
|
3951
3930
|
continue;
|
|
3952
3931
|
}
|
|
3953
|
-
if (
|
|
3954
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3932
|
+
if (tr(h)) {
|
|
3933
|
+
var p = typeof h.style == "string" ? n.number[h.style] : ar(h.style) ? h.style.parsedOptions : void 0;
|
|
3955
3934
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3956
|
-
type:
|
|
3935
|
+
type: A.literal,
|
|
3957
3936
|
value: r.getNumberFormat(t, p).format(f)
|
|
3958
3937
|
});
|
|
3959
3938
|
continue;
|
|
3960
3939
|
}
|
|
3961
|
-
if (
|
|
3940
|
+
if (sr(h)) {
|
|
3962
3941
|
var m = h.children, d = h.value, v = i[d];
|
|
3963
|
-
if (!
|
|
3964
|
-
throw new
|
|
3965
|
-
var T = de(m, t, r, n, i, o), C = v(T.map(function(
|
|
3966
|
-
return
|
|
3942
|
+
if (!Si(v))
|
|
3943
|
+
throw new xi(d, "function", a);
|
|
3944
|
+
var T = de(m, t, r, n, i, o), C = v(T.map(function(w) {
|
|
3945
|
+
return w.value;
|
|
3967
3946
|
}));
|
|
3968
|
-
Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(
|
|
3947
|
+
Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(w) {
|
|
3969
3948
|
return {
|
|
3970
|
-
type: typeof
|
|
3971
|
-
value:
|
|
3949
|
+
type: typeof w == "string" ? A.literal : A.object,
|
|
3950
|
+
value: w
|
|
3972
3951
|
};
|
|
3973
3952
|
}));
|
|
3974
3953
|
}
|
|
3975
|
-
if (
|
|
3954
|
+
if (ir(h)) {
|
|
3976
3955
|
var S = h.options[f] || h.options.other;
|
|
3977
3956
|
if (!S)
|
|
3978
|
-
throw new
|
|
3957
|
+
throw new Bt(h.value, f, Object.keys(h.options), a);
|
|
3979
3958
|
s.push.apply(s, de(S.value, t, r, n, i));
|
|
3980
3959
|
continue;
|
|
3981
3960
|
}
|
|
3982
|
-
if (
|
|
3961
|
+
if (or(h)) {
|
|
3983
3962
|
var S = h.options["=".concat(f)];
|
|
3984
3963
|
if (!S) {
|
|
3985
3964
|
if (!Intl.PluralRules)
|
|
3986
|
-
throw new
|
|
3965
|
+
throw new Te(`Intl.PluralRules is not available in this environment.
|
|
3987
3966
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3988
|
-
`,
|
|
3989
|
-
var
|
|
3990
|
-
S = h.options[
|
|
3967
|
+
`, J.MISSING_INTL_API, a);
|
|
3968
|
+
var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3969
|
+
S = h.options[B] || h.options.other;
|
|
3991
3970
|
}
|
|
3992
3971
|
if (!S)
|
|
3993
|
-
throw new
|
|
3972
|
+
throw new Bt(h.value, f, Object.keys(h.options), a);
|
|
3994
3973
|
s.push.apply(s, de(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3995
3974
|
continue;
|
|
3996
3975
|
}
|
|
3997
3976
|
}
|
|
3998
|
-
return
|
|
3977
|
+
return wi(s);
|
|
3999
3978
|
}
|
|
4000
|
-
function
|
|
4001
|
-
return t ?
|
|
4002
|
-
return r[n] =
|
|
3979
|
+
function Ti(e, t) {
|
|
3980
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3981
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
4003
3982
|
}, {})) : e;
|
|
4004
3983
|
}
|
|
4005
|
-
function
|
|
3984
|
+
function Hi(e, t) {
|
|
4006
3985
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4007
|
-
return r[n] =
|
|
4008
|
-
},
|
|
3986
|
+
return r[n] = Ti(e[n], t[n]), r;
|
|
3987
|
+
}, _({}, e)) : e;
|
|
4009
3988
|
}
|
|
4010
|
-
function
|
|
3989
|
+
function Ge(e) {
|
|
4011
3990
|
return {
|
|
4012
3991
|
create: function() {
|
|
4013
3992
|
return {
|
|
@@ -4021,39 +4000,39 @@ function De(e) {
|
|
|
4021
4000
|
}
|
|
4022
4001
|
};
|
|
4023
4002
|
}
|
|
4024
|
-
function
|
|
4003
|
+
function Ci(e) {
|
|
4025
4004
|
return e === void 0 && (e = {
|
|
4026
4005
|
number: {},
|
|
4027
4006
|
dateTime: {},
|
|
4028
4007
|
pluralRules: {}
|
|
4029
4008
|
}), {
|
|
4030
|
-
getNumberFormat:
|
|
4009
|
+
getNumberFormat: Ne(function() {
|
|
4031
4010
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4032
4011
|
r[n] = arguments[n];
|
|
4033
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4012
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
4034
4013
|
}, {
|
|
4035
|
-
cache:
|
|
4036
|
-
strategy:
|
|
4014
|
+
cache: Ge(e.number),
|
|
4015
|
+
strategy: $e.variadic
|
|
4037
4016
|
}),
|
|
4038
|
-
getDateTimeFormat:
|
|
4017
|
+
getDateTimeFormat: Ne(function() {
|
|
4039
4018
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4040
4019
|
r[n] = arguments[n];
|
|
4041
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4020
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
4042
4021
|
}, {
|
|
4043
|
-
cache:
|
|
4044
|
-
strategy:
|
|
4022
|
+
cache: Ge(e.dateTime),
|
|
4023
|
+
strategy: $e.variadic
|
|
4045
4024
|
}),
|
|
4046
|
-
getPluralRules:
|
|
4025
|
+
getPluralRules: Ne(function() {
|
|
4047
4026
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4048
4027
|
r[n] = arguments[n];
|
|
4049
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4028
|
+
return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
|
|
4050
4029
|
}, {
|
|
4051
|
-
cache:
|
|
4052
|
-
strategy:
|
|
4030
|
+
cache: Ge(e.pluralRules),
|
|
4031
|
+
strategy: $e.variadic
|
|
4053
4032
|
})
|
|
4054
4033
|
};
|
|
4055
4034
|
}
|
|
4056
|
-
var
|
|
4035
|
+
var Bi = (
|
|
4057
4036
|
/** @class */
|
|
4058
4037
|
function() {
|
|
4059
4038
|
function e(t, r, n, i) {
|
|
@@ -4068,7 +4047,7 @@ var Pi = (
|
|
|
4068
4047
|
if (u.length === 1)
|
|
4069
4048
|
return u[0].value;
|
|
4070
4049
|
var h = u.reduce(function(c, f) {
|
|
4071
|
-
return !c.length || f.type !==
|
|
4050
|
+
return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
4072
4051
|
}, []);
|
|
4073
4052
|
return h.length <= 1 ? h[0] || "" : h;
|
|
4074
4053
|
}, this.formatToParts = function(l) {
|
|
@@ -4085,13 +4064,13 @@ var Pi = (
|
|
|
4085
4064
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4086
4065
|
var a = i || {};
|
|
4087
4066
|
a.formatters;
|
|
4088
|
-
var s =
|
|
4089
|
-
this.ast = e.__parse(t,
|
|
4067
|
+
var s = an(a, ["formatters"]);
|
|
4068
|
+
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
4090
4069
|
} else
|
|
4091
4070
|
this.ast = t;
|
|
4092
4071
|
if (!Array.isArray(this.ast))
|
|
4093
4072
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4094
|
-
this.formats =
|
|
4073
|
+
this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
|
|
4095
4074
|
}
|
|
4096
4075
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4097
4076
|
get: function() {
|
|
@@ -4104,7 +4083,7 @@ var Pi = (
|
|
|
4104
4083
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4105
4084
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4106
4085
|
}
|
|
4107
|
-
}, e.__parse =
|
|
4086
|
+
}, e.__parse = _i, e.formats = {
|
|
4108
4087
|
number: {
|
|
4109
4088
|
integer: {
|
|
4110
4089
|
maximumFractionDigits: 0
|
|
@@ -4165,7 +4144,7 @@ var Pi = (
|
|
|
4165
4144
|
}, e;
|
|
4166
4145
|
}()
|
|
4167
4146
|
);
|
|
4168
|
-
function
|
|
4147
|
+
function Ai(e, t) {
|
|
4169
4148
|
if (t == null)
|
|
4170
4149
|
return;
|
|
4171
4150
|
if (t in e)
|
|
@@ -4186,92 +4165,92 @@ function Oi(e, t) {
|
|
|
4186
4165
|
n = void 0;
|
|
4187
4166
|
return n;
|
|
4188
4167
|
}
|
|
4189
|
-
const G = {},
|
|
4168
|
+
const G = {}, Pi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), dr = (e, t) => {
|
|
4190
4169
|
if (t == null)
|
|
4191
4170
|
return;
|
|
4192
4171
|
if (t in G && e in G[t])
|
|
4193
4172
|
return G[t][e];
|
|
4194
|
-
const r =
|
|
4173
|
+
const r = He(t);
|
|
4195
4174
|
for (let n = 0; n < r.length; n++) {
|
|
4196
|
-
const i = r[n], o =
|
|
4175
|
+
const i = r[n], o = Oi(i, e);
|
|
4197
4176
|
if (o)
|
|
4198
|
-
return
|
|
4177
|
+
return Pi(e, t, o);
|
|
4199
4178
|
}
|
|
4200
4179
|
};
|
|
4201
|
-
let
|
|
4202
|
-
const le =
|
|
4203
|
-
function
|
|
4204
|
-
return
|
|
4180
|
+
let st;
|
|
4181
|
+
const le = Se({});
|
|
4182
|
+
function Li(e) {
|
|
4183
|
+
return st[e] || null;
|
|
4205
4184
|
}
|
|
4206
|
-
function
|
|
4207
|
-
return e in
|
|
4185
|
+
function br(e) {
|
|
4186
|
+
return e in st;
|
|
4208
4187
|
}
|
|
4209
|
-
function
|
|
4210
|
-
if (!
|
|
4188
|
+
function Oi(e, t) {
|
|
4189
|
+
if (!br(e))
|
|
4211
4190
|
return null;
|
|
4212
|
-
const r =
|
|
4213
|
-
return
|
|
4191
|
+
const r = Li(e);
|
|
4192
|
+
return Ai(r, t);
|
|
4214
4193
|
}
|
|
4215
|
-
function
|
|
4194
|
+
function Ii(e) {
|
|
4216
4195
|
if (e == null)
|
|
4217
4196
|
return;
|
|
4218
|
-
const t =
|
|
4197
|
+
const t = He(e);
|
|
4219
4198
|
for (let r = 0; r < t.length; r++) {
|
|
4220
4199
|
const n = t[r];
|
|
4221
|
-
if (
|
|
4200
|
+
if (br(n))
|
|
4222
4201
|
return n;
|
|
4223
4202
|
}
|
|
4224
4203
|
}
|
|
4225
|
-
function
|
|
4204
|
+
function gr(e, ...t) {
|
|
4226
4205
|
delete G[e], le.update((r) => (r[e] = Gn.all([r[e] || {}, ...t]), r));
|
|
4227
4206
|
}
|
|
4228
|
-
|
|
4207
|
+
Y(
|
|
4229
4208
|
[le],
|
|
4230
4209
|
([e]) => Object.keys(e)
|
|
4231
4210
|
);
|
|
4232
|
-
le.subscribe((e) =>
|
|
4211
|
+
le.subscribe((e) => st = e);
|
|
4233
4212
|
const be = {};
|
|
4234
|
-
function
|
|
4213
|
+
function Mi(e, t) {
|
|
4235
4214
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
4236
4215
|
}
|
|
4237
|
-
function
|
|
4216
|
+
function yr(e) {
|
|
4238
4217
|
return be[e];
|
|
4239
4218
|
}
|
|
4240
|
-
function
|
|
4241
|
-
return
|
|
4242
|
-
const r =
|
|
4219
|
+
function Ni(e) {
|
|
4220
|
+
return He(e).map((t) => {
|
|
4221
|
+
const r = yr(t);
|
|
4243
4222
|
return [t, r ? [...r] : []];
|
|
4244
4223
|
}).filter(([, t]) => t.length > 0);
|
|
4245
4224
|
}
|
|
4246
|
-
function
|
|
4247
|
-
return e == null ? !1 :
|
|
4225
|
+
function Ke(e) {
|
|
4226
|
+
return e == null ? !1 : He(e).some(
|
|
4248
4227
|
(t) => {
|
|
4249
4228
|
var r;
|
|
4250
|
-
return (r =
|
|
4229
|
+
return (r = yr(t)) == null ? void 0 : r.size;
|
|
4251
4230
|
}
|
|
4252
4231
|
);
|
|
4253
4232
|
}
|
|
4254
|
-
function
|
|
4233
|
+
function $i(e, t) {
|
|
4255
4234
|
return Promise.all(
|
|
4256
|
-
t.map((n) => (
|
|
4257
|
-
).then((n) =>
|
|
4258
|
-
}
|
|
4259
|
-
const
|
|
4260
|
-
function
|
|
4261
|
-
if (!
|
|
4262
|
-
return e in
|
|
4263
|
-
const t =
|
|
4264
|
-
return
|
|
4235
|
+
t.map((n) => (Mi(e, n), n().then((i) => i.default || i)))
|
|
4236
|
+
).then((n) => gr(e, ...n));
|
|
4237
|
+
}
|
|
4238
|
+
const re = {};
|
|
4239
|
+
function vr(e) {
|
|
4240
|
+
if (!Ke(e))
|
|
4241
|
+
return e in re ? re[e] : Promise.resolve();
|
|
4242
|
+
const t = Ni(e);
|
|
4243
|
+
return re[e] = Promise.all(
|
|
4265
4244
|
t.map(
|
|
4266
|
-
([r, n]) =>
|
|
4245
|
+
([r, n]) => $i(r, n)
|
|
4267
4246
|
)
|
|
4268
4247
|
).then(() => {
|
|
4269
|
-
if (
|
|
4270
|
-
return
|
|
4271
|
-
delete
|
|
4272
|
-
}),
|
|
4248
|
+
if (Ke(e))
|
|
4249
|
+
return vr(e);
|
|
4250
|
+
delete re[e];
|
|
4251
|
+
}), re[e];
|
|
4273
4252
|
}
|
|
4274
|
-
const
|
|
4253
|
+
const Ri = {
|
|
4275
4254
|
number: {
|
|
4276
4255
|
scientific: { notation: "scientific" },
|
|
4277
4256
|
engineering: { notation: "engineering" },
|
|
@@ -4300,135 +4279,135 @@ const Ui = {
|
|
|
4300
4279
|
timeZoneName: "short"
|
|
4301
4280
|
}
|
|
4302
4281
|
}
|
|
4303
|
-
},
|
|
4282
|
+
}, Gi = {
|
|
4304
4283
|
fallbackLocale: null,
|
|
4305
4284
|
loadingDelay: 200,
|
|
4306
|
-
formats:
|
|
4285
|
+
formats: Ri,
|
|
4307
4286
|
warnOnMissingMessages: !0,
|
|
4308
4287
|
handleMissingMessage: void 0,
|
|
4309
4288
|
ignoreTag: !0
|
|
4310
|
-
},
|
|
4311
|
-
function
|
|
4312
|
-
return
|
|
4289
|
+
}, Ui = Gi;
|
|
4290
|
+
function q() {
|
|
4291
|
+
return Ui;
|
|
4313
4292
|
}
|
|
4314
|
-
const
|
|
4315
|
-
var
|
|
4293
|
+
const Ue = Se(!1);
|
|
4294
|
+
var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
|
|
4316
4295
|
for (var r in t || (t = {}))
|
|
4317
|
-
|
|
4318
|
-
if (
|
|
4319
|
-
for (var r of
|
|
4320
|
-
|
|
4296
|
+
ki.call(t, r) && Pt(e, r, t[r]);
|
|
4297
|
+
if (At)
|
|
4298
|
+
for (var r of At(t))
|
|
4299
|
+
Vi.call(t, r) && Pt(e, r, t[r]);
|
|
4321
4300
|
return e;
|
|
4322
|
-
},
|
|
4323
|
-
let
|
|
4324
|
-
const
|
|
4325
|
-
function
|
|
4301
|
+
}, zi = (e, t) => Fi(e, ji(t));
|
|
4302
|
+
let et;
|
|
4303
|
+
const _e = Se(null);
|
|
4304
|
+
function Lt(e) {
|
|
4326
4305
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4327
4306
|
}
|
|
4328
|
-
function
|
|
4329
|
-
const r =
|
|
4330
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4307
|
+
function He(e, t = q().fallbackLocale) {
|
|
4308
|
+
const r = Lt(e);
|
|
4309
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
|
|
4331
4310
|
}
|
|
4332
4311
|
function D() {
|
|
4333
|
-
return
|
|
4312
|
+
return et ?? void 0;
|
|
4334
4313
|
}
|
|
4335
|
-
|
|
4336
|
-
|
|
4314
|
+
_e.subscribe((e) => {
|
|
4315
|
+
et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4337
4316
|
});
|
|
4338
|
-
const
|
|
4339
|
-
if (e &&
|
|
4340
|
-
const { loadingDelay: t } =
|
|
4317
|
+
const Wi = (e) => {
|
|
4318
|
+
if (e && Ii(e) && Ke(e)) {
|
|
4319
|
+
const { loadingDelay: t } = q();
|
|
4341
4320
|
let r;
|
|
4342
4321
|
return typeof window < "u" && D() != null && t ? r = window.setTimeout(
|
|
4343
|
-
() =>
|
|
4322
|
+
() => Ue.set(!0),
|
|
4344
4323
|
t
|
|
4345
|
-
) :
|
|
4346
|
-
|
|
4324
|
+
) : Ue.set(!0), vr(e).then(() => {
|
|
4325
|
+
_e.set(e);
|
|
4347
4326
|
}).finally(() => {
|
|
4348
|
-
clearTimeout(r),
|
|
4327
|
+
clearTimeout(r), Ue.set(!1);
|
|
4349
4328
|
});
|
|
4350
4329
|
}
|
|
4351
|
-
return
|
|
4352
|
-
},
|
|
4353
|
-
set:
|
|
4354
|
-
}),
|
|
4330
|
+
return _e.set(e);
|
|
4331
|
+
}, K = zi(Xi({}, _e), {
|
|
4332
|
+
set: Wi
|
|
4333
|
+
}), Ce = (e) => {
|
|
4355
4334
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4356
4335
|
return (n) => {
|
|
4357
4336
|
const i = JSON.stringify(n);
|
|
4358
4337
|
return i in t ? t[i] : t[i] = e(n);
|
|
4359
4338
|
};
|
|
4360
4339
|
};
|
|
4361
|
-
var
|
|
4340
|
+
var Zi = Object.defineProperty, xe = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
|
4362
4341
|
for (var r in t || (t = {}))
|
|
4363
|
-
|
|
4364
|
-
if (
|
|
4365
|
-
for (var r of
|
|
4366
|
-
|
|
4342
|
+
_r.call(t, r) && Ot(e, r, t[r]);
|
|
4343
|
+
if (xe)
|
|
4344
|
+
for (var r of xe(t))
|
|
4345
|
+
xr.call(t, r) && Ot(e, r, t[r]);
|
|
4367
4346
|
return e;
|
|
4368
|
-
},
|
|
4347
|
+
}, ee = (e, t) => {
|
|
4369
4348
|
var r = {};
|
|
4370
4349
|
for (var n in e)
|
|
4371
|
-
|
|
4372
|
-
if (e != null &&
|
|
4373
|
-
for (var n of
|
|
4374
|
-
t.indexOf(n) < 0 &&
|
|
4350
|
+
_r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4351
|
+
if (e != null && xe)
|
|
4352
|
+
for (var n of xe(e))
|
|
4353
|
+
t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
|
|
4375
4354
|
return r;
|
|
4376
4355
|
};
|
|
4377
|
-
const
|
|
4378
|
-
const { formats: r } =
|
|
4356
|
+
const ae = (e, t) => {
|
|
4357
|
+
const { formats: r } = q();
|
|
4379
4358
|
if (e in r && t in r[e])
|
|
4380
4359
|
return r[e][t];
|
|
4381
4360
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4382
|
-
},
|
|
4361
|
+
}, Qi = Ce(
|
|
4383
4362
|
(e) => {
|
|
4384
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4363
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4385
4364
|
if (r == null)
|
|
4386
4365
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4387
|
-
return n && (i =
|
|
4366
|
+
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
4388
4367
|
}
|
|
4389
|
-
),
|
|
4368
|
+
), Ji = Ce(
|
|
4390
4369
|
(e) => {
|
|
4391
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4370
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4392
4371
|
if (r == null)
|
|
4393
4372
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4394
|
-
return n ? i =
|
|
4373
|
+
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4395
4374
|
}
|
|
4396
|
-
),
|
|
4375
|
+
), qi = Ce(
|
|
4397
4376
|
(e) => {
|
|
4398
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4377
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4399
4378
|
if (r == null)
|
|
4400
4379
|
throw new Error(
|
|
4401
4380
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4402
4381
|
);
|
|
4403
|
-
return n ? i =
|
|
4382
|
+
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4404
4383
|
}
|
|
4405
|
-
),
|
|
4384
|
+
), Yi = (e = {}) => {
|
|
4406
4385
|
var t = e, {
|
|
4407
4386
|
locale: r = D()
|
|
4408
|
-
} = t, n =
|
|
4387
|
+
} = t, n = ee(t, [
|
|
4409
4388
|
"locale"
|
|
4410
4389
|
]);
|
|
4411
|
-
return
|
|
4412
|
-
},
|
|
4390
|
+
return Qi(at({ locale: r }, n));
|
|
4391
|
+
}, Ki = (e = {}) => {
|
|
4413
4392
|
var t = e, {
|
|
4414
4393
|
locale: r = D()
|
|
4415
|
-
} = t, n =
|
|
4394
|
+
} = t, n = ee(t, [
|
|
4416
4395
|
"locale"
|
|
4417
4396
|
]);
|
|
4418
|
-
return
|
|
4419
|
-
},
|
|
4397
|
+
return Ji(at({ locale: r }, n));
|
|
4398
|
+
}, eo = (e = {}) => {
|
|
4420
4399
|
var t = e, {
|
|
4421
4400
|
locale: r = D()
|
|
4422
|
-
} = t, n =
|
|
4401
|
+
} = t, n = ee(t, [
|
|
4423
4402
|
"locale"
|
|
4424
4403
|
]);
|
|
4425
|
-
return
|
|
4426
|
-
},
|
|
4404
|
+
return qi(at({ locale: r }, n));
|
|
4405
|
+
}, to = Ce(
|
|
4427
4406
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4428
|
-
(e, t = D()) => new
|
|
4429
|
-
ignoreTag:
|
|
4407
|
+
(e, t = D()) => new Bi(e, t, q().formats, {
|
|
4408
|
+
ignoreTag: q().ignoreTag
|
|
4430
4409
|
})
|
|
4431
|
-
),
|
|
4410
|
+
), ro = (e, t = {}) => {
|
|
4432
4411
|
var r, n, i, o;
|
|
4433
4412
|
let a = t;
|
|
4434
4413
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4441,9 +4420,9 @@ const se = (e, t) => {
|
|
|
4441
4420
|
throw new Error(
|
|
4442
4421
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4443
4422
|
);
|
|
4444
|
-
let h =
|
|
4423
|
+
let h = dr(e, l);
|
|
4445
4424
|
if (!h)
|
|
4446
|
-
h = (o = (i = (n = (r =
|
|
4425
|
+
h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4447
4426
|
else if (typeof h != "string")
|
|
4448
4427
|
return console.warn(
|
|
4449
4428
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4452,7 +4431,7 @@ const se = (e, t) => {
|
|
|
4452
4431
|
return h;
|
|
4453
4432
|
let c = h;
|
|
4454
4433
|
try {
|
|
4455
|
-
c =
|
|
4434
|
+
c = to(h, l).format(s);
|
|
4456
4435
|
} catch (f) {
|
|
4457
4436
|
f instanceof Error && console.warn(
|
|
4458
4437
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4460,21 +4439,21 @@ const se = (e, t) => {
|
|
|
4460
4439
|
);
|
|
4461
4440
|
}
|
|
4462
4441
|
return c;
|
|
4463
|
-
},
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4442
|
+
}, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = D()) => dr(e, t), ao = Y([K, le], () => ro);
|
|
4443
|
+
Y([K], () => no);
|
|
4444
|
+
Y([K], () => io);
|
|
4445
|
+
Y([K], () => oo);
|
|
4446
|
+
Y([K, le], () => so);
|
|
4468
4447
|
window.emWidgets = { topic: xn };
|
|
4469
|
-
const
|
|
4448
|
+
const uo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4470
4449
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4471
|
-
function
|
|
4450
|
+
function lo(e, t) {
|
|
4472
4451
|
if (e) {
|
|
4473
4452
|
const r = document.createElement("style");
|
|
4474
4453
|
r.innerHTML = t, e.appendChild(r);
|
|
4475
4454
|
}
|
|
4476
4455
|
}
|
|
4477
|
-
function
|
|
4456
|
+
function ho(e, t) {
|
|
4478
4457
|
if (!e || !t)
|
|
4479
4458
|
return;
|
|
4480
4459
|
const r = new URL(t);
|
|
@@ -4485,7 +4464,7 @@ function fo(e, t) {
|
|
|
4485
4464
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4486
4465
|
});
|
|
4487
4466
|
}
|
|
4488
|
-
function
|
|
4467
|
+
function co(e, t, r) {
|
|
4489
4468
|
if (window.emMessageBus) {
|
|
4490
4469
|
const n = document.createElement("style");
|
|
4491
4470
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4493,13 +4472,13 @@ function mo(e, t, r) {
|
|
|
4493
4472
|
});
|
|
4494
4473
|
}
|
|
4495
4474
|
}
|
|
4496
|
-
function
|
|
4497
|
-
|
|
4475
|
+
function It(e, t) {
|
|
4476
|
+
gr(e, t);
|
|
4498
4477
|
}
|
|
4499
|
-
function
|
|
4500
|
-
|
|
4478
|
+
function fo(e) {
|
|
4479
|
+
K.set(e);
|
|
4501
4480
|
}
|
|
4502
|
-
const
|
|
4481
|
+
const Mt = {
|
|
4503
4482
|
en: {
|
|
4504
4483
|
cancel: "Cancel",
|
|
4505
4484
|
confirm: "Confirm"
|
|
@@ -4545,26 +4524,26 @@ const $t = {
|
|
|
4545
4524
|
confirm: "Confirm"
|
|
4546
4525
|
}
|
|
4547
4526
|
};
|
|
4548
|
-
function
|
|
4549
|
-
|
|
4527
|
+
function mo(e) {
|
|
4528
|
+
Nr(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
|
|
4550
4529
|
}
|
|
4551
|
-
const
|
|
4552
|
-
function
|
|
4530
|
+
const po = (e) => ({}), Nt = (e) => ({});
|
|
4531
|
+
function bo(e) {
|
|
4553
4532
|
let t, r;
|
|
4554
4533
|
return {
|
|
4555
4534
|
c() {
|
|
4556
|
-
t =
|
|
4535
|
+
t = ht("svg"), r = ht("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4557
4536
|
},
|
|
4558
4537
|
m(n, i) {
|
|
4559
|
-
|
|
4538
|
+
nt(n, t, i), P(t, r);
|
|
4560
4539
|
},
|
|
4561
|
-
p:
|
|
4540
|
+
p: O,
|
|
4562
4541
|
d(n) {
|
|
4563
|
-
n &&
|
|
4542
|
+
n && ue(t);
|
|
4564
4543
|
}
|
|
4565
4544
|
};
|
|
4566
4545
|
}
|
|
4567
|
-
function
|
|
4546
|
+
function go(e) {
|
|
4568
4547
|
let t, r, n, i, o, a, s, l, u, h = (
|
|
4569
4548
|
/*$_*/
|
|
4570
4549
|
e[2]("cancel") + ""
|
|
@@ -4575,38 +4554,38 @@ function vo(e) {
|
|
|
4575
4554
|
const S = (
|
|
4576
4555
|
/*#slots*/
|
|
4577
4556
|
e[14].close
|
|
4578
|
-
),
|
|
4557
|
+
), B = Ar(
|
|
4579
4558
|
S,
|
|
4580
4559
|
e,
|
|
4581
4560
|
/*$$scope*/
|
|
4582
4561
|
e[13],
|
|
4583
|
-
|
|
4584
|
-
),
|
|
4562
|
+
Nt
|
|
4563
|
+
), w = B || bo();
|
|
4585
4564
|
return {
|
|
4586
4565
|
c() {
|
|
4587
|
-
t = I("div"), r = I("div"), n = I("span"),
|
|
4566
|
+
t = I("div"), r = I("div"), n = I("span"), w && w.c(), i = Be(), o = I("div"), a = ne(
|
|
4588
4567
|
/*modaltext*/
|
|
4589
4568
|
e[0]
|
|
4590
|
-
), s =
|
|
4569
|
+
), s = Be(), l = I("div"), u = I("button"), c = ne(h), f = Be(), p = I("button"), d = ne(m), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(o, "class", "GamingLimitsConfirmationContent"), H(u, "class", "GamingLimitsCancelButton"), H(p, "class", "GamingLimitsConfirmButton"), H(l, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
|
|
4591
4570
|
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), H(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
4592
4571
|
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), H(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
4593
4572
|
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
4594
4573
|
},
|
|
4595
|
-
m(
|
|
4596
|
-
|
|
4597
|
-
|
|
4574
|
+
m(x, L) {
|
|
4575
|
+
nt(x, t, L), P(t, r), P(r, n), w && w.m(n, null), P(r, i), P(r, o), P(o, a), P(r, s), P(r, l), P(l, u), P(u, c), P(l, f), P(l, p), P(p, d), e[15](t), v = !0, T || (C = [
|
|
4576
|
+
Ae(
|
|
4598
4577
|
n,
|
|
4599
4578
|
"click",
|
|
4600
4579
|
/*close*/
|
|
4601
4580
|
e[4]
|
|
4602
4581
|
),
|
|
4603
|
-
|
|
4582
|
+
Ae(
|
|
4604
4583
|
u,
|
|
4605
4584
|
"click",
|
|
4606
4585
|
/*cancelChanges*/
|
|
4607
4586
|
e[6]
|
|
4608
4587
|
),
|
|
4609
|
-
|
|
4588
|
+
Ae(
|
|
4610
4589
|
p,
|
|
4611
4590
|
"click",
|
|
4612
4591
|
/*confirmChanges*/
|
|
@@ -4614,67 +4593,67 @@ function vo(e) {
|
|
|
4614
4593
|
)
|
|
4615
4594
|
], T = !0);
|
|
4616
4595
|
},
|
|
4617
|
-
p(
|
|
4618
|
-
|
|
4596
|
+
p(x, [L]) {
|
|
4597
|
+
B && B.p && (!v || L & /*$$scope*/
|
|
4619
4598
|
8192) && Lr(
|
|
4620
|
-
|
|
4599
|
+
B,
|
|
4621
4600
|
S,
|
|
4622
|
-
|
|
4601
|
+
x,
|
|
4623
4602
|
/*$$scope*/
|
|
4624
|
-
|
|
4625
|
-
v ?
|
|
4603
|
+
x[13],
|
|
4604
|
+
v ? Pr(
|
|
4626
4605
|
S,
|
|
4627
4606
|
/*$$scope*/
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
) :
|
|
4607
|
+
x[13],
|
|
4608
|
+
L,
|
|
4609
|
+
po
|
|
4610
|
+
) : Or(
|
|
4632
4611
|
/*$$scope*/
|
|
4633
|
-
|
|
4612
|
+
x[13]
|
|
4634
4613
|
),
|
|
4635
|
-
|
|
4636
|
-
), (!v ||
|
|
4637
|
-
1) &&
|
|
4614
|
+
Nt
|
|
4615
|
+
), (!v || L & /*modaltext*/
|
|
4616
|
+
1) && Pe(
|
|
4638
4617
|
a,
|
|
4639
4618
|
/*modaltext*/
|
|
4640
|
-
|
|
4641
|
-
), (!v ||
|
|
4619
|
+
x[0]
|
|
4620
|
+
), (!v || L & /*$_*/
|
|
4642
4621
|
4) && h !== (h = /*$_*/
|
|
4643
|
-
|
|
4622
|
+
x[2]("cancel") + "") && Pe(c, h), (!v || L & /*$_*/
|
|
4644
4623
|
4) && m !== (m = /*$_*/
|
|
4645
|
-
|
|
4624
|
+
x[2]("confirm") + "") && Pe(d, m);
|
|
4646
4625
|
},
|
|
4647
|
-
i(
|
|
4648
|
-
v || (
|
|
4626
|
+
i(x) {
|
|
4627
|
+
v || (kt(w, x), v = !0);
|
|
4649
4628
|
},
|
|
4650
|
-
o(
|
|
4651
|
-
|
|
4629
|
+
o(x) {
|
|
4630
|
+
qr(w, x), v = !1;
|
|
4652
4631
|
},
|
|
4653
|
-
d(
|
|
4654
|
-
|
|
4632
|
+
d(x) {
|
|
4633
|
+
x && ue(t), w && w.d(x), e[15](null), T = !1, U(C);
|
|
4655
4634
|
}
|
|
4656
4635
|
};
|
|
4657
4636
|
}
|
|
4658
|
-
function
|
|
4637
|
+
function yo(e, t, r) {
|
|
4659
4638
|
let n;
|
|
4660
|
-
Br(e,
|
|
4639
|
+
Br(e, ao, (g) => r(2, n = g));
|
|
4661
4640
|
let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modalsource: s = "" } = t, { lang: l = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t;
|
|
4662
4641
|
const p = () => {
|
|
4663
4642
|
fetch(f).then((F) => F.json()).then((F) => {
|
|
4664
|
-
Object.keys(F).forEach((
|
|
4665
|
-
|
|
4643
|
+
Object.keys(F).forEach((ut) => {
|
|
4644
|
+
It(ut, F[ut]);
|
|
4666
4645
|
});
|
|
4667
4646
|
}).catch((F) => {
|
|
4668
4647
|
console.log(F);
|
|
4669
4648
|
});
|
|
4670
4649
|
};
|
|
4671
|
-
Object.keys(
|
|
4672
|
-
|
|
4650
|
+
Object.keys(Mt).forEach((g) => {
|
|
4651
|
+
It(g, Mt[g]);
|
|
4673
4652
|
});
|
|
4674
|
-
let m, d = window.navigator.userAgent, v =
|
|
4653
|
+
let m, d = window.navigator.userAgent, v = uo(d) !== "PC", T = {}, C = "";
|
|
4675
4654
|
const S = () => {
|
|
4676
4655
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4677
|
-
},
|
|
4656
|
+
}, B = () => {
|
|
4678
4657
|
s === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : s === "infoCard" && window.postMessage(
|
|
4679
4658
|
{
|
|
4680
4659
|
type: "PlayerAccountGamingLimitDelete",
|
|
@@ -4683,23 +4662,23 @@ function _o(e, t, r) {
|
|
|
4683
4662
|
},
|
|
4684
4663
|
window.location.href
|
|
4685
4664
|
), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4686
|
-
},
|
|
4665
|
+
}, w = () => {
|
|
4687
4666
|
s === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : s === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4688
|
-
},
|
|
4667
|
+
}, x = (g) => g === "Time Limit" ? "cumulativeSessionLimits" : g === "Deposit Limit" ? "depositLimits" : g === "Wagering Limit" ? "wageringLimit" : "lossLimit", L = (g) => {
|
|
4689
4668
|
if (g.data)
|
|
4690
4669
|
switch (g.data.type) {
|
|
4691
4670
|
case "DeleteLimitsItem":
|
|
4692
|
-
T = g.data.removeData, C =
|
|
4671
|
+
T = g.data.removeData, C = x(g.data.removeName);
|
|
4693
4672
|
break;
|
|
4694
4673
|
}
|
|
4695
|
-
},
|
|
4696
|
-
|
|
4674
|
+
}, wr = () => {
|
|
4675
|
+
fo(l);
|
|
4697
4676
|
};
|
|
4698
|
-
|
|
4699
|
-
window.removeEventListener("message",
|
|
4677
|
+
Xr(() => (window.addEventListener("message", L, !1), () => {
|
|
4678
|
+
window.removeEventListener("message", L);
|
|
4700
4679
|
}));
|
|
4701
|
-
function
|
|
4702
|
-
|
|
4680
|
+
function Sr(g) {
|
|
4681
|
+
De[g ? "unshift" : "push"](() => {
|
|
4703
4682
|
m = g, r(1, m);
|
|
4704
4683
|
});
|
|
4705
4684
|
}
|
|
@@ -4707,10 +4686,10 @@ function _o(e, t, r) {
|
|
|
4707
4686
|
"modaltext" in g && r(0, a = g.modaltext), "modalsource" in g && r(7, s = g.modalsource), "lang" in g && r(8, l = g.lang), "clientstyling" in g && r(9, u = g.clientstyling), "clientstylingurl" in g && r(10, h = g.clientstylingurl), "mbsource" in g && r(11, c = g.mbsource), "translationurl" in g && r(12, f = g.translationurl), "$$scope" in g && r(13, o = g.$$scope);
|
|
4708
4687
|
}, e.$$.update = () => {
|
|
4709
4688
|
e.$$.dirty & /*modaltext, modalsource, lang*/
|
|
4710
|
-
385 && a && s && l &&
|
|
4711
|
-
514 && u && m &&
|
|
4712
|
-
1026 && h && m &&
|
|
4713
|
-
2050 && c && m &&
|
|
4689
|
+
385 && a && s && l && wr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4690
|
+
514 && u && m && lo(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4691
|
+
1026 && h && m && ho(m, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4692
|
+
2050 && c && m && co(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
|
|
4714
4693
|
4096 && f && p();
|
|
4715
4694
|
}, [
|
|
4716
4695
|
a,
|
|
@@ -4718,8 +4697,8 @@ function _o(e, t, r) {
|
|
|
4718
4697
|
n,
|
|
4719
4698
|
v,
|
|
4720
4699
|
S,
|
|
4721
|
-
|
|
4722
|
-
|
|
4700
|
+
B,
|
|
4701
|
+
w,
|
|
4723
4702
|
s,
|
|
4724
4703
|
l,
|
|
4725
4704
|
u,
|
|
@@ -4728,17 +4707,17 @@ function _o(e, t, r) {
|
|
|
4728
4707
|
f,
|
|
4729
4708
|
o,
|
|
4730
4709
|
i,
|
|
4731
|
-
|
|
4710
|
+
Sr
|
|
4732
4711
|
];
|
|
4733
4712
|
}
|
|
4734
|
-
class
|
|
4713
|
+
class Er extends on {
|
|
4735
4714
|
constructor(t) {
|
|
4736
|
-
super(),
|
|
4715
|
+
super(), rn(
|
|
4737
4716
|
this,
|
|
4738
4717
|
t,
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4718
|
+
yo,
|
|
4719
|
+
go,
|
|
4720
|
+
Rt,
|
|
4742
4721
|
{
|
|
4743
4722
|
modaltext: 0,
|
|
4744
4723
|
modalsource: 7,
|
|
@@ -4748,106 +4727,106 @@ class wr extends sn {
|
|
|
4748
4727
|
mbsource: 11,
|
|
4749
4728
|
translationurl: 12
|
|
4750
4729
|
},
|
|
4751
|
-
|
|
4730
|
+
mo
|
|
4752
4731
|
);
|
|
4753
4732
|
}
|
|
4754
4733
|
get modaltext() {
|
|
4755
4734
|
return this.$$.ctx[0];
|
|
4756
4735
|
}
|
|
4757
4736
|
set modaltext(t) {
|
|
4758
|
-
this.$$set({ modaltext: t }),
|
|
4737
|
+
this.$$set({ modaltext: t }), M();
|
|
4759
4738
|
}
|
|
4760
4739
|
get modalsource() {
|
|
4761
4740
|
return this.$$.ctx[7];
|
|
4762
4741
|
}
|
|
4763
4742
|
set modalsource(t) {
|
|
4764
|
-
this.$$set({ modalsource: t }),
|
|
4743
|
+
this.$$set({ modalsource: t }), M();
|
|
4765
4744
|
}
|
|
4766
4745
|
get lang() {
|
|
4767
4746
|
return this.$$.ctx[8];
|
|
4768
4747
|
}
|
|
4769
4748
|
set lang(t) {
|
|
4770
|
-
this.$$set({ lang: t }),
|
|
4749
|
+
this.$$set({ lang: t }), M();
|
|
4771
4750
|
}
|
|
4772
4751
|
get clientstyling() {
|
|
4773
4752
|
return this.$$.ctx[9];
|
|
4774
4753
|
}
|
|
4775
4754
|
set clientstyling(t) {
|
|
4776
|
-
this.$$set({ clientstyling: t }),
|
|
4755
|
+
this.$$set({ clientstyling: t }), M();
|
|
4777
4756
|
}
|
|
4778
4757
|
get clientstylingurl() {
|
|
4779
4758
|
return this.$$.ctx[10];
|
|
4780
4759
|
}
|
|
4781
4760
|
set clientstylingurl(t) {
|
|
4782
|
-
this.$$set({ clientstylingurl: t }),
|
|
4761
|
+
this.$$set({ clientstylingurl: t }), M();
|
|
4783
4762
|
}
|
|
4784
4763
|
get mbsource() {
|
|
4785
4764
|
return this.$$.ctx[11];
|
|
4786
4765
|
}
|
|
4787
4766
|
set mbsource(t) {
|
|
4788
|
-
this.$$set({ mbsource: t }),
|
|
4767
|
+
this.$$set({ mbsource: t }), M();
|
|
4789
4768
|
}
|
|
4790
4769
|
get translationurl() {
|
|
4791
4770
|
return this.$$.ctx[12];
|
|
4792
4771
|
}
|
|
4793
4772
|
set translationurl(t) {
|
|
4794
|
-
this.$$set({ translationurl: t }),
|
|
4773
|
+
this.$$set({ translationurl: t }), M();
|
|
4795
4774
|
}
|
|
4796
4775
|
}
|
|
4797
|
-
|
|
4798
|
-
const
|
|
4776
|
+
nn(Er, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
|
|
4777
|
+
const Lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4799
4778
|
__proto__: null,
|
|
4800
|
-
default:
|
|
4779
|
+
default: Er
|
|
4801
4780
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4802
4781
|
export {
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4782
|
+
K as $,
|
|
4783
|
+
_o as A,
|
|
4784
|
+
Ho as B,
|
|
4785
|
+
wo as C,
|
|
4786
|
+
De as D,
|
|
4787
|
+
lo as E,
|
|
4788
|
+
ho as F,
|
|
4789
|
+
So as G,
|
|
4790
|
+
ve as H,
|
|
4791
|
+
To as I,
|
|
4792
|
+
Ee as J,
|
|
4793
|
+
ao as K,
|
|
4794
|
+
Tr as L,
|
|
4795
|
+
kt as M,
|
|
4796
|
+
qr as N,
|
|
4797
|
+
Bo as O,
|
|
4798
|
+
Ar as P,
|
|
4799
|
+
Lr as Q,
|
|
4800
|
+
Or as R,
|
|
4801
|
+
on as S,
|
|
4802
|
+
Pr as T,
|
|
4803
|
+
Ao as U,
|
|
4804
|
+
Co as V,
|
|
4805
|
+
Lo as W,
|
|
4806
|
+
gr as a,
|
|
4807
|
+
Nr as b,
|
|
4808
|
+
nn as c,
|
|
4809
|
+
Be as d,
|
|
4810
|
+
I as e,
|
|
4811
|
+
M as f,
|
|
4812
|
+
ht as g,
|
|
4834
4813
|
H as h,
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4814
|
+
rn as i,
|
|
4815
|
+
Eo as j,
|
|
4816
|
+
nt as k,
|
|
4817
|
+
P as l,
|
|
4818
|
+
Ae as m,
|
|
4819
|
+
Pe as n,
|
|
4820
|
+
O as o,
|
|
4821
|
+
xo as p,
|
|
4822
|
+
ue as q,
|
|
4844
4823
|
U as r,
|
|
4845
|
-
|
|
4846
|
-
|
|
4824
|
+
Rt as s,
|
|
4825
|
+
ne as t,
|
|
4847
4826
|
Br as u,
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4827
|
+
uo as v,
|
|
4828
|
+
Xr as w,
|
|
4829
|
+
co as x,
|
|
4830
|
+
Po as y,
|
|
4831
|
+
vo as z
|
|
4853
4832
|
};
|