@everymatrix/player-account-product-restriction 1.76.1 → 1.76.3
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/{PlayerAccountGeneralConfirmationModal-DnoeUTWG.js → PlayerAccountGeneralConfirmationModal-CdayZyQN.js} +1242 -1256
- package/components/PlayerAccountGeneralConfirmationModal-CxQoiMM0.cjs +21 -0
- package/components/{PlayerAccountGeneralConfirmationModal-Dch5EDSU.js → PlayerAccountGeneralConfirmationModal-DHhULFrg.js} +720 -734
- package/components/{PlayerAccountModal-BVhAnI2b.js → PlayerAccountModal-606jJf8b.js} +10 -10
- package/components/{PlayerAccountModal-BAdv2e_o.cjs → PlayerAccountModal-CawVD9Xq.cjs} +1 -1
- package/components/{PlayerAccountModal--i7vegAu.js → PlayerAccountModal-K8N-hYP_.js} +10 -10
- package/components/{PlayerAccountProductRestriction-CSqUczSr.js → PlayerAccountProductRestriction-6eWyBNib.js} +2517 -2521
- package/components/{PlayerAccountProductRestriction-t8eTC5Gc.cjs → PlayerAccountProductRestriction-Cp_082PL.cjs} +269 -269
- package/components/{PlayerAccountProductRestriction-Dbz-sIbu.js → PlayerAccountProductRestriction-tPTxtHxX.js} +2492 -2496
- package/es2015/player-account-product-restriction.cjs +1 -1
- package/es2015/player-account-product-restriction.js +1 -1
- package/esnext/player-account-product-restriction.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-b2193545-BtPvM93e.js → index-b2193545-BbCeNxUG.js} +176 -176
- package/stencil/{index-b2193545-D_KBbaD-.js → index-b2193545-C9PH-6qK.js} +169 -169
- package/stencil/index-b2193545-D-u-gzj3.cjs +1 -0
- package/stencil/{ui-skeleton-NZtdK490.js → ui-skeleton-BKDs0-7H.js} +2 -2
- package/stencil/{ui-skeleton-CWuMYFGQ.js → ui-skeleton-CJbkvgG7.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CKJgMm_5.cjs → ui-skeleton-ae35c6f2-CXlvqczG.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DlexSQlT.js → ui-skeleton-ae35c6f2-ZB0isFAq.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CW3z59Qf.js → ui-skeleton-ae35c6f2-gun6WX2F.js} +1 -1
- package/stencil/{ui-skeleton-BPqjm-YB.cjs → ui-skeleton-bhljBTS7.cjs} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-Djrizs-P.cjs +0 -21
- package/stencil/index-b2193545-CgelUAhE.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function M() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const Sr = (e) => e;
|
|
4
|
+
function Tr(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,25 +9,25 @@ function Br(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Rt(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function at() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function G(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(Rt);
|
|
20
20
|
}
|
|
21
21
|
function Se(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function $t(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function Hr(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);
|
|
@@ -36,19 +36,19 @@ function Dt(e, ...t) {
|
|
|
36
36
|
const r = e.subscribe(...t);
|
|
37
37
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
e.$$.on_destroy.push(
|
|
39
|
+
function Ar(e, t, r) {
|
|
40
|
+
e.$$.on_destroy.push(Gt(t, r));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Br(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 ? Tr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Cr(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)
|
|
@@ -63,13 +63,13 @@ function Ir(e, t, r, n) {
|
|
|
63
63
|
}
|
|
64
64
|
return t.dirty;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Pr(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 Nr(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(), et = Dt ? (e) => requestAnimationFrame(e) : M;
|
|
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 && et(Ft);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Mr(e) {
|
|
90
90
|
let t;
|
|
91
|
-
return X.size === 0 &&
|
|
91
|
+
return X.size === 0 && et(Ft), {
|
|
92
92
|
promise: new Promise((r) => {
|
|
93
93
|
X.add(t = { c: e, f: r });
|
|
94
94
|
}),
|
|
@@ -100,14 +100,14 @@ function Rr(e) {
|
|
|
100
100
|
function C(e, t) {
|
|
101
101
|
e.appendChild(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
const n =
|
|
103
|
+
function Nr(e, t, r) {
|
|
104
|
+
const n = tt(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 tt(e) {
|
|
111
111
|
if (!e)
|
|
112
112
|
return document;
|
|
113
113
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -117,11 +117,11 @@ function rt(e) {
|
|
|
117
117
|
t
|
|
118
118
|
) : e.ownerDocument;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Lr(e) {
|
|
121
121
|
const t = I("style");
|
|
122
|
-
return t.textContent = "/* empty */",
|
|
122
|
+
return t.textContent = "/* empty */", jt(tt(e), t), t.sheet;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function jt(e, t) {
|
|
125
125
|
return C(
|
|
126
126
|
/** @type {Document} */
|
|
127
127
|
e.head || e,
|
|
@@ -134,49 +134,49 @@ function ae(e, t, r) {
|
|
|
134
134
|
function U(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 ut(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
147
|
function ue(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function fe() {
|
|
151
151
|
return ue(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function _o() {
|
|
154
154
|
return ue("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Ge(e, t, r, n) {
|
|
157
157
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function T(e, t, r) {
|
|
160
160
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function xo(e, t, r) {
|
|
163
163
|
const n = t.toLowerCase();
|
|
164
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
164
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Rr(e) {
|
|
167
167
|
return Array.from(e.childNodes);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function rt(e, t) {
|
|
170
170
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
171
171
|
t);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Eo(e, t, r) {
|
|
174
174
|
e.classList.toggle(t, !!r);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function $r(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
177
177
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Gr(e) {
|
|
180
180
|
const t = {};
|
|
181
181
|
return e.childNodes.forEach(
|
|
182
182
|
/** @param {Element} node */
|
|
@@ -187,40 +187,40 @@ function Fr(e) {
|
|
|
187
187
|
}
|
|
188
188
|
const ve = /* @__PURE__ */ new Map();
|
|
189
189
|
let _e = 0;
|
|
190
|
-
function
|
|
190
|
+
function Ur(e) {
|
|
191
191
|
let t = 5381, r = e.length;
|
|
192
192
|
for (; r--; )
|
|
193
193
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
194
194
|
return t >>> 0;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
const r = { stylesheet:
|
|
196
|
+
function Dr(e, t) {
|
|
197
|
+
const r = { stylesheet: Lr(t), rules: {} };
|
|
198
198
|
return ve.set(e, r), r;
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function lt(e, t, r, n, i, o, a, s = 0) {
|
|
201
201
|
const l = 16.666 / n;
|
|
202
202
|
let u = `{
|
|
203
203
|
`;
|
|
204
204
|
for (let g = 0; g <= 1; g += l) {
|
|
205
|
-
const
|
|
206
|
-
u += g * 100 + `%{${a(
|
|
205
|
+
const H = t + (r - t) * o(g);
|
|
206
|
+
u += g * 100 + `%{${a(H, 1 - H)}}
|
|
207
207
|
`;
|
|
208
208
|
}
|
|
209
209
|
const h = u + `100% {${a(r, 1 - r)}}
|
|
210
|
-
}`,
|
|
211
|
-
|
|
210
|
+
}`, f = `__svelte_${Ur(h)}_${s}`, c = tt(e), { stylesheet: m, rules: d } = ve.get(c) || Dr(c, e);
|
|
211
|
+
d[f] || (d[f] = !0, m.insertRule(`@keyframes ${f} ${h}`, m.cssRules.length));
|
|
212
212
|
const p = e.style.animation || "";
|
|
213
|
-
return e.style.animation = `${p ? `${p}, ` : ""}${
|
|
213
|
+
return e.style.animation = `${p ? `${p}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, _e += 1, f;
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Fr(e, t) {
|
|
216
216
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
217
217
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
218
218
|
// remove all Svelte animations
|
|
219
219
|
), i = r.length - n.length;
|
|
220
|
-
i && (e.style.animation = n.join(", "), _e -= i, _e ||
|
|
220
|
+
i && (e.style.animation = n.join(", "), _e -= i, _e || jr());
|
|
221
221
|
}
|
|
222
|
-
function
|
|
223
|
-
|
|
222
|
+
function jr() {
|
|
223
|
+
et(() => {
|
|
224
224
|
_e || (ve.forEach((e) => {
|
|
225
225
|
const { ownerNode: t } = e.stylesheet;
|
|
226
226
|
t && U(t);
|
|
@@ -231,20 +231,20 @@ let ie;
|
|
|
231
231
|
function ne(e) {
|
|
232
232
|
ie = e;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function kr() {
|
|
235
235
|
if (!ie)
|
|
236
236
|
throw new Error("Function called outside component initialization");
|
|
237
237
|
return ie;
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
|
|
239
|
+
function Vr(e) {
|
|
240
|
+
kr().$$.on_mount.push(e);
|
|
241
241
|
}
|
|
242
|
-
const V = [],
|
|
242
|
+
const V = [], Ue = [];
|
|
243
243
|
let z = [];
|
|
244
|
-
const
|
|
245
|
-
let
|
|
246
|
-
function
|
|
247
|
-
|
|
244
|
+
const ht = [], Xr = /* @__PURE__ */ Promise.resolve();
|
|
245
|
+
let De = !1;
|
|
246
|
+
function zr() {
|
|
247
|
+
De || (De = !0, Xr.then(O));
|
|
248
248
|
}
|
|
249
249
|
function xe(e) {
|
|
250
250
|
z.push(e);
|
|
@@ -259,46 +259,46 @@ function O() {
|
|
|
259
259
|
try {
|
|
260
260
|
for (; j < V.length; ) {
|
|
261
261
|
const t = V[j];
|
|
262
|
-
j++, ne(t),
|
|
262
|
+
j++, ne(t), Wr(t.$$);
|
|
263
263
|
}
|
|
264
264
|
} catch (t) {
|
|
265
265
|
throw V.length = 0, j = 0, t;
|
|
266
266
|
}
|
|
267
|
-
for (ne(null), V.length = 0, j = 0;
|
|
268
|
-
|
|
267
|
+
for (ne(null), V.length = 0, j = 0; Ue.length; )
|
|
268
|
+
Ue.pop()();
|
|
269
269
|
for (let t = 0; t < z.length; t += 1) {
|
|
270
270
|
const r = z[t];
|
|
271
271
|
Pe.has(r) || (Pe.add(r), r());
|
|
272
272
|
}
|
|
273
273
|
z.length = 0;
|
|
274
274
|
} while (V.length);
|
|
275
|
-
for (;
|
|
276
|
-
|
|
277
|
-
|
|
275
|
+
for (; ht.length; )
|
|
276
|
+
ht.pop()();
|
|
277
|
+
De = !1, Pe.clear(), ne(e);
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function Wr(e) {
|
|
280
280
|
if (e.fragment !== null) {
|
|
281
281
|
e.update(), G(e.before_update);
|
|
282
282
|
const t = e.dirty;
|
|
283
283
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xe);
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function Zr(e) {
|
|
287
287
|
const t = [], r = [];
|
|
288
288
|
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
289
289
|
}
|
|
290
290
|
let te;
|
|
291
|
-
function
|
|
291
|
+
function Qr() {
|
|
292
292
|
return te || (te = Promise.resolve(), te.then(() => {
|
|
293
293
|
te = null;
|
|
294
294
|
})), te;
|
|
295
295
|
}
|
|
296
296
|
function Oe(e, t, r) {
|
|
297
|
-
e.dispatchEvent(
|
|
297
|
+
e.dispatchEvent($r(`${t ? "intro" : "outro"}${r}`));
|
|
298
298
|
}
|
|
299
|
-
const
|
|
299
|
+
const me = /* @__PURE__ */ new Set();
|
|
300
300
|
let N;
|
|
301
|
-
function
|
|
301
|
+
function wo() {
|
|
302
302
|
N = {
|
|
303
303
|
r: 0,
|
|
304
304
|
c: [],
|
|
@@ -306,104 +306,104 @@ function To() {
|
|
|
306
306
|
// parent group
|
|
307
307
|
};
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function So() {
|
|
310
310
|
N.r || G(N.c), N = N.p;
|
|
311
311
|
}
|
|
312
|
-
function
|
|
313
|
-
e && e.i && (
|
|
312
|
+
function kt(e, t) {
|
|
313
|
+
e && e.i && (me.delete(e), e.i(t));
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function Jr(e, t, r, n) {
|
|
316
316
|
if (e && e.o) {
|
|
317
|
-
if (
|
|
317
|
+
if (me.has(e))
|
|
318
318
|
return;
|
|
319
|
-
|
|
320
|
-
|
|
319
|
+
me.add(e), N.c.push(() => {
|
|
320
|
+
me.delete(e), n && (r && e.d(1), n());
|
|
321
321
|
}), e.o(t);
|
|
322
322
|
} else
|
|
323
323
|
n && n();
|
|
324
324
|
}
|
|
325
|
-
const
|
|
326
|
-
function
|
|
325
|
+
const qr = { duration: 0 };
|
|
326
|
+
function To(e, t, r, n) {
|
|
327
327
|
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
|
|
328
|
-
function
|
|
329
|
-
u &&
|
|
328
|
+
function f() {
|
|
329
|
+
u && Fr(e, u);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function c(d, p) {
|
|
332
332
|
const g = (
|
|
333
333
|
/** @type {Program['d']} */
|
|
334
|
-
|
|
334
|
+
d.b - a
|
|
335
335
|
);
|
|
336
336
|
return p *= Math.abs(g), {
|
|
337
337
|
a,
|
|
338
|
-
b:
|
|
338
|
+
b: d.b,
|
|
339
339
|
d: g,
|
|
340
340
|
duration: p,
|
|
341
|
-
start:
|
|
342
|
-
end:
|
|
343
|
-
group:
|
|
341
|
+
start: d.start,
|
|
342
|
+
end: d.start + p,
|
|
343
|
+
group: d.group
|
|
344
344
|
};
|
|
345
345
|
}
|
|
346
|
-
function d
|
|
346
|
+
function m(d) {
|
|
347
347
|
const {
|
|
348
348
|
delay: p = 0,
|
|
349
349
|
duration: g = 300,
|
|
350
|
-
easing:
|
|
351
|
-
tick:
|
|
350
|
+
easing: H = Sr,
|
|
351
|
+
tick: A = M,
|
|
352
352
|
css: x
|
|
353
|
-
} = o ||
|
|
354
|
-
start:
|
|
355
|
-
b:
|
|
353
|
+
} = o || qr, w = {
|
|
354
|
+
start: Ir() + p,
|
|
355
|
+
b: d
|
|
356
356
|
};
|
|
357
|
-
|
|
358
|
-
e.inert, e.inert = !0)), s || l ? l = w : (x && (
|
|
359
|
-
if (l && b > l.start && (s =
|
|
357
|
+
d || (w.group = N, N.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
358
|
+
e.inert, e.inert = !0)), s || l ? l = w : (x && (f(), u = lt(e, a, d, g, p, H, x)), d && A(0, 1), s = c(w, g), xe(() => Oe(e, d, "start")), Mr((b) => {
|
|
359
|
+
if (l && b > l.start && (s = c(l, g), l = null, Oe(e, s.b, "start"), x && (f(), u = lt(
|
|
360
360
|
e,
|
|
361
361
|
a,
|
|
362
362
|
s.b,
|
|
363
363
|
s.duration,
|
|
364
364
|
0,
|
|
365
|
-
|
|
365
|
+
H,
|
|
366
366
|
o.css
|
|
367
367
|
))), s) {
|
|
368
368
|
if (b >= s.end)
|
|
369
|
-
|
|
369
|
+
A(a = s.b, 1 - a), Oe(e, s.b, "end"), l || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
|
|
370
370
|
else if (b >= s.start) {
|
|
371
371
|
const B = b - s.start;
|
|
372
|
-
a = s.a + s.d *
|
|
372
|
+
a = s.a + s.d * H(B / s.duration), A(a, 1 - a);
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
return !!(s || l);
|
|
376
376
|
}));
|
|
377
377
|
}
|
|
378
378
|
return {
|
|
379
|
-
run(
|
|
380
|
-
Se(o) ?
|
|
381
|
-
o = o({ direction:
|
|
382
|
-
}) : d
|
|
379
|
+
run(d) {
|
|
380
|
+
Se(o) ? Qr().then(() => {
|
|
381
|
+
o = o({ direction: d ? "in" : "out" }), m(d);
|
|
382
|
+
}) : m(d);
|
|
383
383
|
},
|
|
384
384
|
end() {
|
|
385
|
-
|
|
385
|
+
f(), s = l = null;
|
|
386
386
|
}
|
|
387
387
|
};
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function Ho(e) {
|
|
390
390
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function Yr(e, t, r) {
|
|
393
393
|
const { fragment: n, after_update: i } = e.$$;
|
|
394
394
|
n && n.m(t, r), xe(() => {
|
|
395
|
-
const o = e.$$.on_mount.map(
|
|
395
|
+
const o = e.$$.on_mount.map(Rt).filter(Se);
|
|
396
396
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
|
|
397
397
|
}), i.forEach(xe);
|
|
398
398
|
}
|
|
399
|
-
function
|
|
399
|
+
function Kr(e, t) {
|
|
400
400
|
const r = e.$$;
|
|
401
|
-
r.fragment !== null && (
|
|
401
|
+
r.fragment !== null && (Zr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
402
402
|
}
|
|
403
|
-
function
|
|
404
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
403
|
+
function en(e, t) {
|
|
404
|
+
e.$$.dirty[0] === -1 && (V.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function tn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
407
407
|
const l = ie;
|
|
408
408
|
ne(e);
|
|
409
409
|
const u = e.$$ = {
|
|
@@ -413,7 +413,7 @@ function on(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
413
413
|
props: o,
|
|
414
414
|
update: M,
|
|
415
415
|
not_equal: i,
|
|
416
|
-
bound:
|
|
416
|
+
bound: at(),
|
|
417
417
|
// lifecycle
|
|
418
418
|
on_mount: [],
|
|
419
419
|
on_destroy: [],
|
|
@@ -422,28 +422,28 @@ function on(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
422
422
|
after_update: [],
|
|
423
423
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
424
424
|
// everything else
|
|
425
|
-
callbacks:
|
|
425
|
+
callbacks: at(),
|
|
426
426
|
dirty: s,
|
|
427
427
|
skip_bound: !1,
|
|
428
428
|
root: t.target || l.$$.root
|
|
429
429
|
};
|
|
430
430
|
a && a(u.root);
|
|
431
431
|
let h = !1;
|
|
432
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
433
|
-
const
|
|
434
|
-
return u.ctx && i(u.ctx[
|
|
432
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
|
|
433
|
+
const d = m.length ? m[0] : c;
|
|
434
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && en(e, f)), c;
|
|
435
435
|
}) : [], u.update(), h = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
436
436
|
if (t.hydrate) {
|
|
437
|
-
const
|
|
438
|
-
u.fragment && u.fragment.l(
|
|
437
|
+
const f = Rr(t.target);
|
|
438
|
+
u.fragment && u.fragment.l(f), f.forEach(U);
|
|
439
439
|
} else
|
|
440
440
|
u.fragment && u.fragment.c();
|
|
441
|
-
t.intro &&
|
|
441
|
+
t.intro && kt(e.$$.fragment), Yr(e, t.target, t.anchor), O();
|
|
442
442
|
}
|
|
443
443
|
ne(l);
|
|
444
444
|
}
|
|
445
|
-
let
|
|
446
|
-
typeof HTMLElement == "function" && (
|
|
445
|
+
let Vt;
|
|
446
|
+
typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
|
|
447
447
|
/** The Svelte component constructor */
|
|
448
448
|
$$ctor;
|
|
449
449
|
/** Slots */
|
|
@@ -485,7 +485,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
485
485
|
let o;
|
|
486
486
|
return {
|
|
487
487
|
c: function() {
|
|
488
|
-
o = I("slot"), i !== "default" &&
|
|
488
|
+
o = I("slot"), i !== "default" && T(o, "name", i);
|
|
489
489
|
},
|
|
490
490
|
/**
|
|
491
491
|
* @param {HTMLElement} target
|
|
@@ -502,7 +502,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
502
502
|
};
|
|
503
503
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
504
504
|
return;
|
|
505
|
-
const t = {}, r =
|
|
505
|
+
const t = {}, r = Gr(this);
|
|
506
506
|
for (const i of this.$$s)
|
|
507
507
|
i in r && (t[i] = [e(i)]);
|
|
508
508
|
for (const i of this.attributes) {
|
|
@@ -589,8 +589,8 @@ function pe(e, t, r, n) {
|
|
|
589
589
|
return t;
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
|
-
function
|
|
593
|
-
let a = class extends
|
|
592
|
+
function rn(e, t, r, n, i, o) {
|
|
593
|
+
let a = class extends Vt {
|
|
594
594
|
constructor() {
|
|
595
595
|
super(e, r, i), this.$$p_d = t;
|
|
596
596
|
}
|
|
@@ -618,7 +618,7 @@ function sn(e, t, r, n, i, o) {
|
|
|
618
618
|
}), e.element = /** @type {any} */
|
|
619
619
|
a, a;
|
|
620
620
|
}
|
|
621
|
-
class
|
|
621
|
+
class nn {
|
|
622
622
|
/**
|
|
623
623
|
* ### PRIVATE API
|
|
624
624
|
*
|
|
@@ -637,7 +637,7 @@ class an {
|
|
|
637
637
|
$$set = void 0;
|
|
638
638
|
/** @returns {void} */
|
|
639
639
|
$destroy() {
|
|
640
|
-
|
|
640
|
+
Kr(this, 1), this.$destroy = M;
|
|
641
641
|
}
|
|
642
642
|
/**
|
|
643
643
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -659,11 +659,11 @@ class an {
|
|
|
659
659
|
* @returns {void}
|
|
660
660
|
*/
|
|
661
661
|
$set(t) {
|
|
662
|
-
this.$$set && !
|
|
662
|
+
this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
const
|
|
666
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
665
|
+
const on = "4";
|
|
666
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
|
|
667
667
|
/*! *****************************************************************************
|
|
668
668
|
Copyright (c) Microsoft Corporation.
|
|
669
669
|
|
|
@@ -678,18 +678,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
678
678
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
679
679
|
PERFORMANCE OF THIS SOFTWARE.
|
|
680
680
|
***************************************************************************** */
|
|
681
|
-
var
|
|
682
|
-
return
|
|
681
|
+
var Fe = function(e, t) {
|
|
682
|
+
return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
683
683
|
r.__proto__ = n;
|
|
684
684
|
} || function(r, n) {
|
|
685
685
|
for (var i in n)
|
|
686
686
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
687
|
-
},
|
|
687
|
+
}, Fe(e, t);
|
|
688
688
|
};
|
|
689
689
|
function R(e, t) {
|
|
690
690
|
if (typeof t != "function" && t !== null)
|
|
691
691
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
692
|
-
|
|
692
|
+
Fe(e, t);
|
|
693
693
|
function r() {
|
|
694
694
|
this.constructor = e;
|
|
695
695
|
}
|
|
@@ -705,7 +705,7 @@ var E = function() {
|
|
|
705
705
|
return t;
|
|
706
706
|
}, E.apply(this, arguments);
|
|
707
707
|
};
|
|
708
|
-
function
|
|
708
|
+
function sn(e, t) {
|
|
709
709
|
var r = {};
|
|
710
710
|
for (var n in e)
|
|
711
711
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -714,7 +714,7 @@ function ln(e, t) {
|
|
|
714
714
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
715
715
|
return r;
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function je(e) {
|
|
718
718
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
719
719
|
if (r)
|
|
720
720
|
return r.call(e);
|
|
@@ -726,7 +726,7 @@ function ke(e) {
|
|
|
726
726
|
};
|
|
727
727
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
728
728
|
}
|
|
729
|
-
function
|
|
729
|
+
function ke(e, t) {
|
|
730
730
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
731
731
|
if (!r)
|
|
732
732
|
return e;
|
|
@@ -755,13 +755,13 @@ function W(e, t, r) {
|
|
|
755
755
|
function L(e) {
|
|
756
756
|
return typeof e == "function";
|
|
757
757
|
}
|
|
758
|
-
function
|
|
758
|
+
function Xt(e) {
|
|
759
759
|
var t = function(n) {
|
|
760
760
|
Error.call(n), n.stack = new Error().stack;
|
|
761
761
|
}, r = e(t);
|
|
762
762
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
763
763
|
}
|
|
764
|
-
var Ie =
|
|
764
|
+
var Ie = Xt(function(e) {
|
|
765
765
|
return function(r) {
|
|
766
766
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
767
767
|
` + r.map(function(n, i) {
|
|
@@ -770,7 +770,7 @@ var Ie = Wt(function(e) {
|
|
|
770
770
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
771
771
|
};
|
|
772
772
|
});
|
|
773
|
-
function
|
|
773
|
+
function Ve(e, t) {
|
|
774
774
|
if (e) {
|
|
775
775
|
var r = e.indexOf(t);
|
|
776
776
|
0 <= r && e.splice(r, 1);
|
|
@@ -788,7 +788,7 @@ var Te = function() {
|
|
|
788
788
|
if (a)
|
|
789
789
|
if (this._parentage = null, Array.isArray(a))
|
|
790
790
|
try {
|
|
791
|
-
for (var s =
|
|
791
|
+
for (var s = je(a), l = s.next(); !l.done; l = s.next()) {
|
|
792
792
|
var u = l.value;
|
|
793
793
|
u.remove(this);
|
|
794
794
|
}
|
|
@@ -811,23 +811,23 @@ var Te = function() {
|
|
|
811
811
|
} catch (p) {
|
|
812
812
|
o = p instanceof Ie ? p.errors : [p];
|
|
813
813
|
}
|
|
814
|
-
var
|
|
815
|
-
if (
|
|
814
|
+
var f = this._finalizers;
|
|
815
|
+
if (f) {
|
|
816
816
|
this._finalizers = null;
|
|
817
817
|
try {
|
|
818
|
-
for (var
|
|
819
|
-
var
|
|
818
|
+
for (var c = je(f), m = c.next(); !m.done; m = c.next()) {
|
|
819
|
+
var d = m.value;
|
|
820
820
|
try {
|
|
821
|
-
|
|
821
|
+
ft(d);
|
|
822
822
|
} catch (p) {
|
|
823
|
-
o = o ?? [], p instanceof Ie ? o = W(W([],
|
|
823
|
+
o = o ?? [], p instanceof Ie ? o = W(W([], ke(o)), ke(p.errors)) : o.push(p);
|
|
824
824
|
}
|
|
825
825
|
}
|
|
826
826
|
} catch (p) {
|
|
827
827
|
n = { error: p };
|
|
828
828
|
} finally {
|
|
829
829
|
try {
|
|
830
|
-
|
|
830
|
+
m && !m.done && (i = c.return) && i.call(c);
|
|
831
831
|
} finally {
|
|
832
832
|
if (n)
|
|
833
833
|
throw n.error;
|
|
@@ -841,7 +841,7 @@ var Te = function() {
|
|
|
841
841
|
var r;
|
|
842
842
|
if (t && t !== this)
|
|
843
843
|
if (this.closed)
|
|
844
|
-
|
|
844
|
+
ft(t);
|
|
845
845
|
else {
|
|
846
846
|
if (t instanceof e) {
|
|
847
847
|
if (t.closed || t._hasParent(this))
|
|
@@ -858,56 +858,56 @@ var Te = function() {
|
|
|
858
858
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
859
859
|
}, e.prototype._removeParent = function(t) {
|
|
860
860
|
var r = this._parentage;
|
|
861
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
861
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ve(r, t);
|
|
862
862
|
}, e.prototype.remove = function(t) {
|
|
863
863
|
var r = this._finalizers;
|
|
864
|
-
r &&
|
|
864
|
+
r && Ve(r, t), t instanceof e && t._removeParent(this);
|
|
865
865
|
}, e.EMPTY = function() {
|
|
866
866
|
var t = new e();
|
|
867
867
|
return t.closed = !0, t;
|
|
868
868
|
}(), e;
|
|
869
|
-
}(),
|
|
870
|
-
function
|
|
869
|
+
}(), zt = Te.EMPTY;
|
|
870
|
+
function Wt(e) {
|
|
871
871
|
return e instanceof Te || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
|
|
872
872
|
}
|
|
873
|
-
function
|
|
873
|
+
function ft(e) {
|
|
874
874
|
L(e) ? e() : e.unsubscribe();
|
|
875
875
|
}
|
|
876
|
-
var
|
|
876
|
+
var an = {
|
|
877
877
|
onUnhandledError: null,
|
|
878
878
|
onStoppedNotification: null,
|
|
879
879
|
Promise: void 0,
|
|
880
880
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
881
881
|
useDeprecatedNextContext: !1
|
|
882
|
-
},
|
|
882
|
+
}, un = {
|
|
883
883
|
setTimeout: function(e, t) {
|
|
884
884
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
885
885
|
r[n - 2] = arguments[n];
|
|
886
|
-
return setTimeout.apply(void 0, W([e, t],
|
|
886
|
+
return setTimeout.apply(void 0, W([e, t], ke(r)));
|
|
887
887
|
},
|
|
888
888
|
clearTimeout: function(e) {
|
|
889
889
|
return clearTimeout(e);
|
|
890
890
|
},
|
|
891
891
|
delegate: void 0
|
|
892
892
|
};
|
|
893
|
-
function
|
|
894
|
-
|
|
893
|
+
function ln(e) {
|
|
894
|
+
un.setTimeout(function() {
|
|
895
895
|
throw e;
|
|
896
896
|
});
|
|
897
897
|
}
|
|
898
|
-
function
|
|
898
|
+
function ct() {
|
|
899
899
|
}
|
|
900
900
|
function be(e) {
|
|
901
901
|
e();
|
|
902
902
|
}
|
|
903
|
-
var
|
|
903
|
+
var Zt = function(e) {
|
|
904
904
|
R(t, e);
|
|
905
905
|
function t(r) {
|
|
906
906
|
var n = e.call(this) || this;
|
|
907
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
907
|
+
return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = cn, n;
|
|
908
908
|
}
|
|
909
909
|
return t.create = function(r, n, i) {
|
|
910
|
-
return new
|
|
910
|
+
return new Xe(r, n, i);
|
|
911
911
|
}, t.prototype.next = function(r) {
|
|
912
912
|
this.isStopped || this._next(r);
|
|
913
913
|
}, t.prototype.error = function(r) {
|
|
@@ -931,11 +931,7 @@ var qt = function(e) {
|
|
|
931
931
|
this.unsubscribe();
|
|
932
932
|
}
|
|
933
933
|
}, t;
|
|
934
|
-
}(Te),
|
|
935
|
-
function Me(e, t) {
|
|
936
|
-
return fn.call(e, t);
|
|
937
|
-
}
|
|
938
|
-
var mn = function() {
|
|
934
|
+
}(Te), hn = function() {
|
|
939
935
|
function e(t) {
|
|
940
936
|
this.partialObserver = t;
|
|
941
937
|
}
|
|
@@ -945,7 +941,7 @@ var mn = function() {
|
|
|
945
941
|
try {
|
|
946
942
|
r.next(t);
|
|
947
943
|
} catch (n) {
|
|
948
|
-
|
|
944
|
+
ce(n);
|
|
949
945
|
}
|
|
950
946
|
}, e.prototype.error = function(t) {
|
|
951
947
|
var r = this.partialObserver;
|
|
@@ -953,68 +949,56 @@ var mn = function() {
|
|
|
953
949
|
try {
|
|
954
950
|
r.error(t);
|
|
955
951
|
} catch (n) {
|
|
956
|
-
|
|
952
|
+
ce(n);
|
|
957
953
|
}
|
|
958
954
|
else
|
|
959
|
-
|
|
955
|
+
ce(t);
|
|
960
956
|
}, e.prototype.complete = function() {
|
|
961
957
|
var t = this.partialObserver;
|
|
962
958
|
if (t.complete)
|
|
963
959
|
try {
|
|
964
960
|
t.complete();
|
|
965
961
|
} catch (r) {
|
|
966
|
-
|
|
962
|
+
ce(r);
|
|
967
963
|
}
|
|
968
964
|
}, e;
|
|
969
|
-
}(),
|
|
965
|
+
}(), Xe = function(e) {
|
|
970
966
|
R(t, e);
|
|
971
967
|
function t(r, n, i) {
|
|
972
968
|
var o = e.call(this) || this, a;
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
};
|
|
979
|
-
else {
|
|
980
|
-
var s;
|
|
981
|
-
o && Jt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
982
|
-
return o.unsubscribe();
|
|
983
|
-
}, a = {
|
|
984
|
-
next: r.next && Me(r.next, s),
|
|
985
|
-
error: r.error && Me(r.error, s),
|
|
986
|
-
complete: r.complete && Me(r.complete, s)
|
|
987
|
-
}) : a = r;
|
|
988
|
-
}
|
|
989
|
-
return o.destination = new mn(a), o;
|
|
969
|
+
return L(r) || !r ? a = {
|
|
970
|
+
next: r ?? void 0,
|
|
971
|
+
error: n ?? void 0,
|
|
972
|
+
complete: i ?? void 0
|
|
973
|
+
} : a = r, o.destination = new hn(a), o;
|
|
990
974
|
}
|
|
991
975
|
return t;
|
|
992
|
-
}(
|
|
993
|
-
function
|
|
994
|
-
|
|
976
|
+
}(Zt);
|
|
977
|
+
function ce(e) {
|
|
978
|
+
ln(e);
|
|
995
979
|
}
|
|
996
|
-
function
|
|
980
|
+
function fn(e) {
|
|
997
981
|
throw e;
|
|
998
982
|
}
|
|
999
|
-
var
|
|
983
|
+
var cn = {
|
|
1000
984
|
closed: !0,
|
|
1001
|
-
next:
|
|
1002
|
-
error:
|
|
1003
|
-
complete:
|
|
1004
|
-
},
|
|
985
|
+
next: ct,
|
|
986
|
+
error: fn,
|
|
987
|
+
complete: ct
|
|
988
|
+
}, dn = function() {
|
|
1005
989
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1006
990
|
}();
|
|
1007
|
-
function
|
|
991
|
+
function mn(e) {
|
|
1008
992
|
return e;
|
|
1009
993
|
}
|
|
1010
|
-
function
|
|
1011
|
-
return e.length === 0 ?
|
|
994
|
+
function pn(e) {
|
|
995
|
+
return e.length === 0 ? mn : e.length === 1 ? e[0] : function(r) {
|
|
1012
996
|
return e.reduce(function(n, i) {
|
|
1013
997
|
return i(n);
|
|
1014
998
|
}, r);
|
|
1015
999
|
};
|
|
1016
1000
|
}
|
|
1017
|
-
var
|
|
1001
|
+
var dt = function() {
|
|
1018
1002
|
function e(t) {
|
|
1019
1003
|
t && (this._subscribe = t);
|
|
1020
1004
|
}
|
|
@@ -1022,7 +1006,7 @@ var pt = function() {
|
|
|
1022
1006
|
var r = new e();
|
|
1023
1007
|
return r.source = this, r.operator = t, r;
|
|
1024
1008
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1025
|
-
var i = this, o =
|
|
1009
|
+
var i = this, o = gn(t) ? t : new Xe(t, r, n);
|
|
1026
1010
|
return be(function() {
|
|
1027
1011
|
var a = i, s = a.operator, l = a.source;
|
|
1028
1012
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1035,8 +1019,8 @@ var pt = function() {
|
|
|
1035
1019
|
}
|
|
1036
1020
|
}, e.prototype.forEach = function(t, r) {
|
|
1037
1021
|
var n = this;
|
|
1038
|
-
return r =
|
|
1039
|
-
var a = new
|
|
1022
|
+
return r = mt(r), new r(function(i, o) {
|
|
1023
|
+
var a = new Xe({
|
|
1040
1024
|
next: function(s) {
|
|
1041
1025
|
try {
|
|
1042
1026
|
t(s);
|
|
@@ -1052,15 +1036,15 @@ var pt = function() {
|
|
|
1052
1036
|
}, e.prototype._subscribe = function(t) {
|
|
1053
1037
|
var r;
|
|
1054
1038
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1055
|
-
}, e.prototype[
|
|
1039
|
+
}, e.prototype[dn] = function() {
|
|
1056
1040
|
return this;
|
|
1057
1041
|
}, e.prototype.pipe = function() {
|
|
1058
1042
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1059
1043
|
t[r] = arguments[r];
|
|
1060
|
-
return
|
|
1044
|
+
return pn(t)(this);
|
|
1061
1045
|
}, e.prototype.toPromise = function(t) {
|
|
1062
1046
|
var r = this;
|
|
1063
|
-
return t =
|
|
1047
|
+
return t = mt(t), new t(function(n, i) {
|
|
1064
1048
|
var o;
|
|
1065
1049
|
r.subscribe(function(a) {
|
|
1066
1050
|
return o = a;
|
|
@@ -1074,32 +1058,32 @@ var pt = function() {
|
|
|
1074
1058
|
return new e(t);
|
|
1075
1059
|
}, e;
|
|
1076
1060
|
}();
|
|
1077
|
-
function
|
|
1061
|
+
function mt(e) {
|
|
1078
1062
|
var t;
|
|
1079
|
-
return (t = e ??
|
|
1063
|
+
return (t = e ?? an.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1080
1064
|
}
|
|
1081
|
-
function
|
|
1065
|
+
function bn(e) {
|
|
1082
1066
|
return e && L(e.next) && L(e.error) && L(e.complete);
|
|
1083
1067
|
}
|
|
1084
|
-
function
|
|
1085
|
-
return e && e instanceof
|
|
1068
|
+
function gn(e) {
|
|
1069
|
+
return e && e instanceof Zt || bn(e) && Wt(e);
|
|
1086
1070
|
}
|
|
1087
|
-
var
|
|
1071
|
+
var yn = Xt(function(e) {
|
|
1088
1072
|
return function() {
|
|
1089
1073
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1090
1074
|
};
|
|
1091
|
-
}),
|
|
1075
|
+
}), Qt = function(e) {
|
|
1092
1076
|
R(t, e);
|
|
1093
1077
|
function t() {
|
|
1094
1078
|
var r = e.call(this) || this;
|
|
1095
1079
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1096
1080
|
}
|
|
1097
1081
|
return t.prototype.lift = function(r) {
|
|
1098
|
-
var n = new
|
|
1082
|
+
var n = new pt(this, this);
|
|
1099
1083
|
return n.operator = r, n;
|
|
1100
1084
|
}, t.prototype._throwIfClosed = function() {
|
|
1101
1085
|
if (this.closed)
|
|
1102
|
-
throw new
|
|
1086
|
+
throw new yn();
|
|
1103
1087
|
}, t.prototype.next = function(r) {
|
|
1104
1088
|
var n = this;
|
|
1105
1089
|
be(function() {
|
|
@@ -1107,7 +1091,7 @@ var xn = Wt(function(e) {
|
|
|
1107
1091
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1108
1092
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1109
1093
|
try {
|
|
1110
|
-
for (var a =
|
|
1094
|
+
for (var a = je(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1111
1095
|
var l = s.value;
|
|
1112
1096
|
l.next(r);
|
|
1113
1097
|
}
|
|
@@ -1156,19 +1140,19 @@ var xn = Wt(function(e) {
|
|
|
1156
1140
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1157
1141
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1158
1142
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1159
|
-
return o || a ?
|
|
1160
|
-
n.currentObservers = null,
|
|
1143
|
+
return o || a ? zt : (this.currentObservers = null, s.push(r), new Te(function() {
|
|
1144
|
+
n.currentObservers = null, Ve(s, r);
|
|
1161
1145
|
}));
|
|
1162
1146
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1163
1147
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1164
1148
|
i ? r.error(o) : a && r.complete();
|
|
1165
1149
|
}, t.prototype.asObservable = function() {
|
|
1166
|
-
var r = new
|
|
1150
|
+
var r = new dt();
|
|
1167
1151
|
return r.source = this, r;
|
|
1168
1152
|
}, t.create = function(r, n) {
|
|
1169
|
-
return new
|
|
1153
|
+
return new pt(r, n);
|
|
1170
1154
|
}, t;
|
|
1171
|
-
}(
|
|
1155
|
+
}(dt), pt = function(e) {
|
|
1172
1156
|
R(t, e);
|
|
1173
1157
|
function t(r, n) {
|
|
1174
1158
|
var i = e.call(this) || this;
|
|
@@ -1185,17 +1169,17 @@ var xn = Wt(function(e) {
|
|
|
1185
1169
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1186
1170
|
}, t.prototype._subscribe = function(r) {
|
|
1187
1171
|
var n, i;
|
|
1188
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1172
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
|
|
1189
1173
|
}, t;
|
|
1190
|
-
}(
|
|
1174
|
+
}(Qt), Jt = {
|
|
1191
1175
|
now: function() {
|
|
1192
|
-
return (
|
|
1176
|
+
return (Jt.delegate || Date).now();
|
|
1193
1177
|
},
|
|
1194
1178
|
delegate: void 0
|
|
1195
|
-
},
|
|
1179
|
+
}, vn = function(e) {
|
|
1196
1180
|
R(t, e);
|
|
1197
1181
|
function t(r, n, i) {
|
|
1198
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1182
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
|
|
1199
1183
|
var o = e.call(this) || this;
|
|
1200
1184
|
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;
|
|
1201
1185
|
}
|
|
@@ -1215,15 +1199,15 @@ var xn = Wt(function(e) {
|
|
|
1215
1199
|
u && o.splice(0, u + 1);
|
|
1216
1200
|
}
|
|
1217
1201
|
}, t;
|
|
1218
|
-
}(
|
|
1219
|
-
const
|
|
1220
|
-
if (
|
|
1221
|
-
const r = new
|
|
1222
|
-
|
|
1202
|
+
}(Qt);
|
|
1203
|
+
const bt = [], gt = {}, _n = (e, t = 0) => {
|
|
1204
|
+
if (bt.indexOf(e) == -1) {
|
|
1205
|
+
const r = new vn(t);
|
|
1206
|
+
gt[e] = r, bt.push(e);
|
|
1223
1207
|
}
|
|
1224
|
-
return
|
|
1208
|
+
return gt[e];
|
|
1225
1209
|
}, k = [];
|
|
1226
|
-
function
|
|
1210
|
+
function xn(e, t) {
|
|
1227
1211
|
return {
|
|
1228
1212
|
subscribe: He(e, t).subscribe
|
|
1229
1213
|
};
|
|
@@ -1232,7 +1216,7 @@ function He(e, t = M) {
|
|
|
1232
1216
|
let r;
|
|
1233
1217
|
const n = /* @__PURE__ */ new Set();
|
|
1234
1218
|
function i(s) {
|
|
1235
|
-
if (
|
|
1219
|
+
if ($t(e, s) && (e = s, r)) {
|
|
1236
1220
|
const l = !k.length;
|
|
1237
1221
|
for (const u of n)
|
|
1238
1222
|
u[1](), k.push(u, e);
|
|
@@ -1259,97 +1243,97 @@ function Y(e, t, r) {
|
|
|
1259
1243
|
if (!i.every(Boolean))
|
|
1260
1244
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1261
1245
|
const o = t.length < 2;
|
|
1262
|
-
return
|
|
1246
|
+
return xn(r, (a, s) => {
|
|
1263
1247
|
let l = !1;
|
|
1264
1248
|
const u = [];
|
|
1265
|
-
let h = 0,
|
|
1266
|
-
const
|
|
1249
|
+
let h = 0, f = M;
|
|
1250
|
+
const c = () => {
|
|
1267
1251
|
if (h)
|
|
1268
1252
|
return;
|
|
1269
|
-
|
|
1270
|
-
const
|
|
1271
|
-
o ? a(
|
|
1272
|
-
},
|
|
1273
|
-
(
|
|
1274
|
-
|
|
1253
|
+
f();
|
|
1254
|
+
const d = t(n ? u[0] : u, a, s);
|
|
1255
|
+
o ? a(d) : f = Se(d) ? d : M;
|
|
1256
|
+
}, m = i.map(
|
|
1257
|
+
(d, p) => Gt(
|
|
1258
|
+
d,
|
|
1275
1259
|
(g) => {
|
|
1276
|
-
u[p] = g, h &= ~(1 << p), l &&
|
|
1260
|
+
u[p] = g, h &= ~(1 << p), l && c();
|
|
1277
1261
|
},
|
|
1278
1262
|
() => {
|
|
1279
1263
|
h |= 1 << p;
|
|
1280
1264
|
}
|
|
1281
1265
|
)
|
|
1282
1266
|
);
|
|
1283
|
-
return l = !0,
|
|
1284
|
-
G(
|
|
1267
|
+
return l = !0, c(), function() {
|
|
1268
|
+
G(m), f(), l = !1;
|
|
1285
1269
|
};
|
|
1286
1270
|
});
|
|
1287
1271
|
}
|
|
1288
|
-
var
|
|
1289
|
-
function
|
|
1272
|
+
var Ao = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1273
|
+
function En(e) {
|
|
1290
1274
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1291
1275
|
}
|
|
1292
|
-
var
|
|
1293
|
-
return
|
|
1276
|
+
var wn = function(t) {
|
|
1277
|
+
return Sn(t) && !Tn(t);
|
|
1294
1278
|
};
|
|
1295
|
-
function
|
|
1279
|
+
function Sn(e) {
|
|
1296
1280
|
return !!e && typeof e == "object";
|
|
1297
1281
|
}
|
|
1298
|
-
function
|
|
1282
|
+
function Tn(e) {
|
|
1299
1283
|
var t = Object.prototype.toString.call(e);
|
|
1300
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1284
|
+
return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
|
|
1301
1285
|
}
|
|
1302
|
-
var
|
|
1303
|
-
function
|
|
1304
|
-
return e.$$typeof ===
|
|
1286
|
+
var Hn = typeof Symbol == "function" && Symbol.for, An = Hn ? Symbol.for("react.element") : 60103;
|
|
1287
|
+
function Bn(e) {
|
|
1288
|
+
return e.$$typeof === An;
|
|
1305
1289
|
}
|
|
1306
|
-
function
|
|
1290
|
+
function Cn(e) {
|
|
1307
1291
|
return Array.isArray(e) ? [] : {};
|
|
1308
1292
|
}
|
|
1309
1293
|
function oe(e, t) {
|
|
1310
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
1294
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Cn(e), e, t) : e;
|
|
1311
1295
|
}
|
|
1312
|
-
function
|
|
1296
|
+
function Pn(e, t, r) {
|
|
1313
1297
|
return e.concat(t).map(function(n) {
|
|
1314
1298
|
return oe(n, r);
|
|
1315
1299
|
});
|
|
1316
1300
|
}
|
|
1317
|
-
function
|
|
1301
|
+
function On(e, t) {
|
|
1318
1302
|
if (!t.customMerge)
|
|
1319
1303
|
return Z;
|
|
1320
1304
|
var r = t.customMerge(e);
|
|
1321
1305
|
return typeof r == "function" ? r : Z;
|
|
1322
1306
|
}
|
|
1323
|
-
function
|
|
1307
|
+
function In(e) {
|
|
1324
1308
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1325
1309
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1326
1310
|
}) : [];
|
|
1327
1311
|
}
|
|
1328
|
-
function
|
|
1329
|
-
return Object.keys(e).concat(
|
|
1312
|
+
function yt(e) {
|
|
1313
|
+
return Object.keys(e).concat(In(e));
|
|
1330
1314
|
}
|
|
1331
|
-
function
|
|
1315
|
+
function qt(e, t) {
|
|
1332
1316
|
try {
|
|
1333
1317
|
return t in e;
|
|
1334
1318
|
} catch {
|
|
1335
1319
|
return !1;
|
|
1336
1320
|
}
|
|
1337
1321
|
}
|
|
1338
|
-
function
|
|
1339
|
-
return
|
|
1322
|
+
function Mn(e, t) {
|
|
1323
|
+
return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1340
1324
|
}
|
|
1341
|
-
function
|
|
1325
|
+
function Nn(e, t, r) {
|
|
1342
1326
|
var n = {};
|
|
1343
|
-
return r.isMergeableObject(e) &&
|
|
1327
|
+
return r.isMergeableObject(e) && yt(e).forEach(function(i) {
|
|
1344
1328
|
n[i] = oe(e[i], r);
|
|
1345
|
-
}),
|
|
1346
|
-
|
|
1329
|
+
}), yt(t).forEach(function(i) {
|
|
1330
|
+
Mn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1347
1331
|
}), n;
|
|
1348
1332
|
}
|
|
1349
1333
|
function Z(e, t, r) {
|
|
1350
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1334
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Pn, r.isMergeableObject = r.isMergeableObject || wn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1351
1335
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1352
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1336
|
+
return o ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : oe(t, r);
|
|
1353
1337
|
}
|
|
1354
1338
|
Z.all = function(t, r) {
|
|
1355
1339
|
if (!Array.isArray(t))
|
|
@@ -1358,58 +1342,60 @@ Z.all = function(t, r) {
|
|
|
1358
1342
|
return Z(n, i, r);
|
|
1359
1343
|
}, {});
|
|
1360
1344
|
};
|
|
1361
|
-
var
|
|
1362
|
-
const
|
|
1363
|
-
function
|
|
1364
|
-
var r = t && t.cache ? t.cache :
|
|
1345
|
+
var Ln = Z, Rn = Ln;
|
|
1346
|
+
const $n = /* @__PURE__ */ En(Rn);
|
|
1347
|
+
function Me(e, t) {
|
|
1348
|
+
var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : jn, i = t && t.strategy ? t.strategy : Un;
|
|
1365
1349
|
return i(e, {
|
|
1366
1350
|
cache: r,
|
|
1367
1351
|
serializer: n
|
|
1368
1352
|
});
|
|
1369
1353
|
}
|
|
1370
|
-
function
|
|
1354
|
+
function Gn(e) {
|
|
1371
1355
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1372
1356
|
}
|
|
1373
|
-
function
|
|
1374
|
-
var i =
|
|
1357
|
+
function Yt(e, t, r, n) {
|
|
1358
|
+
var i = Gn(n) ? n : r(n), o = t.get(i);
|
|
1375
1359
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1376
1360
|
}
|
|
1377
|
-
function
|
|
1361
|
+
function Kt(e, t, r) {
|
|
1378
1362
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1379
1363
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1380
1364
|
}
|
|
1381
|
-
function
|
|
1365
|
+
function nt(e, t, r, n, i) {
|
|
1382
1366
|
return r.bind(t, e, n, i);
|
|
1383
1367
|
}
|
|
1384
|
-
function
|
|
1385
|
-
var r = e.length === 1 ?
|
|
1386
|
-
return
|
|
1368
|
+
function Un(e, t) {
|
|
1369
|
+
var r = e.length === 1 ? Yt : Kt;
|
|
1370
|
+
return nt(e, this, r, t.cache.create(), t.serializer);
|
|
1387
1371
|
}
|
|
1388
|
-
function
|
|
1389
|
-
return
|
|
1372
|
+
function Dn(e, t) {
|
|
1373
|
+
return nt(e, this, Kt, t.cache.create(), t.serializer);
|
|
1390
1374
|
}
|
|
1391
|
-
function
|
|
1392
|
-
return
|
|
1375
|
+
function Fn(e, t) {
|
|
1376
|
+
return nt(e, this, Yt, t.cache.create(), t.serializer);
|
|
1393
1377
|
}
|
|
1394
|
-
var
|
|
1378
|
+
var jn = function() {
|
|
1395
1379
|
return JSON.stringify(arguments);
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1380
|
+
}, kn = (
|
|
1381
|
+
/** @class */
|
|
1382
|
+
function() {
|
|
1383
|
+
function e() {
|
|
1384
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1385
|
+
}
|
|
1386
|
+
return e.prototype.get = function(t) {
|
|
1387
|
+
return this.cache[t];
|
|
1388
|
+
}, e.prototype.set = function(t, r) {
|
|
1389
|
+
this.cache[t] = r;
|
|
1390
|
+
}, e;
|
|
1391
|
+
}()
|
|
1392
|
+
), Vn = {
|
|
1407
1393
|
create: function() {
|
|
1408
|
-
return new
|
|
1394
|
+
return new kn();
|
|
1409
1395
|
}
|
|
1410
|
-
},
|
|
1411
|
-
variadic:
|
|
1412
|
-
monadic:
|
|
1396
|
+
}, Ne = {
|
|
1397
|
+
variadic: Dn,
|
|
1398
|
+
monadic: Fn
|
|
1413
1399
|
}, y;
|
|
1414
1400
|
(function(e) {
|
|
1415
1401
|
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";
|
|
@@ -1422,43 +1408,43 @@ var Q;
|
|
|
1422
1408
|
(function(e) {
|
|
1423
1409
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1424
1410
|
})(Q || (Q = {}));
|
|
1425
|
-
function
|
|
1411
|
+
function vt(e) {
|
|
1426
1412
|
return e.type === S.literal;
|
|
1427
1413
|
}
|
|
1428
|
-
function
|
|
1414
|
+
function Xn(e) {
|
|
1429
1415
|
return e.type === S.argument;
|
|
1430
1416
|
}
|
|
1431
|
-
function
|
|
1417
|
+
function er(e) {
|
|
1432
1418
|
return e.type === S.number;
|
|
1433
1419
|
}
|
|
1434
|
-
function
|
|
1420
|
+
function tr(e) {
|
|
1435
1421
|
return e.type === S.date;
|
|
1436
1422
|
}
|
|
1437
|
-
function
|
|
1423
|
+
function rr(e) {
|
|
1438
1424
|
return e.type === S.time;
|
|
1439
1425
|
}
|
|
1440
|
-
function
|
|
1426
|
+
function nr(e) {
|
|
1441
1427
|
return e.type === S.select;
|
|
1442
1428
|
}
|
|
1443
|
-
function
|
|
1429
|
+
function ir(e) {
|
|
1444
1430
|
return e.type === S.plural;
|
|
1445
1431
|
}
|
|
1446
|
-
function
|
|
1432
|
+
function zn(e) {
|
|
1447
1433
|
return e.type === S.pound;
|
|
1448
1434
|
}
|
|
1449
|
-
function
|
|
1435
|
+
function or(e) {
|
|
1450
1436
|
return e.type === S.tag;
|
|
1451
1437
|
}
|
|
1452
|
-
function
|
|
1438
|
+
function sr(e) {
|
|
1453
1439
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1454
1440
|
}
|
|
1455
|
-
function
|
|
1441
|
+
function ze(e) {
|
|
1456
1442
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1457
1443
|
}
|
|
1458
|
-
var
|
|
1459
|
-
function
|
|
1444
|
+
var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1445
|
+
function Zn(e) {
|
|
1460
1446
|
var t = {};
|
|
1461
|
-
return e.replace(
|
|
1447
|
+
return e.replace(Wn, function(r) {
|
|
1462
1448
|
var n = r.length;
|
|
1463
1449
|
switch (r[0]) {
|
|
1464
1450
|
case "G":
|
|
@@ -1547,36 +1533,36 @@ function Jn(e) {
|
|
|
1547
1533
|
return "";
|
|
1548
1534
|
}), t;
|
|
1549
1535
|
}
|
|
1550
|
-
var
|
|
1551
|
-
function
|
|
1536
|
+
var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1537
|
+
function Jn(e) {
|
|
1552
1538
|
if (e.length === 0)
|
|
1553
1539
|
throw new Error("Number skeleton cannot be empty");
|
|
1554
|
-
for (var t = e.split(
|
|
1555
|
-
return
|
|
1540
|
+
for (var t = e.split(Qn).filter(function(c) {
|
|
1541
|
+
return c.length > 0;
|
|
1556
1542
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1557
1543
|
var o = i[n], a = o.split("/");
|
|
1558
1544
|
if (a.length === 0)
|
|
1559
1545
|
throw new Error("Invalid number skeleton");
|
|
1560
1546
|
for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1561
|
-
var
|
|
1562
|
-
if (
|
|
1547
|
+
var f = h[u];
|
|
1548
|
+
if (f.length === 0)
|
|
1563
1549
|
throw new Error("Invalid number skeleton");
|
|
1564
1550
|
}
|
|
1565
1551
|
r.push({ stem: s, options: l });
|
|
1566
1552
|
}
|
|
1567
1553
|
return r;
|
|
1568
1554
|
}
|
|
1569
|
-
function
|
|
1555
|
+
function qn(e) {
|
|
1570
1556
|
return e.replace(/^(.*?)-/, "");
|
|
1571
1557
|
}
|
|
1572
|
-
var
|
|
1573
|
-
function
|
|
1558
|
+
var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
|
|
1559
|
+
function xt(e) {
|
|
1574
1560
|
var t = {};
|
|
1575
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1561
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
|
|
1576
1562
|
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)), "";
|
|
1577
1563
|
}), t;
|
|
1578
1564
|
}
|
|
1579
|
-
function
|
|
1565
|
+
function hr(e) {
|
|
1580
1566
|
switch (e) {
|
|
1581
1567
|
case "sign-auto":
|
|
1582
1568
|
return {
|
|
@@ -1616,7 +1602,7 @@ function mr(e) {
|
|
|
1616
1602
|
};
|
|
1617
1603
|
}
|
|
1618
1604
|
}
|
|
1619
|
-
function
|
|
1605
|
+
function Kn(e) {
|
|
1620
1606
|
var t;
|
|
1621
1607
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1622
1608
|
notation: "engineering"
|
|
@@ -1624,17 +1610,17 @@ function ti(e) {
|
|
|
1624
1610
|
notation: "scientific"
|
|
1625
1611
|
}, e = e.slice(1)), t) {
|
|
1626
1612
|
var r = e.slice(0, 2);
|
|
1627
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1613
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
|
|
1628
1614
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1629
1615
|
t.minimumIntegerDigits = e.length;
|
|
1630
1616
|
}
|
|
1631
1617
|
return t;
|
|
1632
1618
|
}
|
|
1633
|
-
function
|
|
1634
|
-
var t = {}, r =
|
|
1619
|
+
function Et(e) {
|
|
1620
|
+
var t = {}, r = hr(e);
|
|
1635
1621
|
return r || t;
|
|
1636
1622
|
}
|
|
1637
|
-
function
|
|
1623
|
+
function ei(e) {
|
|
1638
1624
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1639
1625
|
var i = n[r];
|
|
1640
1626
|
switch (i.stem) {
|
|
@@ -1658,7 +1644,7 @@ function ri(e) {
|
|
|
1658
1644
|
continue;
|
|
1659
1645
|
case "measure-unit":
|
|
1660
1646
|
case "unit":
|
|
1661
|
-
t.style = "unit", t.unit =
|
|
1647
|
+
t.style = "unit", t.unit = qn(i.options[0]);
|
|
1662
1648
|
continue;
|
|
1663
1649
|
case "compact-short":
|
|
1664
1650
|
case "K":
|
|
@@ -1670,12 +1656,12 @@ function ri(e) {
|
|
|
1670
1656
|
continue;
|
|
1671
1657
|
case "scientific":
|
|
1672
1658
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1673
|
-
return E(E({}, l),
|
|
1659
|
+
return E(E({}, l), Et(u));
|
|
1674
1660
|
}, {}));
|
|
1675
1661
|
continue;
|
|
1676
1662
|
case "engineering":
|
|
1677
1663
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1678
|
-
return E(E({}, l),
|
|
1664
|
+
return E(E({}, l), Et(u));
|
|
1679
1665
|
}, {}));
|
|
1680
1666
|
continue;
|
|
1681
1667
|
case "notation-simple":
|
|
@@ -1720,45 +1706,45 @@ function ri(e) {
|
|
|
1720
1706
|
case "integer-width":
|
|
1721
1707
|
if (i.options.length > 1)
|
|
1722
1708
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1723
|
-
i.options[0].replace(
|
|
1709
|
+
i.options[0].replace(Yn, function(l, u, h, f, c, m) {
|
|
1724
1710
|
if (u)
|
|
1725
1711
|
t.minimumIntegerDigits = h.length;
|
|
1726
1712
|
else {
|
|
1727
|
-
if (
|
|
1713
|
+
if (f && c)
|
|
1728
1714
|
throw new Error("We currently do not support maximum integer digits");
|
|
1729
|
-
if (
|
|
1715
|
+
if (m)
|
|
1730
1716
|
throw new Error("We currently do not support exact integer digits");
|
|
1731
1717
|
}
|
|
1732
1718
|
return "";
|
|
1733
1719
|
});
|
|
1734
1720
|
continue;
|
|
1735
1721
|
}
|
|
1736
|
-
if (
|
|
1722
|
+
if (lr.test(i.stem)) {
|
|
1737
1723
|
t.minimumIntegerDigits = i.stem.length;
|
|
1738
1724
|
continue;
|
|
1739
1725
|
}
|
|
1740
|
-
if (
|
|
1726
|
+
if (_t.test(i.stem)) {
|
|
1741
1727
|
if (i.options.length > 1)
|
|
1742
1728
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1743
|
-
i.stem.replace(
|
|
1744
|
-
return h === "*" ? t.minimumFractionDigits = u.length :
|
|
1729
|
+
i.stem.replace(_t, function(l, u, h, f, c, m) {
|
|
1730
|
+
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1745
1731
|
});
|
|
1746
1732
|
var o = i.options[0];
|
|
1747
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
|
1733
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), xt(o)));
|
|
1748
1734
|
continue;
|
|
1749
1735
|
}
|
|
1750
|
-
if (
|
|
1751
|
-
t = E(E({}, t),
|
|
1736
|
+
if (ur.test(i.stem)) {
|
|
1737
|
+
t = E(E({}, t), xt(i.stem));
|
|
1752
1738
|
continue;
|
|
1753
1739
|
}
|
|
1754
|
-
var a =
|
|
1740
|
+
var a = hr(i.stem);
|
|
1755
1741
|
a && (t = E(E({}, t), a));
|
|
1756
|
-
var s =
|
|
1742
|
+
var s = Kn(i.stem);
|
|
1757
1743
|
s && (t = E(E({}, t), s));
|
|
1758
1744
|
}
|
|
1759
1745
|
return t;
|
|
1760
1746
|
}
|
|
1761
|
-
var
|
|
1747
|
+
var de = {
|
|
1762
1748
|
"001": [
|
|
1763
1749
|
"H",
|
|
1764
1750
|
"h"
|
|
@@ -3173,13 +3159,13 @@ var me = {
|
|
|
3173
3159
|
"h"
|
|
3174
3160
|
]
|
|
3175
3161
|
};
|
|
3176
|
-
function
|
|
3162
|
+
function ti(e, t) {
|
|
3177
3163
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3178
3164
|
var i = e.charAt(n);
|
|
3179
3165
|
if (i === "j") {
|
|
3180
3166
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3181
3167
|
o++, n++;
|
|
3182
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3168
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ri(t);
|
|
3183
3169
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3184
3170
|
r += l;
|
|
3185
3171
|
for (; a-- > 0; )
|
|
@@ -3189,7 +3175,7 @@ function ni(e, t) {
|
|
|
3189
3175
|
}
|
|
3190
3176
|
return r;
|
|
3191
3177
|
}
|
|
3192
|
-
function
|
|
3178
|
+
function ri(e) {
|
|
3193
3179
|
var t = e.hourCycle;
|
|
3194
3180
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3195
3181
|
e.hourCycles && // @ts-ignore
|
|
@@ -3208,23 +3194,23 @@ function ii(e) {
|
|
|
3208
3194
|
}
|
|
3209
3195
|
var r = e.language, n;
|
|
3210
3196
|
r !== "root" && (n = e.maximize().region);
|
|
3211
|
-
var i =
|
|
3197
|
+
var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
|
3212
3198
|
return i[0];
|
|
3213
3199
|
}
|
|
3214
|
-
var
|
|
3200
|
+
var Le, ni = new RegExp("^".concat(ar.source, "*")), ii = new RegExp("".concat(ar.source, "*$"));
|
|
3215
3201
|
function _(e, t) {
|
|
3216
3202
|
return { start: e, end: t };
|
|
3217
3203
|
}
|
|
3218
|
-
var
|
|
3204
|
+
var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, ui = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, fi = !!Number.isSafeInteger, ci = fi ? Number.isSafeInteger : function(e) {
|
|
3219
3205
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3220
|
-
},
|
|
3206
|
+
}, We = !0;
|
|
3221
3207
|
try {
|
|
3222
|
-
var
|
|
3223
|
-
|
|
3208
|
+
var di = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3209
|
+
We = ((Le = di.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
|
|
3224
3210
|
} catch {
|
|
3225
|
-
|
|
3211
|
+
We = !1;
|
|
3226
3212
|
}
|
|
3227
|
-
var
|
|
3213
|
+
var wt = oi ? (
|
|
3228
3214
|
// Native
|
|
3229
3215
|
function(t, r, n) {
|
|
3230
3216
|
return t.startsWith(r, n);
|
|
@@ -3234,7 +3220,7 @@ var Tt = ai ? (
|
|
|
3234
3220
|
function(t, r, n) {
|
|
3235
3221
|
return t.slice(n, n + r.length) === r;
|
|
3236
3222
|
}
|
|
3237
|
-
),
|
|
3223
|
+
), Ze = si ? String.fromCodePoint : (
|
|
3238
3224
|
// IE11
|
|
3239
3225
|
function() {
|
|
3240
3226
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3246,9 +3232,9 @@ var Tt = ai ? (
|
|
|
3246
3232
|
}
|
|
3247
3233
|
return n;
|
|
3248
3234
|
}
|
|
3249
|
-
),
|
|
3235
|
+
), St = (
|
|
3250
3236
|
// native
|
|
3251
|
-
|
|
3237
|
+
ai ? Object.fromEntries : (
|
|
3252
3238
|
// Ponyfill
|
|
3253
3239
|
function(t) {
|
|
3254
3240
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3258,7 +3244,7 @@ var Tt = ai ? (
|
|
|
3258
3244
|
return r;
|
|
3259
3245
|
}
|
|
3260
3246
|
)
|
|
3261
|
-
),
|
|
3247
|
+
), fr = ui ? (
|
|
3262
3248
|
// Native
|
|
3263
3249
|
function(t, r) {
|
|
3264
3250
|
return t.codePointAt(r);
|
|
@@ -3272,7 +3258,7 @@ var Tt = ai ? (
|
|
|
3272
3258
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3273
3259
|
}
|
|
3274
3260
|
}
|
|
3275
|
-
),
|
|
3261
|
+
), mi = li ? (
|
|
3276
3262
|
// Native
|
|
3277
3263
|
function(t) {
|
|
3278
3264
|
return t.trimStart();
|
|
@@ -3280,9 +3266,9 @@ var Tt = ai ? (
|
|
|
3280
3266
|
) : (
|
|
3281
3267
|
// Ponyfill
|
|
3282
3268
|
function(t) {
|
|
3283
|
-
return t.replace(
|
|
3269
|
+
return t.replace(ni, "");
|
|
3284
3270
|
}
|
|
3285
|
-
),
|
|
3271
|
+
), pi = hi ? (
|
|
3286
3272
|
// Native
|
|
3287
3273
|
function(t) {
|
|
3288
3274
|
return t.trimEnd();
|
|
@@ -3290,32 +3276,32 @@ var Tt = ai ? (
|
|
|
3290
3276
|
) : (
|
|
3291
3277
|
// Ponyfill
|
|
3292
3278
|
function(t) {
|
|
3293
|
-
return t.replace(
|
|
3279
|
+
return t.replace(ii, "");
|
|
3294
3280
|
}
|
|
3295
3281
|
);
|
|
3296
|
-
function
|
|
3282
|
+
function cr(e, t) {
|
|
3297
3283
|
return new RegExp(e, t);
|
|
3298
3284
|
}
|
|
3299
|
-
var
|
|
3300
|
-
if (
|
|
3301
|
-
var
|
|
3302
|
-
|
|
3285
|
+
var Qe;
|
|
3286
|
+
if (We) {
|
|
3287
|
+
var Tt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3288
|
+
Qe = function(t, r) {
|
|
3303
3289
|
var n;
|
|
3304
|
-
|
|
3305
|
-
var i =
|
|
3290
|
+
Tt.lastIndex = r;
|
|
3291
|
+
var i = Tt.exec(t);
|
|
3306
3292
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3307
3293
|
};
|
|
3308
3294
|
} else
|
|
3309
|
-
|
|
3295
|
+
Qe = function(t, r) {
|
|
3310
3296
|
for (var n = []; ; ) {
|
|
3311
|
-
var i =
|
|
3312
|
-
if (i === void 0 ||
|
|
3297
|
+
var i = fr(t, r);
|
|
3298
|
+
if (i === void 0 || dr(i) || vi(i))
|
|
3313
3299
|
break;
|
|
3314
3300
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3315
3301
|
}
|
|
3316
|
-
return
|
|
3302
|
+
return Ze.apply(void 0, n);
|
|
3317
3303
|
};
|
|
3318
|
-
var
|
|
3304
|
+
var bi = (
|
|
3319
3305
|
/** @class */
|
|
3320
3306
|
function() {
|
|
3321
3307
|
function e(t, r) {
|
|
@@ -3346,7 +3332,7 @@ var yi = (
|
|
|
3346
3332
|
if (n)
|
|
3347
3333
|
break;
|
|
3348
3334
|
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3349
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3335
|
+
} else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
|
3350
3336
|
var a = this.parseTag(t, r);
|
|
3351
3337
|
if (a.err)
|
|
3352
3338
|
return a;
|
|
@@ -3379,7 +3365,7 @@ var yi = (
|
|
|
3379
3365
|
return o;
|
|
3380
3366
|
var a = o.val, s = this.clonePosition();
|
|
3381
3367
|
if (this.bumpIf("</")) {
|
|
3382
|
-
if (this.isEOF() || !
|
|
3368
|
+
if (this.isEOF() || !Je(this.char()))
|
|
3383
3369
|
return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
|
|
3384
3370
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3385
3371
|
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3397,7 +3383,7 @@ var yi = (
|
|
|
3397
3383
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
3398
3384
|
}, e.prototype.parseTagName = function() {
|
|
3399
3385
|
var t = this.offset();
|
|
3400
|
-
for (this.bump(); !this.isEOF() &&
|
|
3386
|
+
for (this.bump(); !this.isEOF() && yi(this.char()); )
|
|
3401
3387
|
this.bump();
|
|
3402
3388
|
return this.message.slice(t, this.offset());
|
|
3403
3389
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3426,7 +3412,7 @@ var yi = (
|
|
|
3426
3412
|
};
|
|
3427
3413
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3428
3414
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3429
|
-
!
|
|
3415
|
+
!gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3430
3416
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3431
3417
|
if (this.isEOF() || this.char() !== 39)
|
|
3432
3418
|
return null;
|
|
@@ -3460,12 +3446,12 @@ var yi = (
|
|
|
3460
3446
|
r.push(n);
|
|
3461
3447
|
this.bump();
|
|
3462
3448
|
}
|
|
3463
|
-
return
|
|
3449
|
+
return Ze.apply(void 0, r);
|
|
3464
3450
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3465
3451
|
if (this.isEOF())
|
|
3466
3452
|
return null;
|
|
3467
3453
|
var n = this.char();
|
|
3468
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3454
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
|
|
3469
3455
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3470
3456
|
var n = this.clonePosition();
|
|
3471
3457
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3494,7 +3480,7 @@ var yi = (
|
|
|
3494
3480
|
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3495
3481
|
}
|
|
3496
3482
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3497
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3483
|
+
var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
|
|
3498
3484
|
this.bumpTo(i);
|
|
3499
3485
|
var o = this.clonePosition(), a = _(t, o);
|
|
3500
3486
|
return { value: n, location: a };
|
|
@@ -3510,40 +3496,40 @@ var yi = (
|
|
|
3510
3496
|
var u = null;
|
|
3511
3497
|
if (this.bumpIf(",")) {
|
|
3512
3498
|
this.bumpSpace();
|
|
3513
|
-
var h = this.clonePosition(),
|
|
3514
|
-
if (
|
|
3515
|
-
return
|
|
3516
|
-
var
|
|
3517
|
-
if (
|
|
3499
|
+
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3500
|
+
if (f.err)
|
|
3501
|
+
return f;
|
|
3502
|
+
var c = pi(f.val);
|
|
3503
|
+
if (c.length === 0)
|
|
3518
3504
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3519
|
-
var
|
|
3520
|
-
u = { style:
|
|
3505
|
+
var m = _(h, this.clonePosition());
|
|
3506
|
+
u = { style: c, styleLocation: m };
|
|
3521
3507
|
}
|
|
3522
|
-
var
|
|
3523
|
-
if (
|
|
3524
|
-
return
|
|
3508
|
+
var d = this.tryParseArgumentClose(i);
|
|
3509
|
+
if (d.err)
|
|
3510
|
+
return d;
|
|
3525
3511
|
var p = _(i, this.clonePosition());
|
|
3526
|
-
if (u &&
|
|
3527
|
-
var g =
|
|
3512
|
+
if (u && wt(u?.style, "::", 0)) {
|
|
3513
|
+
var g = mi(u.style.slice(2));
|
|
3528
3514
|
if (s === "number") {
|
|
3529
|
-
var
|
|
3530
|
-
return
|
|
3531
|
-
val: { type: S.number, value: n, location: p, style:
|
|
3515
|
+
var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3516
|
+
return f.err ? f : {
|
|
3517
|
+
val: { type: S.number, value: n, location: p, style: f.val },
|
|
3532
3518
|
err: null
|
|
3533
3519
|
};
|
|
3534
3520
|
} else {
|
|
3535
3521
|
if (g.length === 0)
|
|
3536
3522
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
|
|
3537
|
-
var
|
|
3538
|
-
this.locale && (
|
|
3539
|
-
var
|
|
3523
|
+
var H = g;
|
|
3524
|
+
this.locale && (H = ti(g, this.locale));
|
|
3525
|
+
var c = {
|
|
3540
3526
|
type: Q.dateTime,
|
|
3541
|
-
pattern:
|
|
3527
|
+
pattern: H,
|
|
3542
3528
|
location: u.styleLocation,
|
|
3543
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3544
|
-
},
|
|
3529
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(H) : {}
|
|
3530
|
+
}, A = s === "date" ? S.date : S.time;
|
|
3545
3531
|
return {
|
|
3546
|
-
val: { type:
|
|
3532
|
+
val: { type: A, value: n, location: p, style: c },
|
|
3547
3533
|
err: null
|
|
3548
3534
|
};
|
|
3549
3535
|
}
|
|
@@ -3570,23 +3556,23 @@ var yi = (
|
|
|
3570
3556
|
if (!this.bumpIf(":"))
|
|
3571
3557
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3572
3558
|
this.bumpSpace();
|
|
3573
|
-
var
|
|
3574
|
-
if (
|
|
3575
|
-
return
|
|
3576
|
-
this.bumpSpace(), w = this.parseIdentifierIfPossible(), b =
|
|
3559
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3560
|
+
if (f.err)
|
|
3561
|
+
return f;
|
|
3562
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), b = f.val;
|
|
3577
3563
|
}
|
|
3578
3564
|
var B = this.tryParsePluralOrSelectOptions(t, s, r, w);
|
|
3579
3565
|
if (B.err)
|
|
3580
3566
|
return B;
|
|
3581
|
-
var
|
|
3582
|
-
if (
|
|
3583
|
-
return
|
|
3567
|
+
var d = this.tryParseArgumentClose(i);
|
|
3568
|
+
if (d.err)
|
|
3569
|
+
return d;
|
|
3584
3570
|
var he = _(i, this.clonePosition());
|
|
3585
3571
|
return s === "select" ? {
|
|
3586
3572
|
val: {
|
|
3587
3573
|
type: S.select,
|
|
3588
3574
|
value: n,
|
|
3589
|
-
options:
|
|
3575
|
+
options: St(B.val),
|
|
3590
3576
|
location: he
|
|
3591
3577
|
},
|
|
3592
3578
|
err: null
|
|
@@ -3594,7 +3580,7 @@ var yi = (
|
|
|
3594
3580
|
val: {
|
|
3595
3581
|
type: S.plural,
|
|
3596
3582
|
value: n,
|
|
3597
|
-
options:
|
|
3583
|
+
options: St(B.val),
|
|
3598
3584
|
offset: b,
|
|
3599
3585
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3600
3586
|
location: he
|
|
@@ -3645,7 +3631,7 @@ var yi = (
|
|
|
3645
3631
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3646
3632
|
var n = [];
|
|
3647
3633
|
try {
|
|
3648
|
-
n =
|
|
3634
|
+
n = Jn(t);
|
|
3649
3635
|
} catch {
|
|
3650
3636
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3651
3637
|
}
|
|
@@ -3654,39 +3640,39 @@ var yi = (
|
|
|
3654
3640
|
type: Q.number,
|
|
3655
3641
|
tokens: n,
|
|
3656
3642
|
location: r,
|
|
3657
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3643
|
+
parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
|
|
3658
3644
|
},
|
|
3659
3645
|
err: null
|
|
3660
3646
|
};
|
|
3661
3647
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3662
3648
|
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3663
3649
|
if (u.length === 0) {
|
|
3664
|
-
var
|
|
3650
|
+
var f = this.clonePosition();
|
|
3665
3651
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3666
|
-
var
|
|
3667
|
-
if (
|
|
3668
|
-
return
|
|
3669
|
-
h = _(
|
|
3652
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3653
|
+
if (c.err)
|
|
3654
|
+
return c;
|
|
3655
|
+
h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3670
3656
|
} else
|
|
3671
3657
|
break;
|
|
3672
3658
|
}
|
|
3673
3659
|
if (l.has(u))
|
|
3674
3660
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3675
3661
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3676
|
-
var
|
|
3662
|
+
var m = this.clonePosition();
|
|
3677
3663
|
if (!this.bumpIf("{"))
|
|
3678
3664
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3679
|
-
var
|
|
3680
|
-
if (
|
|
3681
|
-
return
|
|
3682
|
-
var p = this.tryParseArgumentClose(
|
|
3665
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
3666
|
+
if (d.err)
|
|
3667
|
+
return d;
|
|
3668
|
+
var p = this.tryParseArgumentClose(m);
|
|
3683
3669
|
if (p.err)
|
|
3684
3670
|
return p;
|
|
3685
3671
|
s.push([
|
|
3686
3672
|
u,
|
|
3687
3673
|
{
|
|
3688
|
-
value:
|
|
3689
|
-
location: _(
|
|
3674
|
+
value: d.val,
|
|
3675
|
+
location: _(m, this.clonePosition())
|
|
3690
3676
|
}
|
|
3691
3677
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3692
3678
|
}
|
|
@@ -3702,7 +3688,7 @@ var yi = (
|
|
|
3702
3688
|
break;
|
|
3703
3689
|
}
|
|
3704
3690
|
var l = _(i, this.clonePosition());
|
|
3705
|
-
return o ? (a *= n,
|
|
3691
|
+
return o ? (a *= n, ci(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3706
3692
|
}, e.prototype.offset = function() {
|
|
3707
3693
|
return this.position.offset;
|
|
3708
3694
|
}, e.prototype.isEOF = function() {
|
|
@@ -3717,7 +3703,7 @@ var yi = (
|
|
|
3717
3703
|
var t = this.position.offset;
|
|
3718
3704
|
if (t >= this.message.length)
|
|
3719
3705
|
throw Error("out of bound");
|
|
3720
|
-
var r =
|
|
3706
|
+
var r = fr(this.message, t);
|
|
3721
3707
|
if (r === void 0)
|
|
3722
3708
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3723
3709
|
return r;
|
|
@@ -3736,7 +3722,7 @@ var yi = (
|
|
|
3736
3722
|
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);
|
|
3737
3723
|
}
|
|
3738
3724
|
}, e.prototype.bumpIf = function(t) {
|
|
3739
|
-
if (
|
|
3725
|
+
if (wt(this.message, t, this.offset())) {
|
|
3740
3726
|
for (var r = 0; r < t.length; r++)
|
|
3741
3727
|
this.bump();
|
|
3742
3728
|
return !0;
|
|
@@ -3758,7 +3744,7 @@ var yi = (
|
|
|
3758
3744
|
break;
|
|
3759
3745
|
}
|
|
3760
3746
|
}, e.prototype.bumpSpace = function() {
|
|
3761
|
-
for (; !this.isEOF() &&
|
|
3747
|
+
for (; !this.isEOF() && dr(this.char()); )
|
|
3762
3748
|
this.bump();
|
|
3763
3749
|
}, e.prototype.peek = function() {
|
|
3764
3750
|
if (this.isEOF())
|
|
@@ -3768,38 +3754,38 @@ var yi = (
|
|
|
3768
3754
|
}, e;
|
|
3769
3755
|
}()
|
|
3770
3756
|
);
|
|
3771
|
-
function
|
|
3757
|
+
function Je(e) {
|
|
3772
3758
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3773
3759
|
}
|
|
3774
|
-
function
|
|
3775
|
-
return
|
|
3760
|
+
function gi(e) {
|
|
3761
|
+
return Je(e) || e === 47;
|
|
3776
3762
|
}
|
|
3777
|
-
function
|
|
3763
|
+
function yi(e) {
|
|
3778
3764
|
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;
|
|
3779
3765
|
}
|
|
3780
|
-
function
|
|
3766
|
+
function dr(e) {
|
|
3781
3767
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3782
3768
|
}
|
|
3783
|
-
function
|
|
3769
|
+
function vi(e) {
|
|
3784
3770
|
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;
|
|
3785
3771
|
}
|
|
3786
|
-
function
|
|
3772
|
+
function qe(e) {
|
|
3787
3773
|
e.forEach(function(t) {
|
|
3788
|
-
if (delete t.location,
|
|
3774
|
+
if (delete t.location, nr(t) || ir(t))
|
|
3789
3775
|
for (var r in t.options)
|
|
3790
|
-
delete t.options[r].location,
|
|
3776
|
+
delete t.options[r].location, qe(t.options[r].value);
|
|
3791
3777
|
else
|
|
3792
|
-
|
|
3778
|
+
er(t) && sr(t.style) || (tr(t) || rr(t)) && ze(t.style) ? delete t.style.location : or(t) && qe(t.children);
|
|
3793
3779
|
});
|
|
3794
3780
|
}
|
|
3795
|
-
function
|
|
3781
|
+
function _i(e, t) {
|
|
3796
3782
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3797
|
-
var r = new
|
|
3783
|
+
var r = new bi(e, t).parse();
|
|
3798
3784
|
if (r.err) {
|
|
3799
3785
|
var n = SyntaxError(y[r.err.kind]);
|
|
3800
3786
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3801
3787
|
}
|
|
3802
|
-
return t?.captureLocation ||
|
|
3788
|
+
return t?.captureLocation || qe(r.val), r.val;
|
|
3803
3789
|
}
|
|
3804
3790
|
var J;
|
|
3805
3791
|
(function(e) {
|
|
@@ -3817,7 +3803,7 @@ var Ae = (
|
|
|
3817
3803
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3818
3804
|
}, t;
|
|
3819
3805
|
}(Error)
|
|
3820
|
-
),
|
|
3806
|
+
), Ht = (
|
|
3821
3807
|
/** @class */
|
|
3822
3808
|
function(e) {
|
|
3823
3809
|
R(t, e);
|
|
@@ -3826,7 +3812,7 @@ var Ae = (
|
|
|
3826
3812
|
}
|
|
3827
3813
|
return t;
|
|
3828
3814
|
}(Ae)
|
|
3829
|
-
),
|
|
3815
|
+
), xi = (
|
|
3830
3816
|
/** @class */
|
|
3831
3817
|
function(e) {
|
|
3832
3818
|
R(t, e);
|
|
@@ -3835,7 +3821,7 @@ var Ae = (
|
|
|
3835
3821
|
}
|
|
3836
3822
|
return t;
|
|
3837
3823
|
}(Ae)
|
|
3838
|
-
),
|
|
3824
|
+
), Ei = (
|
|
3839
3825
|
/** @class */
|
|
3840
3826
|
function(e) {
|
|
3841
3827
|
R(t, e);
|
|
@@ -3848,17 +3834,17 @@ var Ae = (
|
|
|
3848
3834
|
(function(e) {
|
|
3849
3835
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3850
3836
|
})(P || (P = {}));
|
|
3851
|
-
function
|
|
3837
|
+
function wi(e) {
|
|
3852
3838
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3853
3839
|
var n = t[t.length - 1];
|
|
3854
3840
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3855
3841
|
}, []);
|
|
3856
3842
|
}
|
|
3857
|
-
function
|
|
3843
|
+
function Si(e) {
|
|
3858
3844
|
return typeof e == "function";
|
|
3859
3845
|
}
|
|
3860
3846
|
function ge(e, t, r, n, i, o, a) {
|
|
3861
|
-
if (e.length === 1 &&
|
|
3847
|
+
if (e.length === 1 && vt(e[0]))
|
|
3862
3848
|
return [
|
|
3863
3849
|
{
|
|
3864
3850
|
type: P.literal,
|
|
@@ -3867,105 +3853,105 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3867
3853
|
];
|
|
3868
3854
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3869
3855
|
var h = u[l];
|
|
3870
|
-
if (
|
|
3856
|
+
if (vt(h)) {
|
|
3871
3857
|
s.push({
|
|
3872
3858
|
type: P.literal,
|
|
3873
3859
|
value: h.value
|
|
3874
3860
|
});
|
|
3875
3861
|
continue;
|
|
3876
3862
|
}
|
|
3877
|
-
if (
|
|
3863
|
+
if (zn(h)) {
|
|
3878
3864
|
typeof o == "number" && s.push({
|
|
3879
3865
|
type: P.literal,
|
|
3880
3866
|
value: r.getNumberFormat(t).format(o)
|
|
3881
3867
|
});
|
|
3882
3868
|
continue;
|
|
3883
3869
|
}
|
|
3884
|
-
var
|
|
3885
|
-
if (!(i &&
|
|
3886
|
-
throw new
|
|
3887
|
-
var
|
|
3888
|
-
if (
|
|
3889
|
-
(!
|
|
3890
|
-
type: typeof
|
|
3891
|
-
value:
|
|
3870
|
+
var f = h.value;
|
|
3871
|
+
if (!(i && f in i))
|
|
3872
|
+
throw new Ei(f, a);
|
|
3873
|
+
var c = i[f];
|
|
3874
|
+
if (Xn(h)) {
|
|
3875
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3876
|
+
type: typeof c == "string" ? P.literal : P.object,
|
|
3877
|
+
value: c
|
|
3892
3878
|
});
|
|
3893
3879
|
continue;
|
|
3894
3880
|
}
|
|
3895
|
-
if (
|
|
3896
|
-
var
|
|
3881
|
+
if (tr(h)) {
|
|
3882
|
+
var m = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
|
|
3897
3883
|
s.push({
|
|
3898
3884
|
type: P.literal,
|
|
3899
|
-
value: r.getDateTimeFormat(t,
|
|
3885
|
+
value: r.getDateTimeFormat(t, m).format(c)
|
|
3900
3886
|
});
|
|
3901
3887
|
continue;
|
|
3902
3888
|
}
|
|
3903
|
-
if (
|
|
3904
|
-
var
|
|
3889
|
+
if (rr(h)) {
|
|
3890
|
+
var m = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3905
3891
|
s.push({
|
|
3906
3892
|
type: P.literal,
|
|
3907
|
-
value: r.getDateTimeFormat(t,
|
|
3893
|
+
value: r.getDateTimeFormat(t, m).format(c)
|
|
3908
3894
|
});
|
|
3909
3895
|
continue;
|
|
3910
3896
|
}
|
|
3911
|
-
if (
|
|
3912
|
-
var
|
|
3913
|
-
|
|
3897
|
+
if (er(h)) {
|
|
3898
|
+
var m = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
|
|
3899
|
+
m && m.scale && (c = c * (m.scale || 1)), s.push({
|
|
3914
3900
|
type: P.literal,
|
|
3915
|
-
value: r.getNumberFormat(t,
|
|
3901
|
+
value: r.getNumberFormat(t, m).format(c)
|
|
3916
3902
|
});
|
|
3917
3903
|
continue;
|
|
3918
3904
|
}
|
|
3919
|
-
if (
|
|
3920
|
-
var
|
|
3921
|
-
if (!
|
|
3922
|
-
throw new
|
|
3923
|
-
var
|
|
3905
|
+
if (or(h)) {
|
|
3906
|
+
var d = h.children, p = h.value, g = i[p];
|
|
3907
|
+
if (!Si(g))
|
|
3908
|
+
throw new xi(p, "function", a);
|
|
3909
|
+
var H = ge(d, t, r, n, i, o), A = g(H.map(function(b) {
|
|
3924
3910
|
return b.value;
|
|
3925
3911
|
}));
|
|
3926
|
-
Array.isArray(
|
|
3912
|
+
Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(b) {
|
|
3927
3913
|
return {
|
|
3928
3914
|
type: typeof b == "string" ? P.literal : P.object,
|
|
3929
3915
|
value: b
|
|
3930
3916
|
};
|
|
3931
3917
|
}));
|
|
3932
3918
|
}
|
|
3933
|
-
if (
|
|
3934
|
-
var x = h.options[
|
|
3919
|
+
if (nr(h)) {
|
|
3920
|
+
var x = h.options[c] || h.options.other;
|
|
3935
3921
|
if (!x)
|
|
3936
|
-
throw new
|
|
3922
|
+
throw new Ht(h.value, c, Object.keys(h.options), a);
|
|
3937
3923
|
s.push.apply(s, ge(x.value, t, r, n, i));
|
|
3938
3924
|
continue;
|
|
3939
3925
|
}
|
|
3940
|
-
if (
|
|
3941
|
-
var x = h.options["=".concat(
|
|
3926
|
+
if (ir(h)) {
|
|
3927
|
+
var x = h.options["=".concat(c)];
|
|
3942
3928
|
if (!x) {
|
|
3943
3929
|
if (!Intl.PluralRules)
|
|
3944
3930
|
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
3945
3931
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3946
3932
|
`, J.MISSING_INTL_API, a);
|
|
3947
|
-
var w = r.getPluralRules(t, { type: h.pluralType }).select(
|
|
3933
|
+
var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3948
3934
|
x = h.options[w] || h.options.other;
|
|
3949
3935
|
}
|
|
3950
3936
|
if (!x)
|
|
3951
|
-
throw new
|
|
3952
|
-
s.push.apply(s, ge(x.value, t, r, n, i,
|
|
3937
|
+
throw new Ht(h.value, c, Object.keys(h.options), a);
|
|
3938
|
+
s.push.apply(s, ge(x.value, t, r, n, i, c - (h.offset || 0)));
|
|
3953
3939
|
continue;
|
|
3954
3940
|
}
|
|
3955
3941
|
}
|
|
3956
|
-
return
|
|
3942
|
+
return wi(s);
|
|
3957
3943
|
}
|
|
3958
|
-
function
|
|
3944
|
+
function Ti(e, t) {
|
|
3959
3945
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3960
3946
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3961
3947
|
}, {})) : e;
|
|
3962
3948
|
}
|
|
3963
|
-
function
|
|
3949
|
+
function Hi(e, t) {
|
|
3964
3950
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3965
|
-
return r[n] =
|
|
3951
|
+
return r[n] = Ti(e[n], t[n]), r;
|
|
3966
3952
|
}, E({}, e)) : e;
|
|
3967
3953
|
}
|
|
3968
|
-
function
|
|
3954
|
+
function Re(e) {
|
|
3969
3955
|
return {
|
|
3970
3956
|
create: function() {
|
|
3971
3957
|
return {
|
|
@@ -3979,39 +3965,39 @@ function $e(e) {
|
|
|
3979
3965
|
}
|
|
3980
3966
|
};
|
|
3981
3967
|
}
|
|
3982
|
-
function
|
|
3968
|
+
function Ai(e) {
|
|
3983
3969
|
return e === void 0 && (e = {
|
|
3984
3970
|
number: {},
|
|
3985
3971
|
dateTime: {},
|
|
3986
3972
|
pluralRules: {}
|
|
3987
3973
|
}), {
|
|
3988
|
-
getNumberFormat:
|
|
3974
|
+
getNumberFormat: Me(function() {
|
|
3989
3975
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3990
3976
|
r[n] = arguments[n];
|
|
3991
3977
|
return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
3992
3978
|
}, {
|
|
3993
|
-
cache:
|
|
3994
|
-
strategy:
|
|
3979
|
+
cache: Re(e.number),
|
|
3980
|
+
strategy: Ne.variadic
|
|
3995
3981
|
}),
|
|
3996
|
-
getDateTimeFormat:
|
|
3982
|
+
getDateTimeFormat: Me(function() {
|
|
3997
3983
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3998
3984
|
r[n] = arguments[n];
|
|
3999
3985
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
4000
3986
|
}, {
|
|
4001
|
-
cache:
|
|
4002
|
-
strategy:
|
|
3987
|
+
cache: Re(e.dateTime),
|
|
3988
|
+
strategy: Ne.variadic
|
|
4003
3989
|
}),
|
|
4004
|
-
getPluralRules:
|
|
3990
|
+
getPluralRules: Me(function() {
|
|
4005
3991
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4006
3992
|
r[n] = arguments[n];
|
|
4007
3993
|
return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
|
|
4008
3994
|
}, {
|
|
4009
|
-
cache:
|
|
4010
|
-
strategy:
|
|
3995
|
+
cache: Re(e.pluralRules),
|
|
3996
|
+
strategy: Ne.variadic
|
|
4011
3997
|
})
|
|
4012
3998
|
};
|
|
4013
3999
|
}
|
|
4014
|
-
var
|
|
4000
|
+
var Bi = (
|
|
4015
4001
|
/** @class */
|
|
4016
4002
|
function() {
|
|
4017
4003
|
function e(t, r, n, i) {
|
|
@@ -4025,8 +4011,8 @@ var Pi = (
|
|
|
4025
4011
|
var u = o.formatToParts(l);
|
|
4026
4012
|
if (u.length === 1)
|
|
4027
4013
|
return u[0].value;
|
|
4028
|
-
var h = u.reduce(function(
|
|
4029
|
-
return !
|
|
4014
|
+
var h = u.reduce(function(f, c) {
|
|
4015
|
+
return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
4030
4016
|
}, []);
|
|
4031
4017
|
return h.length <= 1 ? h[0] || "" : h;
|
|
4032
4018
|
}, this.formatToParts = function(l) {
|
|
@@ -4043,13 +4029,13 @@ var Pi = (
|
|
|
4043
4029
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4044
4030
|
var a = i || {};
|
|
4045
4031
|
a.formatters;
|
|
4046
|
-
var s =
|
|
4032
|
+
var s = sn(a, ["formatters"]);
|
|
4047
4033
|
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
4048
4034
|
} else
|
|
4049
4035
|
this.ast = t;
|
|
4050
4036
|
if (!Array.isArray(this.ast))
|
|
4051
4037
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4052
|
-
this.formats =
|
|
4038
|
+
this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Ai(this.formatterCache);
|
|
4053
4039
|
}
|
|
4054
4040
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4055
4041
|
get: function() {
|
|
@@ -4062,7 +4048,7 @@ var Pi = (
|
|
|
4062
4048
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4063
4049
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4064
4050
|
}
|
|
4065
|
-
}, e.__parse =
|
|
4051
|
+
}, e.__parse = _i, e.formats = {
|
|
4066
4052
|
number: {
|
|
4067
4053
|
integer: {
|
|
4068
4054
|
maximumFractionDigits: 0
|
|
@@ -4123,7 +4109,7 @@ var Pi = (
|
|
|
4123
4109
|
}, e;
|
|
4124
4110
|
}()
|
|
4125
4111
|
);
|
|
4126
|
-
function
|
|
4112
|
+
function Ci(e, t) {
|
|
4127
4113
|
if (t == null)
|
|
4128
4114
|
return;
|
|
4129
4115
|
if (t in e)
|
|
@@ -4144,92 +4130,92 @@ function Oi(e, t) {
|
|
|
4144
4130
|
n = void 0;
|
|
4145
4131
|
return n;
|
|
4146
4132
|
}
|
|
4147
|
-
const $ = {},
|
|
4133
|
+
const $ = {}, Pi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), mr = (e, t) => {
|
|
4148
4134
|
if (t == null)
|
|
4149
4135
|
return;
|
|
4150
4136
|
if (t in $ && e in $[t])
|
|
4151
4137
|
return $[t][e];
|
|
4152
4138
|
const r = Be(t);
|
|
4153
4139
|
for (let n = 0; n < r.length; n++) {
|
|
4154
|
-
const i = r[n], o =
|
|
4140
|
+
const i = r[n], o = Ii(i, e);
|
|
4155
4141
|
if (o)
|
|
4156
|
-
return
|
|
4142
|
+
return Pi(e, t, o);
|
|
4157
4143
|
}
|
|
4158
4144
|
};
|
|
4159
|
-
let
|
|
4145
|
+
let it;
|
|
4160
4146
|
const le = He({});
|
|
4161
|
-
function
|
|
4162
|
-
return
|
|
4147
|
+
function Oi(e) {
|
|
4148
|
+
return it[e] || null;
|
|
4163
4149
|
}
|
|
4164
|
-
function
|
|
4165
|
-
return e in
|
|
4150
|
+
function pr(e) {
|
|
4151
|
+
return e in it;
|
|
4166
4152
|
}
|
|
4167
|
-
function
|
|
4168
|
-
if (!
|
|
4153
|
+
function Ii(e, t) {
|
|
4154
|
+
if (!pr(e))
|
|
4169
4155
|
return null;
|
|
4170
|
-
const r =
|
|
4171
|
-
return
|
|
4156
|
+
const r = Oi(e);
|
|
4157
|
+
return Ci(r, t);
|
|
4172
4158
|
}
|
|
4173
|
-
function
|
|
4159
|
+
function Mi(e) {
|
|
4174
4160
|
if (e == null)
|
|
4175
4161
|
return;
|
|
4176
4162
|
const t = Be(e);
|
|
4177
4163
|
for (let r = 0; r < t.length; r++) {
|
|
4178
4164
|
const n = t[r];
|
|
4179
|
-
if (
|
|
4165
|
+
if (pr(n))
|
|
4180
4166
|
return n;
|
|
4181
4167
|
}
|
|
4182
4168
|
}
|
|
4183
|
-
function
|
|
4184
|
-
delete $[e], le.update((r) => (r[e] =
|
|
4169
|
+
function br(e, ...t) {
|
|
4170
|
+
delete $[e], le.update((r) => (r[e] = $n.all([r[e] || {}, ...t]), r));
|
|
4185
4171
|
}
|
|
4186
4172
|
Y(
|
|
4187
4173
|
[le],
|
|
4188
4174
|
([e]) => Object.keys(e)
|
|
4189
4175
|
);
|
|
4190
|
-
le.subscribe((e) =>
|
|
4176
|
+
le.subscribe((e) => it = e);
|
|
4191
4177
|
const ye = {};
|
|
4192
|
-
function
|
|
4178
|
+
function Ni(e, t) {
|
|
4193
4179
|
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
|
4194
4180
|
}
|
|
4195
|
-
function
|
|
4181
|
+
function gr(e) {
|
|
4196
4182
|
return ye[e];
|
|
4197
4183
|
}
|
|
4198
|
-
function
|
|
4184
|
+
function Li(e) {
|
|
4199
4185
|
return Be(e).map((t) => {
|
|
4200
|
-
const r =
|
|
4186
|
+
const r = gr(t);
|
|
4201
4187
|
return [t, r ? [...r] : []];
|
|
4202
4188
|
}).filter(([, t]) => t.length > 0);
|
|
4203
4189
|
}
|
|
4204
|
-
function
|
|
4190
|
+
function Ye(e) {
|
|
4205
4191
|
return e == null ? !1 : Be(e).some(
|
|
4206
4192
|
(t) => {
|
|
4207
4193
|
var r;
|
|
4208
|
-
return (r =
|
|
4194
|
+
return (r = gr(t)) == null ? void 0 : r.size;
|
|
4209
4195
|
}
|
|
4210
4196
|
);
|
|
4211
4197
|
}
|
|
4212
|
-
function
|
|
4198
|
+
function Ri(e, t) {
|
|
4213
4199
|
return Promise.all(
|
|
4214
|
-
t.map((n) => (
|
|
4215
|
-
).then((n) =>
|
|
4200
|
+
t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
|
|
4201
|
+
).then((n) => br(e, ...n));
|
|
4216
4202
|
}
|
|
4217
4203
|
const re = {};
|
|
4218
|
-
function
|
|
4219
|
-
if (!
|
|
4204
|
+
function yr(e) {
|
|
4205
|
+
if (!Ye(e))
|
|
4220
4206
|
return e in re ? re[e] : Promise.resolve();
|
|
4221
|
-
const t =
|
|
4207
|
+
const t = Li(e);
|
|
4222
4208
|
return re[e] = Promise.all(
|
|
4223
4209
|
t.map(
|
|
4224
|
-
([r, n]) =>
|
|
4210
|
+
([r, n]) => Ri(r, n)
|
|
4225
4211
|
)
|
|
4226
4212
|
).then(() => {
|
|
4227
|
-
if (
|
|
4228
|
-
return
|
|
4213
|
+
if (Ye(e))
|
|
4214
|
+
return yr(e);
|
|
4229
4215
|
delete re[e];
|
|
4230
4216
|
}), re[e];
|
|
4231
4217
|
}
|
|
4232
|
-
const
|
|
4218
|
+
const $i = {
|
|
4233
4219
|
number: {
|
|
4234
4220
|
scientific: { notation: "scientific" },
|
|
4235
4221
|
engineering: { notation: "engineering" },
|
|
@@ -4258,57 +4244,57 @@ const Ui = {
|
|
|
4258
4244
|
timeZoneName: "short"
|
|
4259
4245
|
}
|
|
4260
4246
|
}
|
|
4261
|
-
},
|
|
4247
|
+
}, Gi = {
|
|
4262
4248
|
fallbackLocale: null,
|
|
4263
4249
|
loadingDelay: 200,
|
|
4264
|
-
formats:
|
|
4250
|
+
formats: $i,
|
|
4265
4251
|
warnOnMissingMessages: !0,
|
|
4266
4252
|
handleMissingMessage: void 0,
|
|
4267
4253
|
ignoreTag: !0
|
|
4268
|
-
},
|
|
4254
|
+
}, Ui = Gi;
|
|
4269
4255
|
function q() {
|
|
4270
|
-
return
|
|
4271
|
-
}
|
|
4272
|
-
const
|
|
4273
|
-
var
|
|
4274
|
-
for (var r in t
|
|
4275
|
-
|
|
4276
|
-
if (
|
|
4277
|
-
for (var r of
|
|
4278
|
-
|
|
4256
|
+
return Ui;
|
|
4257
|
+
}
|
|
4258
|
+
const $e = He(!1);
|
|
4259
|
+
var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
|
|
4260
|
+
for (var r in t)
|
|
4261
|
+
ki.call(t, r) && Bt(e, r, t[r]);
|
|
4262
|
+
if (At)
|
|
4263
|
+
for (var r of At(t))
|
|
4264
|
+
Vi.call(t, r) && Bt(e, r, t[r]);
|
|
4279
4265
|
return e;
|
|
4280
|
-
},
|
|
4281
|
-
let
|
|
4266
|
+
}, zi = (e, t) => Fi(e, ji(t));
|
|
4267
|
+
let Ke;
|
|
4282
4268
|
const Ee = He(null);
|
|
4283
|
-
function
|
|
4269
|
+
function Ct(e) {
|
|
4284
4270
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4285
4271
|
}
|
|
4286
4272
|
function Be(e, t = q().fallbackLocale) {
|
|
4287
|
-
const r =
|
|
4288
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4273
|
+
const r = Ct(e);
|
|
4274
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
|
|
4289
4275
|
}
|
|
4290
4276
|
function D() {
|
|
4291
|
-
return
|
|
4277
|
+
return Ke ?? void 0;
|
|
4292
4278
|
}
|
|
4293
4279
|
Ee.subscribe((e) => {
|
|
4294
|
-
|
|
4280
|
+
Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4295
4281
|
});
|
|
4296
|
-
const
|
|
4297
|
-
if (e &&
|
|
4282
|
+
const Wi = (e) => {
|
|
4283
|
+
if (e && Mi(e) && Ye(e)) {
|
|
4298
4284
|
const { loadingDelay: t } = q();
|
|
4299
4285
|
let r;
|
|
4300
4286
|
return typeof window < "u" && D() != null && t ? r = window.setTimeout(
|
|
4301
|
-
() =>
|
|
4287
|
+
() => $e.set(!0),
|
|
4302
4288
|
t
|
|
4303
|
-
) :
|
|
4289
|
+
) : $e.set(!0), yr(e).then(() => {
|
|
4304
4290
|
Ee.set(e);
|
|
4305
4291
|
}).finally(() => {
|
|
4306
|
-
clearTimeout(r),
|
|
4292
|
+
clearTimeout(r), $e.set(!1);
|
|
4307
4293
|
});
|
|
4308
4294
|
}
|
|
4309
4295
|
return Ee.set(e);
|
|
4310
|
-
}, K =
|
|
4311
|
-
set:
|
|
4296
|
+
}, K = zi(Xi({}, Ee), {
|
|
4297
|
+
set: Wi
|
|
4312
4298
|
}), Ce = (e) => {
|
|
4313
4299
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4314
4300
|
return (n) => {
|
|
@@ -4316,20 +4302,20 @@ const Qi = (e) => {
|
|
|
4316
4302
|
return i in t ? t[i] : t[i] = e(n);
|
|
4317
4303
|
};
|
|
4318
4304
|
};
|
|
4319
|
-
var
|
|
4305
|
+
var Zi = Object.defineProperty, we = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
|
4320
4306
|
for (var r in t || (t = {}))
|
|
4321
|
-
|
|
4307
|
+
vr.call(t, r) && Pt(e, r, t[r]);
|
|
4322
4308
|
if (we)
|
|
4323
4309
|
for (var r of we(t))
|
|
4324
|
-
|
|
4310
|
+
_r.call(t, r) && Pt(e, r, t[r]);
|
|
4325
4311
|
return e;
|
|
4326
4312
|
}, ee = (e, t) => {
|
|
4327
4313
|
var r = {};
|
|
4328
4314
|
for (var n in e)
|
|
4329
|
-
|
|
4315
|
+
vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4330
4316
|
if (e != null && we)
|
|
4331
4317
|
for (var n of we(e))
|
|
4332
|
-
t.indexOf(n) < 0 &&
|
|
4318
|
+
t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
|
|
4333
4319
|
return r;
|
|
4334
4320
|
};
|
|
4335
4321
|
const se = (e, t) => {
|
|
@@ -4337,21 +4323,21 @@ const se = (e, t) => {
|
|
|
4337
4323
|
if (e in r && t in r[e])
|
|
4338
4324
|
return r[e][t];
|
|
4339
4325
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4340
|
-
},
|
|
4326
|
+
}, Qi = Ce(
|
|
4341
4327
|
(e) => {
|
|
4342
4328
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4343
4329
|
if (r == null)
|
|
4344
4330
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4345
4331
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4346
4332
|
}
|
|
4347
|
-
),
|
|
4333
|
+
), Ji = Ce(
|
|
4348
4334
|
(e) => {
|
|
4349
4335
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4350
4336
|
if (r == null)
|
|
4351
4337
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4352
4338
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4353
4339
|
}
|
|
4354
|
-
),
|
|
4340
|
+
), qi = Ce(
|
|
4355
4341
|
(e) => {
|
|
4356
4342
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4357
4343
|
if (r == null)
|
|
@@ -4360,33 +4346,33 @@ const se = (e, t) => {
|
|
|
4360
4346
|
);
|
|
4361
4347
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4362
4348
|
}
|
|
4363
|
-
),
|
|
4349
|
+
), Yi = (e = {}) => {
|
|
4364
4350
|
var t = e, {
|
|
4365
4351
|
locale: r = D()
|
|
4366
4352
|
} = t, n = ee(t, [
|
|
4367
4353
|
"locale"
|
|
4368
4354
|
]);
|
|
4369
|
-
return
|
|
4370
|
-
},
|
|
4355
|
+
return Qi(ot({ locale: r }, n));
|
|
4356
|
+
}, Ki = (e = {}) => {
|
|
4371
4357
|
var t = e, {
|
|
4372
4358
|
locale: r = D()
|
|
4373
4359
|
} = t, n = ee(t, [
|
|
4374
4360
|
"locale"
|
|
4375
4361
|
]);
|
|
4376
|
-
return
|
|
4377
|
-
},
|
|
4362
|
+
return Ji(ot({ locale: r }, n));
|
|
4363
|
+
}, eo = (e = {}) => {
|
|
4378
4364
|
var t = e, {
|
|
4379
4365
|
locale: r = D()
|
|
4380
4366
|
} = t, n = ee(t, [
|
|
4381
4367
|
"locale"
|
|
4382
4368
|
]);
|
|
4383
|
-
return
|
|
4384
|
-
},
|
|
4369
|
+
return qi(ot({ locale: r }, n));
|
|
4370
|
+
}, to = Ce(
|
|
4385
4371
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4386
|
-
(e, t = D()) => new
|
|
4372
|
+
(e, t = D()) => new Bi(e, t, q().formats, {
|
|
4387
4373
|
ignoreTag: q().ignoreTag
|
|
4388
4374
|
})
|
|
4389
|
-
),
|
|
4375
|
+
), ro = (e, t = {}) => {
|
|
4390
4376
|
var r, n, i, o;
|
|
4391
4377
|
let a = t;
|
|
4392
4378
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4399,7 +4385,7 @@ const se = (e, t) => {
|
|
|
4399
4385
|
throw new Error(
|
|
4400
4386
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4401
4387
|
);
|
|
4402
|
-
let h =
|
|
4388
|
+
let h = mr(e, l);
|
|
4403
4389
|
if (!h)
|
|
4404
4390
|
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;
|
|
4405
4391
|
else if (typeof h != "string")
|
|
@@ -4408,30 +4394,30 @@ const se = (e, t) => {
|
|
|
4408
4394
|
), h;
|
|
4409
4395
|
if (!s)
|
|
4410
4396
|
return h;
|
|
4411
|
-
let
|
|
4397
|
+
let f = h;
|
|
4412
4398
|
try {
|
|
4413
|
-
|
|
4414
|
-
} catch (
|
|
4415
|
-
|
|
4399
|
+
f = to(h, l).format(s);
|
|
4400
|
+
} catch (c) {
|
|
4401
|
+
c instanceof Error && console.warn(
|
|
4416
4402
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4417
|
-
|
|
4403
|
+
c.message
|
|
4418
4404
|
);
|
|
4419
4405
|
}
|
|
4420
|
-
return
|
|
4421
|
-
},
|
|
4406
|
+
return f;
|
|
4407
|
+
}, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = D()) => mr(e, t), ao = Y([K, le], () => ro);
|
|
4408
|
+
Y([K], () => no);
|
|
4409
|
+
Y([K], () => io);
|
|
4422
4410
|
Y([K], () => oo);
|
|
4423
|
-
Y([K], () => so);
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
const ho = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4428
|
-
function co(e, t) {
|
|
4411
|
+
Y([K, le], () => so);
|
|
4412
|
+
window.emWidgets = { topic: _n };
|
|
4413
|
+
const uo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4414
|
+
function lo(e, t) {
|
|
4429
4415
|
if (e) {
|
|
4430
4416
|
const r = document.createElement("style");
|
|
4431
4417
|
r.innerHTML = t, e.appendChild(r);
|
|
4432
4418
|
}
|
|
4433
4419
|
}
|
|
4434
|
-
function
|
|
4420
|
+
function ho(e, t) {
|
|
4435
4421
|
const r = new URL(t);
|
|
4436
4422
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4437
4423
|
const i = document.createElement("style");
|
|
@@ -4440,7 +4426,7 @@ function fo(e, t) {
|
|
|
4440
4426
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4441
4427
|
});
|
|
4442
4428
|
}
|
|
4443
|
-
function
|
|
4429
|
+
function fo(e, t, r) {
|
|
4444
4430
|
if (window.emMessageBus) {
|
|
4445
4431
|
const n = document.createElement("style");
|
|
4446
4432
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4448,13 +4434,13 @@ function mo(e, t, r) {
|
|
|
4448
4434
|
});
|
|
4449
4435
|
}
|
|
4450
4436
|
}
|
|
4451
|
-
function
|
|
4452
|
-
|
|
4437
|
+
function Ot(e, t) {
|
|
4438
|
+
br(e, t);
|
|
4453
4439
|
}
|
|
4454
|
-
function
|
|
4440
|
+
function co(e) {
|
|
4455
4441
|
K.set(e);
|
|
4456
4442
|
}
|
|
4457
|
-
const
|
|
4443
|
+
const It = {
|
|
4458
4444
|
en: {
|
|
4459
4445
|
cancel: "Cancel",
|
|
4460
4446
|
confirm: "Confirm"
|
|
@@ -4500,15 +4486,15 @@ const Nt = {
|
|
|
4500
4486
|
confirm: "Confirm"
|
|
4501
4487
|
}
|
|
4502
4488
|
};
|
|
4503
|
-
function
|
|
4504
|
-
|
|
4489
|
+
function mo(e) {
|
|
4490
|
+
Nr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{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);text-align:center}.GeneralConfirmationContainer::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)}.GeneralConfirmationContainer::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)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);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)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4505
4491
|
}
|
|
4506
|
-
const
|
|
4507
|
-
function
|
|
4492
|
+
const po = (e) => ({}), Mt = (e) => ({});
|
|
4493
|
+
function bo(e) {
|
|
4508
4494
|
let t, r;
|
|
4509
4495
|
return {
|
|
4510
4496
|
c() {
|
|
4511
|
-
t =
|
|
4497
|
+
t = ut("svg"), r = ut("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4512
4498
|
},
|
|
4513
4499
|
m(n, i) {
|
|
4514
4500
|
ae(n, t, i), C(t, r);
|
|
@@ -4519,21 +4505,21 @@ function yo(e) {
|
|
|
4519
4505
|
}
|
|
4520
4506
|
};
|
|
4521
4507
|
}
|
|
4522
|
-
function
|
|
4508
|
+
function Nt(e) {
|
|
4523
4509
|
let t, r, n;
|
|
4524
4510
|
return {
|
|
4525
4511
|
c() {
|
|
4526
4512
|
t = I("div"), r = I("h2"), n = ue(
|
|
4527
4513
|
/*modaltitle*/
|
|
4528
4514
|
e[1]
|
|
4529
|
-
),
|
|
4515
|
+
), T(t, "class", "GeneralConfirmationTitle");
|
|
4530
4516
|
},
|
|
4531
4517
|
m(i, o) {
|
|
4532
4518
|
ae(i, t, o), C(t, r), C(r, n);
|
|
4533
4519
|
},
|
|
4534
4520
|
p(i, o) {
|
|
4535
4521
|
o & /*modaltitle*/
|
|
4536
|
-
2 &&
|
|
4522
|
+
2 && rt(
|
|
4537
4523
|
n,
|
|
4538
4524
|
/*modaltitle*/
|
|
4539
4525
|
i[1]
|
|
@@ -4544,17 +4530,17 @@ function Rt(e) {
|
|
|
4544
4530
|
}
|
|
4545
4531
|
};
|
|
4546
4532
|
}
|
|
4547
|
-
function
|
|
4533
|
+
function Lt(e) {
|
|
4548
4534
|
let t, r = (
|
|
4549
4535
|
/*$_*/
|
|
4550
4536
|
e[4]("cancel") + ""
|
|
4551
4537
|
), n, i, o;
|
|
4552
4538
|
return {
|
|
4553
4539
|
c() {
|
|
4554
|
-
t = I("button"), n = ue(r),
|
|
4540
|
+
t = I("button"), n = ue(r), T(t, "class", "GeneralCancelButton");
|
|
4555
4541
|
},
|
|
4556
4542
|
m(a, s) {
|
|
4557
|
-
ae(a, t, s), C(t, n), i || (o =
|
|
4543
|
+
ae(a, t, s), C(t, n), i || (o = Ge(
|
|
4558
4544
|
t,
|
|
4559
4545
|
"click",
|
|
4560
4546
|
/*click_handler*/
|
|
@@ -4564,168 +4550,168 @@ function $t(e) {
|
|
|
4564
4550
|
p(a, s) {
|
|
4565
4551
|
s & /*$_*/
|
|
4566
4552
|
16 && r !== (r = /*$_*/
|
|
4567
|
-
a[4]("cancel") + "") &&
|
|
4553
|
+
a[4]("cancel") + "") && rt(n, r);
|
|
4568
4554
|
},
|
|
4569
4555
|
d(a) {
|
|
4570
4556
|
a && U(t), i = !1, o();
|
|
4571
4557
|
}
|
|
4572
4558
|
};
|
|
4573
4559
|
}
|
|
4574
|
-
function
|
|
4575
|
-
let t, r, n, i, o, a, s, l, u, h,
|
|
4560
|
+
function go(e) {
|
|
4561
|
+
let t, r, n, i, o, a, s, l, u, h, f = (
|
|
4576
4562
|
/*$_*/
|
|
4577
4563
|
e[4]("confirm") + ""
|
|
4578
|
-
),
|
|
4564
|
+
), c, m, d, p;
|
|
4579
4565
|
const g = (
|
|
4580
4566
|
/*#slots*/
|
|
4581
4567
|
e[16].close
|
|
4582
|
-
),
|
|
4568
|
+
), H = Br(
|
|
4583
4569
|
g,
|
|
4584
4570
|
e,
|
|
4585
4571
|
/*$$scope*/
|
|
4586
4572
|
e[15],
|
|
4587
|
-
|
|
4588
|
-
),
|
|
4573
|
+
Mt
|
|
4574
|
+
), A = H || bo();
|
|
4589
4575
|
let x = (
|
|
4590
4576
|
/*modaltitle*/
|
|
4591
|
-
e[1] &&
|
|
4577
|
+
e[1] && Nt(e)
|
|
4592
4578
|
), w = (
|
|
4593
4579
|
/*hascancelbutton*/
|
|
4594
|
-
e[2] &&
|
|
4580
|
+
e[2] && Lt(e)
|
|
4595
4581
|
);
|
|
4596
4582
|
return {
|
|
4597
4583
|
c() {
|
|
4598
|
-
t = I("div"), r = I("div"), n = I("span"),
|
|
4599
|
-
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")),
|
|
4600
|
-
(e[5] ? "GeneralConfirmationContainerMobile" : "")),
|
|
4584
|
+
t = I("div"), r = I("div"), n = I("span"), A.c(), i = fe(), x && x.c(), o = fe(), a = I("div"), s = fe(), l = I("div"), w && w.c(), u = fe(), h = I("button"), c = ue(f), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(a, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4585
|
+
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4586
|
+
(e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4601
4587
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4602
4588
|
},
|
|
4603
4589
|
m(b, B) {
|
|
4604
|
-
ae(b, t, B), C(t, r), C(r, n),
|
|
4605
|
-
e[0], C(r, s), C(r, l), w && w.m(l, null), C(l, u), C(l, h), C(h,
|
|
4606
|
-
|
|
4590
|
+
ae(b, t, B), C(t, r), C(r, n), A.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, a), a.innerHTML = /*modaltext*/
|
|
4591
|
+
e[0], C(r, s), C(r, l), w && w.m(l, null), C(l, u), C(l, h), C(h, c), e[19](t), m = !0, d || (p = [
|
|
4592
|
+
Ge(
|
|
4607
4593
|
n,
|
|
4608
4594
|
"click",
|
|
4609
4595
|
/*close*/
|
|
4610
4596
|
e[6]
|
|
4611
4597
|
),
|
|
4612
|
-
|
|
4598
|
+
Ge(
|
|
4613
4599
|
h,
|
|
4614
4600
|
"click",
|
|
4615
4601
|
/*click_handler_1*/
|
|
4616
4602
|
e[18]
|
|
4617
4603
|
)
|
|
4618
|
-
],
|
|
4604
|
+
], d = !0);
|
|
4619
4605
|
},
|
|
4620
4606
|
p(b, [B]) {
|
|
4621
|
-
|
|
4622
|
-
32768) &&
|
|
4623
|
-
|
|
4607
|
+
H && H.p && (!m || B & /*$$scope*/
|
|
4608
|
+
32768) && Pr(
|
|
4609
|
+
H,
|
|
4624
4610
|
g,
|
|
4625
4611
|
b,
|
|
4626
4612
|
/*$$scope*/
|
|
4627
4613
|
b[15],
|
|
4628
|
-
|
|
4614
|
+
m ? Cr(
|
|
4629
4615
|
g,
|
|
4630
4616
|
/*$$scope*/
|
|
4631
4617
|
b[15],
|
|
4632
4618
|
B,
|
|
4633
|
-
|
|
4634
|
-
) :
|
|
4619
|
+
po
|
|
4620
|
+
) : Or(
|
|
4635
4621
|
/*$$scope*/
|
|
4636
4622
|
b[15]
|
|
4637
4623
|
),
|
|
4638
|
-
|
|
4624
|
+
Mt
|
|
4639
4625
|
), /*modaltitle*/
|
|
4640
|
-
b[1] ? x ? x.p(b, B) : (x =
|
|
4626
|
+
b[1] ? x ? x.p(b, B) : (x = Nt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!m || B & /*modaltext*/
|
|
4641
4627
|
1) && (a.innerHTML = /*modaltext*/
|
|
4642
4628
|
b[0]), /*hascancelbutton*/
|
|
4643
|
-
b[2] ? w ? w.p(b, B) : (w =
|
|
4644
|
-
16) &&
|
|
4645
|
-
b[4]("confirm") + "") &&
|
|
4629
|
+
b[2] ? w ? w.p(b, B) : (w = Lt(b), w.c(), w.m(l, u)) : w && (w.d(1), w = null), (!m || B & /*$_*/
|
|
4630
|
+
16) && f !== (f = /*$_*/
|
|
4631
|
+
b[4]("confirm") + "") && rt(c, f);
|
|
4646
4632
|
},
|
|
4647
4633
|
i(b) {
|
|
4648
|
-
|
|
4634
|
+
m || (kt(A, b), m = !0);
|
|
4649
4635
|
},
|
|
4650
4636
|
o(b) {
|
|
4651
|
-
|
|
4637
|
+
Jr(A, b), m = !1;
|
|
4652
4638
|
},
|
|
4653
4639
|
d(b) {
|
|
4654
|
-
b && U(t),
|
|
4640
|
+
b && U(t), A.d(b), x && x.d(), w && w.d(), e[19](null), d = !1, G(p);
|
|
4655
4641
|
}
|
|
4656
4642
|
};
|
|
4657
4643
|
}
|
|
4658
|
-
function
|
|
4644
|
+
function yo(e, t, r) {
|
|
4659
4645
|
let n;
|
|
4660
|
-
|
|
4661
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modaltitle: s = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang:
|
|
4646
|
+
Ar(e, ao, (v) => r(4, n = v));
|
|
4647
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modaltitle: s = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, g, H = window.navigator.userAgent, A = uo(H) !== "PC";
|
|
4662
4648
|
const x = () => {
|
|
4663
4649
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4664
4650
|
}, w = (v) => {
|
|
4665
4651
|
v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
|
|
4666
4652
|
}, b = () => {
|
|
4667
|
-
fetch(
|
|
4668
|
-
Object.keys(F).forEach((
|
|
4669
|
-
|
|
4653
|
+
fetch(d).then((F) => F.json()).then((F) => {
|
|
4654
|
+
Object.keys(F).forEach((st) => {
|
|
4655
|
+
Ot(st, F[st]);
|
|
4670
4656
|
});
|
|
4671
4657
|
}).catch((F) => {
|
|
4672
4658
|
console.log(F);
|
|
4673
4659
|
});
|
|
4674
4660
|
};
|
|
4675
|
-
Object.keys(
|
|
4676
|
-
|
|
4661
|
+
Object.keys(It).forEach((v) => {
|
|
4662
|
+
Ot(v, It[v]);
|
|
4677
4663
|
});
|
|
4678
4664
|
const B = () => {
|
|
4679
|
-
|
|
4665
|
+
co(f);
|
|
4680
4666
|
};
|
|
4681
|
-
|
|
4667
|
+
Vr(() => () => {
|
|
4682
4668
|
});
|
|
4683
|
-
const he = () => w("cancel"),
|
|
4684
|
-
function
|
|
4685
|
-
|
|
4669
|
+
const he = () => w("cancel"), Er = () => w("confirm");
|
|
4670
|
+
function wr(v) {
|
|
4671
|
+
Ue[v ? "unshift" : "push"](() => {
|
|
4686
4672
|
g = v, r(3, g);
|
|
4687
4673
|
});
|
|
4688
4674
|
}
|
|
4689
4675
|
return e.$$set = (v) => {
|
|
4690
|
-
"modaltext" in v && r(0, a = v.modaltext), "modaltitle" in v && r(1, s = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10,
|
|
4676
|
+
"modaltext" in v && r(0, a = v.modaltext), "modaltitle" in v && r(1, s = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, f = v.lang), "clientstyling" in v && r(11, c = v.clientstyling), "clientstylingurl" in v && r(12, m = v.clientstylingurl), "translationurl" in v && r(13, d = v.translationurl), "mbsource" in v && r(14, p = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
|
|
4691
4677
|
}, e.$$.update = () => {
|
|
4692
4678
|
e.$$.dirty & /*modaltext, lang*/
|
|
4693
|
-
1025 && a &&
|
|
4694
|
-
2056 &&
|
|
4695
|
-
4104 &&
|
|
4696
|
-
16392 && p && g &&
|
|
4697
|
-
8192 &&
|
|
4679
|
+
1025 && a && f && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4680
|
+
2056 && c && g && lo(g, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4681
|
+
4104 && m && g && ho(g, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4682
|
+
16392 && p && g && fo(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
4683
|
+
8192 && d && b();
|
|
4698
4684
|
}, [
|
|
4699
4685
|
a,
|
|
4700
4686
|
s,
|
|
4701
4687
|
l,
|
|
4702
4688
|
g,
|
|
4703
4689
|
n,
|
|
4704
|
-
|
|
4690
|
+
A,
|
|
4705
4691
|
x,
|
|
4706
4692
|
w,
|
|
4707
4693
|
u,
|
|
4708
4694
|
h,
|
|
4709
|
-
c,
|
|
4710
4695
|
f,
|
|
4711
|
-
|
|
4696
|
+
c,
|
|
4712
4697
|
m,
|
|
4698
|
+
d,
|
|
4713
4699
|
p,
|
|
4714
4700
|
o,
|
|
4715
4701
|
i,
|
|
4716
4702
|
he,
|
|
4717
|
-
|
|
4718
|
-
|
|
4703
|
+
Er,
|
|
4704
|
+
wr
|
|
4719
4705
|
];
|
|
4720
4706
|
}
|
|
4721
|
-
class
|
|
4707
|
+
class xr extends nn {
|
|
4722
4708
|
constructor(t) {
|
|
4723
|
-
super(),
|
|
4709
|
+
super(), tn(
|
|
4724
4710
|
this,
|
|
4725
4711
|
t,
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4712
|
+
yo,
|
|
4713
|
+
go,
|
|
4714
|
+
$t,
|
|
4729
4715
|
{
|
|
4730
4716
|
modaltext: 0,
|
|
4731
4717
|
modaltitle: 1,
|
|
@@ -4738,7 +4724,7 @@ class Sr extends an {
|
|
|
4738
4724
|
translationurl: 13,
|
|
4739
4725
|
mbsource: 14
|
|
4740
4726
|
},
|
|
4741
|
-
|
|
4727
|
+
mo
|
|
4742
4728
|
);
|
|
4743
4729
|
}
|
|
4744
4730
|
get modaltext() {
|
|
@@ -4802,57 +4788,57 @@ class Sr extends an {
|
|
|
4802
4788
|
this.$$set({ mbsource: t }), O();
|
|
4803
4789
|
}
|
|
4804
4790
|
}
|
|
4805
|
-
|
|
4806
|
-
const
|
|
4791
|
+
rn(xr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4792
|
+
const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4807
4793
|
__proto__: null,
|
|
4808
|
-
default:
|
|
4794
|
+
default: xr
|
|
4809
4795
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4810
4796
|
export {
|
|
4811
4797
|
K as $,
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4798
|
+
fo as A,
|
|
4799
|
+
Ao as B,
|
|
4800
|
+
En as C,
|
|
4801
|
+
br as D,
|
|
4816
4802
|
M as E,
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4803
|
+
Ar as F,
|
|
4804
|
+
uo as G,
|
|
4805
|
+
Ho as H,
|
|
4806
|
+
fe as I,
|
|
4821
4807
|
ue as J,
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4808
|
+
ut as K,
|
|
4809
|
+
Eo as L,
|
|
4810
|
+
Ge as M,
|
|
4811
|
+
rt as N,
|
|
4812
|
+
vo as O,
|
|
4827
4813
|
G as P,
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4814
|
+
xo as Q,
|
|
4815
|
+
ao as R,
|
|
4816
|
+
nn as S,
|
|
4817
|
+
Bo as T,
|
|
4818
|
+
tn as a,
|
|
4819
|
+
Nr as b,
|
|
4820
|
+
rn as c,
|
|
4835
4821
|
ae as d,
|
|
4836
|
-
|
|
4822
|
+
_o as e,
|
|
4837
4823
|
O as f,
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4824
|
+
Jr as g,
|
|
4825
|
+
So as h,
|
|
4826
|
+
Sr as i,
|
|
4841
4827
|
U as j,
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4828
|
+
Br as k,
|
|
4829
|
+
I as l,
|
|
4830
|
+
T as m,
|
|
4831
|
+
C as n,
|
|
4832
|
+
Vr as o,
|
|
4833
|
+
Or as p,
|
|
4834
|
+
Cr as q,
|
|
4835
|
+
xe as r,
|
|
4836
|
+
$t as s,
|
|
4837
|
+
kt as t,
|
|
4838
|
+
Pr as u,
|
|
4839
|
+
To as v,
|
|
4840
|
+
wo as w,
|
|
4841
|
+
Ue as x,
|
|
4842
|
+
lo as y,
|
|
4843
|
+
ho as z
|
|
4858
4844
|
};
|