@everymatrix/player-account-self-exclusion-nd 1.76.13 → 1.76.14
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-CF0gIxAh.js → PlayerAccountGeneralConfirmationModal-COn8IPHo.js} +815 -836
- package/components/PlayerAccountGeneralConfirmationModal-CTkrsADp.cjs +21 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DTX1CBzd.js → PlayerAccountGeneralConfirmationModal-DeKth9rU.js} +816 -837
- package/components/{PlayerAccountModal-CJKwahNB.js → PlayerAccountModal-1yio55uP.js} +17 -17
- package/components/{PlayerAccountModal-Db-SglWF.js → PlayerAccountModal-bhlvepWR.js} +21 -21
- package/components/{PlayerAccountModal-D5N72NeZ.cjs → PlayerAccountModal-hE4QiaWT.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-_oUe60S2.cjs → PlayerAccountSelfExclusionNd-BDWzo3ic.cjs} +77 -77
- package/components/{PlayerAccountSelfExclusionNd-BxmnRxYL.js → PlayerAccountSelfExclusionNd-CvJTo9Xq.js} +708 -707
- package/components/{PlayerAccountSelfExclusionNd-By_-FjjY.js → PlayerAccountSelfExclusionNd-yog-b1L9.js} +371 -370
- package/es2015/player-account-self-exclusion-nd.cjs +1 -1
- package/es2015/player-account-self-exclusion-nd.js +1 -1
- package/esnext/player-account-self-exclusion-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BtPvM93e.js +519 -0
- package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
- package/stencil/index-b2193545-D_KBbaD-.js +503 -0
- package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
- package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CWuMYFGQ.js} +2 -2
- package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-NZtdK490.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-CepZsQsl.cjs +0 -21
- package/stencil/index-b2193545-BeKKnKhR.js +0 -519
- package/stencil/index-b2193545-HC0t7mHa.js +0 -503
- package/stencil/index-b2193545-YW9b062G.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function M() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const Ar = (e) => e;
|
|
4
|
+
function Br(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,25 +9,25 @@ function Cr(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Gt(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function lt() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function G(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(Gt);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Se(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Ut(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function Cr(e) {
|
|
28
28
|
return Object.keys(e).length === 0;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Dt(e, ...t) {
|
|
31
31
|
if (e == null) {
|
|
32
32
|
for (const n of t)
|
|
33
33
|
n(void 0);
|
|
@@ -36,19 +36,19 @@ function jt(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 Pr(e, t, r) {
|
|
40
|
+
e.$$.on_destroy.push(Dt(t, r));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Or(e, t, r, n) {
|
|
43
43
|
if (e) {
|
|
44
|
-
const i =
|
|
44
|
+
const i = Ft(e, t, r, n);
|
|
45
45
|
return e[0](i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return e[1] && n ?
|
|
48
|
+
function Ft(e, t, r, n) {
|
|
49
|
+
return e[1] && n ? Br(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Ir(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 Mr(e, t, r, n) {
|
|
|
63
63
|
}
|
|
64
64
|
return t.dirty;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Mr(e, t, r, n, i, o) {
|
|
67
67
|
if (i) {
|
|
68
|
-
const a =
|
|
68
|
+
const a = Ft(t, r, n, o);
|
|
69
69
|
e.p(a, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Nr(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 Lr(e) {
|
|
|
78
78
|
}
|
|
79
79
|
return -1;
|
|
80
80
|
}
|
|
81
|
-
const
|
|
82
|
-
let
|
|
81
|
+
const jt = typeof window < "u";
|
|
82
|
+
let Lr = jt ? () => window.performance.now() : () => Date.now(), tt = jt ? (e) => requestAnimationFrame(e) : M;
|
|
83
83
|
const X = /* @__PURE__ */ new Set();
|
|
84
|
-
function
|
|
84
|
+
function kt(e) {
|
|
85
85
|
X.forEach((t) => {
|
|
86
86
|
t.c(e) || (X.delete(t), t.f());
|
|
87
|
-
}), X.size !== 0 &&
|
|
87
|
+
}), X.size !== 0 && tt(kt);
|
|
88
88
|
}
|
|
89
89
|
function Rr(e) {
|
|
90
90
|
let t;
|
|
91
|
-
return X.size === 0 &&
|
|
91
|
+
return X.size === 0 && tt(kt), {
|
|
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 $r(e, t, r) {
|
|
104
|
+
const n = rt(e);
|
|
105
105
|
if (!n.getElementById(t)) {
|
|
106
106
|
const i = I("style");
|
|
107
|
-
i.id = t, i.textContent = r,
|
|
107
|
+
i.id = t, i.textContent = r, Vt(n, i);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function rt(e) {
|
|
111
111
|
if (!e)
|
|
112
112
|
return document;
|
|
113
113
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -117,69 +117,69 @@ function st(e) {
|
|
|
117
117
|
t
|
|
118
118
|
) : e.ownerDocument;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Gr(e) {
|
|
121
121
|
const t = I("style");
|
|
122
|
-
return t.textContent = "/* empty */",
|
|
122
|
+
return t.textContent = "/* empty */", Vt(rt(e), t), t.sheet;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Vt(e, t) {
|
|
125
125
|
return C(
|
|
126
126
|
/** @type {Document} */
|
|
127
127
|
e.head || e,
|
|
128
128
|
t
|
|
129
129
|
), t.sheet;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function ae(e, t, r) {
|
|
132
132
|
e.insertBefore(t, r || null);
|
|
133
133
|
}
|
|
134
134
|
function U(e) {
|
|
135
135
|
e.parentNode && e.parentNode.removeChild(e);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function xo(e, t) {
|
|
138
138
|
for (let r = 0; r < e.length; r += 1)
|
|
139
139
|
e[r] && e[r].d(t);
|
|
140
140
|
}
|
|
141
141
|
function I(e) {
|
|
142
142
|
return document.createElement(e);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function ht(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function ue(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
150
|
function ce() {
|
|
151
|
-
return
|
|
151
|
+
return ue(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
153
|
+
function Eo() {
|
|
154
|
+
return ue("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Ue(e, t, r, n) {
|
|
157
157
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
158
158
|
}
|
|
159
159
|
function H(e, t, r) {
|
|
160
160
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function wo(e, t, r) {
|
|
163
163
|
const n = t.toLowerCase();
|
|
164
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 : H(e, t, r);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Ur(e) {
|
|
167
167
|
return Array.from(e.childNodes);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function nt(e, t) {
|
|
170
170
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
171
171
|
t);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function So(e, t, r, n) {
|
|
174
174
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function To(e, t, r) {
|
|
177
177
|
e.classList.toggle(t, !!r);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Dr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
180
180
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Fr(e) {
|
|
183
183
|
const t = {};
|
|
184
184
|
return e.childNodes.forEach(
|
|
185
185
|
/** @param {Element} node */
|
|
@@ -190,17 +190,17 @@ function jr(e) {
|
|
|
190
190
|
}
|
|
191
191
|
const ve = /* @__PURE__ */ new Map();
|
|
192
192
|
let _e = 0;
|
|
193
|
-
function
|
|
193
|
+
function jr(e) {
|
|
194
194
|
let t = 5381, r = e.length;
|
|
195
195
|
for (; r--; )
|
|
196
196
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
197
197
|
return t >>> 0;
|
|
198
198
|
}
|
|
199
|
-
function
|
|
200
|
-
const r = { stylesheet:
|
|
199
|
+
function kr(e, t) {
|
|
200
|
+
const r = { stylesheet: Gr(t), rules: {} };
|
|
201
201
|
return ve.set(e, r), r;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function ct(e, t, r, n, i, o, a, s = 0) {
|
|
204
204
|
const l = 16.666 / n;
|
|
205
205
|
let u = `{
|
|
206
206
|
`;
|
|
@@ -210,156 +210,156 @@ function mt(e, t, r, n, i, o, a, s = 0) {
|
|
|
210
210
|
`;
|
|
211
211
|
}
|
|
212
212
|
const h = u + `100% {${a(r, 1 - r)}}
|
|
213
|
-
}`, c = `__svelte_${
|
|
214
|
-
m[c] || (m[c] = !0,
|
|
215
|
-
const
|
|
216
|
-
return e.style.animation = `${
|
|
213
|
+
}`, c = `__svelte_${jr(h)}_${s}`, f = rt(e), { stylesheet: d, rules: m } = ve.get(f) || kr(f, e);
|
|
214
|
+
m[c] || (m[c] = !0, d.insertRule(`@keyframes ${c} ${h}`, d.cssRules.length));
|
|
215
|
+
const p = e.style.animation || "";
|
|
216
|
+
return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, _e += 1, c;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Vr(e, t) {
|
|
219
219
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
220
220
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
221
221
|
// remove all Svelte animations
|
|
222
222
|
), i = r.length - n.length;
|
|
223
|
-
i && (e.style.animation = n.join(", "), _e -= i, _e ||
|
|
223
|
+
i && (e.style.animation = n.join(", "), _e -= i, _e || Xr());
|
|
224
224
|
}
|
|
225
|
-
function
|
|
226
|
-
|
|
225
|
+
function Xr() {
|
|
226
|
+
tt(() => {
|
|
227
227
|
_e || (ve.forEach((e) => {
|
|
228
228
|
const { ownerNode: t } = e.stylesheet;
|
|
229
229
|
t && U(t);
|
|
230
230
|
}), ve.clear());
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
|
-
let
|
|
234
|
-
function
|
|
235
|
-
|
|
233
|
+
let ie;
|
|
234
|
+
function ne(e) {
|
|
235
|
+
ie = e;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
238
|
-
if (!
|
|
237
|
+
function zr() {
|
|
238
|
+
if (!ie)
|
|
239
239
|
throw new Error("Function called outside component initialization");
|
|
240
|
-
return
|
|
240
|
+
return ie;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
|
|
242
|
+
function Wr(e) {
|
|
243
|
+
zr().$$.on_mount.push(e);
|
|
244
244
|
}
|
|
245
|
-
const V = [],
|
|
245
|
+
const V = [], De = [];
|
|
246
246
|
let z = [];
|
|
247
|
-
const
|
|
248
|
-
let
|
|
249
|
-
function
|
|
250
|
-
|
|
247
|
+
const ft = [], Zr = /* @__PURE__ */ Promise.resolve();
|
|
248
|
+
let Fe = !1;
|
|
249
|
+
function Qr() {
|
|
250
|
+
Fe || (Fe = !0, Zr.then(O));
|
|
251
251
|
}
|
|
252
252
|
function xe(e) {
|
|
253
253
|
z.push(e);
|
|
254
254
|
}
|
|
255
|
-
const
|
|
255
|
+
const Pe = /* @__PURE__ */ new Set();
|
|
256
256
|
let j = 0;
|
|
257
257
|
function O() {
|
|
258
258
|
if (j !== 0)
|
|
259
259
|
return;
|
|
260
|
-
const e =
|
|
260
|
+
const e = ie;
|
|
261
261
|
do {
|
|
262
262
|
try {
|
|
263
263
|
for (; j < V.length; ) {
|
|
264
264
|
const t = V[j];
|
|
265
|
-
j++,
|
|
265
|
+
j++, ne(t), Jr(t.$$);
|
|
266
266
|
}
|
|
267
267
|
} catch (t) {
|
|
268
268
|
throw V.length = 0, j = 0, t;
|
|
269
269
|
}
|
|
270
|
-
for (
|
|
271
|
-
|
|
270
|
+
for (ne(null), V.length = 0, j = 0; De.length; )
|
|
271
|
+
De.pop()();
|
|
272
272
|
for (let t = 0; t < z.length; t += 1) {
|
|
273
273
|
const r = z[t];
|
|
274
|
-
|
|
274
|
+
Pe.has(r) || (Pe.add(r), r());
|
|
275
275
|
}
|
|
276
276
|
z.length = 0;
|
|
277
277
|
} while (V.length);
|
|
278
|
-
for (;
|
|
279
|
-
|
|
280
|
-
|
|
278
|
+
for (; ft.length; )
|
|
279
|
+
ft.pop()();
|
|
280
|
+
Fe = !1, Pe.clear(), ne(e);
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function Jr(e) {
|
|
283
283
|
if (e.fragment !== null) {
|
|
284
284
|
e.update(), G(e.before_update);
|
|
285
285
|
const t = e.dirty;
|
|
286
286
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xe);
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
|
-
function
|
|
289
|
+
function qr(e) {
|
|
290
290
|
const t = [], r = [];
|
|
291
291
|
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
292
292
|
}
|
|
293
|
-
let
|
|
294
|
-
function
|
|
295
|
-
return
|
|
296
|
-
|
|
297
|
-
})),
|
|
293
|
+
let te;
|
|
294
|
+
function Yr() {
|
|
295
|
+
return te || (te = Promise.resolve(), te.then(() => {
|
|
296
|
+
te = null;
|
|
297
|
+
})), te;
|
|
298
298
|
}
|
|
299
|
-
function
|
|
300
|
-
e.dispatchEvent(
|
|
299
|
+
function Oe(e, t, r) {
|
|
300
|
+
e.dispatchEvent(Dr(`${t ? "intro" : "outro"}${r}`));
|
|
301
301
|
}
|
|
302
|
-
const
|
|
303
|
-
let
|
|
304
|
-
function
|
|
305
|
-
|
|
302
|
+
const de = /* @__PURE__ */ new Set();
|
|
303
|
+
let N;
|
|
304
|
+
function Ho() {
|
|
305
|
+
N = {
|
|
306
306
|
r: 0,
|
|
307
307
|
c: [],
|
|
308
|
-
p:
|
|
308
|
+
p: N
|
|
309
309
|
// parent group
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
|
-
function
|
|
313
|
-
|
|
312
|
+
function Ao() {
|
|
313
|
+
N.r || G(N.c), N = N.p;
|
|
314
314
|
}
|
|
315
|
-
function
|
|
316
|
-
e && e.i && (
|
|
315
|
+
function Xt(e, t) {
|
|
316
|
+
e && e.i && (de.delete(e), e.i(t));
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function Kr(e, t, r, n) {
|
|
319
319
|
if (e && e.o) {
|
|
320
|
-
if (
|
|
320
|
+
if (de.has(e))
|
|
321
321
|
return;
|
|
322
|
-
|
|
323
|
-
|
|
322
|
+
de.add(e), N.c.push(() => {
|
|
323
|
+
de.delete(e), n && (r && e.d(1), n());
|
|
324
324
|
}), e.o(t);
|
|
325
325
|
} else
|
|
326
326
|
n && n();
|
|
327
327
|
}
|
|
328
|
-
const
|
|
329
|
-
function
|
|
328
|
+
const en = { duration: 0 };
|
|
329
|
+
function Bo(e, t, r, n) {
|
|
330
330
|
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
|
|
331
331
|
function c() {
|
|
332
|
-
u &&
|
|
332
|
+
u && Vr(e, u);
|
|
333
333
|
}
|
|
334
|
-
function f(m,
|
|
334
|
+
function f(m, p) {
|
|
335
335
|
const g = (
|
|
336
336
|
/** @type {Program['d']} */
|
|
337
337
|
m.b - a
|
|
338
338
|
);
|
|
339
|
-
return
|
|
339
|
+
return p *= Math.abs(g), {
|
|
340
340
|
a,
|
|
341
341
|
b: m.b,
|
|
342
342
|
d: g,
|
|
343
|
-
duration:
|
|
343
|
+
duration: p,
|
|
344
344
|
start: m.start,
|
|
345
|
-
end: m.start +
|
|
345
|
+
end: m.start + p,
|
|
346
346
|
group: m.group
|
|
347
347
|
};
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function d(m) {
|
|
350
350
|
const {
|
|
351
|
-
delay:
|
|
351
|
+
delay: p = 0,
|
|
352
352
|
duration: g = 300,
|
|
353
|
-
easing: A =
|
|
353
|
+
easing: A = Ar,
|
|
354
354
|
tick: T = M,
|
|
355
355
|
css: x
|
|
356
|
-
} = o ||
|
|
357
|
-
start:
|
|
356
|
+
} = o || en, w = {
|
|
357
|
+
start: Lr() + p,
|
|
358
358
|
b: m
|
|
359
359
|
};
|
|
360
|
-
m || (
|
|
361
|
-
e.inert, e.inert = !0)), s || l ? l =
|
|
362
|
-
if (l && b > l.start && (s = f(l, g), l = null,
|
|
360
|
+
m || (w.group = N, N.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
361
|
+
e.inert, e.inert = !0)), s || l ? l = w : (x && (c(), u = ct(e, a, m, g, p, A, x)), m && T(0, 1), s = f(w, g), xe(() => Oe(e, m, "start")), Rr((b) => {
|
|
362
|
+
if (l && b > l.start && (s = f(l, g), l = null, Oe(e, s.b, "start"), x && (c(), u = ct(
|
|
363
363
|
e,
|
|
364
364
|
a,
|
|
365
365
|
s.b,
|
|
@@ -369,7 +369,7 @@ function Po(e, t, r, n) {
|
|
|
369
369
|
o.css
|
|
370
370
|
))), s) {
|
|
371
371
|
if (b >= s.end)
|
|
372
|
-
T(a = s.b, 1 - a),
|
|
372
|
+
T(a = s.b, 1 - a), Oe(e, s.b, "end"), l || (s.b ? c() : --s.group.r || G(s.group.c)), s = null;
|
|
373
373
|
else if (b >= s.start) {
|
|
374
374
|
const B = b - s.start;
|
|
375
375
|
a = s.a + s.d * A(B / s.duration), T(a, 1 - a);
|
|
@@ -380,35 +380,35 @@ function Po(e, t, r, n) {
|
|
|
380
380
|
}
|
|
381
381
|
return {
|
|
382
382
|
run(m) {
|
|
383
|
-
|
|
384
|
-
o = o({ direction: m ? "in" : "out" }),
|
|
385
|
-
}) :
|
|
383
|
+
Se(o) ? Yr().then(() => {
|
|
384
|
+
o = o({ direction: m ? "in" : "out" }), d(m);
|
|
385
|
+
}) : d(m);
|
|
386
386
|
},
|
|
387
387
|
end() {
|
|
388
388
|
c(), s = l = null;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function Co(e) {
|
|
393
393
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function tn(e, t, r) {
|
|
396
396
|
const { fragment: n, after_update: i } = e.$$;
|
|
397
397
|
n && n.m(t, r), xe(() => {
|
|
398
|
-
const o = e.$$.on_mount.map(
|
|
398
|
+
const o = e.$$.on_mount.map(Gt).filter(Se);
|
|
399
399
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
|
|
400
400
|
}), i.forEach(xe);
|
|
401
401
|
}
|
|
402
|
-
function
|
|
402
|
+
function rn(e, t) {
|
|
403
403
|
const r = e.$$;
|
|
404
|
-
r.fragment !== null && (
|
|
404
|
+
r.fragment !== null && (qr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
405
405
|
}
|
|
406
|
-
function
|
|
407
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
406
|
+
function nn(e, t) {
|
|
407
|
+
e.$$.dirty[0] === -1 && (V.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
408
408
|
}
|
|
409
|
-
function
|
|
410
|
-
const l =
|
|
411
|
-
|
|
409
|
+
function on(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
410
|
+
const l = ie;
|
|
411
|
+
ne(e);
|
|
412
412
|
const u = e.$$ = {
|
|
413
413
|
fragment: null,
|
|
414
414
|
ctx: [],
|
|
@@ -416,7 +416,7 @@ function sn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
416
416
|
props: o,
|
|
417
417
|
update: M,
|
|
418
418
|
not_equal: i,
|
|
419
|
-
bound:
|
|
419
|
+
bound: lt(),
|
|
420
420
|
// lifecycle
|
|
421
421
|
on_mount: [],
|
|
422
422
|
on_destroy: [],
|
|
@@ -425,28 +425,28 @@ function sn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
425
425
|
after_update: [],
|
|
426
426
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
427
427
|
// everything else
|
|
428
|
-
callbacks:
|
|
428
|
+
callbacks: lt(),
|
|
429
429
|
dirty: s,
|
|
430
430
|
skip_bound: !1,
|
|
431
431
|
root: t.target || l.$$.root
|
|
432
432
|
};
|
|
433
433
|
a && a(u.root);
|
|
434
434
|
let h = !1;
|
|
435
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
436
|
-
const m =
|
|
437
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h &&
|
|
435
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
436
|
+
const m = d.length ? d[0] : f;
|
|
437
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && nn(e, c)), f;
|
|
438
438
|
}) : [], u.update(), h = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
439
439
|
if (t.hydrate) {
|
|
440
|
-
const c =
|
|
440
|
+
const c = Ur(t.target);
|
|
441
441
|
u.fragment && u.fragment.l(c), c.forEach(U);
|
|
442
442
|
} else
|
|
443
443
|
u.fragment && u.fragment.c();
|
|
444
|
-
t.intro &&
|
|
444
|
+
t.intro && Xt(e.$$.fragment), tn(e, t.target, t.anchor), O();
|
|
445
445
|
}
|
|
446
|
-
|
|
446
|
+
ne(l);
|
|
447
447
|
}
|
|
448
|
-
let
|
|
449
|
-
typeof HTMLElement == "function" && (
|
|
448
|
+
let zt;
|
|
449
|
+
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
450
450
|
/** The Svelte component constructor */
|
|
451
451
|
$$ctor;
|
|
452
452
|
/** Slots */
|
|
@@ -495,7 +495,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
495
495
|
* @param {HTMLElement} [anchor]
|
|
496
496
|
*/
|
|
497
497
|
m: function(l, u) {
|
|
498
|
-
|
|
498
|
+
ae(l, o, u);
|
|
499
499
|
},
|
|
500
500
|
d: function(l) {
|
|
501
501
|
l && U(o);
|
|
@@ -505,12 +505,12 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
505
505
|
};
|
|
506
506
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
507
507
|
return;
|
|
508
|
-
const t = {}, r =
|
|
508
|
+
const t = {}, r = Fr(this);
|
|
509
509
|
for (const i of this.$$s)
|
|
510
510
|
i in r && (t[i] = [e(i)]);
|
|
511
511
|
for (const i of this.attributes) {
|
|
512
512
|
const o = this.$$g_p(i.name);
|
|
513
|
-
o in this.$$d || (this.$$d[o] =
|
|
513
|
+
o in this.$$d || (this.$$d[o] = pe(o, i.value, this.$$p_d, "toProp"));
|
|
514
514
|
}
|
|
515
515
|
for (const i in this.$$p_d)
|
|
516
516
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -528,7 +528,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
528
528
|
this.$$r = !0;
|
|
529
529
|
for (const i in this.$$p_d)
|
|
530
530
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
531
|
-
const o =
|
|
531
|
+
const o = pe(
|
|
532
532
|
i,
|
|
533
533
|
this.$$d[i],
|
|
534
534
|
this.$$p_d,
|
|
@@ -550,7 +550,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
550
550
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
551
551
|
// and setting attributes through setAttribute etc, this is helpful
|
|
552
552
|
attributeChangedCallback(e, t, r) {
|
|
553
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
553
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
554
554
|
}
|
|
555
555
|
disconnectedCallback() {
|
|
556
556
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -563,7 +563,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
563
563
|
) || e;
|
|
564
564
|
}
|
|
565
565
|
});
|
|
566
|
-
function
|
|
566
|
+
function pe(e, t, r, n) {
|
|
567
567
|
const i = r[e]?.type;
|
|
568
568
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
569
569
|
return t;
|
|
@@ -592,8 +592,8 @@ function de(e, t, r, n) {
|
|
|
592
592
|
return t;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
function
|
|
596
|
-
let a = class extends
|
|
595
|
+
function sn(e, t, r, n, i, o) {
|
|
596
|
+
let a = class extends zt {
|
|
597
597
|
constructor() {
|
|
598
598
|
super(e, r, i), this.$$p_d = t;
|
|
599
599
|
}
|
|
@@ -609,7 +609,7 @@ function an(e, t, r, n, i, o) {
|
|
|
609
609
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
610
610
|
},
|
|
611
611
|
set(l) {
|
|
612
|
-
l =
|
|
612
|
+
l = pe(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
|
613
613
|
}
|
|
614
614
|
});
|
|
615
615
|
}), n.forEach((s) => {
|
|
@@ -621,7 +621,7 @@ function an(e, t, r, n, i, o) {
|
|
|
621
621
|
}), e.element = /** @type {any} */
|
|
622
622
|
a, a;
|
|
623
623
|
}
|
|
624
|
-
class
|
|
624
|
+
class an {
|
|
625
625
|
/**
|
|
626
626
|
* ### PRIVATE API
|
|
627
627
|
*
|
|
@@ -640,7 +640,7 @@ class un {
|
|
|
640
640
|
$$set = void 0;
|
|
641
641
|
/** @returns {void} */
|
|
642
642
|
$destroy() {
|
|
643
|
-
|
|
643
|
+
rn(this, 1), this.$destroy = M;
|
|
644
644
|
}
|
|
645
645
|
/**
|
|
646
646
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -649,7 +649,7 @@ class un {
|
|
|
649
649
|
* @returns {() => void}
|
|
650
650
|
*/
|
|
651
651
|
$on(t, r) {
|
|
652
|
-
if (!
|
|
652
|
+
if (!Se(r))
|
|
653
653
|
return M;
|
|
654
654
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
655
655
|
return n.push(r), () => {
|
|
@@ -662,11 +662,11 @@ class un {
|
|
|
662
662
|
* @returns {void}
|
|
663
663
|
*/
|
|
664
664
|
$set(t) {
|
|
665
|
-
this.$$set && !
|
|
665
|
+
this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
|
-
const
|
|
669
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
668
|
+
const un = "4";
|
|
669
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(un);
|
|
670
670
|
/*! *****************************************************************************
|
|
671
671
|
Copyright (c) Microsoft Corporation.
|
|
672
672
|
|
|
@@ -681,24 +681,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
681
681
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
682
682
|
PERFORMANCE OF THIS SOFTWARE.
|
|
683
683
|
***************************************************************************** */
|
|
684
|
-
var
|
|
685
|
-
return
|
|
684
|
+
var je = function(e, t) {
|
|
685
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
686
686
|
r.__proto__ = n;
|
|
687
687
|
} || function(r, n) {
|
|
688
688
|
for (var i in n)
|
|
689
689
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
690
|
-
},
|
|
690
|
+
}, je(e, t);
|
|
691
691
|
};
|
|
692
|
-
function
|
|
692
|
+
function R(e, t) {
|
|
693
693
|
if (typeof t != "function" && t !== null)
|
|
694
694
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
695
|
-
|
|
695
|
+
je(e, t);
|
|
696
696
|
function r() {
|
|
697
697
|
this.constructor = e;
|
|
698
698
|
}
|
|
699
699
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
700
700
|
}
|
|
701
|
-
function
|
|
701
|
+
var E = function() {
|
|
702
|
+
return E = Object.assign || function(t) {
|
|
703
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
704
|
+
r = arguments[n];
|
|
705
|
+
for (var o in r)
|
|
706
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
707
|
+
}
|
|
708
|
+
return t;
|
|
709
|
+
}, E.apply(this, arguments);
|
|
710
|
+
};
|
|
711
|
+
function ln(e, t) {
|
|
712
|
+
var r = {};
|
|
713
|
+
for (var n in e)
|
|
714
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
715
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
716
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
717
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
718
|
+
return r;
|
|
719
|
+
}
|
|
720
|
+
function ke(e) {
|
|
702
721
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
703
722
|
if (r)
|
|
704
723
|
return r.call(e);
|
|
@@ -710,7 +729,7 @@ function Xe(e) {
|
|
|
710
729
|
};
|
|
711
730
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
712
731
|
}
|
|
713
|
-
function
|
|
732
|
+
function Ve(e, t) {
|
|
714
733
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
715
734
|
if (!r)
|
|
716
735
|
return e;
|
|
@@ -730,22 +749,22 @@ function ze(e, t) {
|
|
|
730
749
|
}
|
|
731
750
|
return o;
|
|
732
751
|
}
|
|
733
|
-
function
|
|
734
|
-
if (arguments.length === 2)
|
|
752
|
+
function W(e, t, r) {
|
|
753
|
+
if (r || arguments.length === 2)
|
|
735
754
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
736
755
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
737
756
|
return e.concat(o || t);
|
|
738
757
|
}
|
|
739
|
-
function
|
|
758
|
+
function L(e) {
|
|
740
759
|
return typeof e == "function";
|
|
741
760
|
}
|
|
742
|
-
function
|
|
761
|
+
function Wt(e) {
|
|
743
762
|
var t = function(n) {
|
|
744
763
|
Error.call(n), n.stack = new Error().stack;
|
|
745
764
|
}, r = e(t);
|
|
746
765
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
747
766
|
}
|
|
748
|
-
var
|
|
767
|
+
var Ie = Wt(function(e) {
|
|
749
768
|
return function(r) {
|
|
750
769
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
751
770
|
` + r.map(function(n, i) {
|
|
@@ -754,13 +773,13 @@ var Ne = Qt(function(e) {
|
|
|
754
773
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
755
774
|
};
|
|
756
775
|
});
|
|
757
|
-
function
|
|
776
|
+
function Xe(e, t) {
|
|
758
777
|
if (e) {
|
|
759
778
|
var r = e.indexOf(t);
|
|
760
779
|
0 <= r && e.splice(r, 1);
|
|
761
780
|
}
|
|
762
781
|
}
|
|
763
|
-
var
|
|
782
|
+
var Te = function() {
|
|
764
783
|
function e(t) {
|
|
765
784
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
766
785
|
}
|
|
@@ -772,12 +791,12 @@ var He = function() {
|
|
|
772
791
|
if (a)
|
|
773
792
|
if (this._parentage = null, Array.isArray(a))
|
|
774
793
|
try {
|
|
775
|
-
for (var s =
|
|
794
|
+
for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
|
|
776
795
|
var u = l.value;
|
|
777
796
|
u.remove(this);
|
|
778
797
|
}
|
|
779
|
-
} catch (
|
|
780
|
-
t = { error:
|
|
798
|
+
} catch (p) {
|
|
799
|
+
t = { error: p };
|
|
781
800
|
} finally {
|
|
782
801
|
try {
|
|
783
802
|
l && !l.done && (r = s.return) && r.call(s);
|
|
@@ -789,29 +808,29 @@ var He = function() {
|
|
|
789
808
|
else
|
|
790
809
|
a.remove(this);
|
|
791
810
|
var h = this.initialTeardown;
|
|
792
|
-
if (
|
|
811
|
+
if (L(h))
|
|
793
812
|
try {
|
|
794
813
|
h();
|
|
795
|
-
} catch (
|
|
796
|
-
o =
|
|
814
|
+
} catch (p) {
|
|
815
|
+
o = p instanceof Ie ? p.errors : [p];
|
|
797
816
|
}
|
|
798
817
|
var c = this._finalizers;
|
|
799
818
|
if (c) {
|
|
800
819
|
this._finalizers = null;
|
|
801
820
|
try {
|
|
802
|
-
for (var f =
|
|
803
|
-
var m =
|
|
821
|
+
for (var f = ke(c), d = f.next(); !d.done; d = f.next()) {
|
|
822
|
+
var m = d.value;
|
|
804
823
|
try {
|
|
805
|
-
|
|
806
|
-
} catch (
|
|
807
|
-
o = o ?? [],
|
|
824
|
+
mt(m);
|
|
825
|
+
} catch (p) {
|
|
826
|
+
o = o ?? [], p instanceof Ie ? o = W(W([], Ve(o)), Ve(p.errors)) : o.push(p);
|
|
808
827
|
}
|
|
809
828
|
}
|
|
810
|
-
} catch (
|
|
811
|
-
n = { error:
|
|
829
|
+
} catch (p) {
|
|
830
|
+
n = { error: p };
|
|
812
831
|
} finally {
|
|
813
832
|
try {
|
|
814
|
-
|
|
833
|
+
d && !d.done && (i = f.return) && i.call(f);
|
|
815
834
|
} finally {
|
|
816
835
|
if (n)
|
|
817
836
|
throw n.error;
|
|
@@ -819,13 +838,13 @@ var He = function() {
|
|
|
819
838
|
}
|
|
820
839
|
}
|
|
821
840
|
if (o)
|
|
822
|
-
throw new
|
|
841
|
+
throw new Ie(o);
|
|
823
842
|
}
|
|
824
843
|
}, e.prototype.add = function(t) {
|
|
825
844
|
var r;
|
|
826
845
|
if (t && t !== this)
|
|
827
846
|
if (this.closed)
|
|
828
|
-
|
|
847
|
+
mt(t);
|
|
829
848
|
else {
|
|
830
849
|
if (t instanceof e) {
|
|
831
850
|
if (t.closed || t._hasParent(this))
|
|
@@ -842,52 +861,56 @@ var He = function() {
|
|
|
842
861
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
843
862
|
}, e.prototype._removeParent = function(t) {
|
|
844
863
|
var r = this._parentage;
|
|
845
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
864
|
+
r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
|
|
846
865
|
}, e.prototype.remove = function(t) {
|
|
847
866
|
var r = this._finalizers;
|
|
848
|
-
r &&
|
|
867
|
+
r && Xe(r, t), t instanceof e && t._removeParent(this);
|
|
849
868
|
}, e.EMPTY = function() {
|
|
850
869
|
var t = new e();
|
|
851
870
|
return t.closed = !0, t;
|
|
852
871
|
}(), e;
|
|
853
|
-
}(),
|
|
854
|
-
function
|
|
855
|
-
return e instanceof
|
|
856
|
-
}
|
|
857
|
-
function
|
|
858
|
-
|
|
859
|
-
}
|
|
860
|
-
var
|
|
861
|
-
|
|
862
|
-
|
|
872
|
+
}(), Zt = Te.EMPTY;
|
|
873
|
+
function Qt(e) {
|
|
874
|
+
return e instanceof Te || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
|
|
875
|
+
}
|
|
876
|
+
function mt(e) {
|
|
877
|
+
L(e) ? e() : e.unsubscribe();
|
|
878
|
+
}
|
|
879
|
+
var Jt = {
|
|
880
|
+
onUnhandledError: null,
|
|
881
|
+
onStoppedNotification: null,
|
|
882
|
+
Promise: void 0,
|
|
883
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
884
|
+
useDeprecatedNextContext: !1
|
|
885
|
+
}, hn = {
|
|
863
886
|
setTimeout: function(e, t) {
|
|
864
887
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
865
888
|
r[n - 2] = arguments[n];
|
|
866
|
-
return setTimeout.apply(void 0,
|
|
889
|
+
return setTimeout.apply(void 0, W([e, t], Ve(r)));
|
|
867
890
|
},
|
|
868
891
|
clearTimeout: function(e) {
|
|
869
892
|
return clearTimeout(e);
|
|
870
893
|
},
|
|
871
894
|
delegate: void 0
|
|
872
895
|
};
|
|
873
|
-
function
|
|
874
|
-
|
|
896
|
+
function cn(e) {
|
|
897
|
+
hn.setTimeout(function() {
|
|
875
898
|
throw e;
|
|
876
899
|
});
|
|
877
900
|
}
|
|
878
|
-
function
|
|
901
|
+
function dt() {
|
|
879
902
|
}
|
|
880
903
|
function be(e) {
|
|
881
904
|
e();
|
|
882
905
|
}
|
|
883
|
-
var
|
|
884
|
-
|
|
906
|
+
var qt = function(e) {
|
|
907
|
+
R(t, e);
|
|
885
908
|
function t(r) {
|
|
886
909
|
var n = e.call(this) || this;
|
|
887
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
910
|
+
return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = pn, n;
|
|
888
911
|
}
|
|
889
912
|
return t.create = function(r, n, i) {
|
|
890
|
-
return new
|
|
913
|
+
return new ze(r, n, i);
|
|
891
914
|
}, t.prototype.next = function(r) {
|
|
892
915
|
this.isStopped || this._next(r);
|
|
893
916
|
}, t.prototype.error = function(r) {
|
|
@@ -911,7 +934,11 @@ var Yt = function(e) {
|
|
|
911
934
|
this.unsubscribe();
|
|
912
935
|
}
|
|
913
936
|
}, t;
|
|
914
|
-
}(
|
|
937
|
+
}(Te), fn = Function.prototype.bind;
|
|
938
|
+
function Me(e, t) {
|
|
939
|
+
return fn.call(e, t);
|
|
940
|
+
}
|
|
941
|
+
var mn = function() {
|
|
915
942
|
function e(t) {
|
|
916
943
|
this.partialObserver = t;
|
|
917
944
|
}
|
|
@@ -942,29 +969,41 @@ var Yt = function(e) {
|
|
|
942
969
|
fe(r);
|
|
943
970
|
}
|
|
944
971
|
}, e;
|
|
945
|
-
}(),
|
|
946
|
-
|
|
972
|
+
}(), ze = function(e) {
|
|
973
|
+
R(t, e);
|
|
947
974
|
function t(r, n, i) {
|
|
948
975
|
var o = e.call(this) || this, a;
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
976
|
+
if (L(r) || !r)
|
|
977
|
+
a = {
|
|
978
|
+
next: r ?? void 0,
|
|
979
|
+
error: n ?? void 0,
|
|
980
|
+
complete: i ?? void 0
|
|
981
|
+
};
|
|
982
|
+
else {
|
|
983
|
+
var s;
|
|
984
|
+
o && Jt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
985
|
+
return o.unsubscribe();
|
|
986
|
+
}, a = {
|
|
987
|
+
next: r.next && Me(r.next, s),
|
|
988
|
+
error: r.error && Me(r.error, s),
|
|
989
|
+
complete: r.complete && Me(r.complete, s)
|
|
990
|
+
}) : a = r;
|
|
991
|
+
}
|
|
992
|
+
return o.destination = new mn(a), o;
|
|
954
993
|
}
|
|
955
994
|
return t;
|
|
956
|
-
}(
|
|
995
|
+
}(qt);
|
|
957
996
|
function fe(e) {
|
|
958
|
-
|
|
997
|
+
cn(e);
|
|
959
998
|
}
|
|
960
|
-
function
|
|
999
|
+
function dn(e) {
|
|
961
1000
|
throw e;
|
|
962
1001
|
}
|
|
963
|
-
var
|
|
1002
|
+
var pn = {
|
|
964
1003
|
closed: !0,
|
|
965
|
-
next:
|
|
966
|
-
error:
|
|
967
|
-
complete:
|
|
1004
|
+
next: dt,
|
|
1005
|
+
error: dn,
|
|
1006
|
+
complete: dt
|
|
968
1007
|
}, bn = function() {
|
|
969
1008
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
970
1009
|
}();
|
|
@@ -978,7 +1017,7 @@ function yn(e) {
|
|
|
978
1017
|
}, r);
|
|
979
1018
|
};
|
|
980
1019
|
}
|
|
981
|
-
var
|
|
1020
|
+
var pt = function() {
|
|
982
1021
|
function e(t) {
|
|
983
1022
|
t && (this._subscribe = t);
|
|
984
1023
|
}
|
|
@@ -986,7 +1025,7 @@ var gt = function() {
|
|
|
986
1025
|
var r = new e();
|
|
987
1026
|
return r.source = this, r.operator = t, r;
|
|
988
1027
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
989
|
-
var i = this, o = _n(t) ? t : new
|
|
1028
|
+
var i = this, o = _n(t) ? t : new ze(t, r, n);
|
|
990
1029
|
return be(function() {
|
|
991
1030
|
var a = i, s = a.operator, l = a.source;
|
|
992
1031
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -999,8 +1038,8 @@ var gt = function() {
|
|
|
999
1038
|
}
|
|
1000
1039
|
}, e.prototype.forEach = function(t, r) {
|
|
1001
1040
|
var n = this;
|
|
1002
|
-
return r =
|
|
1003
|
-
var a = new
|
|
1041
|
+
return r = bt(r), new r(function(i, o) {
|
|
1042
|
+
var a = new ze({
|
|
1004
1043
|
next: function(s) {
|
|
1005
1044
|
try {
|
|
1006
1045
|
t(s);
|
|
@@ -1024,7 +1063,7 @@ var gt = function() {
|
|
|
1024
1063
|
return yn(t)(this);
|
|
1025
1064
|
}, e.prototype.toPromise = function(t) {
|
|
1026
1065
|
var r = this;
|
|
1027
|
-
return t =
|
|
1066
|
+
return t = bt(t), new t(function(n, i) {
|
|
1028
1067
|
var o;
|
|
1029
1068
|
r.subscribe(function(a) {
|
|
1030
1069
|
return o = a;
|
|
@@ -1038,28 +1077,28 @@ var gt = function() {
|
|
|
1038
1077
|
return new e(t);
|
|
1039
1078
|
}, e;
|
|
1040
1079
|
}();
|
|
1041
|
-
function
|
|
1080
|
+
function bt(e) {
|
|
1042
1081
|
var t;
|
|
1043
|
-
return (t = e ??
|
|
1082
|
+
return (t = e ?? Jt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1044
1083
|
}
|
|
1045
1084
|
function vn(e) {
|
|
1046
|
-
return e &&
|
|
1085
|
+
return e && L(e.next) && L(e.error) && L(e.complete);
|
|
1047
1086
|
}
|
|
1048
1087
|
function _n(e) {
|
|
1049
|
-
return e && e instanceof
|
|
1088
|
+
return e && e instanceof qt || vn(e) && Qt(e);
|
|
1050
1089
|
}
|
|
1051
|
-
var xn =
|
|
1090
|
+
var xn = Wt(function(e) {
|
|
1052
1091
|
return function() {
|
|
1053
1092
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1054
1093
|
};
|
|
1055
|
-
}),
|
|
1056
|
-
|
|
1094
|
+
}), Yt = function(e) {
|
|
1095
|
+
R(t, e);
|
|
1057
1096
|
function t() {
|
|
1058
1097
|
var r = e.call(this) || this;
|
|
1059
1098
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1060
1099
|
}
|
|
1061
1100
|
return t.prototype.lift = function(r) {
|
|
1062
|
-
var n = new
|
|
1101
|
+
var n = new gt(this, this);
|
|
1063
1102
|
return n.operator = r, n;
|
|
1064
1103
|
}, t.prototype._throwIfClosed = function() {
|
|
1065
1104
|
if (this.closed)
|
|
@@ -1071,7 +1110,7 @@ var xn = Qt(function(e) {
|
|
|
1071
1110
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1072
1111
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1073
1112
|
try {
|
|
1074
|
-
for (var a =
|
|
1113
|
+
for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1075
1114
|
var l = s.value;
|
|
1076
1115
|
l.next(r);
|
|
1077
1116
|
}
|
|
@@ -1120,20 +1159,20 @@ var xn = Qt(function(e) {
|
|
|
1120
1159
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1121
1160
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1122
1161
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1123
|
-
return o || a ?
|
|
1124
|
-
n.currentObservers = null,
|
|
1162
|
+
return o || a ? Zt : (this.currentObservers = null, s.push(r), new Te(function() {
|
|
1163
|
+
n.currentObservers = null, Xe(s, r);
|
|
1125
1164
|
}));
|
|
1126
1165
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1127
1166
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1128
1167
|
i ? r.error(o) : a && r.complete();
|
|
1129
1168
|
}, t.prototype.asObservable = function() {
|
|
1130
|
-
var r = new
|
|
1169
|
+
var r = new pt();
|
|
1131
1170
|
return r.source = this, r;
|
|
1132
1171
|
}, t.create = function(r, n) {
|
|
1133
|
-
return new
|
|
1172
|
+
return new gt(r, n);
|
|
1134
1173
|
}, t;
|
|
1135
|
-
}(
|
|
1136
|
-
|
|
1174
|
+
}(pt), gt = function(e) {
|
|
1175
|
+
R(t, e);
|
|
1137
1176
|
function t(r, n) {
|
|
1138
1177
|
var i = e.call(this) || this;
|
|
1139
1178
|
return i.destination = r, i.source = n, i;
|
|
@@ -1149,17 +1188,17 @@ var xn = Qt(function(e) {
|
|
|
1149
1188
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1150
1189
|
}, t.prototype._subscribe = function(r) {
|
|
1151
1190
|
var n, i;
|
|
1152
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1191
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
|
|
1153
1192
|
}, t;
|
|
1154
|
-
}(
|
|
1193
|
+
}(Yt), Kt = {
|
|
1155
1194
|
now: function() {
|
|
1156
|
-
return (
|
|
1195
|
+
return (Kt.delegate || Date).now();
|
|
1157
1196
|
},
|
|
1158
1197
|
delegate: void 0
|
|
1159
1198
|
}, En = function(e) {
|
|
1160
|
-
|
|
1199
|
+
R(t, e);
|
|
1161
1200
|
function t(r, n, i) {
|
|
1162
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1201
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
|
|
1163
1202
|
var o = e.call(this) || this;
|
|
1164
1203
|
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;
|
|
1165
1204
|
}
|
|
@@ -1179,24 +1218,24 @@ var xn = Qt(function(e) {
|
|
|
1179
1218
|
u && o.splice(0, u + 1);
|
|
1180
1219
|
}
|
|
1181
1220
|
}, t;
|
|
1182
|
-
}(
|
|
1183
|
-
const
|
|
1184
|
-
if (
|
|
1221
|
+
}(Yt);
|
|
1222
|
+
const yt = [], vt = {}, wn = (e, t = 0) => {
|
|
1223
|
+
if (yt.indexOf(e) == -1) {
|
|
1185
1224
|
const r = new En(t);
|
|
1186
|
-
|
|
1225
|
+
vt[e] = r, yt.push(e);
|
|
1187
1226
|
}
|
|
1188
|
-
return
|
|
1227
|
+
return vt[e];
|
|
1189
1228
|
}, k = [];
|
|
1190
1229
|
function Sn(e, t) {
|
|
1191
1230
|
return {
|
|
1192
|
-
subscribe:
|
|
1231
|
+
subscribe: He(e, t).subscribe
|
|
1193
1232
|
};
|
|
1194
1233
|
}
|
|
1195
|
-
function
|
|
1234
|
+
function He(e, t = M) {
|
|
1196
1235
|
let r;
|
|
1197
1236
|
const n = /* @__PURE__ */ new Set();
|
|
1198
1237
|
function i(s) {
|
|
1199
|
-
if (
|
|
1238
|
+
if (Ut(e, s) && (e = s, r)) {
|
|
1200
1239
|
const l = !k.length;
|
|
1201
1240
|
for (const u of n)
|
|
1202
1241
|
u[1](), k.push(u, e);
|
|
@@ -1218,7 +1257,7 @@ function Ae(e, t = M) {
|
|
|
1218
1257
|
}
|
|
1219
1258
|
return { set: i, update: o, subscribe: a };
|
|
1220
1259
|
}
|
|
1221
|
-
function
|
|
1260
|
+
function Y(e, t, r) {
|
|
1222
1261
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1223
1262
|
if (!i.every(Boolean))
|
|
1224
1263
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1232,24 +1271,24 @@ function q(e, t, r) {
|
|
|
1232
1271
|
return;
|
|
1233
1272
|
c();
|
|
1234
1273
|
const m = t(n ? u[0] : u, a, s);
|
|
1235
|
-
o ? a(m) : c =
|
|
1236
|
-
},
|
|
1237
|
-
(m,
|
|
1274
|
+
o ? a(m) : c = Se(m) ? m : M;
|
|
1275
|
+
}, d = i.map(
|
|
1276
|
+
(m, p) => Dt(
|
|
1238
1277
|
m,
|
|
1239
1278
|
(g) => {
|
|
1240
|
-
u[
|
|
1279
|
+
u[p] = g, h &= ~(1 << p), l && f();
|
|
1241
1280
|
},
|
|
1242
1281
|
() => {
|
|
1243
|
-
h |= 1 <<
|
|
1282
|
+
h |= 1 << p;
|
|
1244
1283
|
}
|
|
1245
1284
|
)
|
|
1246
1285
|
);
|
|
1247
1286
|
return l = !0, f(), function() {
|
|
1248
|
-
G(
|
|
1287
|
+
G(d), c(), l = !1;
|
|
1249
1288
|
};
|
|
1250
1289
|
});
|
|
1251
1290
|
}
|
|
1252
|
-
var
|
|
1291
|
+
var Po = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1253
1292
|
function Tn(e) {
|
|
1254
1293
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1255
1294
|
}
|
|
@@ -1270,209 +1309,159 @@ function On(e) {
|
|
|
1270
1309
|
function In(e) {
|
|
1271
1310
|
return Array.isArray(e) ? [] : {};
|
|
1272
1311
|
}
|
|
1273
|
-
function
|
|
1274
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1312
|
+
function oe(e, t) {
|
|
1313
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(In(e), e, t) : e;
|
|
1275
1314
|
}
|
|
1276
1315
|
function Mn(e, t, r) {
|
|
1277
1316
|
return e.concat(t).map(function(n) {
|
|
1278
|
-
return
|
|
1317
|
+
return oe(n, r);
|
|
1279
1318
|
});
|
|
1280
1319
|
}
|
|
1281
1320
|
function Nn(e, t) {
|
|
1282
1321
|
if (!t.customMerge)
|
|
1283
|
-
return
|
|
1322
|
+
return Z;
|
|
1284
1323
|
var r = t.customMerge(e);
|
|
1285
|
-
return typeof r == "function" ? r :
|
|
1324
|
+
return typeof r == "function" ? r : Z;
|
|
1286
1325
|
}
|
|
1287
1326
|
function Ln(e) {
|
|
1288
1327
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1289
1328
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1290
1329
|
}) : [];
|
|
1291
1330
|
}
|
|
1292
|
-
function
|
|
1331
|
+
function _t(e) {
|
|
1293
1332
|
return Object.keys(e).concat(Ln(e));
|
|
1294
1333
|
}
|
|
1295
|
-
function
|
|
1334
|
+
function er(e, t) {
|
|
1296
1335
|
try {
|
|
1297
1336
|
return t in e;
|
|
1298
1337
|
} catch {
|
|
1299
1338
|
return !1;
|
|
1300
1339
|
}
|
|
1301
1340
|
}
|
|
1302
|
-
function
|
|
1303
|
-
return
|
|
1341
|
+
function Rn(e, t) {
|
|
1342
|
+
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1304
1343
|
}
|
|
1305
|
-
function
|
|
1344
|
+
function $n(e, t, r) {
|
|
1306
1345
|
var n = {};
|
|
1307
|
-
return r.isMergeableObject(e) &&
|
|
1308
|
-
n[i] =
|
|
1309
|
-
}),
|
|
1310
|
-
|
|
1346
|
+
return r.isMergeableObject(e) && _t(e).forEach(function(i) {
|
|
1347
|
+
n[i] = oe(e[i], r);
|
|
1348
|
+
}), _t(t).forEach(function(i) {
|
|
1349
|
+
Rn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1311
1350
|
}), n;
|
|
1312
1351
|
}
|
|
1313
|
-
function
|
|
1314
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified =
|
|
1352
|
+
function Z(e, t, r) {
|
|
1353
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1315
1354
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1316
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1355
|
+
return o ? n ? r.arrayMerge(e, t, r) : $n(e, t, r) : oe(t, r);
|
|
1317
1356
|
}
|
|
1318
|
-
|
|
1357
|
+
Z.all = function(t, r) {
|
|
1319
1358
|
if (!Array.isArray(t))
|
|
1320
1359
|
throw new Error("first argument should be an array");
|
|
1321
1360
|
return t.reduce(function(n, i) {
|
|
1322
|
-
return
|
|
1361
|
+
return Z(n, i, r);
|
|
1323
1362
|
}, {});
|
|
1324
1363
|
};
|
|
1325
|
-
var Gn =
|
|
1364
|
+
var Gn = Z, Un = Gn;
|
|
1326
1365
|
const Dn = /* @__PURE__ */ Tn(Un);
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
r.__proto__ = n;
|
|
1330
|
-
} || function(r, n) {
|
|
1331
|
-
for (var i in n)
|
|
1332
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1333
|
-
}, Je(e, t);
|
|
1334
|
-
};
|
|
1335
|
-
function Be(e, t) {
|
|
1336
|
-
if (typeof t != "function" && t !== null)
|
|
1337
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1338
|
-
Je(e, t);
|
|
1339
|
-
function r() {
|
|
1340
|
-
this.constructor = e;
|
|
1341
|
-
}
|
|
1342
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1343
|
-
}
|
|
1344
|
-
var N = function() {
|
|
1345
|
-
return N = Object.assign || function(t) {
|
|
1346
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1347
|
-
r = arguments[n];
|
|
1348
|
-
for (var o in r)
|
|
1349
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1350
|
-
}
|
|
1351
|
-
return t;
|
|
1352
|
-
}, N.apply(this, arguments);
|
|
1353
|
-
};
|
|
1354
|
-
function Fn(e, t) {
|
|
1355
|
-
var r = {};
|
|
1356
|
-
for (var n in e)
|
|
1357
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1358
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1359
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1360
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1361
|
-
return r;
|
|
1362
|
-
}
|
|
1363
|
-
function Le(e, t, r) {
|
|
1364
|
-
if (r || arguments.length === 2)
|
|
1365
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1366
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1367
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1368
|
-
}
|
|
1369
|
-
function $e(e, t) {
|
|
1370
|
-
var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : zn, i = t && t.strategy ? t.strategy : Vn;
|
|
1366
|
+
function Ne(e, t) {
|
|
1367
|
+
var r = t && t.cache ? t.cache : zn, n = t && t.serializer ? t.serializer : Xn, i = t && t.strategy ? t.strategy : jn;
|
|
1371
1368
|
return i(e, {
|
|
1372
1369
|
cache: r,
|
|
1373
1370
|
serializer: n
|
|
1374
1371
|
});
|
|
1375
1372
|
}
|
|
1376
|
-
function
|
|
1373
|
+
function Fn(e) {
|
|
1377
1374
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1378
1375
|
}
|
|
1379
|
-
function
|
|
1380
|
-
var i =
|
|
1376
|
+
function tr(e, t, r, n) {
|
|
1377
|
+
var i = Fn(n) ? n : r(n), o = t.get(i);
|
|
1381
1378
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1382
1379
|
}
|
|
1383
1380
|
function rr(e, t, r) {
|
|
1384
1381
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1385
1382
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1386
1383
|
}
|
|
1387
|
-
function
|
|
1384
|
+
function it(e, t, r, n, i) {
|
|
1388
1385
|
return r.bind(t, e, n, i);
|
|
1389
1386
|
}
|
|
1390
|
-
function
|
|
1391
|
-
var r = e.length === 1 ?
|
|
1392
|
-
return
|
|
1387
|
+
function jn(e, t) {
|
|
1388
|
+
var r = e.length === 1 ? tr : rr;
|
|
1389
|
+
return it(e, this, r, t.cache.create(), t.serializer);
|
|
1393
1390
|
}
|
|
1394
|
-
function
|
|
1395
|
-
return
|
|
1391
|
+
function kn(e, t) {
|
|
1392
|
+
return it(e, this, rr, t.cache.create(), t.serializer);
|
|
1396
1393
|
}
|
|
1397
|
-
|
|
1394
|
+
function Vn(e, t) {
|
|
1395
|
+
return it(e, this, tr, t.cache.create(), t.serializer);
|
|
1396
|
+
}
|
|
1397
|
+
var Xn = function() {
|
|
1398
1398
|
return JSON.stringify(arguments);
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
}()
|
|
1411
|
-
), Zn = {
|
|
1399
|
+
};
|
|
1400
|
+
function ot() {
|
|
1401
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1402
|
+
}
|
|
1403
|
+
ot.prototype.get = function(e) {
|
|
1404
|
+
return this.cache[e];
|
|
1405
|
+
};
|
|
1406
|
+
ot.prototype.set = function(e, t) {
|
|
1407
|
+
this.cache[e] = t;
|
|
1408
|
+
};
|
|
1409
|
+
var zn = {
|
|
1412
1410
|
create: function() {
|
|
1413
|
-
return new
|
|
1411
|
+
return new ot();
|
|
1414
1412
|
}
|
|
1415
|
-
},
|
|
1416
|
-
variadic:
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1420
|
-
r = arguments[n];
|
|
1421
|
-
for (var o in r)
|
|
1422
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1423
|
-
}
|
|
1424
|
-
return t;
|
|
1425
|
-
}, Ee.apply(this, arguments);
|
|
1426
|
-
};
|
|
1427
|
-
var y;
|
|
1413
|
+
}, Le = {
|
|
1414
|
+
variadic: kn,
|
|
1415
|
+
monadic: Vn
|
|
1416
|
+
}, y;
|
|
1428
1417
|
(function(e) {
|
|
1429
1418
|
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";
|
|
1430
1419
|
})(y || (y = {}));
|
|
1431
|
-
var
|
|
1420
|
+
var S;
|
|
1432
1421
|
(function(e) {
|
|
1433
1422
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1434
|
-
})(
|
|
1435
|
-
var
|
|
1423
|
+
})(S || (S = {}));
|
|
1424
|
+
var Q;
|
|
1436
1425
|
(function(e) {
|
|
1437
1426
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1438
|
-
})(
|
|
1439
|
-
function
|
|
1440
|
-
return e.type ===
|
|
1427
|
+
})(Q || (Q = {}));
|
|
1428
|
+
function xt(e) {
|
|
1429
|
+
return e.type === S.literal;
|
|
1430
|
+
}
|
|
1431
|
+
function Wn(e) {
|
|
1432
|
+
return e.type === S.argument;
|
|
1441
1433
|
}
|
|
1442
|
-
function
|
|
1443
|
-
return e.type ===
|
|
1434
|
+
function nr(e) {
|
|
1435
|
+
return e.type === S.number;
|
|
1444
1436
|
}
|
|
1445
1437
|
function ir(e) {
|
|
1446
|
-
return e.type ===
|
|
1438
|
+
return e.type === S.date;
|
|
1447
1439
|
}
|
|
1448
1440
|
function or(e) {
|
|
1449
|
-
return e.type ===
|
|
1441
|
+
return e.type === S.time;
|
|
1450
1442
|
}
|
|
1451
1443
|
function sr(e) {
|
|
1452
|
-
return e.type ===
|
|
1444
|
+
return e.type === S.select;
|
|
1453
1445
|
}
|
|
1454
1446
|
function ar(e) {
|
|
1455
|
-
return e.type ===
|
|
1447
|
+
return e.type === S.plural;
|
|
1456
1448
|
}
|
|
1457
|
-
function
|
|
1458
|
-
return e.type ===
|
|
1449
|
+
function Zn(e) {
|
|
1450
|
+
return e.type === S.pound;
|
|
1459
1451
|
}
|
|
1460
|
-
function
|
|
1461
|
-
return e.type ===
|
|
1452
|
+
function ur(e) {
|
|
1453
|
+
return e.type === S.tag;
|
|
1462
1454
|
}
|
|
1463
1455
|
function lr(e) {
|
|
1464
|
-
return e.type ===
|
|
1465
|
-
}
|
|
1466
|
-
function hr(e) {
|
|
1467
|
-
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1456
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1468
1457
|
}
|
|
1469
|
-
function
|
|
1470
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1458
|
+
function We(e) {
|
|
1459
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1471
1460
|
}
|
|
1472
|
-
var
|
|
1473
|
-
function
|
|
1461
|
+
var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qn = /(?:[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;
|
|
1462
|
+
function Jn(e) {
|
|
1474
1463
|
var t = {};
|
|
1475
|
-
return e.replace(
|
|
1464
|
+
return e.replace(Qn, function(r) {
|
|
1476
1465
|
var n = r.length;
|
|
1477
1466
|
switch (r[0]) {
|
|
1478
1467
|
case "G":
|
|
@@ -1561,21 +1550,11 @@ function Yn(e) {
|
|
|
1561
1550
|
return "";
|
|
1562
1551
|
}), t;
|
|
1563
1552
|
}
|
|
1564
|
-
var
|
|
1565
|
-
|
|
1566
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1567
|
-
r = arguments[n];
|
|
1568
|
-
for (var o in r)
|
|
1569
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1570
|
-
}
|
|
1571
|
-
return t;
|
|
1572
|
-
}, S.apply(this, arguments);
|
|
1573
|
-
};
|
|
1574
|
-
var Kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1575
|
-
function ei(e) {
|
|
1553
|
+
var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1554
|
+
function Yn(e) {
|
|
1576
1555
|
if (e.length === 0)
|
|
1577
1556
|
throw new Error("Number skeleton cannot be empty");
|
|
1578
|
-
for (var t = e.split(
|
|
1557
|
+
for (var t = e.split(qn).filter(function(f) {
|
|
1579
1558
|
return f.length > 0;
|
|
1580
1559
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1581
1560
|
var o = i[n], a = o.split("/");
|
|
@@ -1590,17 +1569,17 @@ function ei(e) {
|
|
|
1590
1569
|
}
|
|
1591
1570
|
return r;
|
|
1592
1571
|
}
|
|
1593
|
-
function
|
|
1572
|
+
function Kn(e) {
|
|
1594
1573
|
return e.replace(/^(.*?)-/, "");
|
|
1595
1574
|
}
|
|
1596
|
-
var
|
|
1597
|
-
function
|
|
1575
|
+
var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
|
1576
|
+
function wt(e) {
|
|
1598
1577
|
var t = {};
|
|
1599
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1578
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
|
|
1600
1579
|
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)), "";
|
|
1601
1580
|
}), t;
|
|
1602
1581
|
}
|
|
1603
|
-
function
|
|
1582
|
+
function mr(e) {
|
|
1604
1583
|
switch (e) {
|
|
1605
1584
|
case "sign-auto":
|
|
1606
1585
|
return {
|
|
@@ -1640,7 +1619,7 @@ function pr(e) {
|
|
|
1640
1619
|
};
|
|
1641
1620
|
}
|
|
1642
1621
|
}
|
|
1643
|
-
function
|
|
1622
|
+
function ti(e) {
|
|
1644
1623
|
var t;
|
|
1645
1624
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1646
1625
|
notation: "engineering"
|
|
@@ -1648,17 +1627,17 @@ function ni(e) {
|
|
|
1648
1627
|
notation: "scientific"
|
|
1649
1628
|
}, e = e.slice(1)), t) {
|
|
1650
1629
|
var r = e.slice(0, 2);
|
|
1651
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1630
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
|
|
1652
1631
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1653
1632
|
t.minimumIntegerDigits = e.length;
|
|
1654
1633
|
}
|
|
1655
1634
|
return t;
|
|
1656
1635
|
}
|
|
1657
|
-
function
|
|
1658
|
-
var t = {}, r =
|
|
1636
|
+
function St(e) {
|
|
1637
|
+
var t = {}, r = mr(e);
|
|
1659
1638
|
return r || t;
|
|
1660
1639
|
}
|
|
1661
|
-
function
|
|
1640
|
+
function ri(e) {
|
|
1662
1641
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1663
1642
|
var i = n[r];
|
|
1664
1643
|
switch (i.stem) {
|
|
@@ -1682,7 +1661,7 @@ function ii(e) {
|
|
|
1682
1661
|
continue;
|
|
1683
1662
|
case "measure-unit":
|
|
1684
1663
|
case "unit":
|
|
1685
|
-
t.style = "unit", t.unit =
|
|
1664
|
+
t.style = "unit", t.unit = Kn(i.options[0]);
|
|
1686
1665
|
continue;
|
|
1687
1666
|
case "compact-short":
|
|
1688
1667
|
case "K":
|
|
@@ -1693,13 +1672,13 @@ function ii(e) {
|
|
|
1693
1672
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1694
1673
|
continue;
|
|
1695
1674
|
case "scientific":
|
|
1696
|
-
t =
|
|
1697
|
-
return
|
|
1675
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1676
|
+
return E(E({}, l), St(u));
|
|
1698
1677
|
}, {}));
|
|
1699
1678
|
continue;
|
|
1700
1679
|
case "engineering":
|
|
1701
|
-
t =
|
|
1702
|
-
return
|
|
1680
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1681
|
+
return E(E({}, l), St(u));
|
|
1703
1682
|
}, {}));
|
|
1704
1683
|
continue;
|
|
1705
1684
|
case "notation-simple":
|
|
@@ -1744,41 +1723,41 @@ function ii(e) {
|
|
|
1744
1723
|
case "integer-width":
|
|
1745
1724
|
if (i.options.length > 1)
|
|
1746
1725
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1747
|
-
i.options[0].replace(
|
|
1726
|
+
i.options[0].replace(ei, function(l, u, h, c, f, d) {
|
|
1748
1727
|
if (u)
|
|
1749
1728
|
t.minimumIntegerDigits = h.length;
|
|
1750
1729
|
else {
|
|
1751
1730
|
if (c && f)
|
|
1752
1731
|
throw new Error("We currently do not support maximum integer digits");
|
|
1753
|
-
if (
|
|
1732
|
+
if (d)
|
|
1754
1733
|
throw new Error("We currently do not support exact integer digits");
|
|
1755
1734
|
}
|
|
1756
1735
|
return "";
|
|
1757
1736
|
});
|
|
1758
1737
|
continue;
|
|
1759
1738
|
}
|
|
1760
|
-
if (
|
|
1739
|
+
if (fr.test(i.stem)) {
|
|
1761
1740
|
t.minimumIntegerDigits = i.stem.length;
|
|
1762
1741
|
continue;
|
|
1763
1742
|
}
|
|
1764
|
-
if (
|
|
1743
|
+
if (Et.test(i.stem)) {
|
|
1765
1744
|
if (i.options.length > 1)
|
|
1766
1745
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1767
|
-
i.stem.replace(
|
|
1768
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1746
|
+
i.stem.replace(Et, function(l, u, h, c, f, d) {
|
|
1747
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1769
1748
|
});
|
|
1770
1749
|
var o = i.options[0];
|
|
1771
|
-
o === "w" ? t =
|
|
1750
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), wt(o)));
|
|
1772
1751
|
continue;
|
|
1773
1752
|
}
|
|
1774
|
-
if (
|
|
1775
|
-
t =
|
|
1753
|
+
if (cr.test(i.stem)) {
|
|
1754
|
+
t = E(E({}, t), wt(i.stem));
|
|
1776
1755
|
continue;
|
|
1777
1756
|
}
|
|
1778
|
-
var a =
|
|
1779
|
-
a && (t =
|
|
1780
|
-
var s =
|
|
1781
|
-
s && (t =
|
|
1757
|
+
var a = mr(i.stem);
|
|
1758
|
+
a && (t = E(E({}, t), a));
|
|
1759
|
+
var s = ti(i.stem);
|
|
1760
|
+
s && (t = E(E({}, t), s));
|
|
1782
1761
|
}
|
|
1783
1762
|
return t;
|
|
1784
1763
|
}
|
|
@@ -3197,13 +3176,13 @@ var me = {
|
|
|
3197
3176
|
"h"
|
|
3198
3177
|
]
|
|
3199
3178
|
};
|
|
3200
|
-
function
|
|
3179
|
+
function ni(e, t) {
|
|
3201
3180
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3202
3181
|
var i = e.charAt(n);
|
|
3203
3182
|
if (i === "j") {
|
|
3204
3183
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3205
3184
|
o++, n++;
|
|
3206
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3185
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ii(t);
|
|
3207
3186
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3208
3187
|
r += l;
|
|
3209
3188
|
for (; a-- > 0; )
|
|
@@ -3213,7 +3192,7 @@ function oi(e, t) {
|
|
|
3213
3192
|
}
|
|
3214
3193
|
return r;
|
|
3215
3194
|
}
|
|
3216
|
-
function
|
|
3195
|
+
function ii(e) {
|
|
3217
3196
|
var t = e.hourCycle;
|
|
3218
3197
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3219
3198
|
e.hourCycles && // @ts-ignore
|
|
@@ -3235,20 +3214,20 @@ function si(e) {
|
|
|
3235
3214
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
|
3236
3215
|
return i[0];
|
|
3237
3216
|
}
|
|
3238
|
-
var
|
|
3217
|
+
var Re, oi = new RegExp("^".concat(hr.source, "*")), si = new RegExp("".concat(hr.source, "*$"));
|
|
3239
3218
|
function _(e, t) {
|
|
3240
3219
|
return { start: e, end: t };
|
|
3241
3220
|
}
|
|
3242
|
-
var
|
|
3221
|
+
var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, li = !!Object.fromEntries, hi = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, di = mi ? Number.isSafeInteger : function(e) {
|
|
3243
3222
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3244
|
-
},
|
|
3223
|
+
}, Ze = !0;
|
|
3245
3224
|
try {
|
|
3246
|
-
var
|
|
3247
|
-
|
|
3225
|
+
var pi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3226
|
+
Ze = ((Re = pi.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
|
3248
3227
|
} catch {
|
|
3249
|
-
|
|
3228
|
+
Ze = !1;
|
|
3250
3229
|
}
|
|
3251
|
-
var
|
|
3230
|
+
var Tt = ai ? (
|
|
3252
3231
|
// Native
|
|
3253
3232
|
function(t, r, n) {
|
|
3254
3233
|
return t.startsWith(r, n);
|
|
@@ -3258,7 +3237,7 @@ var At = li ? (
|
|
|
3258
3237
|
function(t, r, n) {
|
|
3259
3238
|
return t.slice(n, n + r.length) === r;
|
|
3260
3239
|
}
|
|
3261
|
-
),
|
|
3240
|
+
), Qe = ui ? String.fromCodePoint : (
|
|
3262
3241
|
// IE11
|
|
3263
3242
|
function() {
|
|
3264
3243
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3270,9 +3249,9 @@ var At = li ? (
|
|
|
3270
3249
|
}
|
|
3271
3250
|
return n;
|
|
3272
3251
|
}
|
|
3273
|
-
),
|
|
3252
|
+
), Ht = (
|
|
3274
3253
|
// native
|
|
3275
|
-
|
|
3254
|
+
li ? Object.fromEntries : (
|
|
3276
3255
|
// Ponyfill
|
|
3277
3256
|
function(t) {
|
|
3278
3257
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3282,7 +3261,7 @@ var At = li ? (
|
|
|
3282
3261
|
return r;
|
|
3283
3262
|
}
|
|
3284
3263
|
)
|
|
3285
|
-
), dr =
|
|
3264
|
+
), dr = hi ? (
|
|
3286
3265
|
// Native
|
|
3287
3266
|
function(t, r) {
|
|
3288
3267
|
return t.codePointAt(r);
|
|
@@ -3296,7 +3275,7 @@ var At = li ? (
|
|
|
3296
3275
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3297
3276
|
}
|
|
3298
3277
|
}
|
|
3299
|
-
),
|
|
3278
|
+
), bi = ci ? (
|
|
3300
3279
|
// Native
|
|
3301
3280
|
function(t) {
|
|
3302
3281
|
return t.trimStart();
|
|
@@ -3304,9 +3283,9 @@ var At = li ? (
|
|
|
3304
3283
|
) : (
|
|
3305
3284
|
// Ponyfill
|
|
3306
3285
|
function(t) {
|
|
3307
|
-
return t.replace(
|
|
3286
|
+
return t.replace(oi, "");
|
|
3308
3287
|
}
|
|
3309
|
-
),
|
|
3288
|
+
), gi = fi ? (
|
|
3310
3289
|
// Native
|
|
3311
3290
|
function(t) {
|
|
3312
3291
|
return t.trimEnd();
|
|
@@ -3314,32 +3293,32 @@ var At = li ? (
|
|
|
3314
3293
|
) : (
|
|
3315
3294
|
// Ponyfill
|
|
3316
3295
|
function(t) {
|
|
3317
|
-
return t.replace(
|
|
3296
|
+
return t.replace(si, "");
|
|
3318
3297
|
}
|
|
3319
3298
|
);
|
|
3320
|
-
function
|
|
3299
|
+
function pr(e, t) {
|
|
3321
3300
|
return new RegExp(e, t);
|
|
3322
3301
|
}
|
|
3323
|
-
var
|
|
3324
|
-
if (
|
|
3325
|
-
var
|
|
3326
|
-
|
|
3302
|
+
var Je;
|
|
3303
|
+
if (Ze) {
|
|
3304
|
+
var At = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3305
|
+
Je = function(t, r) {
|
|
3327
3306
|
var n;
|
|
3328
|
-
|
|
3329
|
-
var i =
|
|
3307
|
+
At.lastIndex = r;
|
|
3308
|
+
var i = At.exec(t);
|
|
3330
3309
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3331
3310
|
};
|
|
3332
3311
|
} else
|
|
3333
|
-
|
|
3312
|
+
Je = function(t, r) {
|
|
3334
3313
|
for (var n = []; ; ) {
|
|
3335
3314
|
var i = dr(t, r);
|
|
3336
|
-
if (i === void 0 ||
|
|
3315
|
+
if (i === void 0 || br(i) || xi(i))
|
|
3337
3316
|
break;
|
|
3338
3317
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3339
3318
|
}
|
|
3340
|
-
return
|
|
3319
|
+
return Qe.apply(void 0, n);
|
|
3341
3320
|
};
|
|
3342
|
-
var
|
|
3321
|
+
var yi = (
|
|
3343
3322
|
/** @class */
|
|
3344
3323
|
function() {
|
|
3345
3324
|
function e(t, r) {
|
|
@@ -3363,14 +3342,14 @@ var _i = (
|
|
|
3363
3342
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3364
3343
|
var s = this.clonePosition();
|
|
3365
3344
|
this.bump(), i.push({
|
|
3366
|
-
type:
|
|
3345
|
+
type: S.pound,
|
|
3367
3346
|
location: _(s, this.clonePosition())
|
|
3368
3347
|
});
|
|
3369
3348
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3370
3349
|
if (n)
|
|
3371
3350
|
break;
|
|
3372
3351
|
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3373
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3352
|
+
} else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
|
3374
3353
|
var a = this.parseTag(t, r);
|
|
3375
3354
|
if (a.err)
|
|
3376
3355
|
return a;
|
|
@@ -3391,7 +3370,7 @@ var _i = (
|
|
|
3391
3370
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3392
3371
|
return {
|
|
3393
3372
|
val: {
|
|
3394
|
-
type:
|
|
3373
|
+
type: S.literal,
|
|
3395
3374
|
value: "<".concat(i, "/>"),
|
|
3396
3375
|
location: _(n, this.clonePosition())
|
|
3397
3376
|
},
|
|
@@ -3403,12 +3382,12 @@ var _i = (
|
|
|
3403
3382
|
return o;
|
|
3404
3383
|
var a = o.val, s = this.clonePosition();
|
|
3405
3384
|
if (this.bumpIf("</")) {
|
|
3406
|
-
if (this.isEOF() || !
|
|
3385
|
+
if (this.isEOF() || !qe(this.char()))
|
|
3407
3386
|
return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
|
|
3408
3387
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3409
3388
|
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3410
3389
|
val: {
|
|
3411
|
-
type:
|
|
3390
|
+
type: S.tag,
|
|
3412
3391
|
value: i,
|
|
3413
3392
|
children: a,
|
|
3414
3393
|
location: _(n, this.clonePosition())
|
|
@@ -3421,7 +3400,7 @@ var _i = (
|
|
|
3421
3400
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
3422
3401
|
}, e.prototype.parseTagName = function() {
|
|
3423
3402
|
var t = this.offset();
|
|
3424
|
-
for (this.bump(); !this.isEOF() &&
|
|
3403
|
+
for (this.bump(); !this.isEOF() && _i(this.char()); )
|
|
3425
3404
|
this.bump();
|
|
3426
3405
|
return this.message.slice(t, this.offset());
|
|
3427
3406
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3445,12 +3424,12 @@ var _i = (
|
|
|
3445
3424
|
}
|
|
3446
3425
|
var l = _(n, this.clonePosition());
|
|
3447
3426
|
return {
|
|
3448
|
-
val: { type:
|
|
3427
|
+
val: { type: S.literal, value: i, location: l },
|
|
3449
3428
|
err: null
|
|
3450
3429
|
};
|
|
3451
3430
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3452
3431
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3453
|
-
!
|
|
3432
|
+
!vi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3454
3433
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3455
3434
|
if (this.isEOF() || this.char() !== 39)
|
|
3456
3435
|
return null;
|
|
@@ -3484,12 +3463,12 @@ var _i = (
|
|
|
3484
3463
|
r.push(n);
|
|
3485
3464
|
this.bump();
|
|
3486
3465
|
}
|
|
3487
|
-
return
|
|
3466
|
+
return Qe.apply(void 0, r);
|
|
3488
3467
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3489
3468
|
if (this.isEOF())
|
|
3490
3469
|
return null;
|
|
3491
3470
|
var n = this.char();
|
|
3492
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3471
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
|
3493
3472
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3494
3473
|
var n = this.clonePosition();
|
|
3495
3474
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3505,7 +3484,7 @@ var _i = (
|
|
|
3505
3484
|
case 125:
|
|
3506
3485
|
return this.bump(), {
|
|
3507
3486
|
val: {
|
|
3508
|
-
type:
|
|
3487
|
+
type: S.argument,
|
|
3509
3488
|
// value does not include the opening and closing braces.
|
|
3510
3489
|
value: i,
|
|
3511
3490
|
location: _(n, this.clonePosition())
|
|
@@ -3518,7 +3497,7 @@ var _i = (
|
|
|
3518
3497
|
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3519
3498
|
}
|
|
3520
3499
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3521
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3500
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3522
3501
|
this.bumpTo(i);
|
|
3523
3502
|
var o = this.clonePosition(), a = _(t, o);
|
|
3524
3503
|
return { value: n, location: a };
|
|
@@ -3537,46 +3516,46 @@ var _i = (
|
|
|
3537
3516
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3538
3517
|
if (c.err)
|
|
3539
3518
|
return c;
|
|
3540
|
-
var f =
|
|
3519
|
+
var f = gi(c.val);
|
|
3541
3520
|
if (f.length === 0)
|
|
3542
3521
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3543
|
-
var
|
|
3544
|
-
u = { style: f, styleLocation:
|
|
3522
|
+
var d = _(h, this.clonePosition());
|
|
3523
|
+
u = { style: f, styleLocation: d };
|
|
3545
3524
|
}
|
|
3546
3525
|
var m = this.tryParseArgumentClose(i);
|
|
3547
3526
|
if (m.err)
|
|
3548
3527
|
return m;
|
|
3549
|
-
var
|
|
3550
|
-
if (u &&
|
|
3551
|
-
var g =
|
|
3528
|
+
var p = _(i, this.clonePosition());
|
|
3529
|
+
if (u && Tt(u?.style, "::", 0)) {
|
|
3530
|
+
var g = bi(u.style.slice(2));
|
|
3552
3531
|
if (s === "number") {
|
|
3553
3532
|
var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3554
3533
|
return c.err ? c : {
|
|
3555
|
-
val: { type:
|
|
3534
|
+
val: { type: S.number, value: n, location: p, style: c.val },
|
|
3556
3535
|
err: null
|
|
3557
3536
|
};
|
|
3558
3537
|
} else {
|
|
3559
3538
|
if (g.length === 0)
|
|
3560
|
-
return this.error(y.EXPECT_DATE_TIME_SKELETON,
|
|
3539
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
|
|
3561
3540
|
var A = g;
|
|
3562
|
-
this.locale && (A =
|
|
3541
|
+
this.locale && (A = ni(g, this.locale));
|
|
3563
3542
|
var f = {
|
|
3564
|
-
type:
|
|
3543
|
+
type: Q.dateTime,
|
|
3565
3544
|
pattern: A,
|
|
3566
3545
|
location: u.styleLocation,
|
|
3567
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3568
|
-
}, T = s === "date" ?
|
|
3546
|
+
parsedOptions: this.shouldParseSkeletons ? Jn(A) : {}
|
|
3547
|
+
}, T = s === "date" ? S.date : S.time;
|
|
3569
3548
|
return {
|
|
3570
|
-
val: { type: T, value: n, location:
|
|
3549
|
+
val: { type: T, value: n, location: p, style: f },
|
|
3571
3550
|
err: null
|
|
3572
3551
|
};
|
|
3573
3552
|
}
|
|
3574
3553
|
}
|
|
3575
3554
|
return {
|
|
3576
3555
|
val: {
|
|
3577
|
-
type: s === "number" ?
|
|
3556
|
+
type: s === "number" ? S.number : s === "date" ? S.date : S.time,
|
|
3578
3557
|
value: n,
|
|
3579
|
-
location:
|
|
3558
|
+
location: p,
|
|
3580
3559
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3581
3560
|
},
|
|
3582
3561
|
err: null
|
|
@@ -3587,19 +3566,19 @@ var _i = (
|
|
|
3587
3566
|
case "select": {
|
|
3588
3567
|
var x = this.clonePosition();
|
|
3589
3568
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3590
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x,
|
|
3569
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, E({}, x)));
|
|
3591
3570
|
this.bumpSpace();
|
|
3592
|
-
var
|
|
3593
|
-
if (s !== "select" &&
|
|
3571
|
+
var w = this.parseIdentifierIfPossible(), b = 0;
|
|
3572
|
+
if (s !== "select" && w.value === "offset") {
|
|
3594
3573
|
if (!this.bumpIf(":"))
|
|
3595
3574
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3596
3575
|
this.bumpSpace();
|
|
3597
3576
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3598
3577
|
if (c.err)
|
|
3599
3578
|
return c;
|
|
3600
|
-
this.bumpSpace(),
|
|
3579
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), b = c.val;
|
|
3601
3580
|
}
|
|
3602
|
-
var B = this.tryParsePluralOrSelectOptions(t, s, r,
|
|
3581
|
+
var B = this.tryParsePluralOrSelectOptions(t, s, r, w);
|
|
3603
3582
|
if (B.err)
|
|
3604
3583
|
return B;
|
|
3605
3584
|
var m = this.tryParseArgumentClose(i);
|
|
@@ -3608,17 +3587,17 @@ var _i = (
|
|
|
3608
3587
|
var he = _(i, this.clonePosition());
|
|
3609
3588
|
return s === "select" ? {
|
|
3610
3589
|
val: {
|
|
3611
|
-
type:
|
|
3590
|
+
type: S.select,
|
|
3612
3591
|
value: n,
|
|
3613
|
-
options:
|
|
3592
|
+
options: Ht(B.val),
|
|
3614
3593
|
location: he
|
|
3615
3594
|
},
|
|
3616
3595
|
err: null
|
|
3617
3596
|
} : {
|
|
3618
3597
|
val: {
|
|
3619
|
-
type:
|
|
3598
|
+
type: S.plural,
|
|
3620
3599
|
value: n,
|
|
3621
|
-
options:
|
|
3600
|
+
options: Ht(B.val),
|
|
3622
3601
|
offset: b,
|
|
3623
3602
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3624
3603
|
location: he
|
|
@@ -3669,16 +3648,16 @@ var _i = (
|
|
|
3669
3648
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3670
3649
|
var n = [];
|
|
3671
3650
|
try {
|
|
3672
|
-
n =
|
|
3651
|
+
n = Yn(t);
|
|
3673
3652
|
} catch {
|
|
3674
3653
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3675
3654
|
}
|
|
3676
3655
|
return {
|
|
3677
3656
|
val: {
|
|
3678
|
-
type:
|
|
3657
|
+
type: Q.number,
|
|
3679
3658
|
tokens: n,
|
|
3680
3659
|
location: r,
|
|
3681
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3660
|
+
parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
|
|
3682
3661
|
},
|
|
3683
3662
|
err: null
|
|
3684
3663
|
};
|
|
@@ -3697,20 +3676,20 @@ var _i = (
|
|
|
3697
3676
|
if (l.has(u))
|
|
3698
3677
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3699
3678
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3700
|
-
var
|
|
3679
|
+
var d = this.clonePosition();
|
|
3701
3680
|
if (!this.bumpIf("{"))
|
|
3702
3681
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3703
3682
|
var m = this.parseMessage(t + 1, r, n);
|
|
3704
3683
|
if (m.err)
|
|
3705
3684
|
return m;
|
|
3706
|
-
var
|
|
3707
|
-
if (
|
|
3708
|
-
return
|
|
3685
|
+
var p = this.tryParseArgumentClose(d);
|
|
3686
|
+
if (p.err)
|
|
3687
|
+
return p;
|
|
3709
3688
|
s.push([
|
|
3710
3689
|
u,
|
|
3711
3690
|
{
|
|
3712
3691
|
value: m.val,
|
|
3713
|
-
location: _(
|
|
3692
|
+
location: _(d, this.clonePosition())
|
|
3714
3693
|
}
|
|
3715
3694
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3716
3695
|
}
|
|
@@ -3726,7 +3705,7 @@ var _i = (
|
|
|
3726
3705
|
break;
|
|
3727
3706
|
}
|
|
3728
3707
|
var l = _(i, this.clonePosition());
|
|
3729
|
-
return o ? (a *= n,
|
|
3708
|
+
return o ? (a *= n, di(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3730
3709
|
}, e.prototype.offset = function() {
|
|
3731
3710
|
return this.position.offset;
|
|
3732
3711
|
}, e.prototype.isEOF = function() {
|
|
@@ -3760,7 +3739,7 @@ var _i = (
|
|
|
3760
3739
|
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);
|
|
3761
3740
|
}
|
|
3762
3741
|
}, e.prototype.bumpIf = function(t) {
|
|
3763
|
-
if (
|
|
3742
|
+
if (Tt(this.message, t, this.offset())) {
|
|
3764
3743
|
for (var r = 0; r < t.length; r++)
|
|
3765
3744
|
this.bump();
|
|
3766
3745
|
return !0;
|
|
@@ -3782,7 +3761,7 @@ var _i = (
|
|
|
3782
3761
|
break;
|
|
3783
3762
|
}
|
|
3784
3763
|
}, e.prototype.bumpSpace = function() {
|
|
3785
|
-
for (; !this.isEOF() &&
|
|
3764
|
+
for (; !this.isEOF() && br(this.char()); )
|
|
3786
3765
|
this.bump();
|
|
3787
3766
|
}, e.prototype.peek = function() {
|
|
3788
3767
|
if (this.isEOF())
|
|
@@ -3792,47 +3771,47 @@ var _i = (
|
|
|
3792
3771
|
}, e;
|
|
3793
3772
|
}()
|
|
3794
3773
|
);
|
|
3795
|
-
function
|
|
3774
|
+
function qe(e) {
|
|
3796
3775
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3797
3776
|
}
|
|
3798
|
-
function
|
|
3799
|
-
return
|
|
3777
|
+
function vi(e) {
|
|
3778
|
+
return qe(e) || e === 47;
|
|
3800
3779
|
}
|
|
3801
|
-
function
|
|
3780
|
+
function _i(e) {
|
|
3802
3781
|
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;
|
|
3803
3782
|
}
|
|
3804
|
-
function
|
|
3783
|
+
function br(e) {
|
|
3805
3784
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3806
3785
|
}
|
|
3807
|
-
function
|
|
3786
|
+
function xi(e) {
|
|
3808
3787
|
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;
|
|
3809
3788
|
}
|
|
3810
|
-
function
|
|
3789
|
+
function Ye(e) {
|
|
3811
3790
|
e.forEach(function(t) {
|
|
3812
|
-
if (delete t.location,
|
|
3791
|
+
if (delete t.location, sr(t) || ar(t))
|
|
3813
3792
|
for (var r in t.options)
|
|
3814
|
-
delete t.options[r].location,
|
|
3793
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
|
3815
3794
|
else
|
|
3816
|
-
|
|
3795
|
+
nr(t) && lr(t.style) || (ir(t) || or(t)) && We(t.style) ? delete t.style.location : ur(t) && Ye(t.children);
|
|
3817
3796
|
});
|
|
3818
3797
|
}
|
|
3819
|
-
function
|
|
3820
|
-
t === void 0 && (t = {}), t =
|
|
3821
|
-
var r = new
|
|
3798
|
+
function Ei(e, t) {
|
|
3799
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3800
|
+
var r = new yi(e, t).parse();
|
|
3822
3801
|
if (r.err) {
|
|
3823
3802
|
var n = SyntaxError(y[r.err.kind]);
|
|
3824
3803
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3825
3804
|
}
|
|
3826
|
-
return t?.captureLocation ||
|
|
3805
|
+
return t?.captureLocation || Ye(r.val), r.val;
|
|
3827
3806
|
}
|
|
3828
|
-
var
|
|
3807
|
+
var J;
|
|
3829
3808
|
(function(e) {
|
|
3830
3809
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3831
|
-
})(
|
|
3832
|
-
var
|
|
3810
|
+
})(J || (J = {}));
|
|
3811
|
+
var Ae = (
|
|
3833
3812
|
/** @class */
|
|
3834
3813
|
function(e) {
|
|
3835
|
-
|
|
3814
|
+
R(t, e);
|
|
3836
3815
|
function t(r, n, i) {
|
|
3837
3816
|
var o = e.call(this, r) || this;
|
|
3838
3817
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3841,48 +3820,48 @@ var Ce = (
|
|
|
3841
3820
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3842
3821
|
}, t;
|
|
3843
3822
|
}(Error)
|
|
3844
|
-
),
|
|
3823
|
+
), Bt = (
|
|
3845
3824
|
/** @class */
|
|
3846
3825
|
function(e) {
|
|
3847
|
-
|
|
3826
|
+
R(t, e);
|
|
3848
3827
|
function t(r, n, i, o) {
|
|
3849
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3828
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3850
3829
|
}
|
|
3851
3830
|
return t;
|
|
3852
|
-
}(
|
|
3853
|
-
),
|
|
3831
|
+
}(Ae)
|
|
3832
|
+
), wi = (
|
|
3854
3833
|
/** @class */
|
|
3855
3834
|
function(e) {
|
|
3856
|
-
|
|
3835
|
+
R(t, e);
|
|
3857
3836
|
function t(r, n, i) {
|
|
3858
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3837
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3859
3838
|
}
|
|
3860
3839
|
return t;
|
|
3861
|
-
}(
|
|
3862
|
-
),
|
|
3840
|
+
}(Ae)
|
|
3841
|
+
), Si = (
|
|
3863
3842
|
/** @class */
|
|
3864
3843
|
function(e) {
|
|
3865
|
-
|
|
3844
|
+
R(t, e);
|
|
3866
3845
|
function t(r, n) {
|
|
3867
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3846
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3868
3847
|
}
|
|
3869
3848
|
return t;
|
|
3870
|
-
}(
|
|
3849
|
+
}(Ae)
|
|
3871
3850
|
), P;
|
|
3872
3851
|
(function(e) {
|
|
3873
3852
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3874
3853
|
})(P || (P = {}));
|
|
3875
|
-
function
|
|
3854
|
+
function Ti(e) {
|
|
3876
3855
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3877
3856
|
var n = t[t.length - 1];
|
|
3878
3857
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3879
3858
|
}, []);
|
|
3880
3859
|
}
|
|
3881
|
-
function
|
|
3860
|
+
function Hi(e) {
|
|
3882
3861
|
return typeof e == "function";
|
|
3883
3862
|
}
|
|
3884
3863
|
function ge(e, t, r, n, i, o, a) {
|
|
3885
|
-
if (e.length === 1 &&
|
|
3864
|
+
if (e.length === 1 && xt(e[0]))
|
|
3886
3865
|
return [
|
|
3887
3866
|
{
|
|
3888
3867
|
type: P.literal,
|
|
@@ -3891,14 +3870,14 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3891
3870
|
];
|
|
3892
3871
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3893
3872
|
var h = u[l];
|
|
3894
|
-
if (
|
|
3873
|
+
if (xt(h)) {
|
|
3895
3874
|
s.push({
|
|
3896
3875
|
type: P.literal,
|
|
3897
3876
|
value: h.value
|
|
3898
3877
|
});
|
|
3899
3878
|
continue;
|
|
3900
3879
|
}
|
|
3901
|
-
if (
|
|
3880
|
+
if (Zn(h)) {
|
|
3902
3881
|
typeof o == "number" && s.push({
|
|
3903
3882
|
type: P.literal,
|
|
3904
3883
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3907,43 +3886,43 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3907
3886
|
}
|
|
3908
3887
|
var c = h.value;
|
|
3909
3888
|
if (!(i && c in i))
|
|
3910
|
-
throw new
|
|
3889
|
+
throw new Si(c, a);
|
|
3911
3890
|
var f = i[c];
|
|
3912
|
-
if (
|
|
3891
|
+
if (Wn(h)) {
|
|
3913
3892
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3914
3893
|
type: typeof f == "string" ? P.literal : P.object,
|
|
3915
3894
|
value: f
|
|
3916
3895
|
});
|
|
3917
3896
|
continue;
|
|
3918
3897
|
}
|
|
3919
|
-
if (
|
|
3920
|
-
var
|
|
3898
|
+
if (ir(h)) {
|
|
3899
|
+
var d = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
|
|
3921
3900
|
s.push({
|
|
3922
3901
|
type: P.literal,
|
|
3923
|
-
value: r.getDateTimeFormat(t,
|
|
3902
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3924
3903
|
});
|
|
3925
3904
|
continue;
|
|
3926
3905
|
}
|
|
3927
|
-
if (
|
|
3928
|
-
var
|
|
3906
|
+
if (or(h)) {
|
|
3907
|
+
var d = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3929
3908
|
s.push({
|
|
3930
3909
|
type: P.literal,
|
|
3931
|
-
value: r.getDateTimeFormat(t,
|
|
3910
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3932
3911
|
});
|
|
3933
3912
|
continue;
|
|
3934
3913
|
}
|
|
3935
|
-
if (
|
|
3936
|
-
var
|
|
3937
|
-
|
|
3914
|
+
if (nr(h)) {
|
|
3915
|
+
var d = typeof h.style == "string" ? n.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
|
|
3916
|
+
d && d.scale && (f = f * (d.scale || 1)), s.push({
|
|
3938
3917
|
type: P.literal,
|
|
3939
|
-
value: r.getNumberFormat(t,
|
|
3918
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3940
3919
|
});
|
|
3941
3920
|
continue;
|
|
3942
3921
|
}
|
|
3943
|
-
if (
|
|
3944
|
-
var m = h.children,
|
|
3945
|
-
if (!
|
|
3946
|
-
throw new
|
|
3922
|
+
if (ur(h)) {
|
|
3923
|
+
var m = h.children, p = h.value, g = i[p];
|
|
3924
|
+
if (!Hi(g))
|
|
3925
|
+
throw new wi(p, "function", a);
|
|
3947
3926
|
var A = ge(m, t, r, n, i, o), T = g(A.map(function(b) {
|
|
3948
3927
|
return b.value;
|
|
3949
3928
|
}));
|
|
@@ -3954,42 +3933,42 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3954
3933
|
};
|
|
3955
3934
|
}));
|
|
3956
3935
|
}
|
|
3957
|
-
if (
|
|
3936
|
+
if (sr(h)) {
|
|
3958
3937
|
var x = h.options[f] || h.options.other;
|
|
3959
3938
|
if (!x)
|
|
3960
|
-
throw new
|
|
3939
|
+
throw new Bt(h.value, f, Object.keys(h.options), a);
|
|
3961
3940
|
s.push.apply(s, ge(x.value, t, r, n, i));
|
|
3962
3941
|
continue;
|
|
3963
3942
|
}
|
|
3964
|
-
if (
|
|
3943
|
+
if (ar(h)) {
|
|
3965
3944
|
var x = h.options["=".concat(f)];
|
|
3966
3945
|
if (!x) {
|
|
3967
3946
|
if (!Intl.PluralRules)
|
|
3968
|
-
throw new
|
|
3947
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
3969
3948
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3970
|
-
`,
|
|
3971
|
-
var
|
|
3972
|
-
x = h.options[
|
|
3949
|
+
`, J.MISSING_INTL_API, a);
|
|
3950
|
+
var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3951
|
+
x = h.options[w] || h.options.other;
|
|
3973
3952
|
}
|
|
3974
3953
|
if (!x)
|
|
3975
|
-
throw new
|
|
3954
|
+
throw new Bt(h.value, f, Object.keys(h.options), a);
|
|
3976
3955
|
s.push.apply(s, ge(x.value, t, r, n, i, f - (h.offset || 0)));
|
|
3977
3956
|
continue;
|
|
3978
3957
|
}
|
|
3979
3958
|
}
|
|
3980
|
-
return
|
|
3959
|
+
return Ti(s);
|
|
3981
3960
|
}
|
|
3982
|
-
function
|
|
3983
|
-
return t ?
|
|
3984
|
-
return r[n] =
|
|
3961
|
+
function Ai(e, t) {
|
|
3962
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3963
|
+
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3985
3964
|
}, {})) : e;
|
|
3986
3965
|
}
|
|
3987
|
-
function
|
|
3966
|
+
function Bi(e, t) {
|
|
3988
3967
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3989
|
-
return r[n] =
|
|
3990
|
-
},
|
|
3968
|
+
return r[n] = Ai(e[n], t[n]), r;
|
|
3969
|
+
}, E({}, e)) : e;
|
|
3991
3970
|
}
|
|
3992
|
-
function
|
|
3971
|
+
function $e(e) {
|
|
3993
3972
|
return {
|
|
3994
3973
|
create: function() {
|
|
3995
3974
|
return {
|
|
@@ -4003,39 +3982,39 @@ function Ue(e) {
|
|
|
4003
3982
|
}
|
|
4004
3983
|
};
|
|
4005
3984
|
}
|
|
4006
|
-
function
|
|
3985
|
+
function Ci(e) {
|
|
4007
3986
|
return e === void 0 && (e = {
|
|
4008
3987
|
number: {},
|
|
4009
3988
|
dateTime: {},
|
|
4010
3989
|
pluralRules: {}
|
|
4011
3990
|
}), {
|
|
4012
|
-
getNumberFormat:
|
|
3991
|
+
getNumberFormat: Ne(function() {
|
|
4013
3992
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4014
3993
|
r[n] = arguments[n];
|
|
4015
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3994
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
4016
3995
|
}, {
|
|
4017
|
-
cache:
|
|
4018
|
-
strategy:
|
|
3996
|
+
cache: $e(e.number),
|
|
3997
|
+
strategy: Le.variadic
|
|
4019
3998
|
}),
|
|
4020
|
-
getDateTimeFormat:
|
|
3999
|
+
getDateTimeFormat: Ne(function() {
|
|
4021
4000
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4022
4001
|
r[n] = arguments[n];
|
|
4023
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4002
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
4024
4003
|
}, {
|
|
4025
|
-
cache:
|
|
4026
|
-
strategy:
|
|
4004
|
+
cache: $e(e.dateTime),
|
|
4005
|
+
strategy: Le.variadic
|
|
4027
4006
|
}),
|
|
4028
|
-
getPluralRules:
|
|
4007
|
+
getPluralRules: Ne(function() {
|
|
4029
4008
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4030
4009
|
r[n] = arguments[n];
|
|
4031
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4010
|
+
return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
|
|
4032
4011
|
}, {
|
|
4033
|
-
cache:
|
|
4034
|
-
strategy:
|
|
4012
|
+
cache: $e(e.pluralRules),
|
|
4013
|
+
strategy: Le.variadic
|
|
4035
4014
|
})
|
|
4036
4015
|
};
|
|
4037
4016
|
}
|
|
4038
|
-
var
|
|
4017
|
+
var Pi = (
|
|
4039
4018
|
/** @class */
|
|
4040
4019
|
function() {
|
|
4041
4020
|
function e(t, r, n, i) {
|
|
@@ -4067,13 +4046,13 @@ var Ii = (
|
|
|
4067
4046
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4068
4047
|
var a = i || {};
|
|
4069
4048
|
a.formatters;
|
|
4070
|
-
var s =
|
|
4071
|
-
this.ast = e.__parse(t,
|
|
4049
|
+
var s = ln(a, ["formatters"]);
|
|
4050
|
+
this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
|
|
4072
4051
|
} else
|
|
4073
4052
|
this.ast = t;
|
|
4074
4053
|
if (!Array.isArray(this.ast))
|
|
4075
4054
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4076
|
-
this.formats =
|
|
4055
|
+
this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
|
|
4077
4056
|
}
|
|
4078
4057
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4079
4058
|
get: function() {
|
|
@@ -4086,7 +4065,7 @@ var Ii = (
|
|
|
4086
4065
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4087
4066
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4088
4067
|
}
|
|
4089
|
-
}, e.__parse =
|
|
4068
|
+
}, e.__parse = Ei, e.formats = {
|
|
4090
4069
|
number: {
|
|
4091
4070
|
integer: {
|
|
4092
4071
|
maximumFractionDigits: 0
|
|
@@ -4147,7 +4126,7 @@ var Ii = (
|
|
|
4147
4126
|
}, e;
|
|
4148
4127
|
}()
|
|
4149
4128
|
);
|
|
4150
|
-
function
|
|
4129
|
+
function Oi(e, t) {
|
|
4151
4130
|
if (t == null)
|
|
4152
4131
|
return;
|
|
4153
4132
|
if (t in e)
|
|
@@ -4168,92 +4147,92 @@ function Mi(e, t) {
|
|
|
4168
4147
|
n = void 0;
|
|
4169
4148
|
return n;
|
|
4170
4149
|
}
|
|
4171
|
-
const
|
|
4150
|
+
const $ = {}, Ii = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), gr = (e, t) => {
|
|
4172
4151
|
if (t == null)
|
|
4173
4152
|
return;
|
|
4174
|
-
if (t in
|
|
4175
|
-
return
|
|
4176
|
-
const r =
|
|
4153
|
+
if (t in $ && e in $[t])
|
|
4154
|
+
return $[t][e];
|
|
4155
|
+
const r = Be(t);
|
|
4177
4156
|
for (let n = 0; n < r.length; n++) {
|
|
4178
|
-
const i = r[n], o =
|
|
4157
|
+
const i = r[n], o = Ni(i, e);
|
|
4179
4158
|
if (o)
|
|
4180
|
-
return
|
|
4159
|
+
return Ii(e, t, o);
|
|
4181
4160
|
}
|
|
4182
4161
|
};
|
|
4183
|
-
let
|
|
4184
|
-
const le =
|
|
4185
|
-
function
|
|
4186
|
-
return
|
|
4162
|
+
let st;
|
|
4163
|
+
const le = He({});
|
|
4164
|
+
function Mi(e) {
|
|
4165
|
+
return st[e] || null;
|
|
4187
4166
|
}
|
|
4188
|
-
function
|
|
4189
|
-
return e in
|
|
4167
|
+
function yr(e) {
|
|
4168
|
+
return e in st;
|
|
4190
4169
|
}
|
|
4191
|
-
function
|
|
4192
|
-
if (!
|
|
4170
|
+
function Ni(e, t) {
|
|
4171
|
+
if (!yr(e))
|
|
4193
4172
|
return null;
|
|
4194
|
-
const r =
|
|
4195
|
-
return
|
|
4173
|
+
const r = Mi(e);
|
|
4174
|
+
return Oi(r, t);
|
|
4196
4175
|
}
|
|
4197
|
-
function
|
|
4176
|
+
function Li(e) {
|
|
4198
4177
|
if (e == null)
|
|
4199
4178
|
return;
|
|
4200
|
-
const t =
|
|
4179
|
+
const t = Be(e);
|
|
4201
4180
|
for (let r = 0; r < t.length; r++) {
|
|
4202
4181
|
const n = t[r];
|
|
4203
|
-
if (
|
|
4182
|
+
if (yr(n))
|
|
4204
4183
|
return n;
|
|
4205
4184
|
}
|
|
4206
4185
|
}
|
|
4207
|
-
function
|
|
4208
|
-
delete
|
|
4186
|
+
function vr(e, ...t) {
|
|
4187
|
+
delete $[e], le.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
|
|
4209
4188
|
}
|
|
4210
|
-
|
|
4189
|
+
Y(
|
|
4211
4190
|
[le],
|
|
4212
4191
|
([e]) => Object.keys(e)
|
|
4213
4192
|
);
|
|
4214
|
-
le.subscribe((e) =>
|
|
4193
|
+
le.subscribe((e) => st = e);
|
|
4215
4194
|
const ye = {};
|
|
4216
|
-
function
|
|
4195
|
+
function Ri(e, t) {
|
|
4217
4196
|
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
|
4218
4197
|
}
|
|
4219
|
-
function
|
|
4198
|
+
function _r(e) {
|
|
4220
4199
|
return ye[e];
|
|
4221
4200
|
}
|
|
4222
|
-
function
|
|
4223
|
-
return
|
|
4224
|
-
const r =
|
|
4201
|
+
function $i(e) {
|
|
4202
|
+
return Be(e).map((t) => {
|
|
4203
|
+
const r = _r(t);
|
|
4225
4204
|
return [t, r ? [...r] : []];
|
|
4226
4205
|
}).filter(([, t]) => t.length > 0);
|
|
4227
4206
|
}
|
|
4228
|
-
function
|
|
4229
|
-
return e == null ? !1 :
|
|
4207
|
+
function Ke(e) {
|
|
4208
|
+
return e == null ? !1 : Be(e).some(
|
|
4230
4209
|
(t) => {
|
|
4231
4210
|
var r;
|
|
4232
|
-
return (r =
|
|
4211
|
+
return (r = _r(t)) == null ? void 0 : r.size;
|
|
4233
4212
|
}
|
|
4234
4213
|
);
|
|
4235
4214
|
}
|
|
4236
|
-
function
|
|
4215
|
+
function Gi(e, t) {
|
|
4237
4216
|
return Promise.all(
|
|
4238
|
-
t.map((n) => (
|
|
4239
|
-
).then((n) =>
|
|
4240
|
-
}
|
|
4241
|
-
const
|
|
4242
|
-
function
|
|
4243
|
-
if (!
|
|
4244
|
-
return e in
|
|
4245
|
-
const t =
|
|
4246
|
-
return
|
|
4217
|
+
t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
|
|
4218
|
+
).then((n) => vr(e, ...n));
|
|
4219
|
+
}
|
|
4220
|
+
const re = {};
|
|
4221
|
+
function xr(e) {
|
|
4222
|
+
if (!Ke(e))
|
|
4223
|
+
return e in re ? re[e] : Promise.resolve();
|
|
4224
|
+
const t = $i(e);
|
|
4225
|
+
return re[e] = Promise.all(
|
|
4247
4226
|
t.map(
|
|
4248
|
-
([r, n]) =>
|
|
4227
|
+
([r, n]) => Gi(r, n)
|
|
4249
4228
|
)
|
|
4250
4229
|
).then(() => {
|
|
4251
|
-
if (
|
|
4252
|
-
return
|
|
4253
|
-
delete
|
|
4254
|
-
}),
|
|
4230
|
+
if (Ke(e))
|
|
4231
|
+
return xr(e);
|
|
4232
|
+
delete re[e];
|
|
4233
|
+
}), re[e];
|
|
4255
4234
|
}
|
|
4256
|
-
const
|
|
4235
|
+
const Ui = {
|
|
4257
4236
|
number: {
|
|
4258
4237
|
scientific: { notation: "scientific" },
|
|
4259
4238
|
engineering: { notation: "engineering" },
|
|
@@ -4282,135 +4261,135 @@ const Fi = {
|
|
|
4282
4261
|
timeZoneName: "short"
|
|
4283
4262
|
}
|
|
4284
4263
|
}
|
|
4285
|
-
},
|
|
4264
|
+
}, Di = {
|
|
4286
4265
|
fallbackLocale: null,
|
|
4287
4266
|
loadingDelay: 200,
|
|
4288
|
-
formats:
|
|
4267
|
+
formats: Ui,
|
|
4289
4268
|
warnOnMissingMessages: !0,
|
|
4290
4269
|
handleMissingMessage: void 0,
|
|
4291
4270
|
ignoreTag: !0
|
|
4292
|
-
},
|
|
4293
|
-
function
|
|
4294
|
-
return
|
|
4271
|
+
}, Fi = Di;
|
|
4272
|
+
function q() {
|
|
4273
|
+
return Fi;
|
|
4295
4274
|
}
|
|
4296
|
-
const
|
|
4297
|
-
var
|
|
4275
|
+
const Ge = He(!1);
|
|
4276
|
+
var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wi = (e, t) => {
|
|
4298
4277
|
for (var r in t || (t = {}))
|
|
4299
|
-
|
|
4300
|
-
if (
|
|
4301
|
-
for (var r of
|
|
4302
|
-
|
|
4278
|
+
Xi.call(t, r) && Pt(e, r, t[r]);
|
|
4279
|
+
if (Ct)
|
|
4280
|
+
for (var r of Ct(t))
|
|
4281
|
+
zi.call(t, r) && Pt(e, r, t[r]);
|
|
4303
4282
|
return e;
|
|
4304
|
-
},
|
|
4305
|
-
let
|
|
4306
|
-
const
|
|
4307
|
-
function
|
|
4283
|
+
}, Zi = (e, t) => ki(e, Vi(t));
|
|
4284
|
+
let et;
|
|
4285
|
+
const Ee = He(null);
|
|
4286
|
+
function Ot(e) {
|
|
4308
4287
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4309
4288
|
}
|
|
4310
|
-
function
|
|
4311
|
-
const r =
|
|
4312
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4289
|
+
function Be(e, t = q().fallbackLocale) {
|
|
4290
|
+
const r = Ot(e);
|
|
4291
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
|
|
4313
4292
|
}
|
|
4314
4293
|
function D() {
|
|
4315
|
-
return
|
|
4294
|
+
return et ?? void 0;
|
|
4316
4295
|
}
|
|
4317
|
-
|
|
4318
|
-
|
|
4296
|
+
Ee.subscribe((e) => {
|
|
4297
|
+
et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4319
4298
|
});
|
|
4320
|
-
const
|
|
4321
|
-
if (e &&
|
|
4322
|
-
const { loadingDelay: t } =
|
|
4299
|
+
const Qi = (e) => {
|
|
4300
|
+
if (e && Li(e) && Ke(e)) {
|
|
4301
|
+
const { loadingDelay: t } = q();
|
|
4323
4302
|
let r;
|
|
4324
4303
|
return typeof window < "u" && D() != null && t ? r = window.setTimeout(
|
|
4325
|
-
() =>
|
|
4304
|
+
() => Ge.set(!0),
|
|
4326
4305
|
t
|
|
4327
|
-
) :
|
|
4328
|
-
|
|
4306
|
+
) : Ge.set(!0), xr(e).then(() => {
|
|
4307
|
+
Ee.set(e);
|
|
4329
4308
|
}).finally(() => {
|
|
4330
|
-
clearTimeout(r),
|
|
4309
|
+
clearTimeout(r), Ge.set(!1);
|
|
4331
4310
|
});
|
|
4332
4311
|
}
|
|
4333
|
-
return
|
|
4334
|
-
},
|
|
4335
|
-
set:
|
|
4336
|
-
}),
|
|
4312
|
+
return Ee.set(e);
|
|
4313
|
+
}, K = Zi(Wi({}, Ee), {
|
|
4314
|
+
set: Qi
|
|
4315
|
+
}), Ce = (e) => {
|
|
4337
4316
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4338
4317
|
return (n) => {
|
|
4339
4318
|
const i = JSON.stringify(n);
|
|
4340
4319
|
return i in t ? t[i] : t[i] = e(n);
|
|
4341
4320
|
};
|
|
4342
4321
|
};
|
|
4343
|
-
var
|
|
4322
|
+
var Ji = Object.defineProperty, we = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
|
4344
4323
|
for (var r in t || (t = {}))
|
|
4345
|
-
|
|
4346
|
-
if (
|
|
4347
|
-
for (var r of
|
|
4348
|
-
|
|
4324
|
+
Er.call(t, r) && It(e, r, t[r]);
|
|
4325
|
+
if (we)
|
|
4326
|
+
for (var r of we(t))
|
|
4327
|
+
wr.call(t, r) && It(e, r, t[r]);
|
|
4349
4328
|
return e;
|
|
4350
|
-
},
|
|
4329
|
+
}, ee = (e, t) => {
|
|
4351
4330
|
var r = {};
|
|
4352
4331
|
for (var n in e)
|
|
4353
|
-
|
|
4354
|
-
if (e != null &&
|
|
4355
|
-
for (var n of
|
|
4356
|
-
t.indexOf(n) < 0 &&
|
|
4332
|
+
Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4333
|
+
if (e != null && we)
|
|
4334
|
+
for (var n of we(e))
|
|
4335
|
+
t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
|
|
4357
4336
|
return r;
|
|
4358
4337
|
};
|
|
4359
|
-
const
|
|
4360
|
-
const { formats: r } =
|
|
4338
|
+
const se = (e, t) => {
|
|
4339
|
+
const { formats: r } = q();
|
|
4361
4340
|
if (e in r && t in r[e])
|
|
4362
4341
|
return r[e][t];
|
|
4363
4342
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4364
|
-
},
|
|
4343
|
+
}, qi = Ce(
|
|
4365
4344
|
(e) => {
|
|
4366
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4345
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4367
4346
|
if (r == null)
|
|
4368
4347
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4369
|
-
return n && (i =
|
|
4348
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4370
4349
|
}
|
|
4371
|
-
),
|
|
4350
|
+
), Yi = Ce(
|
|
4372
4351
|
(e) => {
|
|
4373
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4352
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4374
4353
|
if (r == null)
|
|
4375
4354
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4376
|
-
return n ? i =
|
|
4355
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4377
4356
|
}
|
|
4378
|
-
),
|
|
4357
|
+
), Ki = Ce(
|
|
4379
4358
|
(e) => {
|
|
4380
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4359
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4381
4360
|
if (r == null)
|
|
4382
4361
|
throw new Error(
|
|
4383
4362
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4384
4363
|
);
|
|
4385
|
-
return n ? i =
|
|
4364
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4386
4365
|
}
|
|
4387
|
-
),
|
|
4366
|
+
), eo = (e = {}) => {
|
|
4388
4367
|
var t = e, {
|
|
4389
4368
|
locale: r = D()
|
|
4390
|
-
} = t, n =
|
|
4369
|
+
} = t, n = ee(t, [
|
|
4391
4370
|
"locale"
|
|
4392
4371
|
]);
|
|
4393
|
-
return
|
|
4394
|
-
},
|
|
4372
|
+
return qi(at({ locale: r }, n));
|
|
4373
|
+
}, to = (e = {}) => {
|
|
4395
4374
|
var t = e, {
|
|
4396
4375
|
locale: r = D()
|
|
4397
|
-
} = t, n =
|
|
4376
|
+
} = t, n = ee(t, [
|
|
4398
4377
|
"locale"
|
|
4399
4378
|
]);
|
|
4400
|
-
return
|
|
4401
|
-
},
|
|
4379
|
+
return Yi(at({ locale: r }, n));
|
|
4380
|
+
}, ro = (e = {}) => {
|
|
4402
4381
|
var t = e, {
|
|
4403
4382
|
locale: r = D()
|
|
4404
|
-
} = t, n =
|
|
4383
|
+
} = t, n = ee(t, [
|
|
4405
4384
|
"locale"
|
|
4406
4385
|
]);
|
|
4407
|
-
return
|
|
4408
|
-
},
|
|
4386
|
+
return Ki(at({ locale: r }, n));
|
|
4387
|
+
}, no = Ce(
|
|
4409
4388
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4410
|
-
(e, t = D()) => new
|
|
4411
|
-
ignoreTag:
|
|
4389
|
+
(e, t = D()) => new Pi(e, t, q().formats, {
|
|
4390
|
+
ignoreTag: q().ignoreTag
|
|
4412
4391
|
})
|
|
4413
|
-
),
|
|
4392
|
+
), io = (e, t = {}) => {
|
|
4414
4393
|
var r, n, i, o;
|
|
4415
4394
|
let a = t;
|
|
4416
4395
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4423,9 +4402,9 @@ const oe = (e, t) => {
|
|
|
4423
4402
|
throw new Error(
|
|
4424
4403
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4425
4404
|
);
|
|
4426
|
-
let h =
|
|
4405
|
+
let h = gr(e, l);
|
|
4427
4406
|
if (!h)
|
|
4428
|
-
h = (o = (i = (n = (r =
|
|
4407
|
+
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;
|
|
4429
4408
|
else if (typeof h != "string")
|
|
4430
4409
|
return console.warn(
|
|
4431
4410
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4434,7 +4413,7 @@ const oe = (e, t) => {
|
|
|
4434
4413
|
return h;
|
|
4435
4414
|
let c = h;
|
|
4436
4415
|
try {
|
|
4437
|
-
c =
|
|
4416
|
+
c = no(h, l).format(s);
|
|
4438
4417
|
} catch (f) {
|
|
4439
4418
|
f instanceof Error && console.warn(
|
|
4440
4419
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4442,20 +4421,20 @@ const oe = (e, t) => {
|
|
|
4442
4421
|
);
|
|
4443
4422
|
}
|
|
4444
4423
|
return c;
|
|
4445
|
-
},
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4424
|
+
}, oo = (e, t) => ro(t).format(e), so = (e, t) => to(t).format(e), ao = (e, t) => eo(t).format(e), uo = (e, t = D()) => gr(e, t), lo = Y([K, le], () => io);
|
|
4425
|
+
Y([K], () => oo);
|
|
4426
|
+
Y([K], () => so);
|
|
4427
|
+
Y([K], () => ao);
|
|
4428
|
+
Y([K, le], () => uo);
|
|
4450
4429
|
window.emWidgets = { topic: wn };
|
|
4451
|
-
const
|
|
4452
|
-
function
|
|
4430
|
+
const ho = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4431
|
+
function co(e, t) {
|
|
4453
4432
|
if (e) {
|
|
4454
4433
|
const r = document.createElement("style");
|
|
4455
4434
|
r.innerHTML = t, e.appendChild(r);
|
|
4456
4435
|
}
|
|
4457
4436
|
}
|
|
4458
|
-
function
|
|
4437
|
+
function fo(e, t) {
|
|
4459
4438
|
const r = new URL(t);
|
|
4460
4439
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4461
4440
|
const i = document.createElement("style");
|
|
@@ -4464,7 +4443,7 @@ function po(e, t) {
|
|
|
4464
4443
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4465
4444
|
});
|
|
4466
4445
|
}
|
|
4467
|
-
function
|
|
4446
|
+
function mo(e, t, r) {
|
|
4468
4447
|
if (window.emMessageBus) {
|
|
4469
4448
|
const n = document.createElement("style");
|
|
4470
4449
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4472,13 +4451,13 @@ function bo(e, t, r) {
|
|
|
4472
4451
|
});
|
|
4473
4452
|
}
|
|
4474
4453
|
}
|
|
4475
|
-
function
|
|
4476
|
-
|
|
4454
|
+
function Mt(e, t) {
|
|
4455
|
+
vr(e, t);
|
|
4477
4456
|
}
|
|
4478
|
-
function
|
|
4479
|
-
|
|
4457
|
+
function po(e) {
|
|
4458
|
+
K.set(e);
|
|
4480
4459
|
}
|
|
4481
|
-
const
|
|
4460
|
+
const Nt = {
|
|
4482
4461
|
en: {
|
|
4483
4462
|
cancel: "Cancel",
|
|
4484
4463
|
confirm: "Confirm"
|
|
@@ -4524,18 +4503,18 @@ const $t = {
|
|
|
4524
4503
|
confirm: "Confirm"
|
|
4525
4504
|
}
|
|
4526
4505
|
};
|
|
4527
|
-
function
|
|
4528
|
-
|
|
4506
|
+
function bo(e) {
|
|
4507
|
+
$r(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}');
|
|
4529
4508
|
}
|
|
4530
|
-
const
|
|
4531
|
-
function
|
|
4509
|
+
const go = (e) => ({}), Lt = (e) => ({});
|
|
4510
|
+
function yo(e) {
|
|
4532
4511
|
let t, r;
|
|
4533
4512
|
return {
|
|
4534
4513
|
c() {
|
|
4535
|
-
t =
|
|
4514
|
+
t = ht("svg"), r = ht("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4536
4515
|
},
|
|
4537
4516
|
m(n, i) {
|
|
4538
|
-
|
|
4517
|
+
ae(n, t, i), C(t, r);
|
|
4539
4518
|
},
|
|
4540
4519
|
p: M,
|
|
4541
4520
|
d(n) {
|
|
@@ -4543,21 +4522,21 @@ function _o(e) {
|
|
|
4543
4522
|
}
|
|
4544
4523
|
};
|
|
4545
4524
|
}
|
|
4546
|
-
function
|
|
4525
|
+
function Rt(e) {
|
|
4547
4526
|
let t, r, n;
|
|
4548
4527
|
return {
|
|
4549
4528
|
c() {
|
|
4550
|
-
t = I("div"), r = I("h2"), n =
|
|
4529
|
+
t = I("div"), r = I("h2"), n = ue(
|
|
4551
4530
|
/*modaltitle*/
|
|
4552
4531
|
e[1]
|
|
4553
4532
|
), H(t, "class", "GeneralConfirmationTitle");
|
|
4554
4533
|
},
|
|
4555
4534
|
m(i, o) {
|
|
4556
|
-
|
|
4535
|
+
ae(i, t, o), C(t, r), C(r, n);
|
|
4557
4536
|
},
|
|
4558
4537
|
p(i, o) {
|
|
4559
4538
|
o & /*modaltitle*/
|
|
4560
|
-
2 &&
|
|
4539
|
+
2 && nt(
|
|
4561
4540
|
n,
|
|
4562
4541
|
/*modaltitle*/
|
|
4563
4542
|
i[1]
|
|
@@ -4568,17 +4547,17 @@ function Gt(e) {
|
|
|
4568
4547
|
}
|
|
4569
4548
|
};
|
|
4570
4549
|
}
|
|
4571
|
-
function
|
|
4550
|
+
function $t(e) {
|
|
4572
4551
|
let t, r = (
|
|
4573
4552
|
/*$_*/
|
|
4574
4553
|
e[4]("cancel") + ""
|
|
4575
4554
|
), n, i, o;
|
|
4576
4555
|
return {
|
|
4577
4556
|
c() {
|
|
4578
|
-
t = I("button"), n =
|
|
4557
|
+
t = I("button"), n = ue(r), H(t, "class", "GeneralCancelButton");
|
|
4579
4558
|
},
|
|
4580
4559
|
m(a, s) {
|
|
4581
|
-
|
|
4560
|
+
ae(a, t, s), C(t, n), i || (o = Ue(
|
|
4582
4561
|
t,
|
|
4583
4562
|
"click",
|
|
4584
4563
|
/*click_handler*/
|
|
@@ -4588,52 +4567,52 @@ function Ut(e) {
|
|
|
4588
4567
|
p(a, s) {
|
|
4589
4568
|
s & /*$_*/
|
|
4590
4569
|
16 && r !== (r = /*$_*/
|
|
4591
|
-
a[4]("cancel") + "") &&
|
|
4570
|
+
a[4]("cancel") + "") && nt(n, r);
|
|
4592
4571
|
},
|
|
4593
4572
|
d(a) {
|
|
4594
4573
|
a && U(t), i = !1, o();
|
|
4595
4574
|
}
|
|
4596
4575
|
};
|
|
4597
4576
|
}
|
|
4598
|
-
function
|
|
4577
|
+
function vo(e) {
|
|
4599
4578
|
let t, r, n, i, o, a, s, l, u, h, c = (
|
|
4600
4579
|
/*$_*/
|
|
4601
4580
|
e[4]("confirm") + ""
|
|
4602
|
-
), f,
|
|
4581
|
+
), f, d, m, p;
|
|
4603
4582
|
const g = (
|
|
4604
4583
|
/*#slots*/
|
|
4605
4584
|
e[16].close
|
|
4606
|
-
), A =
|
|
4585
|
+
), A = Or(
|
|
4607
4586
|
g,
|
|
4608
4587
|
e,
|
|
4609
4588
|
/*$$scope*/
|
|
4610
4589
|
e[15],
|
|
4611
|
-
|
|
4612
|
-
), T = A ||
|
|
4590
|
+
Lt
|
|
4591
|
+
), T = A || yo();
|
|
4613
4592
|
let x = (
|
|
4614
4593
|
/*modaltitle*/
|
|
4615
|
-
e[1] &&
|
|
4616
|
-
),
|
|
4594
|
+
e[1] && Rt(e)
|
|
4595
|
+
), w = (
|
|
4617
4596
|
/*hascancelbutton*/
|
|
4618
|
-
e[2] &&
|
|
4597
|
+
e[2] && $t(e)
|
|
4619
4598
|
);
|
|
4620
4599
|
return {
|
|
4621
4600
|
c() {
|
|
4622
|
-
t = I("div"), r = I("div"), n = I("span"), T && T.c(), i = ce(), x && x.c(), o = ce(), a = I("div"), s = ce(), l = I("div"),
|
|
4601
|
+
t = I("div"), r = I("div"), n = I("span"), T && T.c(), i = ce(), x && x.c(), o = ce(), a = I("div"), s = ce(), l = I("div"), w && w.c(), u = ce(), h = I("button"), f = ue(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(a, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4623
4602
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4624
4603
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4625
4604
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4626
4605
|
},
|
|
4627
4606
|
m(b, B) {
|
|
4628
|
-
|
|
4629
|
-
e[0], C(r, s), C(r, l),
|
|
4630
|
-
|
|
4607
|
+
ae(b, t, B), C(t, r), C(r, n), T && T.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, a), a.innerHTML = /*modaltext*/
|
|
4608
|
+
e[0], C(r, s), C(r, l), w && w.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), d = !0, m || (p = [
|
|
4609
|
+
Ue(
|
|
4631
4610
|
n,
|
|
4632
4611
|
"click",
|
|
4633
4612
|
/*close*/
|
|
4634
4613
|
e[6]
|
|
4635
4614
|
),
|
|
4636
|
-
|
|
4615
|
+
Ue(
|
|
4637
4616
|
h,
|
|
4638
4617
|
"click",
|
|
4639
4618
|
/*click_handler_1*/
|
|
@@ -4642,82 +4621,82 @@ function xo(e) {
|
|
|
4642
4621
|
], m = !0);
|
|
4643
4622
|
},
|
|
4644
4623
|
p(b, [B]) {
|
|
4645
|
-
A && A.p && (!
|
|
4646
|
-
32768) &&
|
|
4624
|
+
A && A.p && (!d || B & /*$$scope*/
|
|
4625
|
+
32768) && Mr(
|
|
4647
4626
|
A,
|
|
4648
4627
|
g,
|
|
4649
4628
|
b,
|
|
4650
4629
|
/*$$scope*/
|
|
4651
4630
|
b[15],
|
|
4652
|
-
|
|
4631
|
+
d ? Ir(
|
|
4653
4632
|
g,
|
|
4654
4633
|
/*$$scope*/
|
|
4655
4634
|
b[15],
|
|
4656
4635
|
B,
|
|
4657
|
-
|
|
4658
|
-
) :
|
|
4636
|
+
go
|
|
4637
|
+
) : Nr(
|
|
4659
4638
|
/*$$scope*/
|
|
4660
4639
|
b[15]
|
|
4661
4640
|
),
|
|
4662
|
-
|
|
4641
|
+
Lt
|
|
4663
4642
|
), /*modaltitle*/
|
|
4664
|
-
b[1] ? x ? x.p(b, B) : (x =
|
|
4643
|
+
b[1] ? x ? x.p(b, B) : (x = Rt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!d || B & /*modaltext*/
|
|
4665
4644
|
1) && (a.innerHTML = /*modaltext*/
|
|
4666
4645
|
b[0]), /*hascancelbutton*/
|
|
4667
|
-
b[2] ?
|
|
4646
|
+
b[2] ? w ? w.p(b, B) : (w = $t(b), w.c(), w.m(l, u)) : w && (w.d(1), w = null), (!d || B & /*$_*/
|
|
4668
4647
|
16) && c !== (c = /*$_*/
|
|
4669
|
-
b[4]("confirm") + "") &&
|
|
4648
|
+
b[4]("confirm") + "") && nt(f, c);
|
|
4670
4649
|
},
|
|
4671
4650
|
i(b) {
|
|
4672
|
-
|
|
4651
|
+
d || (Xt(T, b), d = !0);
|
|
4673
4652
|
},
|
|
4674
4653
|
o(b) {
|
|
4675
|
-
|
|
4654
|
+
Kr(T, b), d = !1;
|
|
4676
4655
|
},
|
|
4677
4656
|
d(b) {
|
|
4678
|
-
b && U(t), T && T.d(b), x && x.d(),
|
|
4657
|
+
b && U(t), T && T.d(b), x && x.d(), w && w.d(), e[19](null), m = !1, G(p);
|
|
4679
4658
|
}
|
|
4680
4659
|
};
|
|
4681
4660
|
}
|
|
4682
|
-
function
|
|
4661
|
+
function _o(e, t, r) {
|
|
4683
4662
|
let n;
|
|
4684
|
-
|
|
4685
|
-
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: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl:
|
|
4663
|
+
Pr(e, lo, (v) => r(4, n = v));
|
|
4664
|
+
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: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: m = "" } = t, { mbsource: p } = t, g, A = window.navigator.userAgent, T = ho(A) !== "PC";
|
|
4686
4665
|
const x = () => {
|
|
4687
4666
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4688
|
-
},
|
|
4667
|
+
}, w = (v) => {
|
|
4689
4668
|
v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
|
|
4690
4669
|
}, b = () => {
|
|
4691
4670
|
fetch(m).then((F) => F.json()).then((F) => {
|
|
4692
|
-
Object.keys(F).forEach((
|
|
4693
|
-
|
|
4671
|
+
Object.keys(F).forEach((ut) => {
|
|
4672
|
+
Mt(ut, F[ut]);
|
|
4694
4673
|
});
|
|
4695
4674
|
}).catch((F) => {
|
|
4696
4675
|
console.log(F);
|
|
4697
4676
|
});
|
|
4698
4677
|
};
|
|
4699
|
-
Object.keys(
|
|
4700
|
-
|
|
4678
|
+
Object.keys(Nt).forEach((v) => {
|
|
4679
|
+
Mt(v, Nt[v]);
|
|
4701
4680
|
});
|
|
4702
4681
|
const B = () => {
|
|
4703
|
-
|
|
4682
|
+
po(c);
|
|
4704
4683
|
};
|
|
4705
|
-
|
|
4684
|
+
Wr(() => () => {
|
|
4706
4685
|
});
|
|
4707
|
-
const he = () =>
|
|
4708
|
-
function
|
|
4709
|
-
|
|
4686
|
+
const he = () => w("cancel"), Tr = () => w("confirm");
|
|
4687
|
+
function Hr(v) {
|
|
4688
|
+
De[v ? "unshift" : "push"](() => {
|
|
4710
4689
|
g = v, r(3, g);
|
|
4711
4690
|
});
|
|
4712
4691
|
}
|
|
4713
4692
|
return e.$$set = (v) => {
|
|
4714
|
-
"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, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12,
|
|
4693
|
+
"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, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12, d = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, p = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
|
|
4715
4694
|
}, e.$$.update = () => {
|
|
4716
4695
|
e.$$.dirty & /*modaltext, lang*/
|
|
4717
4696
|
1025 && a && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4718
|
-
2056 && f && g &&
|
|
4719
|
-
4104 &&
|
|
4720
|
-
16392 &&
|
|
4697
|
+
2056 && f && g && co(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4698
|
+
4104 && d && g && fo(g, d), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4699
|
+
16392 && p && g && mo(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
4721
4700
|
8192 && m && b();
|
|
4722
4701
|
}, [
|
|
4723
4702
|
a,
|
|
@@ -4727,29 +4706,29 @@ function Eo(e, t, r) {
|
|
|
4727
4706
|
n,
|
|
4728
4707
|
T,
|
|
4729
4708
|
x,
|
|
4730
|
-
|
|
4709
|
+
w,
|
|
4731
4710
|
u,
|
|
4732
4711
|
h,
|
|
4733
4712
|
c,
|
|
4734
4713
|
f,
|
|
4735
|
-
p,
|
|
4736
|
-
m,
|
|
4737
4714
|
d,
|
|
4715
|
+
m,
|
|
4716
|
+
p,
|
|
4738
4717
|
o,
|
|
4739
4718
|
i,
|
|
4740
4719
|
he,
|
|
4741
|
-
|
|
4742
|
-
|
|
4720
|
+
Tr,
|
|
4721
|
+
Hr
|
|
4743
4722
|
];
|
|
4744
4723
|
}
|
|
4745
|
-
class
|
|
4724
|
+
class Sr extends an {
|
|
4746
4725
|
constructor(t) {
|
|
4747
|
-
super(),
|
|
4726
|
+
super(), on(
|
|
4748
4727
|
this,
|
|
4749
4728
|
t,
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4729
|
+
_o,
|
|
4730
|
+
vo,
|
|
4731
|
+
Ut,
|
|
4753
4732
|
{
|
|
4754
4733
|
modaltext: 0,
|
|
4755
4734
|
modaltitle: 1,
|
|
@@ -4762,7 +4741,7 @@ class Tr extends un {
|
|
|
4762
4741
|
translationurl: 13,
|
|
4763
4742
|
mbsource: 14
|
|
4764
4743
|
},
|
|
4765
|
-
|
|
4744
|
+
bo
|
|
4766
4745
|
);
|
|
4767
4746
|
}
|
|
4768
4747
|
get modaltext() {
|
|
@@ -4826,58 +4805,58 @@ class Tr extends un {
|
|
|
4826
4805
|
this.$$set({ mbsource: t }), O();
|
|
4827
4806
|
}
|
|
4828
4807
|
}
|
|
4829
|
-
|
|
4830
|
-
const
|
|
4808
|
+
sn(Sr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4809
|
+
const Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4831
4810
|
__proto__: null,
|
|
4832
|
-
default:
|
|
4811
|
+
default: Sr
|
|
4833
4812
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4834
4813
|
export {
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4814
|
+
K as $,
|
|
4815
|
+
co as A,
|
|
4816
|
+
Po as B,
|
|
4838
4817
|
Tn as C,
|
|
4839
|
-
|
|
4818
|
+
vr as D,
|
|
4840
4819
|
M as E,
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4820
|
+
Pr as F,
|
|
4821
|
+
ho as G,
|
|
4822
|
+
Co as H,
|
|
4823
|
+
ce as I,
|
|
4824
|
+
ue as J,
|
|
4825
|
+
ht as K,
|
|
4826
|
+
To as L,
|
|
4827
|
+
Ue as M,
|
|
4828
|
+
nt as N,
|
|
4829
|
+
xo as O,
|
|
4830
|
+
G as P,
|
|
4831
|
+
wo as Q,
|
|
4832
|
+
So as R,
|
|
4833
|
+
an as S,
|
|
4834
|
+
lo as T,
|
|
4835
|
+
Oo as U,
|
|
4836
|
+
on as a,
|
|
4837
|
+
$r as b,
|
|
4838
|
+
sn as c,
|
|
4839
|
+
ae as d,
|
|
4840
|
+
Eo as e,
|
|
4862
4841
|
O as f,
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4842
|
+
Kr as g,
|
|
4843
|
+
Ao as h,
|
|
4844
|
+
Ar as i,
|
|
4845
|
+
U as j,
|
|
4846
|
+
fo as k,
|
|
4847
|
+
mo as l,
|
|
4848
|
+
Or as m,
|
|
4849
|
+
I as n,
|
|
4850
|
+
Wr as o,
|
|
4851
|
+
H as p,
|
|
4852
|
+
C as q,
|
|
4853
|
+
Nr as r,
|
|
4854
|
+
Ut as s,
|
|
4855
|
+
Xt as t,
|
|
4856
|
+
Mr as u,
|
|
4857
|
+
Ir as v,
|
|
4858
|
+
xe as w,
|
|
4859
|
+
Bo as x,
|
|
4860
|
+
Ho as y,
|
|
4861
|
+
De as z
|
|
4883
4862
|
};
|