@everymatrix/player-account-gaming-limits-info-card 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-Csrimoqp.js → PlayerAccountGamingLimitsConfirmationModal-C4Dz27ih.js} +822 -843
- package/components/PlayerAccountGamingLimitsConfirmationModal-CWWYAWLE.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CPjx_DH_.js → PlayerAccountGamingLimitsConfirmationModal-SvPCyUaX.js} +837 -858
- package/components/PlayerAccountGamingLimitsGroupEdit-BPDeFoM9.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-DSun0_Zz.js → PlayerAccountGamingLimitsGroupEdit-BfvzTuTq.js} +56 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-Ca1m5XU8.js → PlayerAccountGamingLimitsGroupEdit-M2IoKtNL.js} +56 -54
- package/components/{PlayerAccountGamingLimitsInfoCard-DzK7V5Rg.js → PlayerAccountGamingLimitsInfoCard-4YX3-aGI.js} +121 -121
- package/components/{PlayerAccountGamingLimitsInfoCard-C88f1sX4.js → PlayerAccountGamingLimitsInfoCard-ByFShT-D.js} +122 -122
- package/components/{PlayerAccountGamingLimitsInfoCard-BQDa_Mg_.cjs → PlayerAccountGamingLimitsInfoCard-DWA74Hy9.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DHSJ1hpq.js → PlayerAccountGamingLimitsPopup-CzCXVil-.js} +27 -27
- package/components/{PlayerAccountGamingLimitsPopup-Ce55cV9R.js → PlayerAccountGamingLimitsPopup-D5t58Dh9.js} +32 -32
- package/components/{PlayerAccountGamingLimitsPopup-4zxoW8_v.cjs → PlayerAccountGamingLimitsPopup-DRb7Bh4V.cjs} +1 -1
- package/components/{PlayerAccountModal-DJEDpoZF.cjs → PlayerAccountModal-DeMC4pd5.cjs} +1 -1
- package/components/{PlayerAccountModal-0pqyx-hh.js → PlayerAccountModal-Dq5DG-1T.js} +28 -28
- package/components/{PlayerAccountModal-AxHHIdPq.js → PlayerAccountModal-G6YE_K9q.js} +28 -28
- package/es2015/player-account-gaming-limits-info-card.cjs +1 -1
- package/es2015/player-account-gaming-limits-info-card.js +1 -1
- package/esnext/player-account-gaming-limits-info-card.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-RcOa0NNg.cjs +0 -21
- package/components/PlayerAccountGamingLimitsGroupEdit-Cqs__n7J.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,18 +681,18 @@ 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(
|
|
689
|
-
function
|
|
687
|
+
const sn = "4";
|
|
688
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
|
|
689
|
+
function an(e, t) {
|
|
690
690
|
if (e) {
|
|
691
691
|
const r = document.createElement("style");
|
|
692
692
|
r.innerHTML = t, e.appendChild(r);
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function un(e, t) {
|
|
696
696
|
if (!e || !t)
|
|
697
697
|
return;
|
|
698
698
|
const r = new URL(t);
|
|
@@ -703,7 +703,7 @@ function ln(e, t) {
|
|
|
703
703
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
704
704
|
});
|
|
705
705
|
}
|
|
706
|
-
function
|
|
706
|
+
function ln(e, t, r) {
|
|
707
707
|
if (window.emMessageBus) {
|
|
708
708
|
const n = document.createElement("style");
|
|
709
709
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -725,24 +725,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
725
725
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
726
726
|
PERFORMANCE OF THIS SOFTWARE.
|
|
727
727
|
***************************************************************************** */
|
|
728
|
-
var
|
|
729
|
-
return
|
|
728
|
+
var je = function(e, t) {
|
|
729
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
730
730
|
r.__proto__ = n;
|
|
731
731
|
} || function(r, n) {
|
|
732
732
|
for (var i in n)
|
|
733
733
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
734
|
-
},
|
|
734
|
+
}, je(e, t);
|
|
735
735
|
};
|
|
736
|
-
function
|
|
736
|
+
function R(e, t) {
|
|
737
737
|
if (typeof t != "function" && t !== null)
|
|
738
738
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
739
|
-
|
|
739
|
+
je(e, t);
|
|
740
740
|
function r() {
|
|
741
741
|
this.constructor = e;
|
|
742
742
|
}
|
|
743
743
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
var _ = function() {
|
|
746
|
+
return _ = Object.assign || function(t) {
|
|
747
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
748
|
+
r = arguments[n];
|
|
749
|
+
for (var o in r)
|
|
750
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
751
|
+
}
|
|
752
|
+
return t;
|
|
753
|
+
}, _.apply(this, arguments);
|
|
754
|
+
};
|
|
755
|
+
function hn(e, t) {
|
|
756
|
+
var r = {};
|
|
757
|
+
for (var n in e)
|
|
758
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
759
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
760
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
761
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
762
|
+
return r;
|
|
763
|
+
}
|
|
764
|
+
function ke(e) {
|
|
746
765
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
747
766
|
if (r)
|
|
748
767
|
return r.call(e);
|
|
@@ -754,7 +773,7 @@ function Xe(e) {
|
|
|
754
773
|
};
|
|
755
774
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
756
775
|
}
|
|
757
|
-
function
|
|
776
|
+
function Ve(e, t) {
|
|
758
777
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
759
778
|
if (!r)
|
|
760
779
|
return e;
|
|
@@ -774,22 +793,22 @@ function ze(e, t) {
|
|
|
774
793
|
}
|
|
775
794
|
return o;
|
|
776
795
|
}
|
|
777
|
-
function
|
|
778
|
-
if (arguments.length === 2)
|
|
796
|
+
function W(e, t, r) {
|
|
797
|
+
if (r || arguments.length === 2)
|
|
779
798
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
780
799
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
781
800
|
return e.concat(o || t);
|
|
782
801
|
}
|
|
783
|
-
function
|
|
802
|
+
function $(e) {
|
|
784
803
|
return typeof e == "function";
|
|
785
804
|
}
|
|
786
|
-
function
|
|
805
|
+
function Xt(e) {
|
|
787
806
|
var t = function(n) {
|
|
788
807
|
Error.call(n), n.stack = new Error().stack;
|
|
789
808
|
}, r = e(t);
|
|
790
809
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
791
810
|
}
|
|
792
|
-
var
|
|
811
|
+
var Ie = Xt(function(e) {
|
|
793
812
|
return function(r) {
|
|
794
813
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
795
814
|
` + r.map(function(n, i) {
|
|
@@ -798,13 +817,13 @@ var Ne = Wt(function(e) {
|
|
|
798
817
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
799
818
|
};
|
|
800
819
|
});
|
|
801
|
-
function
|
|
820
|
+
function Xe(e, t) {
|
|
802
821
|
if (e) {
|
|
803
822
|
var r = e.indexOf(t);
|
|
804
823
|
0 <= r && e.splice(r, 1);
|
|
805
824
|
}
|
|
806
825
|
}
|
|
807
|
-
var
|
|
826
|
+
var we = function() {
|
|
808
827
|
function e(t) {
|
|
809
828
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
810
829
|
}
|
|
@@ -816,7 +835,7 @@ var Se = function() {
|
|
|
816
835
|
if (a)
|
|
817
836
|
if (this._parentage = null, Array.isArray(a))
|
|
818
837
|
try {
|
|
819
|
-
for (var s =
|
|
838
|
+
for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
|
|
820
839
|
var u = l.value;
|
|
821
840
|
u.remove(this);
|
|
822
841
|
}
|
|
@@ -833,22 +852,22 @@ var Se = function() {
|
|
|
833
852
|
else
|
|
834
853
|
a.remove(this);
|
|
835
854
|
var h = this.initialTeardown;
|
|
836
|
-
if (
|
|
855
|
+
if ($(h))
|
|
837
856
|
try {
|
|
838
857
|
h();
|
|
839
858
|
} catch (d) {
|
|
840
|
-
o = d instanceof
|
|
859
|
+
o = d instanceof Ie ? d.errors : [d];
|
|
841
860
|
}
|
|
842
861
|
var c = this._finalizers;
|
|
843
862
|
if (c) {
|
|
844
863
|
this._finalizers = null;
|
|
845
864
|
try {
|
|
846
|
-
for (var f =
|
|
865
|
+
for (var f = ke(c), p = f.next(); !p.done; p = f.next()) {
|
|
847
866
|
var m = p.value;
|
|
848
867
|
try {
|
|
849
|
-
|
|
868
|
+
mt(m);
|
|
850
869
|
} catch (d) {
|
|
851
|
-
o = o ?? [], d instanceof
|
|
870
|
+
o = o ?? [], d instanceof Ie ? o = W(W([], Ve(o)), Ve(d.errors)) : o.push(d);
|
|
852
871
|
}
|
|
853
872
|
}
|
|
854
873
|
} catch (d) {
|
|
@@ -863,13 +882,13 @@ var Se = function() {
|
|
|
863
882
|
}
|
|
864
883
|
}
|
|
865
884
|
if (o)
|
|
866
|
-
throw new
|
|
885
|
+
throw new Ie(o);
|
|
867
886
|
}
|
|
868
887
|
}, e.prototype.add = function(t) {
|
|
869
888
|
var r;
|
|
870
889
|
if (t && t !== this)
|
|
871
890
|
if (this.closed)
|
|
872
|
-
|
|
891
|
+
mt(t);
|
|
873
892
|
else {
|
|
874
893
|
if (t instanceof e) {
|
|
875
894
|
if (t.closed || t._hasParent(this))
|
|
@@ -886,52 +905,56 @@ var Se = function() {
|
|
|
886
905
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
887
906
|
}, e.prototype._removeParent = function(t) {
|
|
888
907
|
var r = this._parentage;
|
|
889
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
908
|
+
r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
|
|
890
909
|
}, e.prototype.remove = function(t) {
|
|
891
910
|
var r = this._finalizers;
|
|
892
|
-
r &&
|
|
911
|
+
r && Xe(r, t), t instanceof e && t._removeParent(this);
|
|
893
912
|
}, e.EMPTY = function() {
|
|
894
913
|
var t = new e();
|
|
895
914
|
return t.closed = !0, t;
|
|
896
915
|
}(), e;
|
|
897
|
-
}(),
|
|
898
|
-
function
|
|
899
|
-
return e instanceof
|
|
900
|
-
}
|
|
901
|
-
function
|
|
902
|
-
|
|
903
|
-
}
|
|
904
|
-
var
|
|
905
|
-
|
|
906
|
-
|
|
916
|
+
}(), zt = we.EMPTY;
|
|
917
|
+
function Wt(e) {
|
|
918
|
+
return e instanceof we || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
919
|
+
}
|
|
920
|
+
function mt(e) {
|
|
921
|
+
$(e) ? e() : e.unsubscribe();
|
|
922
|
+
}
|
|
923
|
+
var Zt = {
|
|
924
|
+
onUnhandledError: null,
|
|
925
|
+
onStoppedNotification: null,
|
|
926
|
+
Promise: void 0,
|
|
927
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
928
|
+
useDeprecatedNextContext: !1
|
|
929
|
+
}, cn = {
|
|
907
930
|
setTimeout: function(e, t) {
|
|
908
931
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
909
932
|
r[n - 2] = arguments[n];
|
|
910
|
-
return setTimeout.apply(void 0,
|
|
933
|
+
return setTimeout.apply(void 0, W([e, t], Ve(r)));
|
|
911
934
|
},
|
|
912
935
|
clearTimeout: function(e) {
|
|
913
936
|
return clearTimeout(e);
|
|
914
937
|
},
|
|
915
938
|
delegate: void 0
|
|
916
939
|
};
|
|
917
|
-
function
|
|
918
|
-
|
|
940
|
+
function fn(e) {
|
|
941
|
+
cn.setTimeout(function() {
|
|
919
942
|
throw e;
|
|
920
943
|
});
|
|
921
944
|
}
|
|
922
|
-
function
|
|
945
|
+
function pt() {
|
|
923
946
|
}
|
|
924
947
|
function pe(e) {
|
|
925
948
|
e();
|
|
926
949
|
}
|
|
927
|
-
var
|
|
928
|
-
|
|
950
|
+
var Qt = function(e) {
|
|
951
|
+
R(t, e);
|
|
929
952
|
function t(r) {
|
|
930
953
|
var n = e.call(this) || this;
|
|
931
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
954
|
+
return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = bn, n;
|
|
932
955
|
}
|
|
933
956
|
return t.create = function(r, n, i) {
|
|
934
|
-
return new
|
|
957
|
+
return new ze(r, n, i);
|
|
935
958
|
}, t.prototype.next = function(r) {
|
|
936
959
|
this.isStopped || this._next(r);
|
|
937
960
|
}, t.prototype.error = function(r) {
|
|
@@ -955,7 +978,11 @@ var Jt = function(e) {
|
|
|
955
978
|
this.unsubscribe();
|
|
956
979
|
}
|
|
957
980
|
}, t;
|
|
958
|
-
}(
|
|
981
|
+
}(we), mn = Function.prototype.bind;
|
|
982
|
+
function Me(e, t) {
|
|
983
|
+
return mn.call(e, t);
|
|
984
|
+
}
|
|
985
|
+
var pn = function() {
|
|
959
986
|
function e(t) {
|
|
960
987
|
this.partialObserver = t;
|
|
961
988
|
}
|
|
@@ -986,29 +1013,41 @@ var Jt = function(e) {
|
|
|
986
1013
|
he(r);
|
|
987
1014
|
}
|
|
988
1015
|
}, e;
|
|
989
|
-
}(),
|
|
990
|
-
|
|
1016
|
+
}(), ze = function(e) {
|
|
1017
|
+
R(t, e);
|
|
991
1018
|
function t(r, n, i) {
|
|
992
1019
|
var o = e.call(this) || this, a;
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
1020
|
+
if ($(r) || !r)
|
|
1021
|
+
a = {
|
|
1022
|
+
next: r ?? void 0,
|
|
1023
|
+
error: n ?? void 0,
|
|
1024
|
+
complete: i ?? void 0
|
|
1025
|
+
};
|
|
1026
|
+
else {
|
|
1027
|
+
var s;
|
|
1028
|
+
o && Zt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
1029
|
+
return o.unsubscribe();
|
|
1030
|
+
}, a = {
|
|
1031
|
+
next: r.next && Me(r.next, s),
|
|
1032
|
+
error: r.error && Me(r.error, s),
|
|
1033
|
+
complete: r.complete && Me(r.complete, s)
|
|
1034
|
+
}) : a = r;
|
|
1035
|
+
}
|
|
1036
|
+
return o.destination = new pn(a), o;
|
|
998
1037
|
}
|
|
999
1038
|
return t;
|
|
1000
|
-
}(
|
|
1039
|
+
}(Qt);
|
|
1001
1040
|
function he(e) {
|
|
1002
|
-
|
|
1041
|
+
fn(e);
|
|
1003
1042
|
}
|
|
1004
1043
|
function dn(e) {
|
|
1005
1044
|
throw e;
|
|
1006
1045
|
}
|
|
1007
1046
|
var bn = {
|
|
1008
1047
|
closed: !0,
|
|
1009
|
-
next:
|
|
1048
|
+
next: pt,
|
|
1010
1049
|
error: dn,
|
|
1011
|
-
complete:
|
|
1050
|
+
complete: pt
|
|
1012
1051
|
}, gn = function() {
|
|
1013
1052
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1014
1053
|
}();
|
|
@@ -1022,7 +1061,7 @@ function vn(e) {
|
|
|
1022
1061
|
}, r);
|
|
1023
1062
|
};
|
|
1024
1063
|
}
|
|
1025
|
-
var
|
|
1064
|
+
var dt = function() {
|
|
1026
1065
|
function e(t) {
|
|
1027
1066
|
t && (this._subscribe = t);
|
|
1028
1067
|
}
|
|
@@ -1030,7 +1069,7 @@ var gt = function() {
|
|
|
1030
1069
|
var r = new e();
|
|
1031
1070
|
return r.source = this, r.operator = t, r;
|
|
1032
1071
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1033
|
-
var i = this, o = xn(t) ? t : new
|
|
1072
|
+
var i = this, o = xn(t) ? t : new ze(t, r, n);
|
|
1034
1073
|
return pe(function() {
|
|
1035
1074
|
var a = i, s = a.operator, l = a.source;
|
|
1036
1075
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1043,8 +1082,8 @@ var gt = function() {
|
|
|
1043
1082
|
}
|
|
1044
1083
|
}, e.prototype.forEach = function(t, r) {
|
|
1045
1084
|
var n = this;
|
|
1046
|
-
return r =
|
|
1047
|
-
var a = new
|
|
1085
|
+
return r = bt(r), new r(function(i, o) {
|
|
1086
|
+
var a = new ze({
|
|
1048
1087
|
next: function(s) {
|
|
1049
1088
|
try {
|
|
1050
1089
|
t(s);
|
|
@@ -1068,7 +1107,7 @@ var gt = function() {
|
|
|
1068
1107
|
return vn(t)(this);
|
|
1069
1108
|
}, e.prototype.toPromise = function(t) {
|
|
1070
1109
|
var r = this;
|
|
1071
|
-
return t =
|
|
1110
|
+
return t = bt(t), new t(function(n, i) {
|
|
1072
1111
|
var o;
|
|
1073
1112
|
r.subscribe(function(a) {
|
|
1074
1113
|
return o = a;
|
|
@@ -1082,28 +1121,28 @@ var gt = function() {
|
|
|
1082
1121
|
return new e(t);
|
|
1083
1122
|
}, e;
|
|
1084
1123
|
}();
|
|
1085
|
-
function
|
|
1124
|
+
function bt(e) {
|
|
1086
1125
|
var t;
|
|
1087
|
-
return (t = e ??
|
|
1126
|
+
return (t = e ?? Zt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1088
1127
|
}
|
|
1089
1128
|
function _n(e) {
|
|
1090
|
-
return e &&
|
|
1129
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
1091
1130
|
}
|
|
1092
1131
|
function xn(e) {
|
|
1093
|
-
return e && e instanceof
|
|
1132
|
+
return e && e instanceof Qt || _n(e) && Wt(e);
|
|
1094
1133
|
}
|
|
1095
|
-
var En =
|
|
1134
|
+
var En = Xt(function(e) {
|
|
1096
1135
|
return function() {
|
|
1097
1136
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1098
1137
|
};
|
|
1099
|
-
}),
|
|
1100
|
-
|
|
1138
|
+
}), Jt = function(e) {
|
|
1139
|
+
R(t, e);
|
|
1101
1140
|
function t() {
|
|
1102
1141
|
var r = e.call(this) || this;
|
|
1103
1142
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1104
1143
|
}
|
|
1105
1144
|
return t.prototype.lift = function(r) {
|
|
1106
|
-
var n = new
|
|
1145
|
+
var n = new gt(this, this);
|
|
1107
1146
|
return n.operator = r, n;
|
|
1108
1147
|
}, t.prototype._throwIfClosed = function() {
|
|
1109
1148
|
if (this.closed)
|
|
@@ -1115,7 +1154,7 @@ var En = Wt(function(e) {
|
|
|
1115
1154
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1116
1155
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1117
1156
|
try {
|
|
1118
|
-
for (var a =
|
|
1157
|
+
for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1119
1158
|
var l = s.value;
|
|
1120
1159
|
l.next(r);
|
|
1121
1160
|
}
|
|
@@ -1164,20 +1203,20 @@ var En = Wt(function(e) {
|
|
|
1164
1203
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1165
1204
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1166
1205
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1167
|
-
return o || a ?
|
|
1168
|
-
n.currentObservers = null,
|
|
1206
|
+
return o || a ? zt : (this.currentObservers = null, s.push(r), new we(function() {
|
|
1207
|
+
n.currentObservers = null, Xe(s, r);
|
|
1169
1208
|
}));
|
|
1170
1209
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1171
1210
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1172
1211
|
i ? r.error(o) : a && r.complete();
|
|
1173
1212
|
}, t.prototype.asObservable = function() {
|
|
1174
|
-
var r = new
|
|
1213
|
+
var r = new dt();
|
|
1175
1214
|
return r.source = this, r;
|
|
1176
1215
|
}, t.create = function(r, n) {
|
|
1177
|
-
return new
|
|
1216
|
+
return new gt(r, n);
|
|
1178
1217
|
}, t;
|
|
1179
|
-
}(
|
|
1180
|
-
|
|
1218
|
+
}(dt), gt = function(e) {
|
|
1219
|
+
R(t, e);
|
|
1181
1220
|
function t(r, n) {
|
|
1182
1221
|
var i = e.call(this) || this;
|
|
1183
1222
|
return i.destination = r, i.source = n, i;
|
|
@@ -1193,17 +1232,17 @@ var En = Wt(function(e) {
|
|
|
1193
1232
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1194
1233
|
}, t.prototype._subscribe = function(r) {
|
|
1195
1234
|
var n, i;
|
|
1196
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1235
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
|
|
1197
1236
|
}, t;
|
|
1198
|
-
}(
|
|
1237
|
+
}(Jt), qt = {
|
|
1199
1238
|
now: function() {
|
|
1200
|
-
return (
|
|
1239
|
+
return (qt.delegate || Date).now();
|
|
1201
1240
|
},
|
|
1202
1241
|
delegate: void 0
|
|
1203
1242
|
}, wn = function(e) {
|
|
1204
|
-
|
|
1243
|
+
R(t, e);
|
|
1205
1244
|
function t(r, n, i) {
|
|
1206
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1245
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = qt);
|
|
1207
1246
|
var o = e.call(this) || this;
|
|
1208
1247
|
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;
|
|
1209
1248
|
}
|
|
@@ -1223,24 +1262,24 @@ var En = Wt(function(e) {
|
|
|
1223
1262
|
u && o.splice(0, u + 1);
|
|
1224
1263
|
}
|
|
1225
1264
|
}, t;
|
|
1226
|
-
}(
|
|
1227
|
-
const
|
|
1228
|
-
if (
|
|
1265
|
+
}(Jt);
|
|
1266
|
+
const yt = [], vt = {}, Sn = (e, t = 0) => {
|
|
1267
|
+
if (yt.indexOf(e) == -1) {
|
|
1229
1268
|
const r = new wn(t);
|
|
1230
|
-
|
|
1269
|
+
vt[e] = r, yt.push(e);
|
|
1231
1270
|
}
|
|
1232
|
-
return
|
|
1271
|
+
return vt[e];
|
|
1233
1272
|
}, k = [];
|
|
1234
1273
|
function Tn(e, t) {
|
|
1235
1274
|
return {
|
|
1236
|
-
subscribe:
|
|
1275
|
+
subscribe: Se(e, t).subscribe
|
|
1237
1276
|
};
|
|
1238
1277
|
}
|
|
1239
|
-
function
|
|
1278
|
+
function Se(e, t = O) {
|
|
1240
1279
|
let r;
|
|
1241
1280
|
const n = /* @__PURE__ */ new Set();
|
|
1242
1281
|
function i(s) {
|
|
1243
|
-
if (
|
|
1282
|
+
if (Rt(e, s) && (e = s, r)) {
|
|
1244
1283
|
const l = !k.length;
|
|
1245
1284
|
for (const u of n)
|
|
1246
1285
|
u[1](), k.push(u, e);
|
|
@@ -1254,15 +1293,15 @@ function Te(e, t = L) {
|
|
|
1254
1293
|
function o(s) {
|
|
1255
1294
|
i(s(e));
|
|
1256
1295
|
}
|
|
1257
|
-
function a(s, l =
|
|
1296
|
+
function a(s, l = O) {
|
|
1258
1297
|
const u = [s, l];
|
|
1259
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1298
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || O), s(e), () => {
|
|
1260
1299
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1261
1300
|
};
|
|
1262
1301
|
}
|
|
1263
1302
|
return { set: i, update: o, subscribe: a };
|
|
1264
1303
|
}
|
|
1265
|
-
function
|
|
1304
|
+
function Y(e, t, r) {
|
|
1266
1305
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1267
1306
|
if (!i.every(Boolean))
|
|
1268
1307
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1270,15 +1309,15 @@ function q(e, t, r) {
|
|
|
1270
1309
|
return Tn(r, (a, s) => {
|
|
1271
1310
|
let l = !1;
|
|
1272
1311
|
const u = [];
|
|
1273
|
-
let h = 0, c =
|
|
1312
|
+
let h = 0, c = O;
|
|
1274
1313
|
const f = () => {
|
|
1275
1314
|
if (h)
|
|
1276
1315
|
return;
|
|
1277
1316
|
c();
|
|
1278
1317
|
const m = t(n ? u[0] : u, a, s);
|
|
1279
|
-
o ? a(m) : c =
|
|
1318
|
+
o ? a(m) : c = Ee(m) ? m : O;
|
|
1280
1319
|
}, p = i.map(
|
|
1281
|
-
(m, d) =>
|
|
1320
|
+
(m, d) => Gt(
|
|
1282
1321
|
m,
|
|
1283
1322
|
(v) => {
|
|
1284
1323
|
u[d] = v, h &= ~(1 << d), l && f();
|
|
@@ -1297,45 +1336,45 @@ function Hn(e) {
|
|
|
1297
1336
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1298
1337
|
}
|
|
1299
1338
|
var Cn = function(t) {
|
|
1300
|
-
return
|
|
1339
|
+
return Bn(t) && !An(t);
|
|
1301
1340
|
};
|
|
1302
|
-
function
|
|
1341
|
+
function Bn(e) {
|
|
1303
1342
|
return !!e && typeof e == "object";
|
|
1304
1343
|
}
|
|
1305
|
-
function
|
|
1344
|
+
function An(e) {
|
|
1306
1345
|
var t = Object.prototype.toString.call(e);
|
|
1307
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1346
|
+
return t === "[object RegExp]" || t === "[object Date]" || On(e);
|
|
1308
1347
|
}
|
|
1309
|
-
var Pn = typeof Symbol == "function" && Symbol.for,
|
|
1310
|
-
function
|
|
1311
|
-
return e.$$typeof ===
|
|
1348
|
+
var Pn = typeof Symbol == "function" && Symbol.for, Ln = Pn ? Symbol.for("react.element") : 60103;
|
|
1349
|
+
function On(e) {
|
|
1350
|
+
return e.$$typeof === Ln;
|
|
1312
1351
|
}
|
|
1313
1352
|
function In(e) {
|
|
1314
1353
|
return Array.isArray(e) ? [] : {};
|
|
1315
1354
|
}
|
|
1316
|
-
function
|
|
1317
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1355
|
+
function se(e, t) {
|
|
1356
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(In(e), e, t) : e;
|
|
1318
1357
|
}
|
|
1319
1358
|
function Mn(e, t, r) {
|
|
1320
1359
|
return e.concat(t).map(function(n) {
|
|
1321
|
-
return
|
|
1360
|
+
return se(n, r);
|
|
1322
1361
|
});
|
|
1323
1362
|
}
|
|
1324
1363
|
function Nn(e, t) {
|
|
1325
1364
|
if (!t.customMerge)
|
|
1326
|
-
return
|
|
1365
|
+
return Z;
|
|
1327
1366
|
var r = t.customMerge(e);
|
|
1328
|
-
return typeof r == "function" ? r :
|
|
1367
|
+
return typeof r == "function" ? r : Z;
|
|
1329
1368
|
}
|
|
1330
1369
|
function $n(e) {
|
|
1331
1370
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1332
1371
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1333
1372
|
}) : [];
|
|
1334
1373
|
}
|
|
1335
|
-
function
|
|
1374
|
+
function _t(e) {
|
|
1336
1375
|
return Object.keys(e).concat($n(e));
|
|
1337
1376
|
}
|
|
1338
|
-
function
|
|
1377
|
+
function Yt(e, t) {
|
|
1339
1378
|
try {
|
|
1340
1379
|
return t in e;
|
|
1341
1380
|
} catch {
|
|
@@ -1343,179 +1382,129 @@ function Kt(e, t) {
|
|
|
1343
1382
|
}
|
|
1344
1383
|
}
|
|
1345
1384
|
function Rn(e, t) {
|
|
1346
|
-
return
|
|
1385
|
+
return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1347
1386
|
}
|
|
1348
1387
|
function Gn(e, t, r) {
|
|
1349
1388
|
var n = {};
|
|
1350
|
-
return r.isMergeableObject(e) &&
|
|
1351
|
-
n[i] =
|
|
1352
|
-
}),
|
|
1353
|
-
Rn(e, i) || (
|
|
1389
|
+
return r.isMergeableObject(e) && _t(e).forEach(function(i) {
|
|
1390
|
+
n[i] = se(e[i], r);
|
|
1391
|
+
}), _t(t).forEach(function(i) {
|
|
1392
|
+
Rn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
1354
1393
|
}), n;
|
|
1355
1394
|
}
|
|
1356
|
-
function
|
|
1357
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Cn, r.cloneUnlessOtherwiseSpecified =
|
|
1395
|
+
function Z(e, t, r) {
|
|
1396
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Cn, r.cloneUnlessOtherwiseSpecified = se;
|
|
1358
1397
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1359
|
-
return o ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) :
|
|
1398
|
+
return o ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : se(t, r);
|
|
1360
1399
|
}
|
|
1361
|
-
|
|
1400
|
+
Z.all = function(t, r) {
|
|
1362
1401
|
if (!Array.isArray(t))
|
|
1363
1402
|
throw new Error("first argument should be an array");
|
|
1364
1403
|
return t.reduce(function(n, i) {
|
|
1365
|
-
return
|
|
1404
|
+
return Z(n, i, r);
|
|
1366
1405
|
}, {});
|
|
1367
1406
|
};
|
|
1368
|
-
var Un =
|
|
1407
|
+
var Un = Z, Dn = Un;
|
|
1369
1408
|
const Fn = /* @__PURE__ */ Hn(Dn);
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
r.__proto__ = n;
|
|
1373
|
-
} || function(r, n) {
|
|
1374
|
-
for (var i in n)
|
|
1375
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1376
|
-
}, Je(e, t);
|
|
1377
|
-
};
|
|
1378
|
-
function He(e, t) {
|
|
1379
|
-
if (typeof t != "function" && t !== null)
|
|
1380
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1381
|
-
Je(e, t);
|
|
1382
|
-
function r() {
|
|
1383
|
-
this.constructor = e;
|
|
1384
|
-
}
|
|
1385
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1386
|
-
}
|
|
1387
|
-
var M = function() {
|
|
1388
|
-
return M = Object.assign || function(t) {
|
|
1389
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1390
|
-
r = arguments[n];
|
|
1391
|
-
for (var o in r)
|
|
1392
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1393
|
-
}
|
|
1394
|
-
return t;
|
|
1395
|
-
}, M.apply(this, arguments);
|
|
1396
|
-
};
|
|
1397
|
-
function jn(e, t) {
|
|
1398
|
-
var r = {};
|
|
1399
|
-
for (var n in e)
|
|
1400
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1401
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1402
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1403
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1404
|
-
return r;
|
|
1405
|
-
}
|
|
1406
|
-
function $e(e, t, r) {
|
|
1407
|
-
if (r || arguments.length === 2)
|
|
1408
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1409
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1410
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1411
|
-
}
|
|
1412
|
-
function Re(e, t) {
|
|
1413
|
-
var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Wn, i = t && t.strategy ? t.strategy : Xn;
|
|
1409
|
+
function Ne(e, t) {
|
|
1410
|
+
var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : zn, i = t && t.strategy ? t.strategy : kn;
|
|
1414
1411
|
return i(e, {
|
|
1415
1412
|
cache: r,
|
|
1416
1413
|
serializer: n
|
|
1417
1414
|
});
|
|
1418
1415
|
}
|
|
1419
|
-
function
|
|
1416
|
+
function jn(e) {
|
|
1420
1417
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1421
1418
|
}
|
|
1422
|
-
function
|
|
1423
|
-
var i =
|
|
1419
|
+
function Kt(e, t, r, n) {
|
|
1420
|
+
var i = jn(n) ? n : r(n), o = t.get(i);
|
|
1424
1421
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1425
1422
|
}
|
|
1426
1423
|
function er(e, t, r) {
|
|
1427
1424
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1428
1425
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1429
1426
|
}
|
|
1430
|
-
function
|
|
1427
|
+
function it(e, t, r, n, i) {
|
|
1431
1428
|
return r.bind(t, e, n, i);
|
|
1432
1429
|
}
|
|
1433
|
-
function
|
|
1434
|
-
var r = e.length === 1 ?
|
|
1435
|
-
return
|
|
1430
|
+
function kn(e, t) {
|
|
1431
|
+
var r = e.length === 1 ? Kt : er;
|
|
1432
|
+
return it(e, this, r, t.cache.create(), t.serializer);
|
|
1436
1433
|
}
|
|
1437
|
-
function
|
|
1438
|
-
return
|
|
1434
|
+
function Vn(e, t) {
|
|
1435
|
+
return it(e, this, er, t.cache.create(), t.serializer);
|
|
1439
1436
|
}
|
|
1440
|
-
|
|
1437
|
+
function Xn(e, t) {
|
|
1438
|
+
return it(e, this, Kt, t.cache.create(), t.serializer);
|
|
1439
|
+
}
|
|
1440
|
+
var zn = function() {
|
|
1441
1441
|
return JSON.stringify(arguments);
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
}()
|
|
1454
|
-
), Qn = {
|
|
1442
|
+
};
|
|
1443
|
+
function ot() {
|
|
1444
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1445
|
+
}
|
|
1446
|
+
ot.prototype.get = function(e) {
|
|
1447
|
+
return this.cache[e];
|
|
1448
|
+
};
|
|
1449
|
+
ot.prototype.set = function(e, t) {
|
|
1450
|
+
this.cache[e] = t;
|
|
1451
|
+
};
|
|
1452
|
+
var Wn = {
|
|
1455
1453
|
create: function() {
|
|
1456
|
-
return new
|
|
1454
|
+
return new ot();
|
|
1457
1455
|
}
|
|
1458
|
-
},
|
|
1459
|
-
variadic:
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1463
|
-
r = arguments[n];
|
|
1464
|
-
for (var o in r)
|
|
1465
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1466
|
-
}
|
|
1467
|
-
return t;
|
|
1468
|
-
}, _e.apply(this, arguments);
|
|
1469
|
-
};
|
|
1470
|
-
var b;
|
|
1456
|
+
}, $e = {
|
|
1457
|
+
variadic: Vn,
|
|
1458
|
+
monadic: Xn
|
|
1459
|
+
}, b;
|
|
1471
1460
|
(function(e) {
|
|
1472
1461
|
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";
|
|
1473
1462
|
})(b || (b = {}));
|
|
1474
|
-
var
|
|
1463
|
+
var E;
|
|
1475
1464
|
(function(e) {
|
|
1476
1465
|
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";
|
|
1477
|
-
})(
|
|
1478
|
-
var
|
|
1466
|
+
})(E || (E = {}));
|
|
1467
|
+
var Q;
|
|
1479
1468
|
(function(e) {
|
|
1480
1469
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1481
|
-
})(
|
|
1482
|
-
function
|
|
1483
|
-
return e.type ===
|
|
1470
|
+
})(Q || (Q = {}));
|
|
1471
|
+
function xt(e) {
|
|
1472
|
+
return e.type === E.literal;
|
|
1473
|
+
}
|
|
1474
|
+
function Zn(e) {
|
|
1475
|
+
return e.type === E.argument;
|
|
1484
1476
|
}
|
|
1485
|
-
function
|
|
1486
|
-
return e.type ===
|
|
1477
|
+
function tr(e) {
|
|
1478
|
+
return e.type === E.number;
|
|
1487
1479
|
}
|
|
1488
1480
|
function rr(e) {
|
|
1489
|
-
return e.type ===
|
|
1481
|
+
return e.type === E.date;
|
|
1490
1482
|
}
|
|
1491
1483
|
function nr(e) {
|
|
1492
|
-
return e.type ===
|
|
1484
|
+
return e.type === E.time;
|
|
1493
1485
|
}
|
|
1494
1486
|
function ir(e) {
|
|
1495
|
-
return e.type ===
|
|
1487
|
+
return e.type === E.select;
|
|
1496
1488
|
}
|
|
1497
1489
|
function or(e) {
|
|
1498
|
-
return e.type ===
|
|
1490
|
+
return e.type === E.plural;
|
|
1499
1491
|
}
|
|
1500
|
-
function
|
|
1501
|
-
return e.type ===
|
|
1492
|
+
function Qn(e) {
|
|
1493
|
+
return e.type === E.pound;
|
|
1502
1494
|
}
|
|
1503
|
-
function
|
|
1504
|
-
return e.type ===
|
|
1495
|
+
function sr(e) {
|
|
1496
|
+
return e.type === E.tag;
|
|
1505
1497
|
}
|
|
1506
1498
|
function ar(e) {
|
|
1507
|
-
return e.type ===
|
|
1499
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1508
1500
|
}
|
|
1509
|
-
function
|
|
1510
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1501
|
+
function We(e) {
|
|
1502
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1511
1503
|
}
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
}
|
|
1515
|
-
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yn = /(?:[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;
|
|
1516
|
-
function Kn(e) {
|
|
1504
|
+
var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jn = /(?:[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;
|
|
1505
|
+
function qn(e) {
|
|
1517
1506
|
var t = {};
|
|
1518
|
-
return e.replace(
|
|
1507
|
+
return e.replace(Jn, function(r) {
|
|
1519
1508
|
var n = r.length;
|
|
1520
1509
|
switch (r[0]) {
|
|
1521
1510
|
case "G":
|
|
@@ -1604,21 +1593,11 @@ function Kn(e) {
|
|
|
1604
1593
|
return "";
|
|
1605
1594
|
}), t;
|
|
1606
1595
|
}
|
|
1607
|
-
var
|
|
1608
|
-
|
|
1609
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1610
|
-
r = arguments[n];
|
|
1611
|
-
for (var o in r)
|
|
1612
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1613
|
-
}
|
|
1614
|
-
return t;
|
|
1615
|
-
}, w.apply(this, arguments);
|
|
1616
|
-
};
|
|
1617
|
-
var ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1618
|
-
function ti(e) {
|
|
1596
|
+
var Yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1597
|
+
function Kn(e) {
|
|
1619
1598
|
if (e.length === 0)
|
|
1620
1599
|
throw new Error("Number skeleton cannot be empty");
|
|
1621
|
-
for (var t = e.split(
|
|
1600
|
+
for (var t = e.split(Yn).filter(function(f) {
|
|
1622
1601
|
return f.length > 0;
|
|
1623
1602
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1624
1603
|
var o = i[n], a = o.split("/");
|
|
@@ -1633,17 +1612,17 @@ function ti(e) {
|
|
|
1633
1612
|
}
|
|
1634
1613
|
return r;
|
|
1635
1614
|
}
|
|
1636
|
-
function
|
|
1615
|
+
function ei(e) {
|
|
1637
1616
|
return e.replace(/^(.*?)-/, "");
|
|
1638
1617
|
}
|
|
1639
|
-
var
|
|
1640
|
-
function
|
|
1618
|
+
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, ti = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
|
|
1619
|
+
function wt(e) {
|
|
1641
1620
|
var t = {};
|
|
1642
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1621
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, n, i) {
|
|
1643
1622
|
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)), "";
|
|
1644
1623
|
}), t;
|
|
1645
1624
|
}
|
|
1646
|
-
function
|
|
1625
|
+
function cr(e) {
|
|
1647
1626
|
switch (e) {
|
|
1648
1627
|
case "sign-auto":
|
|
1649
1628
|
return {
|
|
@@ -1683,7 +1662,7 @@ function fr(e) {
|
|
|
1683
1662
|
};
|
|
1684
1663
|
}
|
|
1685
1664
|
}
|
|
1686
|
-
function
|
|
1665
|
+
function ri(e) {
|
|
1687
1666
|
var t;
|
|
1688
1667
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1689
1668
|
notation: "engineering"
|
|
@@ -1691,17 +1670,17 @@ function ii(e) {
|
|
|
1691
1670
|
notation: "scientific"
|
|
1692
1671
|
}, e = e.slice(1)), t) {
|
|
1693
1672
|
var r = e.slice(0, 2);
|
|
1694
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1673
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
|
|
1695
1674
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1696
1675
|
t.minimumIntegerDigits = e.length;
|
|
1697
1676
|
}
|
|
1698
1677
|
return t;
|
|
1699
1678
|
}
|
|
1700
|
-
function
|
|
1701
|
-
var t = {}, r =
|
|
1679
|
+
function St(e) {
|
|
1680
|
+
var t = {}, r = cr(e);
|
|
1702
1681
|
return r || t;
|
|
1703
1682
|
}
|
|
1704
|
-
function
|
|
1683
|
+
function ni(e) {
|
|
1705
1684
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1706
1685
|
var i = n[r];
|
|
1707
1686
|
switch (i.stem) {
|
|
@@ -1725,7 +1704,7 @@ function oi(e) {
|
|
|
1725
1704
|
continue;
|
|
1726
1705
|
case "measure-unit":
|
|
1727
1706
|
case "unit":
|
|
1728
|
-
t.style = "unit", t.unit =
|
|
1707
|
+
t.style = "unit", t.unit = ei(i.options[0]);
|
|
1729
1708
|
continue;
|
|
1730
1709
|
case "compact-short":
|
|
1731
1710
|
case "K":
|
|
@@ -1736,13 +1715,13 @@ function oi(e) {
|
|
|
1736
1715
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1737
1716
|
continue;
|
|
1738
1717
|
case "scientific":
|
|
1739
|
-
t =
|
|
1740
|
-
return
|
|
1718
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1719
|
+
return _(_({}, l), St(u));
|
|
1741
1720
|
}, {}));
|
|
1742
1721
|
continue;
|
|
1743
1722
|
case "engineering":
|
|
1744
|
-
t =
|
|
1745
|
-
return
|
|
1723
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1724
|
+
return _(_({}, l), St(u));
|
|
1746
1725
|
}, {}));
|
|
1747
1726
|
continue;
|
|
1748
1727
|
case "notation-simple":
|
|
@@ -1787,7 +1766,7 @@ function oi(e) {
|
|
|
1787
1766
|
case "integer-width":
|
|
1788
1767
|
if (i.options.length > 1)
|
|
1789
1768
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1790
|
-
i.options[0].replace(
|
|
1769
|
+
i.options[0].replace(ti, function(l, u, h, c, f, p) {
|
|
1791
1770
|
if (u)
|
|
1792
1771
|
t.minimumIntegerDigits = h.length;
|
|
1793
1772
|
else {
|
|
@@ -1800,28 +1779,28 @@ function oi(e) {
|
|
|
1800
1779
|
});
|
|
1801
1780
|
continue;
|
|
1802
1781
|
}
|
|
1803
|
-
if (
|
|
1782
|
+
if (hr.test(i.stem)) {
|
|
1804
1783
|
t.minimumIntegerDigits = i.stem.length;
|
|
1805
1784
|
continue;
|
|
1806
1785
|
}
|
|
1807
|
-
if (
|
|
1786
|
+
if (Et.test(i.stem)) {
|
|
1808
1787
|
if (i.options.length > 1)
|
|
1809
1788
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1810
|
-
i.stem.replace(
|
|
1789
|
+
i.stem.replace(Et, function(l, u, h, c, f, p) {
|
|
1811
1790
|
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), "";
|
|
1812
1791
|
});
|
|
1813
1792
|
var o = i.options[0];
|
|
1814
|
-
o === "w" ? t =
|
|
1793
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), wt(o)));
|
|
1815
1794
|
continue;
|
|
1816
1795
|
}
|
|
1817
|
-
if (
|
|
1818
|
-
t =
|
|
1796
|
+
if (lr.test(i.stem)) {
|
|
1797
|
+
t = _(_({}, t), wt(i.stem));
|
|
1819
1798
|
continue;
|
|
1820
1799
|
}
|
|
1821
|
-
var a =
|
|
1822
|
-
a && (t =
|
|
1823
|
-
var s =
|
|
1824
|
-
s && (t =
|
|
1800
|
+
var a = cr(i.stem);
|
|
1801
|
+
a && (t = _(_({}, t), a));
|
|
1802
|
+
var s = ri(i.stem);
|
|
1803
|
+
s && (t = _(_({}, t), s));
|
|
1825
1804
|
}
|
|
1826
1805
|
return t;
|
|
1827
1806
|
}
|
|
@@ -3240,13 +3219,13 @@ var ce = {
|
|
|
3240
3219
|
"h"
|
|
3241
3220
|
]
|
|
3242
3221
|
};
|
|
3243
|
-
function
|
|
3222
|
+
function ii(e, t) {
|
|
3244
3223
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3245
3224
|
var i = e.charAt(n);
|
|
3246
3225
|
if (i === "j") {
|
|
3247
3226
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3248
3227
|
o++, n++;
|
|
3249
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3228
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = oi(t);
|
|
3250
3229
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3251
3230
|
r += l;
|
|
3252
3231
|
for (; a-- > 0; )
|
|
@@ -3256,7 +3235,7 @@ function si(e, t) {
|
|
|
3256
3235
|
}
|
|
3257
3236
|
return r;
|
|
3258
3237
|
}
|
|
3259
|
-
function
|
|
3238
|
+
function oi(e) {
|
|
3260
3239
|
var t = e.hourCycle;
|
|
3261
3240
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3262
3241
|
e.hourCycles && // @ts-ignore
|
|
@@ -3278,20 +3257,20 @@ function ai(e) {
|
|
|
3278
3257
|
var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
|
|
3279
3258
|
return i[0];
|
|
3280
3259
|
}
|
|
3281
|
-
var
|
|
3260
|
+
var Re, si = new RegExp("^".concat(ur.source, "*")), ai = new RegExp("".concat(ur.source, "*$"));
|
|
3282
3261
|
function y(e, t) {
|
|
3283
3262
|
return { start: e, end: t };
|
|
3284
3263
|
}
|
|
3285
|
-
var
|
|
3264
|
+
var ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), li = !!String.fromCodePoint, hi = !!Object.fromEntries, ci = !!String.prototype.codePointAt, fi = !!String.prototype.trimStart, mi = !!String.prototype.trimEnd, pi = !!Number.isSafeInteger, di = pi ? Number.isSafeInteger : function(e) {
|
|
3286
3265
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3287
|
-
},
|
|
3266
|
+
}, Ze = !0;
|
|
3288
3267
|
try {
|
|
3289
|
-
var
|
|
3290
|
-
|
|
3268
|
+
var bi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3269
|
+
Ze = ((Re = bi.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
|
3291
3270
|
} catch {
|
|
3292
|
-
|
|
3271
|
+
Ze = !1;
|
|
3293
3272
|
}
|
|
3294
|
-
var
|
|
3273
|
+
var Tt = ui ? (
|
|
3295
3274
|
// Native
|
|
3296
3275
|
function(t, r, n) {
|
|
3297
3276
|
return t.startsWith(r, n);
|
|
@@ -3301,7 +3280,7 @@ var Ct = hi ? (
|
|
|
3301
3280
|
function(t, r, n) {
|
|
3302
3281
|
return t.slice(n, n + r.length) === r;
|
|
3303
3282
|
}
|
|
3304
|
-
),
|
|
3283
|
+
), Qe = li ? String.fromCodePoint : (
|
|
3305
3284
|
// IE11
|
|
3306
3285
|
function() {
|
|
3307
3286
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3313,9 +3292,9 @@ var Ct = hi ? (
|
|
|
3313
3292
|
}
|
|
3314
3293
|
return n;
|
|
3315
3294
|
}
|
|
3316
|
-
),
|
|
3295
|
+
), Ht = (
|
|
3317
3296
|
// native
|
|
3318
|
-
|
|
3297
|
+
hi ? Object.fromEntries : (
|
|
3319
3298
|
// Ponyfill
|
|
3320
3299
|
function(t) {
|
|
3321
3300
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3325,7 +3304,7 @@ var Ct = hi ? (
|
|
|
3325
3304
|
return r;
|
|
3326
3305
|
}
|
|
3327
3306
|
)
|
|
3328
|
-
),
|
|
3307
|
+
), fr = ci ? (
|
|
3329
3308
|
// Native
|
|
3330
3309
|
function(t, r) {
|
|
3331
3310
|
return t.codePointAt(r);
|
|
@@ -3339,7 +3318,7 @@ var Ct = hi ? (
|
|
|
3339
3318
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3340
3319
|
}
|
|
3341
3320
|
}
|
|
3342
|
-
),
|
|
3321
|
+
), gi = fi ? (
|
|
3343
3322
|
// Native
|
|
3344
3323
|
function(t) {
|
|
3345
3324
|
return t.trimStart();
|
|
@@ -3347,9 +3326,9 @@ var Ct = hi ? (
|
|
|
3347
3326
|
) : (
|
|
3348
3327
|
// Ponyfill
|
|
3349
3328
|
function(t) {
|
|
3350
|
-
return t.replace(
|
|
3329
|
+
return t.replace(si, "");
|
|
3351
3330
|
}
|
|
3352
|
-
),
|
|
3331
|
+
), yi = mi ? (
|
|
3353
3332
|
// Native
|
|
3354
3333
|
function(t) {
|
|
3355
3334
|
return t.trimEnd();
|
|
@@ -3357,32 +3336,32 @@ var Ct = hi ? (
|
|
|
3357
3336
|
) : (
|
|
3358
3337
|
// Ponyfill
|
|
3359
3338
|
function(t) {
|
|
3360
|
-
return t.replace(
|
|
3339
|
+
return t.replace(ai, "");
|
|
3361
3340
|
}
|
|
3362
3341
|
);
|
|
3363
|
-
function
|
|
3342
|
+
function mr(e, t) {
|
|
3364
3343
|
return new RegExp(e, t);
|
|
3365
3344
|
}
|
|
3366
|
-
var
|
|
3367
|
-
if (
|
|
3368
|
-
var
|
|
3369
|
-
|
|
3345
|
+
var Je;
|
|
3346
|
+
if (Ze) {
|
|
3347
|
+
var Ct = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3348
|
+
Je = function(t, r) {
|
|
3370
3349
|
var n;
|
|
3371
|
-
|
|
3372
|
-
var i =
|
|
3350
|
+
Ct.lastIndex = r;
|
|
3351
|
+
var i = Ct.exec(t);
|
|
3373
3352
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3374
3353
|
};
|
|
3375
3354
|
} else
|
|
3376
|
-
|
|
3355
|
+
Je = function(t, r) {
|
|
3377
3356
|
for (var n = []; ; ) {
|
|
3378
|
-
var i =
|
|
3379
|
-
if (i === void 0 ||
|
|
3357
|
+
var i = fr(t, r);
|
|
3358
|
+
if (i === void 0 || pr(i) || Ei(i))
|
|
3380
3359
|
break;
|
|
3381
3360
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3382
3361
|
}
|
|
3383
|
-
return
|
|
3362
|
+
return Qe.apply(void 0, n);
|
|
3384
3363
|
};
|
|
3385
|
-
var
|
|
3364
|
+
var vi = (
|
|
3386
3365
|
/** @class */
|
|
3387
3366
|
function() {
|
|
3388
3367
|
function e(t, r) {
|
|
@@ -3406,14 +3385,14 @@ var xi = (
|
|
|
3406
3385
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3407
3386
|
var s = this.clonePosition();
|
|
3408
3387
|
this.bump(), i.push({
|
|
3409
|
-
type:
|
|
3388
|
+
type: E.pound,
|
|
3410
3389
|
location: y(s, this.clonePosition())
|
|
3411
3390
|
});
|
|
3412
3391
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3413
3392
|
if (n)
|
|
3414
3393
|
break;
|
|
3415
3394
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3416
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3395
|
+
} else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
|
3417
3396
|
var a = this.parseTag(t, r);
|
|
3418
3397
|
if (a.err)
|
|
3419
3398
|
return a;
|
|
@@ -3434,7 +3413,7 @@ var xi = (
|
|
|
3434
3413
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3435
3414
|
return {
|
|
3436
3415
|
val: {
|
|
3437
|
-
type:
|
|
3416
|
+
type: E.literal,
|
|
3438
3417
|
value: "<".concat(i, "/>"),
|
|
3439
3418
|
location: y(n, this.clonePosition())
|
|
3440
3419
|
},
|
|
@@ -3446,12 +3425,12 @@ var xi = (
|
|
|
3446
3425
|
return o;
|
|
3447
3426
|
var a = o.val, s = this.clonePosition();
|
|
3448
3427
|
if (this.bumpIf("</")) {
|
|
3449
|
-
if (this.isEOF() || !
|
|
3428
|
+
if (this.isEOF() || !qe(this.char()))
|
|
3450
3429
|
return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
|
|
3451
3430
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3452
3431
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3453
3432
|
val: {
|
|
3454
|
-
type:
|
|
3433
|
+
type: E.tag,
|
|
3455
3434
|
value: i,
|
|
3456
3435
|
children: a,
|
|
3457
3436
|
location: y(n, this.clonePosition())
|
|
@@ -3464,7 +3443,7 @@ var xi = (
|
|
|
3464
3443
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3465
3444
|
}, e.prototype.parseTagName = function() {
|
|
3466
3445
|
var t = this.offset();
|
|
3467
|
-
for (this.bump(); !this.isEOF() &&
|
|
3446
|
+
for (this.bump(); !this.isEOF() && xi(this.char()); )
|
|
3468
3447
|
this.bump();
|
|
3469
3448
|
return this.message.slice(t, this.offset());
|
|
3470
3449
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3488,12 +3467,12 @@ var xi = (
|
|
|
3488
3467
|
}
|
|
3489
3468
|
var l = y(n, this.clonePosition());
|
|
3490
3469
|
return {
|
|
3491
|
-
val: { type:
|
|
3470
|
+
val: { type: E.literal, value: i, location: l },
|
|
3492
3471
|
err: null
|
|
3493
3472
|
};
|
|
3494
3473
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3495
3474
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3496
|
-
!
|
|
3475
|
+
!_i(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3497
3476
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3498
3477
|
if (this.isEOF() || this.char() !== 39)
|
|
3499
3478
|
return null;
|
|
@@ -3527,12 +3506,12 @@ var xi = (
|
|
|
3527
3506
|
r.push(n);
|
|
3528
3507
|
this.bump();
|
|
3529
3508
|
}
|
|
3530
|
-
return
|
|
3509
|
+
return Qe.apply(void 0, r);
|
|
3531
3510
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3532
3511
|
if (this.isEOF())
|
|
3533
3512
|
return null;
|
|
3534
3513
|
var n = this.char();
|
|
3535
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3514
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
|
3536
3515
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3537
3516
|
var n = this.clonePosition();
|
|
3538
3517
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3548,7 +3527,7 @@ var xi = (
|
|
|
3548
3527
|
case 125:
|
|
3549
3528
|
return this.bump(), {
|
|
3550
3529
|
val: {
|
|
3551
|
-
type:
|
|
3530
|
+
type: E.argument,
|
|
3552
3531
|
// value does not include the opening and closing braces.
|
|
3553
3532
|
value: i,
|
|
3554
3533
|
location: y(n, this.clonePosition())
|
|
@@ -3561,7 +3540,7 @@ var xi = (
|
|
|
3561
3540
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3562
3541
|
}
|
|
3563
3542
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3564
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3543
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3565
3544
|
this.bumpTo(i);
|
|
3566
3545
|
var o = this.clonePosition(), a = y(t, o);
|
|
3567
3546
|
return { value: n, location: a };
|
|
@@ -3580,7 +3559,7 @@ var xi = (
|
|
|
3580
3559
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3581
3560
|
if (c.err)
|
|
3582
3561
|
return c;
|
|
3583
|
-
var f =
|
|
3562
|
+
var f = yi(c.val);
|
|
3584
3563
|
if (f.length === 0)
|
|
3585
3564
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3586
3565
|
var p = y(h, this.clonePosition());
|
|
@@ -3590,25 +3569,25 @@ var xi = (
|
|
|
3590
3569
|
if (m.err)
|
|
3591
3570
|
return m;
|
|
3592
3571
|
var d = y(i, this.clonePosition());
|
|
3593
|
-
if (u &&
|
|
3594
|
-
var v =
|
|
3572
|
+
if (u && Tt(u?.style, "::", 0)) {
|
|
3573
|
+
var v = gi(u.style.slice(2));
|
|
3595
3574
|
if (s === "number") {
|
|
3596
3575
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3597
3576
|
return c.err ? c : {
|
|
3598
|
-
val: { type:
|
|
3577
|
+
val: { type: E.number, value: n, location: d, style: c.val },
|
|
3599
3578
|
err: null
|
|
3600
3579
|
};
|
|
3601
3580
|
} else {
|
|
3602
3581
|
if (v.length === 0)
|
|
3603
3582
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
|
|
3604
3583
|
var T = v;
|
|
3605
|
-
this.locale && (T =
|
|
3584
|
+
this.locale && (T = ii(v, this.locale));
|
|
3606
3585
|
var f = {
|
|
3607
|
-
type:
|
|
3586
|
+
type: Q.dateTime,
|
|
3608
3587
|
pattern: T,
|
|
3609
3588
|
location: u.styleLocation,
|
|
3610
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3611
|
-
}, C = s === "date" ?
|
|
3589
|
+
parsedOptions: this.shouldParseSkeletons ? qn(T) : {}
|
|
3590
|
+
}, C = s === "date" ? E.date : E.time;
|
|
3612
3591
|
return {
|
|
3613
3592
|
val: { type: C, value: n, location: d, style: f },
|
|
3614
3593
|
err: null
|
|
@@ -3617,7 +3596,7 @@ var xi = (
|
|
|
3617
3596
|
}
|
|
3618
3597
|
return {
|
|
3619
3598
|
val: {
|
|
3620
|
-
type: s === "number" ?
|
|
3599
|
+
type: s === "number" ? E.number : s === "date" ? E.date : E.time,
|
|
3621
3600
|
value: n,
|
|
3622
3601
|
location: d,
|
|
3623
3602
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3630,41 +3609,41 @@ var xi = (
|
|
|
3630
3609
|
case "select": {
|
|
3631
3610
|
var S = this.clonePosition();
|
|
3632
3611
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3633
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S,
|
|
3612
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S, _({}, S)));
|
|
3634
3613
|
this.bumpSpace();
|
|
3635
|
-
var
|
|
3636
|
-
if (s !== "select" &&
|
|
3614
|
+
var B = this.parseIdentifierIfPossible(), w = 0;
|
|
3615
|
+
if (s !== "select" && B.value === "offset") {
|
|
3637
3616
|
if (!this.bumpIf(":"))
|
|
3638
3617
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3639
3618
|
this.bumpSpace();
|
|
3640
3619
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3641
3620
|
if (c.err)
|
|
3642
3621
|
return c;
|
|
3643
|
-
this.bumpSpace(),
|
|
3622
|
+
this.bumpSpace(), B = this.parseIdentifierIfPossible(), w = c.val;
|
|
3644
3623
|
}
|
|
3645
|
-
var
|
|
3646
|
-
if (
|
|
3647
|
-
return
|
|
3624
|
+
var x = this.tryParsePluralOrSelectOptions(t, s, r, B);
|
|
3625
|
+
if (x.err)
|
|
3626
|
+
return x;
|
|
3648
3627
|
var m = this.tryParseArgumentClose(i);
|
|
3649
3628
|
if (m.err)
|
|
3650
3629
|
return m;
|
|
3651
|
-
var
|
|
3630
|
+
var L = y(i, this.clonePosition());
|
|
3652
3631
|
return s === "select" ? {
|
|
3653
3632
|
val: {
|
|
3654
|
-
type:
|
|
3633
|
+
type: E.select,
|
|
3655
3634
|
value: n,
|
|
3656
|
-
options:
|
|
3657
|
-
location:
|
|
3635
|
+
options: Ht(x.val),
|
|
3636
|
+
location: L
|
|
3658
3637
|
},
|
|
3659
3638
|
err: null
|
|
3660
3639
|
} : {
|
|
3661
3640
|
val: {
|
|
3662
|
-
type:
|
|
3641
|
+
type: E.plural,
|
|
3663
3642
|
value: n,
|
|
3664
|
-
options:
|
|
3665
|
-
offset:
|
|
3643
|
+
options: Ht(x.val),
|
|
3644
|
+
offset: w,
|
|
3666
3645
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3667
|
-
location:
|
|
3646
|
+
location: L
|
|
3668
3647
|
},
|
|
3669
3648
|
err: null
|
|
3670
3649
|
};
|
|
@@ -3712,16 +3691,16 @@ var xi = (
|
|
|
3712
3691
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3713
3692
|
var n = [];
|
|
3714
3693
|
try {
|
|
3715
|
-
n =
|
|
3694
|
+
n = Kn(t);
|
|
3716
3695
|
} catch {
|
|
3717
3696
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3718
3697
|
}
|
|
3719
3698
|
return {
|
|
3720
3699
|
val: {
|
|
3721
|
-
type:
|
|
3700
|
+
type: Q.number,
|
|
3722
3701
|
tokens: n,
|
|
3723
3702
|
location: r,
|
|
3724
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3703
|
+
parsedOptions: this.shouldParseSkeletons ? ni(n) : {}
|
|
3725
3704
|
},
|
|
3726
3705
|
err: null
|
|
3727
3706
|
};
|
|
@@ -3769,7 +3748,7 @@ var xi = (
|
|
|
3769
3748
|
break;
|
|
3770
3749
|
}
|
|
3771
3750
|
var l = y(i, this.clonePosition());
|
|
3772
|
-
return o ? (a *= n,
|
|
3751
|
+
return o ? (a *= n, di(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3773
3752
|
}, e.prototype.offset = function() {
|
|
3774
3753
|
return this.position.offset;
|
|
3775
3754
|
}, e.prototype.isEOF = function() {
|
|
@@ -3784,7 +3763,7 @@ var xi = (
|
|
|
3784
3763
|
var t = this.position.offset;
|
|
3785
3764
|
if (t >= this.message.length)
|
|
3786
3765
|
throw Error("out of bound");
|
|
3787
|
-
var r =
|
|
3766
|
+
var r = fr(this.message, t);
|
|
3788
3767
|
if (r === void 0)
|
|
3789
3768
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3790
3769
|
return r;
|
|
@@ -3803,7 +3782,7 @@ var xi = (
|
|
|
3803
3782
|
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);
|
|
3804
3783
|
}
|
|
3805
3784
|
}, e.prototype.bumpIf = function(t) {
|
|
3806
|
-
if (
|
|
3785
|
+
if (Tt(this.message, t, this.offset())) {
|
|
3807
3786
|
for (var r = 0; r < t.length; r++)
|
|
3808
3787
|
this.bump();
|
|
3809
3788
|
return !0;
|
|
@@ -3825,7 +3804,7 @@ var xi = (
|
|
|
3825
3804
|
break;
|
|
3826
3805
|
}
|
|
3827
3806
|
}, e.prototype.bumpSpace = function() {
|
|
3828
|
-
for (; !this.isEOF() &&
|
|
3807
|
+
for (; !this.isEOF() && pr(this.char()); )
|
|
3829
3808
|
this.bump();
|
|
3830
3809
|
}, e.prototype.peek = function() {
|
|
3831
3810
|
if (this.isEOF())
|
|
@@ -3835,47 +3814,47 @@ var xi = (
|
|
|
3835
3814
|
}, e;
|
|
3836
3815
|
}()
|
|
3837
3816
|
);
|
|
3838
|
-
function
|
|
3817
|
+
function qe(e) {
|
|
3839
3818
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3840
3819
|
}
|
|
3841
|
-
function
|
|
3842
|
-
return
|
|
3820
|
+
function _i(e) {
|
|
3821
|
+
return qe(e) || e === 47;
|
|
3843
3822
|
}
|
|
3844
|
-
function
|
|
3823
|
+
function xi(e) {
|
|
3845
3824
|
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;
|
|
3846
3825
|
}
|
|
3847
|
-
function
|
|
3826
|
+
function pr(e) {
|
|
3848
3827
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3849
3828
|
}
|
|
3850
|
-
function
|
|
3829
|
+
function Ei(e) {
|
|
3851
3830
|
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;
|
|
3852
3831
|
}
|
|
3853
|
-
function
|
|
3832
|
+
function Ye(e) {
|
|
3854
3833
|
e.forEach(function(t) {
|
|
3855
|
-
if (delete t.location,
|
|
3834
|
+
if (delete t.location, ir(t) || or(t))
|
|
3856
3835
|
for (var r in t.options)
|
|
3857
|
-
delete t.options[r].location,
|
|
3836
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
|
3858
3837
|
else
|
|
3859
|
-
|
|
3838
|
+
tr(t) && ar(t.style) || (rr(t) || nr(t)) && We(t.style) ? delete t.style.location : sr(t) && Ye(t.children);
|
|
3860
3839
|
});
|
|
3861
3840
|
}
|
|
3862
|
-
function
|
|
3863
|
-
t === void 0 && (t = {}), t =
|
|
3864
|
-
var r = new
|
|
3841
|
+
function wi(e, t) {
|
|
3842
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3843
|
+
var r = new vi(e, t).parse();
|
|
3865
3844
|
if (r.err) {
|
|
3866
3845
|
var n = SyntaxError(b[r.err.kind]);
|
|
3867
3846
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3868
3847
|
}
|
|
3869
|
-
return t?.captureLocation ||
|
|
3848
|
+
return t?.captureLocation || Ye(r.val), r.val;
|
|
3870
3849
|
}
|
|
3871
|
-
var
|
|
3850
|
+
var J;
|
|
3872
3851
|
(function(e) {
|
|
3873
3852
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3874
|
-
})(
|
|
3875
|
-
var
|
|
3853
|
+
})(J || (J = {}));
|
|
3854
|
+
var Te = (
|
|
3876
3855
|
/** @class */
|
|
3877
3856
|
function(e) {
|
|
3878
|
-
|
|
3857
|
+
R(t, e);
|
|
3879
3858
|
function t(r, n, i) {
|
|
3880
3859
|
var o = e.call(this, r) || this;
|
|
3881
3860
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3884,155 +3863,155 @@ var Ce = (
|
|
|
3884
3863
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3885
3864
|
}, t;
|
|
3886
3865
|
}(Error)
|
|
3887
|
-
),
|
|
3866
|
+
), Bt = (
|
|
3888
3867
|
/** @class */
|
|
3889
3868
|
function(e) {
|
|
3890
|
-
|
|
3869
|
+
R(t, e);
|
|
3891
3870
|
function t(r, n, i, o) {
|
|
3892
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3871
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3893
3872
|
}
|
|
3894
3873
|
return t;
|
|
3895
|
-
}(
|
|
3896
|
-
),
|
|
3874
|
+
}(Te)
|
|
3875
|
+
), Si = (
|
|
3897
3876
|
/** @class */
|
|
3898
3877
|
function(e) {
|
|
3899
|
-
|
|
3878
|
+
R(t, e);
|
|
3900
3879
|
function t(r, n, i) {
|
|
3901
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3880
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3902
3881
|
}
|
|
3903
3882
|
return t;
|
|
3904
|
-
}(
|
|
3905
|
-
),
|
|
3883
|
+
}(Te)
|
|
3884
|
+
), Ti = (
|
|
3906
3885
|
/** @class */
|
|
3907
3886
|
function(e) {
|
|
3908
|
-
|
|
3887
|
+
R(t, e);
|
|
3909
3888
|
function t(r, n) {
|
|
3910
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3889
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3911
3890
|
}
|
|
3912
3891
|
return t;
|
|
3913
|
-
}(
|
|
3914
|
-
),
|
|
3892
|
+
}(Te)
|
|
3893
|
+
), A;
|
|
3915
3894
|
(function(e) {
|
|
3916
3895
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3917
|
-
})(
|
|
3918
|
-
function
|
|
3896
|
+
})(A || (A = {}));
|
|
3897
|
+
function Hi(e) {
|
|
3919
3898
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3920
3899
|
var n = t[t.length - 1];
|
|
3921
|
-
return !n || n.type !==
|
|
3900
|
+
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3922
3901
|
}, []);
|
|
3923
3902
|
}
|
|
3924
|
-
function
|
|
3903
|
+
function Ci(e) {
|
|
3925
3904
|
return typeof e == "function";
|
|
3926
3905
|
}
|
|
3927
3906
|
function de(e, t, r, n, i, o, a) {
|
|
3928
|
-
if (e.length === 1 &&
|
|
3907
|
+
if (e.length === 1 && xt(e[0]))
|
|
3929
3908
|
return [
|
|
3930
3909
|
{
|
|
3931
|
-
type:
|
|
3910
|
+
type: A.literal,
|
|
3932
3911
|
value: e[0].value
|
|
3933
3912
|
}
|
|
3934
3913
|
];
|
|
3935
3914
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3936
3915
|
var h = u[l];
|
|
3937
|
-
if (
|
|
3916
|
+
if (xt(h)) {
|
|
3938
3917
|
s.push({
|
|
3939
|
-
type:
|
|
3918
|
+
type: A.literal,
|
|
3940
3919
|
value: h.value
|
|
3941
3920
|
});
|
|
3942
3921
|
continue;
|
|
3943
3922
|
}
|
|
3944
|
-
if (
|
|
3923
|
+
if (Qn(h)) {
|
|
3945
3924
|
typeof o == "number" && s.push({
|
|
3946
|
-
type:
|
|
3925
|
+
type: A.literal,
|
|
3947
3926
|
value: r.getNumberFormat(t).format(o)
|
|
3948
3927
|
});
|
|
3949
3928
|
continue;
|
|
3950
3929
|
}
|
|
3951
3930
|
var c = h.value;
|
|
3952
3931
|
if (!(i && c in i))
|
|
3953
|
-
throw new
|
|
3932
|
+
throw new Ti(c, a);
|
|
3954
3933
|
var f = i[c];
|
|
3955
|
-
if (
|
|
3934
|
+
if (Zn(h)) {
|
|
3956
3935
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3957
|
-
type: typeof f == "string" ?
|
|
3936
|
+
type: typeof f == "string" ? A.literal : A.object,
|
|
3958
3937
|
value: f
|
|
3959
3938
|
});
|
|
3960
3939
|
continue;
|
|
3961
3940
|
}
|
|
3962
|
-
if (
|
|
3963
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3941
|
+
if (rr(h)) {
|
|
3942
|
+
var p = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
|
|
3964
3943
|
s.push({
|
|
3965
|
-
type:
|
|
3944
|
+
type: A.literal,
|
|
3966
3945
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3967
3946
|
});
|
|
3968
3947
|
continue;
|
|
3969
3948
|
}
|
|
3970
|
-
if (
|
|
3971
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3949
|
+
if (nr(h)) {
|
|
3950
|
+
var p = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3972
3951
|
s.push({
|
|
3973
|
-
type:
|
|
3952
|
+
type: A.literal,
|
|
3974
3953
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3975
3954
|
});
|
|
3976
3955
|
continue;
|
|
3977
3956
|
}
|
|
3978
|
-
if (
|
|
3979
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3957
|
+
if (tr(h)) {
|
|
3958
|
+
var p = typeof h.style == "string" ? n.number[h.style] : ar(h.style) ? h.style.parsedOptions : void 0;
|
|
3980
3959
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3981
|
-
type:
|
|
3960
|
+
type: A.literal,
|
|
3982
3961
|
value: r.getNumberFormat(t, p).format(f)
|
|
3983
3962
|
});
|
|
3984
3963
|
continue;
|
|
3985
3964
|
}
|
|
3986
|
-
if (
|
|
3965
|
+
if (sr(h)) {
|
|
3987
3966
|
var m = h.children, d = h.value, v = i[d];
|
|
3988
|
-
if (!
|
|
3989
|
-
throw new
|
|
3990
|
-
var T = de(m, t, r, n, i, o), C = v(T.map(function(
|
|
3991
|
-
return
|
|
3967
|
+
if (!Ci(v))
|
|
3968
|
+
throw new Si(d, "function", a);
|
|
3969
|
+
var T = de(m, t, r, n, i, o), C = v(T.map(function(w) {
|
|
3970
|
+
return w.value;
|
|
3992
3971
|
}));
|
|
3993
|
-
Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(
|
|
3972
|
+
Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(w) {
|
|
3994
3973
|
return {
|
|
3995
|
-
type: typeof
|
|
3996
|
-
value:
|
|
3974
|
+
type: typeof w == "string" ? A.literal : A.object,
|
|
3975
|
+
value: w
|
|
3997
3976
|
};
|
|
3998
3977
|
}));
|
|
3999
3978
|
}
|
|
4000
|
-
if (
|
|
3979
|
+
if (ir(h)) {
|
|
4001
3980
|
var S = h.options[f] || h.options.other;
|
|
4002
3981
|
if (!S)
|
|
4003
|
-
throw new
|
|
3982
|
+
throw new Bt(h.value, f, Object.keys(h.options), a);
|
|
4004
3983
|
s.push.apply(s, de(S.value, t, r, n, i));
|
|
4005
3984
|
continue;
|
|
4006
3985
|
}
|
|
4007
|
-
if (
|
|
3986
|
+
if (or(h)) {
|
|
4008
3987
|
var S = h.options["=".concat(f)];
|
|
4009
3988
|
if (!S) {
|
|
4010
3989
|
if (!Intl.PluralRules)
|
|
4011
|
-
throw new
|
|
3990
|
+
throw new Te(`Intl.PluralRules is not available in this environment.
|
|
4012
3991
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4013
|
-
`,
|
|
4014
|
-
var
|
|
4015
|
-
S = h.options[
|
|
3992
|
+
`, J.MISSING_INTL_API, a);
|
|
3993
|
+
var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3994
|
+
S = h.options[B] || h.options.other;
|
|
4016
3995
|
}
|
|
4017
3996
|
if (!S)
|
|
4018
|
-
throw new
|
|
3997
|
+
throw new Bt(h.value, f, Object.keys(h.options), a);
|
|
4019
3998
|
s.push.apply(s, de(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
4020
3999
|
continue;
|
|
4021
4000
|
}
|
|
4022
4001
|
}
|
|
4023
|
-
return
|
|
4002
|
+
return Hi(s);
|
|
4024
4003
|
}
|
|
4025
|
-
function
|
|
4026
|
-
return t ?
|
|
4027
|
-
return r[n] =
|
|
4004
|
+
function Bi(e, t) {
|
|
4005
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4006
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
4028
4007
|
}, {})) : e;
|
|
4029
4008
|
}
|
|
4030
|
-
function
|
|
4009
|
+
function Ai(e, t) {
|
|
4031
4010
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4032
|
-
return r[n] =
|
|
4033
|
-
},
|
|
4011
|
+
return r[n] = Bi(e[n], t[n]), r;
|
|
4012
|
+
}, _({}, e)) : e;
|
|
4034
4013
|
}
|
|
4035
|
-
function
|
|
4014
|
+
function Ge(e) {
|
|
4036
4015
|
return {
|
|
4037
4016
|
create: function() {
|
|
4038
4017
|
return {
|
|
@@ -4046,39 +4025,39 @@ function De(e) {
|
|
|
4046
4025
|
}
|
|
4047
4026
|
};
|
|
4048
4027
|
}
|
|
4049
|
-
function
|
|
4028
|
+
function Pi(e) {
|
|
4050
4029
|
return e === void 0 && (e = {
|
|
4051
4030
|
number: {},
|
|
4052
4031
|
dateTime: {},
|
|
4053
4032
|
pluralRules: {}
|
|
4054
4033
|
}), {
|
|
4055
|
-
getNumberFormat:
|
|
4034
|
+
getNumberFormat: Ne(function() {
|
|
4056
4035
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4057
4036
|
r[n] = arguments[n];
|
|
4058
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4037
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
4059
4038
|
}, {
|
|
4060
|
-
cache:
|
|
4061
|
-
strategy:
|
|
4039
|
+
cache: Ge(e.number),
|
|
4040
|
+
strategy: $e.variadic
|
|
4062
4041
|
}),
|
|
4063
|
-
getDateTimeFormat:
|
|
4042
|
+
getDateTimeFormat: Ne(function() {
|
|
4064
4043
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4065
4044
|
r[n] = arguments[n];
|
|
4066
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4045
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
4067
4046
|
}, {
|
|
4068
|
-
cache:
|
|
4069
|
-
strategy:
|
|
4047
|
+
cache: Ge(e.dateTime),
|
|
4048
|
+
strategy: $e.variadic
|
|
4070
4049
|
}),
|
|
4071
|
-
getPluralRules:
|
|
4050
|
+
getPluralRules: Ne(function() {
|
|
4072
4051
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4073
4052
|
r[n] = arguments[n];
|
|
4074
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4053
|
+
return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
|
|
4075
4054
|
}, {
|
|
4076
|
-
cache:
|
|
4077
|
-
strategy:
|
|
4055
|
+
cache: Ge(e.pluralRules),
|
|
4056
|
+
strategy: $e.variadic
|
|
4078
4057
|
})
|
|
4079
4058
|
};
|
|
4080
4059
|
}
|
|
4081
|
-
var
|
|
4060
|
+
var Li = (
|
|
4082
4061
|
/** @class */
|
|
4083
4062
|
function() {
|
|
4084
4063
|
function e(t, r, n, i) {
|
|
@@ -4093,7 +4072,7 @@ var Ii = (
|
|
|
4093
4072
|
if (u.length === 1)
|
|
4094
4073
|
return u[0].value;
|
|
4095
4074
|
var h = u.reduce(function(c, f) {
|
|
4096
|
-
return !c.length || f.type !==
|
|
4075
|
+
return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
4097
4076
|
}, []);
|
|
4098
4077
|
return h.length <= 1 ? h[0] || "" : h;
|
|
4099
4078
|
}, this.formatToParts = function(l) {
|
|
@@ -4110,13 +4089,13 @@ var Ii = (
|
|
|
4110
4089
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4111
4090
|
var a = i || {};
|
|
4112
4091
|
a.formatters;
|
|
4113
|
-
var s =
|
|
4114
|
-
this.ast = e.__parse(t,
|
|
4092
|
+
var s = hn(a, ["formatters"]);
|
|
4093
|
+
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
4115
4094
|
} else
|
|
4116
4095
|
this.ast = t;
|
|
4117
4096
|
if (!Array.isArray(this.ast))
|
|
4118
4097
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4119
|
-
this.formats =
|
|
4098
|
+
this.formats = Ai(e.formats, n), this.formatters = i && i.formatters || Pi(this.formatterCache);
|
|
4120
4099
|
}
|
|
4121
4100
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4122
4101
|
get: function() {
|
|
@@ -4129,7 +4108,7 @@ var Ii = (
|
|
|
4129
4108
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4130
4109
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4131
4110
|
}
|
|
4132
|
-
}, e.__parse =
|
|
4111
|
+
}, e.__parse = wi, e.formats = {
|
|
4133
4112
|
number: {
|
|
4134
4113
|
integer: {
|
|
4135
4114
|
maximumFractionDigits: 0
|
|
@@ -4190,7 +4169,7 @@ var Ii = (
|
|
|
4190
4169
|
}, e;
|
|
4191
4170
|
}()
|
|
4192
4171
|
);
|
|
4193
|
-
function
|
|
4172
|
+
function Oi(e, t) {
|
|
4194
4173
|
if (t == null)
|
|
4195
4174
|
return;
|
|
4196
4175
|
if (t in e)
|
|
@@ -4211,92 +4190,92 @@ function Mi(e, t) {
|
|
|
4211
4190
|
n = void 0;
|
|
4212
4191
|
return n;
|
|
4213
4192
|
}
|
|
4214
|
-
const G = {},
|
|
4193
|
+
const G = {}, Ii = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), dr = (e, t) => {
|
|
4215
4194
|
if (t == null)
|
|
4216
4195
|
return;
|
|
4217
4196
|
if (t in G && e in G[t])
|
|
4218
4197
|
return G[t][e];
|
|
4219
|
-
const r =
|
|
4198
|
+
const r = He(t);
|
|
4220
4199
|
for (let n = 0; n < r.length; n++) {
|
|
4221
|
-
const i = r[n], o =
|
|
4200
|
+
const i = r[n], o = Ni(i, e);
|
|
4222
4201
|
if (o)
|
|
4223
|
-
return
|
|
4202
|
+
return Ii(e, t, o);
|
|
4224
4203
|
}
|
|
4225
4204
|
};
|
|
4226
|
-
let
|
|
4227
|
-
const le =
|
|
4228
|
-
function
|
|
4229
|
-
return
|
|
4205
|
+
let st;
|
|
4206
|
+
const le = Se({});
|
|
4207
|
+
function Mi(e) {
|
|
4208
|
+
return st[e] || null;
|
|
4230
4209
|
}
|
|
4231
|
-
function
|
|
4232
|
-
return e in
|
|
4210
|
+
function br(e) {
|
|
4211
|
+
return e in st;
|
|
4233
4212
|
}
|
|
4234
|
-
function
|
|
4235
|
-
if (!
|
|
4213
|
+
function Ni(e, t) {
|
|
4214
|
+
if (!br(e))
|
|
4236
4215
|
return null;
|
|
4237
|
-
const r =
|
|
4238
|
-
return
|
|
4216
|
+
const r = Mi(e);
|
|
4217
|
+
return Oi(r, t);
|
|
4239
4218
|
}
|
|
4240
|
-
function
|
|
4219
|
+
function $i(e) {
|
|
4241
4220
|
if (e == null)
|
|
4242
4221
|
return;
|
|
4243
|
-
const t =
|
|
4222
|
+
const t = He(e);
|
|
4244
4223
|
for (let r = 0; r < t.length; r++) {
|
|
4245
4224
|
const n = t[r];
|
|
4246
|
-
if (
|
|
4225
|
+
if (br(n))
|
|
4247
4226
|
return n;
|
|
4248
4227
|
}
|
|
4249
4228
|
}
|
|
4250
|
-
function
|
|
4229
|
+
function gr(e, ...t) {
|
|
4251
4230
|
delete G[e], le.update((r) => (r[e] = Fn.all([r[e] || {}, ...t]), r));
|
|
4252
4231
|
}
|
|
4253
|
-
|
|
4232
|
+
Y(
|
|
4254
4233
|
[le],
|
|
4255
4234
|
([e]) => Object.keys(e)
|
|
4256
4235
|
);
|
|
4257
|
-
le.subscribe((e) =>
|
|
4236
|
+
le.subscribe((e) => st = e);
|
|
4258
4237
|
const be = {};
|
|
4259
|
-
function
|
|
4238
|
+
function Ri(e, t) {
|
|
4260
4239
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
4261
4240
|
}
|
|
4262
|
-
function
|
|
4241
|
+
function yr(e) {
|
|
4263
4242
|
return be[e];
|
|
4264
4243
|
}
|
|
4265
|
-
function
|
|
4266
|
-
return
|
|
4267
|
-
const r =
|
|
4244
|
+
function Gi(e) {
|
|
4245
|
+
return He(e).map((t) => {
|
|
4246
|
+
const r = yr(t);
|
|
4268
4247
|
return [t, r ? [...r] : []];
|
|
4269
4248
|
}).filter(([, t]) => t.length > 0);
|
|
4270
4249
|
}
|
|
4271
|
-
function
|
|
4272
|
-
return e == null ? !1 :
|
|
4250
|
+
function Ke(e) {
|
|
4251
|
+
return e == null ? !1 : He(e).some(
|
|
4273
4252
|
(t) => {
|
|
4274
4253
|
var r;
|
|
4275
|
-
return (r =
|
|
4254
|
+
return (r = yr(t)) == null ? void 0 : r.size;
|
|
4276
4255
|
}
|
|
4277
4256
|
);
|
|
4278
4257
|
}
|
|
4279
|
-
function
|
|
4258
|
+
function Ui(e, t) {
|
|
4280
4259
|
return Promise.all(
|
|
4281
|
-
t.map((n) => (
|
|
4282
|
-
).then((n) =>
|
|
4283
|
-
}
|
|
4284
|
-
const
|
|
4285
|
-
function
|
|
4286
|
-
if (!
|
|
4287
|
-
return e in
|
|
4288
|
-
const t =
|
|
4289
|
-
return
|
|
4260
|
+
t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
|
|
4261
|
+
).then((n) => gr(e, ...n));
|
|
4262
|
+
}
|
|
4263
|
+
const re = {};
|
|
4264
|
+
function vr(e) {
|
|
4265
|
+
if (!Ke(e))
|
|
4266
|
+
return e in re ? re[e] : Promise.resolve();
|
|
4267
|
+
const t = Gi(e);
|
|
4268
|
+
return re[e] = Promise.all(
|
|
4290
4269
|
t.map(
|
|
4291
|
-
([r, n]) =>
|
|
4270
|
+
([r, n]) => Ui(r, n)
|
|
4292
4271
|
)
|
|
4293
4272
|
).then(() => {
|
|
4294
|
-
if (
|
|
4295
|
-
return
|
|
4296
|
-
delete
|
|
4297
|
-
}),
|
|
4273
|
+
if (Ke(e))
|
|
4274
|
+
return vr(e);
|
|
4275
|
+
delete re[e];
|
|
4276
|
+
}), re[e];
|
|
4298
4277
|
}
|
|
4299
|
-
const
|
|
4278
|
+
const Di = {
|
|
4300
4279
|
number: {
|
|
4301
4280
|
scientific: { notation: "scientific" },
|
|
4302
4281
|
engineering: { notation: "engineering" },
|
|
@@ -4325,135 +4304,135 @@ const ji = {
|
|
|
4325
4304
|
timeZoneName: "short"
|
|
4326
4305
|
}
|
|
4327
4306
|
}
|
|
4328
|
-
},
|
|
4307
|
+
}, Fi = {
|
|
4329
4308
|
fallbackLocale: null,
|
|
4330
4309
|
loadingDelay: 200,
|
|
4331
|
-
formats:
|
|
4310
|
+
formats: Di,
|
|
4332
4311
|
warnOnMissingMessages: !0,
|
|
4333
4312
|
handleMissingMessage: void 0,
|
|
4334
4313
|
ignoreTag: !0
|
|
4335
|
-
},
|
|
4336
|
-
function
|
|
4337
|
-
return
|
|
4314
|
+
}, ji = Fi;
|
|
4315
|
+
function q() {
|
|
4316
|
+
return ji;
|
|
4338
4317
|
}
|
|
4339
|
-
const
|
|
4340
|
-
var
|
|
4318
|
+
const Ue = Se(!1);
|
|
4319
|
+
var ki = Object.defineProperty, Vi = Object.defineProperties, Xi = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, zi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zi = (e, t) => {
|
|
4341
4320
|
for (var r in t || (t = {}))
|
|
4342
|
-
|
|
4343
|
-
if (
|
|
4344
|
-
for (var r of
|
|
4345
|
-
|
|
4321
|
+
zi.call(t, r) && Pt(e, r, t[r]);
|
|
4322
|
+
if (At)
|
|
4323
|
+
for (var r of At(t))
|
|
4324
|
+
Wi.call(t, r) && Pt(e, r, t[r]);
|
|
4346
4325
|
return e;
|
|
4347
|
-
},
|
|
4348
|
-
let
|
|
4349
|
-
const
|
|
4350
|
-
function
|
|
4326
|
+
}, Qi = (e, t) => Vi(e, Xi(t));
|
|
4327
|
+
let et;
|
|
4328
|
+
const _e = Se(null);
|
|
4329
|
+
function Lt(e) {
|
|
4351
4330
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4352
4331
|
}
|
|
4353
|
-
function
|
|
4354
|
-
const r =
|
|
4355
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4332
|
+
function He(e, t = q().fallbackLocale) {
|
|
4333
|
+
const r = Lt(e);
|
|
4334
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
|
|
4356
4335
|
}
|
|
4357
4336
|
function D() {
|
|
4358
|
-
return
|
|
4337
|
+
return et ?? void 0;
|
|
4359
4338
|
}
|
|
4360
|
-
|
|
4361
|
-
|
|
4339
|
+
_e.subscribe((e) => {
|
|
4340
|
+
et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4362
4341
|
});
|
|
4363
|
-
const
|
|
4364
|
-
if (e &&
|
|
4365
|
-
const { loadingDelay: t } =
|
|
4342
|
+
const Ji = (e) => {
|
|
4343
|
+
if (e && $i(e) && Ke(e)) {
|
|
4344
|
+
const { loadingDelay: t } = q();
|
|
4366
4345
|
let r;
|
|
4367
4346
|
return typeof window < "u" && D() != null && t ? r = window.setTimeout(
|
|
4368
|
-
() =>
|
|
4347
|
+
() => Ue.set(!0),
|
|
4369
4348
|
t
|
|
4370
|
-
) :
|
|
4371
|
-
|
|
4349
|
+
) : Ue.set(!0), vr(e).then(() => {
|
|
4350
|
+
_e.set(e);
|
|
4372
4351
|
}).finally(() => {
|
|
4373
|
-
clearTimeout(r),
|
|
4352
|
+
clearTimeout(r), Ue.set(!1);
|
|
4374
4353
|
});
|
|
4375
4354
|
}
|
|
4376
|
-
return
|
|
4377
|
-
},
|
|
4378
|
-
set:
|
|
4379
|
-
}),
|
|
4355
|
+
return _e.set(e);
|
|
4356
|
+
}, K = Qi(Zi({}, _e), {
|
|
4357
|
+
set: Ji
|
|
4358
|
+
}), Ce = (e) => {
|
|
4380
4359
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4381
4360
|
return (n) => {
|
|
4382
4361
|
const i = JSON.stringify(n);
|
|
4383
4362
|
return i in t ? t[i] : t[i] = e(n);
|
|
4384
4363
|
};
|
|
4385
4364
|
};
|
|
4386
|
-
var
|
|
4365
|
+
var qi = Object.defineProperty, xe = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
|
4387
4366
|
for (var r in t || (t = {}))
|
|
4388
|
-
|
|
4389
|
-
if (
|
|
4390
|
-
for (var r of
|
|
4391
|
-
|
|
4367
|
+
_r.call(t, r) && Ot(e, r, t[r]);
|
|
4368
|
+
if (xe)
|
|
4369
|
+
for (var r of xe(t))
|
|
4370
|
+
xr.call(t, r) && Ot(e, r, t[r]);
|
|
4392
4371
|
return e;
|
|
4393
|
-
},
|
|
4372
|
+
}, ee = (e, t) => {
|
|
4394
4373
|
var r = {};
|
|
4395
4374
|
for (var n in e)
|
|
4396
|
-
|
|
4397
|
-
if (e != null &&
|
|
4398
|
-
for (var n of
|
|
4399
|
-
t.indexOf(n) < 0 &&
|
|
4375
|
+
_r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4376
|
+
if (e != null && xe)
|
|
4377
|
+
for (var n of xe(e))
|
|
4378
|
+
t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
|
|
4400
4379
|
return r;
|
|
4401
4380
|
};
|
|
4402
|
-
const
|
|
4403
|
-
const { formats: r } =
|
|
4381
|
+
const ae = (e, t) => {
|
|
4382
|
+
const { formats: r } = q();
|
|
4404
4383
|
if (e in r && t in r[e])
|
|
4405
4384
|
return r[e][t];
|
|
4406
4385
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4407
|
-
},
|
|
4386
|
+
}, Yi = Ce(
|
|
4408
4387
|
(e) => {
|
|
4409
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4388
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4410
4389
|
if (r == null)
|
|
4411
4390
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4412
|
-
return n && (i =
|
|
4391
|
+
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
4413
4392
|
}
|
|
4414
|
-
),
|
|
4393
|
+
), Ki = Ce(
|
|
4415
4394
|
(e) => {
|
|
4416
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4395
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4417
4396
|
if (r == null)
|
|
4418
4397
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4419
|
-
return n ? i =
|
|
4398
|
+
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4420
4399
|
}
|
|
4421
|
-
),
|
|
4400
|
+
), eo = Ce(
|
|
4422
4401
|
(e) => {
|
|
4423
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4402
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4424
4403
|
if (r == null)
|
|
4425
4404
|
throw new Error(
|
|
4426
4405
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4427
4406
|
);
|
|
4428
|
-
return n ? i =
|
|
4407
|
+
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4429
4408
|
}
|
|
4430
|
-
),
|
|
4409
|
+
), to = (e = {}) => {
|
|
4431
4410
|
var t = e, {
|
|
4432
4411
|
locale: r = D()
|
|
4433
|
-
} = t, n =
|
|
4412
|
+
} = t, n = ee(t, [
|
|
4434
4413
|
"locale"
|
|
4435
4414
|
]);
|
|
4436
|
-
return
|
|
4437
|
-
},
|
|
4415
|
+
return Yi(at({ locale: r }, n));
|
|
4416
|
+
}, ro = (e = {}) => {
|
|
4438
4417
|
var t = e, {
|
|
4439
4418
|
locale: r = D()
|
|
4440
|
-
} = t, n =
|
|
4419
|
+
} = t, n = ee(t, [
|
|
4441
4420
|
"locale"
|
|
4442
4421
|
]);
|
|
4443
|
-
return
|
|
4444
|
-
},
|
|
4422
|
+
return Ki(at({ locale: r }, n));
|
|
4423
|
+
}, no = (e = {}) => {
|
|
4445
4424
|
var t = e, {
|
|
4446
4425
|
locale: r = D()
|
|
4447
|
-
} = t, n =
|
|
4426
|
+
} = t, n = ee(t, [
|
|
4448
4427
|
"locale"
|
|
4449
4428
|
]);
|
|
4450
|
-
return
|
|
4451
|
-
},
|
|
4429
|
+
return eo(at({ locale: r }, n));
|
|
4430
|
+
}, io = Ce(
|
|
4452
4431
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4453
|
-
(e, t = D()) => new
|
|
4454
|
-
ignoreTag:
|
|
4432
|
+
(e, t = D()) => new Li(e, t, q().formats, {
|
|
4433
|
+
ignoreTag: q().ignoreTag
|
|
4455
4434
|
})
|
|
4456
|
-
),
|
|
4435
|
+
), oo = (e, t = {}) => {
|
|
4457
4436
|
var r, n, i, o;
|
|
4458
4437
|
let a = t;
|
|
4459
4438
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4466,9 +4445,9 @@ const se = (e, t) => {
|
|
|
4466
4445
|
throw new Error(
|
|
4467
4446
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4468
4447
|
);
|
|
4469
|
-
let h =
|
|
4448
|
+
let h = dr(e, l);
|
|
4470
4449
|
if (!h)
|
|
4471
|
-
h = (o = (i = (n = (r =
|
|
4450
|
+
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;
|
|
4472
4451
|
else if (typeof h != "string")
|
|
4473
4452
|
return console.warn(
|
|
4474
4453
|
`[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.`
|
|
@@ -4477,7 +4456,7 @@ const se = (e, t) => {
|
|
|
4477
4456
|
return h;
|
|
4478
4457
|
let c = h;
|
|
4479
4458
|
try {
|
|
4480
|
-
c =
|
|
4459
|
+
c = io(h, l).format(s);
|
|
4481
4460
|
} catch (f) {
|
|
4482
4461
|
f instanceof Error && console.warn(
|
|
4483
4462
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4485,21 +4464,21 @@ const se = (e, t) => {
|
|
|
4485
4464
|
);
|
|
4486
4465
|
}
|
|
4487
4466
|
return c;
|
|
4488
|
-
},
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4467
|
+
}, so = (e, t) => no(t).format(e), ao = (e, t) => ro(t).format(e), uo = (e, t) => to(t).format(e), lo = (e, t = D()) => dr(e, t), ho = Y([K, le], () => oo);
|
|
4468
|
+
Y([K], () => so);
|
|
4469
|
+
Y([K], () => ao);
|
|
4470
|
+
Y([K], () => uo);
|
|
4471
|
+
Y([K, le], () => lo);
|
|
4493
4472
|
window.emWidgets = { topic: Sn };
|
|
4494
|
-
const
|
|
4473
|
+
const co = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4495
4474
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
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, ho, (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 = co(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 && an(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4691
|
+
1026 && h && m && un(m, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4692
|
+
2050 && c && m && ln(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
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4782
|
+
K as $,
|
|
4783
|
+
_o as A,
|
|
4784
|
+
Ho as B,
|
|
4785
|
+
wo as C,
|
|
4786
|
+
De as D,
|
|
4787
|
+
an as E,
|
|
4788
|
+
un as F,
|
|
4789
|
+
So as G,
|
|
4790
|
+
ve as H,
|
|
4791
|
+
To as I,
|
|
4792
|
+
Ee as J,
|
|
4793
|
+
ho 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,
|
|
4813
|
+
H as h,
|
|
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
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4824
|
+
Rt as s,
|
|
4825
|
+
ne as t,
|
|
4826
|
+
Br as u,
|
|
4827
|
+
co as v,
|
|
4828
|
+
Xr as w,
|
|
4829
|
+
ln as x,
|
|
4830
|
+
Po as y,
|
|
4831
|
+
vo as z
|
|
4853
4832
|
};
|