@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,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var Rr = Object.prototype.hasOwnProperty,
|
|
5
|
-
var
|
|
1
|
+
var Mr = Object.defineProperty, Nr = Object.defineProperties;
|
|
2
|
+
var Lr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ct = Object.getOwnPropertySymbols;
|
|
4
|
+
var Rr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Oe = (e, t, r) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
Rr.call(t, r) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Rr.call(t, r) && Oe(e, r, t[r]);
|
|
8
|
+
if (ct)
|
|
9
|
+
for (var r of ct(t))
|
|
10
|
+
$r.call(t, r) && Oe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var O = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, mt = (e, t) => Nr(e, Lr(t));
|
|
13
|
+
var O = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var dt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -29,8 +29,8 @@ var bt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function N() {
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
32
|
+
const Gr = (e) => e;
|
|
33
|
+
function Ur(e, t) {
|
|
34
34
|
for (const r in t)
|
|
35
35
|
e[r] = t[r];
|
|
36
36
|
return (
|
|
@@ -38,25 +38,25 @@ function Dr(e, t) {
|
|
|
38
38
|
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Vt(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function pt() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
47
|
function U(e) {
|
|
48
|
-
e.forEach(
|
|
48
|
+
e.forEach(Vt);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Te(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Xt(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function Dr(e) {
|
|
57
57
|
return Object.keys(e).length === 0;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function zt(e, ...t) {
|
|
60
60
|
if (e == null) {
|
|
61
61
|
for (const n of t)
|
|
62
62
|
n(void 0);
|
|
@@ -65,19 +65,19 @@ function Zt(e, ...t) {
|
|
|
65
65
|
const r = e.subscribe(...t);
|
|
66
66
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
e.$$.on_destroy.push(
|
|
68
|
+
function Fr(e, t, r) {
|
|
69
|
+
e.$$.on_destroy.push(zt(t, r));
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function jr(e, t, r, n) {
|
|
72
72
|
if (e) {
|
|
73
|
-
const i =
|
|
73
|
+
const i = Wt(e, t, r, n);
|
|
74
74
|
return e[0](i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
return e[1] && n ?
|
|
77
|
+
function Wt(e, t, r, n) {
|
|
78
|
+
return e[1] && n ? Ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function kr(e, t, r, n) {
|
|
81
81
|
if (e[2] && n) {
|
|
82
82
|
const i = e[2](n(r));
|
|
83
83
|
if (t.dirty === void 0)
|
|
@@ -92,13 +92,13 @@ function Vr(e, t, r, n) {
|
|
|
92
92
|
}
|
|
93
93
|
return t.dirty;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Vr(e, t, r, n, i, o) {
|
|
96
96
|
if (i) {
|
|
97
|
-
const s =
|
|
97
|
+
const s = Wt(t, r, n, o);
|
|
98
98
|
e.p(s, i);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Xr(e) {
|
|
102
102
|
if (e.ctx.length > 32) {
|
|
103
103
|
const t = [], r = e.ctx.length / 32;
|
|
104
104
|
for (let n = 0; n < r; n++)
|
|
@@ -107,17 +107,17 @@ function zr(e) {
|
|
|
107
107
|
}
|
|
108
108
|
return -1;
|
|
109
109
|
}
|
|
110
|
-
const
|
|
111
|
-
let
|
|
110
|
+
const Zt = typeof window != "undefined";
|
|
111
|
+
let zr = Zt ? () => window.performance.now() : () => Date.now(), nt = Zt ? (e) => requestAnimationFrame(e) : N;
|
|
112
112
|
const z = /* @__PURE__ */ new Set();
|
|
113
|
-
function
|
|
113
|
+
function Qt(e) {
|
|
114
114
|
z.forEach((t) => {
|
|
115
115
|
t.c(e) || (z.delete(t), t.f());
|
|
116
|
-
}), z.size !== 0 &&
|
|
116
|
+
}), z.size !== 0 && nt(Qt);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Wr(e) {
|
|
119
119
|
let t;
|
|
120
|
-
return z.size === 0 &&
|
|
120
|
+
return z.size === 0 && nt(Qt), {
|
|
121
121
|
promise: new Promise((r) => {
|
|
122
122
|
z.add(t = { c: e, f: r });
|
|
123
123
|
}),
|
|
@@ -129,14 +129,14 @@ function Zr(e) {
|
|
|
129
129
|
function C(e, t) {
|
|
130
130
|
e.appendChild(t);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
const n =
|
|
132
|
+
function Zr(e, t, r) {
|
|
133
|
+
const n = it(e);
|
|
134
134
|
if (!n.getElementById(t)) {
|
|
135
135
|
const i = M("style");
|
|
136
|
-
i.id = t, i.textContent = r,
|
|
136
|
+
i.id = t, i.textContent = r, Jt(n, i);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function it(e) {
|
|
140
140
|
if (!e)
|
|
141
141
|
return document;
|
|
142
142
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -146,69 +146,69 @@ function ut(e) {
|
|
|
146
146
|
t
|
|
147
147
|
) : e.ownerDocument;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Qr(e) {
|
|
150
150
|
const t = M("style");
|
|
151
|
-
return t.textContent = "/* empty */",
|
|
151
|
+
return t.textContent = "/* empty */", Jt(it(e), t), t.sheet;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Jt(e, t) {
|
|
154
154
|
return C(
|
|
155
155
|
/** @type {Document} */
|
|
156
156
|
e.head || e,
|
|
157
157
|
t
|
|
158
158
|
), t.sheet;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function ue(e, t, r) {
|
|
161
161
|
e.insertBefore(t, r || null);
|
|
162
162
|
}
|
|
163
163
|
function D(e) {
|
|
164
164
|
e.parentNode && e.parentNode.removeChild(e);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Mo(e, t) {
|
|
167
167
|
for (let r = 0; r < e.length; r += 1)
|
|
168
168
|
e[r] && e[r].d(t);
|
|
169
169
|
}
|
|
170
170
|
function M(e) {
|
|
171
171
|
return document.createElement(e);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function bt(e) {
|
|
174
174
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function le(e) {
|
|
177
177
|
return document.createTextNode(e);
|
|
178
178
|
}
|
|
179
179
|
function fe() {
|
|
180
|
-
return
|
|
180
|
+
return le(" ");
|
|
181
181
|
}
|
|
182
|
-
function
|
|
183
|
-
return
|
|
182
|
+
function No() {
|
|
183
|
+
return le("");
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Fe(e, t, r, n) {
|
|
186
186
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
187
187
|
}
|
|
188
188
|
function H(e, t, r) {
|
|
189
189
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function Lo(e, t, r) {
|
|
192
192
|
const n = t.toLowerCase();
|
|
193
193
|
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);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function Jr(e) {
|
|
196
196
|
return Array.from(e.childNodes);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function ot(e, t) {
|
|
199
199
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
200
200
|
t);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function Ro(e, t, r, n) {
|
|
203
203
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function $o(e, t, r) {
|
|
206
206
|
e.classList.toggle(t, !!r);
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function qr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
209
209
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Yr(e) {
|
|
212
212
|
const t = {};
|
|
213
213
|
return e.childNodes.forEach(
|
|
214
214
|
/** @param {Element} node */
|
|
@@ -219,17 +219,17 @@ function Kr(e) {
|
|
|
219
219
|
}
|
|
220
220
|
const _e = /* @__PURE__ */ new Map();
|
|
221
221
|
let xe = 0;
|
|
222
|
-
function
|
|
222
|
+
function Kr(e) {
|
|
223
223
|
let t = 5381, r = e.length;
|
|
224
224
|
for (; r--; )
|
|
225
225
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
226
226
|
return t >>> 0;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
const r = { stylesheet:
|
|
228
|
+
function en(e, t) {
|
|
229
|
+
const r = { stylesheet: Qr(t), rules: {} };
|
|
230
230
|
return _e.set(e, r), r;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function gt(e, t, r, n, i, o, s, a = 0) {
|
|
233
233
|
const l = 16.666 / n;
|
|
234
234
|
let u = `{
|
|
235
235
|
`;
|
|
@@ -239,156 +239,156 @@ function vt(e, t, r, n, i, o, s, a = 0) {
|
|
|
239
239
|
`;
|
|
240
240
|
}
|
|
241
241
|
const h = u + `100% {${s(r, 1 - r)}}
|
|
242
|
-
}`, c = `__svelte_${
|
|
243
|
-
m[c] || (m[c] = !0,
|
|
244
|
-
const
|
|
245
|
-
return e.style.animation = `${
|
|
242
|
+
}`, c = `__svelte_${Kr(h)}_${a}`, f = it(e), { stylesheet: d, rules: m } = _e.get(f) || en(f, e);
|
|
243
|
+
m[c] || (m[c] = !0, d.insertRule(`@keyframes ${c} ${h}`, d.cssRules.length));
|
|
244
|
+
const p = e.style.animation || "";
|
|
245
|
+
return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function tn(e, t) {
|
|
248
248
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
249
249
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
250
250
|
// remove all Svelte animations
|
|
251
251
|
), i = r.length - n.length;
|
|
252
|
-
i && (e.style.animation = n.join(", "), xe -= i, xe ||
|
|
252
|
+
i && (e.style.animation = n.join(", "), xe -= i, xe || rn());
|
|
253
253
|
}
|
|
254
|
-
function
|
|
255
|
-
|
|
254
|
+
function rn() {
|
|
255
|
+
nt(() => {
|
|
256
256
|
xe || (_e.forEach((e) => {
|
|
257
257
|
const { ownerNode: t } = e.stylesheet;
|
|
258
258
|
t && D(t);
|
|
259
259
|
}), _e.clear());
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
let
|
|
263
|
-
function
|
|
264
|
-
|
|
262
|
+
let oe;
|
|
263
|
+
function ie(e) {
|
|
264
|
+
oe = e;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
if (!
|
|
266
|
+
function nn() {
|
|
267
|
+
if (!oe)
|
|
268
268
|
throw new Error("Function called outside component initialization");
|
|
269
|
-
return
|
|
269
|
+
return oe;
|
|
270
270
|
}
|
|
271
|
-
function
|
|
272
|
-
|
|
271
|
+
function on(e) {
|
|
272
|
+
nn().$$.on_mount.push(e);
|
|
273
273
|
}
|
|
274
|
-
const X = [],
|
|
274
|
+
const X = [], je = [];
|
|
275
275
|
let W = [];
|
|
276
|
-
const
|
|
277
|
-
let
|
|
278
|
-
function
|
|
279
|
-
|
|
276
|
+
const yt = [], sn = /* @__PURE__ */ Promise.resolve();
|
|
277
|
+
let ke = !1;
|
|
278
|
+
function an() {
|
|
279
|
+
ke || (ke = !0, sn.then(I));
|
|
280
280
|
}
|
|
281
281
|
function Ee(e) {
|
|
282
282
|
W.push(e);
|
|
283
283
|
}
|
|
284
|
-
const
|
|
284
|
+
const Ie = /* @__PURE__ */ new Set();
|
|
285
285
|
let k = 0;
|
|
286
286
|
function I() {
|
|
287
287
|
if (k !== 0)
|
|
288
288
|
return;
|
|
289
|
-
const e =
|
|
289
|
+
const e = oe;
|
|
290
290
|
do {
|
|
291
291
|
try {
|
|
292
292
|
for (; k < X.length; ) {
|
|
293
293
|
const t = X[k];
|
|
294
|
-
k++,
|
|
294
|
+
k++, ie(t), un(t.$$);
|
|
295
295
|
}
|
|
296
296
|
} catch (t) {
|
|
297
297
|
throw X.length = 0, k = 0, t;
|
|
298
298
|
}
|
|
299
|
-
for (
|
|
300
|
-
|
|
299
|
+
for (ie(null), X.length = 0, k = 0; je.length; )
|
|
300
|
+
je.pop()();
|
|
301
301
|
for (let t = 0; t < W.length; t += 1) {
|
|
302
302
|
const r = W[t];
|
|
303
|
-
|
|
303
|
+
Ie.has(r) || (Ie.add(r), r());
|
|
304
304
|
}
|
|
305
305
|
W.length = 0;
|
|
306
306
|
} while (X.length);
|
|
307
|
-
for (;
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
for (; yt.length; )
|
|
308
|
+
yt.pop()();
|
|
309
|
+
ke = !1, Ie.clear(), ie(e);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function un(e) {
|
|
312
312
|
if (e.fragment !== null) {
|
|
313
313
|
e.update(), U(e.before_update);
|
|
314
314
|
const t = e.dirty;
|
|
315
315
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function ln(e) {
|
|
319
319
|
const t = [], r = [];
|
|
320
320
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
321
321
|
}
|
|
322
|
-
let
|
|
323
|
-
function
|
|
324
|
-
return
|
|
325
|
-
|
|
326
|
-
})),
|
|
322
|
+
let re;
|
|
323
|
+
function hn() {
|
|
324
|
+
return re || (re = Promise.resolve(), re.then(() => {
|
|
325
|
+
re = null;
|
|
326
|
+
})), re;
|
|
327
327
|
}
|
|
328
|
-
function
|
|
329
|
-
e.dispatchEvent(
|
|
328
|
+
function Me(e, t, r) {
|
|
329
|
+
e.dispatchEvent(qr(`${t ? "intro" : "outro"}${r}`));
|
|
330
330
|
}
|
|
331
|
-
const
|
|
332
|
-
let
|
|
333
|
-
function
|
|
334
|
-
|
|
331
|
+
const pe = /* @__PURE__ */ new Set();
|
|
332
|
+
let L;
|
|
333
|
+
function Go() {
|
|
334
|
+
L = {
|
|
335
335
|
r: 0,
|
|
336
336
|
c: [],
|
|
337
|
-
p:
|
|
337
|
+
p: L
|
|
338
338
|
// parent group
|
|
339
339
|
};
|
|
340
340
|
}
|
|
341
|
-
function
|
|
342
|
-
|
|
341
|
+
function Uo() {
|
|
342
|
+
L.r || U(L.c), L = L.p;
|
|
343
343
|
}
|
|
344
|
-
function
|
|
345
|
-
e && e.i && (
|
|
344
|
+
function qt(e, t) {
|
|
345
|
+
e && e.i && (pe.delete(e), e.i(t));
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function cn(e, t, r, n) {
|
|
348
348
|
if (e && e.o) {
|
|
349
|
-
if (
|
|
349
|
+
if (pe.has(e))
|
|
350
350
|
return;
|
|
351
|
-
|
|
352
|
-
|
|
351
|
+
pe.add(e), L.c.push(() => {
|
|
352
|
+
pe.delete(e), n && (r && e.d(1), n());
|
|
353
353
|
}), e.o(t);
|
|
354
354
|
} else
|
|
355
355
|
n && n();
|
|
356
356
|
}
|
|
357
|
-
const
|
|
358
|
-
function
|
|
357
|
+
const fn = { duration: 0 };
|
|
358
|
+
function Do(e, t, r, n) {
|
|
359
359
|
let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, l = null, u = null, h;
|
|
360
360
|
function c() {
|
|
361
|
-
u &&
|
|
361
|
+
u && tn(e, u);
|
|
362
362
|
}
|
|
363
|
-
function f(m,
|
|
363
|
+
function f(m, p) {
|
|
364
364
|
const g = (
|
|
365
365
|
/** @type {Program['d']} */
|
|
366
366
|
m.b - s
|
|
367
367
|
);
|
|
368
|
-
return
|
|
368
|
+
return p *= Math.abs(g), {
|
|
369
369
|
a: s,
|
|
370
370
|
b: m.b,
|
|
371
371
|
d: g,
|
|
372
|
-
duration:
|
|
372
|
+
duration: p,
|
|
373
373
|
start: m.start,
|
|
374
|
-
end: m.start +
|
|
374
|
+
end: m.start + p,
|
|
375
375
|
group: m.group
|
|
376
376
|
};
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function d(m) {
|
|
379
379
|
const {
|
|
380
|
-
delay:
|
|
380
|
+
delay: p = 0,
|
|
381
381
|
duration: g = 300,
|
|
382
|
-
easing: A =
|
|
382
|
+
easing: A = Gr,
|
|
383
383
|
tick: T = N,
|
|
384
384
|
css: x
|
|
385
|
-
} = o ||
|
|
386
|
-
start:
|
|
385
|
+
} = o || fn, w = {
|
|
386
|
+
start: zr() + p,
|
|
387
387
|
b: m
|
|
388
388
|
};
|
|
389
|
-
m || (
|
|
390
|
-
e.inert, e.inert = !0)), a || l ? l =
|
|
391
|
-
if (l && b > l.start && (a = f(l, g), l = null,
|
|
389
|
+
m || (w.group = L, L.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
390
|
+
e.inert, e.inert = !0)), a || l ? l = w : (x && (c(), u = gt(e, s, m, g, p, A, x)), m && T(0, 1), a = f(w, g), Ee(() => Me(e, m, "start")), Wr((b) => {
|
|
391
|
+
if (l && b > l.start && (a = f(l, g), l = null, Me(e, a.b, "start"), x && (c(), u = gt(
|
|
392
392
|
e,
|
|
393
393
|
s,
|
|
394
394
|
a.b,
|
|
@@ -398,7 +398,7 @@ function jo(e, t, r, n) {
|
|
|
398
398
|
o.css
|
|
399
399
|
))), a) {
|
|
400
400
|
if (b >= a.end)
|
|
401
|
-
T(s = a.b, 1 - s),
|
|
401
|
+
T(s = a.b, 1 - s), Me(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
|
|
402
402
|
else if (b >= a.start) {
|
|
403
403
|
const B = b - a.start;
|
|
404
404
|
s = a.a + a.d * A(B / a.duration), T(s, 1 - s);
|
|
@@ -409,35 +409,35 @@ function jo(e, t, r, n) {
|
|
|
409
409
|
}
|
|
410
410
|
return {
|
|
411
411
|
run(m) {
|
|
412
|
-
|
|
413
|
-
o = o({ direction: m ? "in" : "out" }),
|
|
414
|
-
}) :
|
|
412
|
+
Te(o) ? hn().then(() => {
|
|
413
|
+
o = o({ direction: m ? "in" : "out" }), d(m);
|
|
414
|
+
}) : d(m);
|
|
415
415
|
},
|
|
416
416
|
end() {
|
|
417
417
|
c(), a = l = null;
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Fo(e) {
|
|
422
422
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
423
423
|
}
|
|
424
|
-
function
|
|
424
|
+
function mn(e, t, r) {
|
|
425
425
|
const { fragment: n, after_update: i } = e.$$;
|
|
426
426
|
n && n.m(t, r), Ee(() => {
|
|
427
|
-
const o = e.$$.on_mount.map(
|
|
427
|
+
const o = e.$$.on_mount.map(Vt).filter(Te);
|
|
428
428
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
|
|
429
429
|
}), i.forEach(Ee);
|
|
430
430
|
}
|
|
431
431
|
function dn(e, t) {
|
|
432
432
|
const r = e.$$;
|
|
433
|
-
r.fragment !== null && (
|
|
433
|
+
r.fragment !== null && (ln(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
434
434
|
}
|
|
435
|
-
function
|
|
436
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
435
|
+
function pn(e, t) {
|
|
436
|
+
e.$$.dirty[0] === -1 && (X.push(e), an(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
437
437
|
}
|
|
438
|
-
function
|
|
439
|
-
const l =
|
|
440
|
-
|
|
438
|
+
function bn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
439
|
+
const l = oe;
|
|
440
|
+
ie(e);
|
|
441
441
|
const u = e.$$ = {
|
|
442
442
|
fragment: null,
|
|
443
443
|
ctx: [],
|
|
@@ -445,7 +445,7 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
445
445
|
props: o,
|
|
446
446
|
update: N,
|
|
447
447
|
not_equal: i,
|
|
448
|
-
bound:
|
|
448
|
+
bound: pt(),
|
|
449
449
|
// lifecycle
|
|
450
450
|
on_mount: [],
|
|
451
451
|
on_destroy: [],
|
|
@@ -454,28 +454,28 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
454
454
|
after_update: [],
|
|
455
455
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
456
456
|
// everything else
|
|
457
|
-
callbacks:
|
|
457
|
+
callbacks: pt(),
|
|
458
458
|
dirty: a,
|
|
459
459
|
skip_bound: !1,
|
|
460
460
|
root: t.target || l.$$.root
|
|
461
461
|
};
|
|
462
462
|
s && s(u.root);
|
|
463
463
|
let h = !1;
|
|
464
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
465
|
-
const m =
|
|
466
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h &&
|
|
464
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
465
|
+
const m = d.length ? d[0] : f;
|
|
466
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && pn(e, c)), f;
|
|
467
467
|
}) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
468
468
|
if (t.hydrate) {
|
|
469
|
-
const c =
|
|
469
|
+
const c = Jr(t.target);
|
|
470
470
|
u.fragment && u.fragment.l(c), c.forEach(D);
|
|
471
471
|
} else
|
|
472
472
|
u.fragment && u.fragment.c();
|
|
473
|
-
t.intro &&
|
|
473
|
+
t.intro && qt(e.$$.fragment), mn(e, t.target, t.anchor), I();
|
|
474
474
|
}
|
|
475
|
-
|
|
475
|
+
ie(l);
|
|
476
476
|
}
|
|
477
|
-
let
|
|
478
|
-
typeof HTMLElement == "function" && (
|
|
477
|
+
let Yt;
|
|
478
|
+
typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
479
479
|
constructor(t, r, n) {
|
|
480
480
|
super();
|
|
481
481
|
/** The Svelte component constructor */
|
|
@@ -512,7 +512,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
connectedCallback() {
|
|
515
|
-
return
|
|
515
|
+
return dt(this, null, function* () {
|
|
516
516
|
if (this.$$cn = !0, !this.$$c) {
|
|
517
517
|
let t = function(o) {
|
|
518
518
|
return () => {
|
|
@@ -526,7 +526,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
526
526
|
* @param {HTMLElement} [anchor]
|
|
527
527
|
*/
|
|
528
528
|
m: function(u, h) {
|
|
529
|
-
|
|
529
|
+
ue(u, s, h);
|
|
530
530
|
},
|
|
531
531
|
d: function(u) {
|
|
532
532
|
u && D(s);
|
|
@@ -536,7 +536,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
536
536
|
};
|
|
537
537
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
538
538
|
return;
|
|
539
|
-
const r = {}, n =
|
|
539
|
+
const r = {}, n = Yr(this);
|
|
540
540
|
for (const o of this.$$s)
|
|
541
541
|
o in n && (r[o] = [t(o)]);
|
|
542
542
|
for (const o of this.attributes) {
|
|
@@ -547,7 +547,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
547
547
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
548
548
|
this.$$c = new this.$$ctor({
|
|
549
549
|
target: this.shadowRoot || this,
|
|
550
|
-
props:
|
|
550
|
+
props: mt(ft({}, this.$$d), {
|
|
551
551
|
$$slots: r,
|
|
552
552
|
$$scope: {
|
|
553
553
|
ctx: []
|
|
@@ -625,8 +625,8 @@ function be(e, t, r, n) {
|
|
|
625
625
|
return t;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
let s = class extends
|
|
628
|
+
function gn(e, t, r, n, i, o) {
|
|
629
|
+
let s = class extends Yt {
|
|
630
630
|
constructor() {
|
|
631
631
|
super(e, r, i), this.$$p_d = t;
|
|
632
632
|
}
|
|
@@ -656,7 +656,7 @@ function yn(e, t, r, n, i, o) {
|
|
|
656
656
|
}), e.element = /** @type {any} */
|
|
657
657
|
s, s;
|
|
658
658
|
}
|
|
659
|
-
class
|
|
659
|
+
class yn {
|
|
660
660
|
constructor() {
|
|
661
661
|
/**
|
|
662
662
|
* ### PRIVATE API
|
|
@@ -686,7 +686,7 @@ class vn {
|
|
|
686
686
|
* @returns {() => void}
|
|
687
687
|
*/
|
|
688
688
|
$on(t, r) {
|
|
689
|
-
if (!
|
|
689
|
+
if (!Te(r))
|
|
690
690
|
return N;
|
|
691
691
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
692
692
|
return n.push(r), () => {
|
|
@@ -699,11 +699,11 @@ class vn {
|
|
|
699
699
|
* @returns {void}
|
|
700
700
|
*/
|
|
701
701
|
$set(t) {
|
|
702
|
-
this.$$set && !
|
|
702
|
+
this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
|
-
const
|
|
706
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
705
|
+
const vn = "4";
|
|
706
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vn);
|
|
707
707
|
/*! *****************************************************************************
|
|
708
708
|
Copyright (c) Microsoft Corporation.
|
|
709
709
|
|
|
@@ -718,24 +718,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
718
718
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
719
719
|
PERFORMANCE OF THIS SOFTWARE.
|
|
720
720
|
***************************************************************************** */
|
|
721
|
-
var
|
|
722
|
-
return
|
|
721
|
+
var Ve = function(e, t) {
|
|
722
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
723
723
|
r.__proto__ = n;
|
|
724
724
|
} || function(r, n) {
|
|
725
725
|
for (var i in n)
|
|
726
726
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
727
|
-
},
|
|
727
|
+
}, Ve(e, t);
|
|
728
728
|
};
|
|
729
|
-
function
|
|
729
|
+
function $(e, t) {
|
|
730
730
|
if (typeof t != "function" && t !== null)
|
|
731
731
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
732
|
-
|
|
732
|
+
Ve(e, t);
|
|
733
733
|
function r() {
|
|
734
734
|
this.constructor = e;
|
|
735
735
|
}
|
|
736
736
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
var E = function() {
|
|
739
|
+
return E = Object.assign || function(t) {
|
|
740
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
741
|
+
r = arguments[n];
|
|
742
|
+
for (var o in r)
|
|
743
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
744
|
+
}
|
|
745
|
+
return t;
|
|
746
|
+
}, E.apply(this, arguments);
|
|
747
|
+
};
|
|
748
|
+
function _n(e, t) {
|
|
749
|
+
var r = {};
|
|
750
|
+
for (var n in e)
|
|
751
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
752
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
753
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
754
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
755
|
+
return r;
|
|
756
|
+
}
|
|
757
|
+
function Xe(e) {
|
|
739
758
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
740
759
|
if (r)
|
|
741
760
|
return r.call(e);
|
|
@@ -747,7 +766,7 @@ function We(e) {
|
|
|
747
766
|
};
|
|
748
767
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
749
768
|
}
|
|
750
|
-
function
|
|
769
|
+
function ze(e, t) {
|
|
751
770
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
752
771
|
if (!r)
|
|
753
772
|
return e;
|
|
@@ -767,8 +786,8 @@ function Ze(e, t) {
|
|
|
767
786
|
}
|
|
768
787
|
return o;
|
|
769
788
|
}
|
|
770
|
-
function
|
|
771
|
-
if (arguments.length === 2)
|
|
789
|
+
function Z(e, t, r) {
|
|
790
|
+
if (r || arguments.length === 2)
|
|
772
791
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
773
792
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
774
793
|
return e.concat(o || t);
|
|
@@ -776,13 +795,13 @@ function Qe(e, t, r) {
|
|
|
776
795
|
function R(e) {
|
|
777
796
|
return typeof e == "function";
|
|
778
797
|
}
|
|
779
|
-
function
|
|
798
|
+
function Kt(e) {
|
|
780
799
|
var t = function(n) {
|
|
781
800
|
Error.call(n), n.stack = new Error().stack;
|
|
782
801
|
}, r = e(t);
|
|
783
802
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
784
803
|
}
|
|
785
|
-
var
|
|
804
|
+
var Ne = Kt(function(e) {
|
|
786
805
|
return function(r) {
|
|
787
806
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
788
807
|
` + r.map(function(n, i) {
|
|
@@ -791,13 +810,13 @@ var $e = tr(function(e) {
|
|
|
791
810
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
792
811
|
};
|
|
793
812
|
});
|
|
794
|
-
function
|
|
813
|
+
function We(e, t) {
|
|
795
814
|
if (e) {
|
|
796
815
|
var r = e.indexOf(t);
|
|
797
816
|
0 <= r && e.splice(r, 1);
|
|
798
817
|
}
|
|
799
818
|
}
|
|
800
|
-
var
|
|
819
|
+
var He = function() {
|
|
801
820
|
function e(t) {
|
|
802
821
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
803
822
|
}
|
|
@@ -809,12 +828,12 @@ var Ae = function() {
|
|
|
809
828
|
if (s)
|
|
810
829
|
if (this._parentage = null, Array.isArray(s))
|
|
811
830
|
try {
|
|
812
|
-
for (var a =
|
|
831
|
+
for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
|
|
813
832
|
var u = l.value;
|
|
814
833
|
u.remove(this);
|
|
815
834
|
}
|
|
816
|
-
} catch (
|
|
817
|
-
t = { error:
|
|
835
|
+
} catch (p) {
|
|
836
|
+
t = { error: p };
|
|
818
837
|
} finally {
|
|
819
838
|
try {
|
|
820
839
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -829,26 +848,26 @@ var Ae = function() {
|
|
|
829
848
|
if (R(h))
|
|
830
849
|
try {
|
|
831
850
|
h();
|
|
832
|
-
} catch (
|
|
833
|
-
o =
|
|
851
|
+
} catch (p) {
|
|
852
|
+
o = p instanceof Ne ? p.errors : [p];
|
|
834
853
|
}
|
|
835
854
|
var c = this._finalizers;
|
|
836
855
|
if (c) {
|
|
837
856
|
this._finalizers = null;
|
|
838
857
|
try {
|
|
839
|
-
for (var f =
|
|
840
|
-
var m =
|
|
858
|
+
for (var f = Xe(c), d = f.next(); !d.done; d = f.next()) {
|
|
859
|
+
var m = d.value;
|
|
841
860
|
try {
|
|
842
|
-
|
|
843
|
-
} catch (
|
|
844
|
-
o = o != null ? o : [],
|
|
861
|
+
vt(m);
|
|
862
|
+
} catch (p) {
|
|
863
|
+
o = o != null ? o : [], p instanceof Ne ? o = Z(Z([], ze(o)), ze(p.errors)) : o.push(p);
|
|
845
864
|
}
|
|
846
865
|
}
|
|
847
|
-
} catch (
|
|
848
|
-
n = { error:
|
|
866
|
+
} catch (p) {
|
|
867
|
+
n = { error: p };
|
|
849
868
|
} finally {
|
|
850
869
|
try {
|
|
851
|
-
|
|
870
|
+
d && !d.done && (i = f.return) && i.call(f);
|
|
852
871
|
} finally {
|
|
853
872
|
if (n)
|
|
854
873
|
throw n.error;
|
|
@@ -856,13 +875,13 @@ var Ae = function() {
|
|
|
856
875
|
}
|
|
857
876
|
}
|
|
858
877
|
if (o)
|
|
859
|
-
throw new
|
|
878
|
+
throw new Ne(o);
|
|
860
879
|
}
|
|
861
880
|
}, e.prototype.add = function(t) {
|
|
862
881
|
var r;
|
|
863
882
|
if (t && t !== this)
|
|
864
883
|
if (this.closed)
|
|
865
|
-
|
|
884
|
+
vt(t);
|
|
866
885
|
else {
|
|
867
886
|
if (t instanceof e) {
|
|
868
887
|
if (t.closed || t._hasParent(this))
|
|
@@ -879,52 +898,56 @@ var Ae = function() {
|
|
|
879
898
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
880
899
|
}, e.prototype._removeParent = function(t) {
|
|
881
900
|
var r = this._parentage;
|
|
882
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
901
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
883
902
|
}, e.prototype.remove = function(t) {
|
|
884
903
|
var r = this._finalizers;
|
|
885
|
-
r &&
|
|
904
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
886
905
|
}, e.EMPTY = function() {
|
|
887
906
|
var t = new e();
|
|
888
907
|
return t.closed = !0, t;
|
|
889
908
|
}(), e;
|
|
890
|
-
}(),
|
|
891
|
-
function
|
|
892
|
-
return e instanceof
|
|
909
|
+
}(), er = He.EMPTY;
|
|
910
|
+
function tr(e) {
|
|
911
|
+
return e instanceof He || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
893
912
|
}
|
|
894
|
-
function
|
|
913
|
+
function vt(e) {
|
|
895
914
|
R(e) ? e() : e.unsubscribe();
|
|
896
915
|
}
|
|
897
|
-
var
|
|
898
|
-
|
|
899
|
-
|
|
916
|
+
var rr = {
|
|
917
|
+
onUnhandledError: null,
|
|
918
|
+
onStoppedNotification: null,
|
|
919
|
+
Promise: void 0,
|
|
920
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
921
|
+
useDeprecatedNextContext: !1
|
|
922
|
+
}, xn = {
|
|
900
923
|
setTimeout: function(e, t) {
|
|
901
924
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
902
925
|
r[n - 2] = arguments[n];
|
|
903
|
-
return setTimeout.apply(void 0,
|
|
926
|
+
return setTimeout.apply(void 0, Z([e, t], ze(r)));
|
|
904
927
|
},
|
|
905
928
|
clearTimeout: function(e) {
|
|
906
929
|
return clearTimeout(e);
|
|
907
930
|
},
|
|
908
931
|
delegate: void 0
|
|
909
932
|
};
|
|
910
|
-
function
|
|
911
|
-
|
|
933
|
+
function En(e) {
|
|
934
|
+
xn.setTimeout(function() {
|
|
912
935
|
throw e;
|
|
913
936
|
});
|
|
914
937
|
}
|
|
915
|
-
function
|
|
938
|
+
function _t() {
|
|
916
939
|
}
|
|
917
940
|
function ge(e) {
|
|
918
941
|
e();
|
|
919
942
|
}
|
|
920
|
-
var
|
|
921
|
-
|
|
943
|
+
var nr = function(e) {
|
|
944
|
+
$(t, e);
|
|
922
945
|
function t(r) {
|
|
923
946
|
var n = e.call(this) || this;
|
|
924
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
947
|
+
return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = Hn, n;
|
|
925
948
|
}
|
|
926
949
|
return t.create = function(r, n, i) {
|
|
927
|
-
return new
|
|
950
|
+
return new Ze(r, n, i);
|
|
928
951
|
}, t.prototype.next = function(r) {
|
|
929
952
|
this.isStopped || this._next(r);
|
|
930
953
|
}, t.prototype.error = function(r) {
|
|
@@ -948,7 +971,11 @@ var ir = function(e) {
|
|
|
948
971
|
this.unsubscribe();
|
|
949
972
|
}
|
|
950
973
|
}, t;
|
|
951
|
-
}(
|
|
974
|
+
}(He), wn = Function.prototype.bind;
|
|
975
|
+
function Le(e, t) {
|
|
976
|
+
return wn.call(e, t);
|
|
977
|
+
}
|
|
978
|
+
var Sn = function() {
|
|
952
979
|
function e(t) {
|
|
953
980
|
this.partialObserver = t;
|
|
954
981
|
}
|
|
@@ -979,29 +1006,41 @@ var ir = function(e) {
|
|
|
979
1006
|
me(r);
|
|
980
1007
|
}
|
|
981
1008
|
}, e;
|
|
982
|
-
}(),
|
|
983
|
-
|
|
1009
|
+
}(), Ze = function(e) {
|
|
1010
|
+
$(t, e);
|
|
984
1011
|
function t(r, n, i) {
|
|
985
1012
|
var o = e.call(this) || this, s;
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
1013
|
+
if (R(r) || !r)
|
|
1014
|
+
s = {
|
|
1015
|
+
next: r != null ? r : void 0,
|
|
1016
|
+
error: n != null ? n : void 0,
|
|
1017
|
+
complete: i != null ? i : void 0
|
|
1018
|
+
};
|
|
1019
|
+
else {
|
|
1020
|
+
var a;
|
|
1021
|
+
o && rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
1022
|
+
return o.unsubscribe();
|
|
1023
|
+
}, s = {
|
|
1024
|
+
next: r.next && Le(r.next, a),
|
|
1025
|
+
error: r.error && Le(r.error, a),
|
|
1026
|
+
complete: r.complete && Le(r.complete, a)
|
|
1027
|
+
}) : s = r;
|
|
1028
|
+
}
|
|
1029
|
+
return o.destination = new Sn(s), o;
|
|
991
1030
|
}
|
|
992
1031
|
return t;
|
|
993
|
-
}(
|
|
1032
|
+
}(nr);
|
|
994
1033
|
function me(e) {
|
|
995
|
-
|
|
1034
|
+
En(e);
|
|
996
1035
|
}
|
|
997
1036
|
function Tn(e) {
|
|
998
1037
|
throw e;
|
|
999
1038
|
}
|
|
1000
1039
|
var Hn = {
|
|
1001
1040
|
closed: !0,
|
|
1002
|
-
next:
|
|
1041
|
+
next: _t,
|
|
1003
1042
|
error: Tn,
|
|
1004
|
-
complete:
|
|
1043
|
+
complete: _t
|
|
1005
1044
|
}, An = function() {
|
|
1006
1045
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1007
1046
|
}();
|
|
@@ -1015,7 +1054,7 @@ function Cn(e) {
|
|
|
1015
1054
|
}, r);
|
|
1016
1055
|
};
|
|
1017
1056
|
}
|
|
1018
|
-
var
|
|
1057
|
+
var xt = function() {
|
|
1019
1058
|
function e(t) {
|
|
1020
1059
|
t && (this._subscribe = t);
|
|
1021
1060
|
}
|
|
@@ -1023,7 +1062,7 @@ var wt = function() {
|
|
|
1023
1062
|
var r = new e();
|
|
1024
1063
|
return r.source = this, r.operator = t, r;
|
|
1025
1064
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1026
|
-
var i = this, o = On(t) ? t : new
|
|
1065
|
+
var i = this, o = On(t) ? t : new Ze(t, r, n);
|
|
1027
1066
|
return ge(function() {
|
|
1028
1067
|
var s = i, a = s.operator, l = s.source;
|
|
1029
1068
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1036,8 +1075,8 @@ var wt = function() {
|
|
|
1036
1075
|
}
|
|
1037
1076
|
}, e.prototype.forEach = function(t, r) {
|
|
1038
1077
|
var n = this;
|
|
1039
|
-
return r =
|
|
1040
|
-
var s = new
|
|
1078
|
+
return r = Et(r), new r(function(i, o) {
|
|
1079
|
+
var s = new Ze({
|
|
1041
1080
|
next: function(a) {
|
|
1042
1081
|
try {
|
|
1043
1082
|
t(a);
|
|
@@ -1061,7 +1100,7 @@ var wt = function() {
|
|
|
1061
1100
|
return Cn(t)(this);
|
|
1062
1101
|
}, e.prototype.toPromise = function(t) {
|
|
1063
1102
|
var r = this;
|
|
1064
|
-
return t =
|
|
1103
|
+
return t = Et(t), new t(function(n, i) {
|
|
1065
1104
|
var o;
|
|
1066
1105
|
r.subscribe(function(s) {
|
|
1067
1106
|
return o = s;
|
|
@@ -1075,28 +1114,28 @@ var wt = function() {
|
|
|
1075
1114
|
return new e(t);
|
|
1076
1115
|
}, e;
|
|
1077
1116
|
}();
|
|
1078
|
-
function
|
|
1117
|
+
function Et(e) {
|
|
1079
1118
|
var t;
|
|
1080
|
-
return (t = e != null ? e :
|
|
1119
|
+
return (t = e != null ? e : rr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1081
1120
|
}
|
|
1082
1121
|
function Pn(e) {
|
|
1083
1122
|
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1084
1123
|
}
|
|
1085
1124
|
function On(e) {
|
|
1086
|
-
return e && e instanceof
|
|
1125
|
+
return e && e instanceof nr || Pn(e) && tr(e);
|
|
1087
1126
|
}
|
|
1088
|
-
var In =
|
|
1127
|
+
var In = Kt(function(e) {
|
|
1089
1128
|
return function() {
|
|
1090
1129
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1091
1130
|
};
|
|
1092
|
-
}),
|
|
1093
|
-
|
|
1131
|
+
}), ir = function(e) {
|
|
1132
|
+
$(t, e);
|
|
1094
1133
|
function t() {
|
|
1095
1134
|
var r = e.call(this) || this;
|
|
1096
1135
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1097
1136
|
}
|
|
1098
1137
|
return t.prototype.lift = function(r) {
|
|
1099
|
-
var n = new
|
|
1138
|
+
var n = new wt(this, this);
|
|
1100
1139
|
return n.operator = r, n;
|
|
1101
1140
|
}, t.prototype._throwIfClosed = function() {
|
|
1102
1141
|
if (this.closed)
|
|
@@ -1108,7 +1147,7 @@ var In = tr(function(e) {
|
|
|
1108
1147
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1109
1148
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1110
1149
|
try {
|
|
1111
|
-
for (var s =
|
|
1150
|
+
for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
1112
1151
|
var l = a.value;
|
|
1113
1152
|
l.next(r);
|
|
1114
1153
|
}
|
|
@@ -1157,20 +1196,20 @@ var In = tr(function(e) {
|
|
|
1157
1196
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1158
1197
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1159
1198
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1160
|
-
return o || s ?
|
|
1161
|
-
n.currentObservers = null,
|
|
1199
|
+
return o || s ? er : (this.currentObservers = null, a.push(r), new He(function() {
|
|
1200
|
+
n.currentObservers = null, We(a, r);
|
|
1162
1201
|
}));
|
|
1163
1202
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1164
1203
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1165
1204
|
i ? r.error(o) : s && r.complete();
|
|
1166
1205
|
}, t.prototype.asObservable = function() {
|
|
1167
|
-
var r = new
|
|
1206
|
+
var r = new xt();
|
|
1168
1207
|
return r.source = this, r;
|
|
1169
1208
|
}, t.create = function(r, n) {
|
|
1170
|
-
return new
|
|
1209
|
+
return new wt(r, n);
|
|
1171
1210
|
}, t;
|
|
1172
|
-
}(
|
|
1173
|
-
|
|
1211
|
+
}(xt), wt = function(e) {
|
|
1212
|
+
$(t, e);
|
|
1174
1213
|
function t(r, n) {
|
|
1175
1214
|
var i = e.call(this) || this;
|
|
1176
1215
|
return i.destination = r, i.source = n, i;
|
|
@@ -1186,17 +1225,17 @@ var In = tr(function(e) {
|
|
|
1186
1225
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1187
1226
|
}, t.prototype._subscribe = function(r) {
|
|
1188
1227
|
var n, i;
|
|
1189
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1228
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
|
|
1190
1229
|
}, t;
|
|
1191
|
-
}(
|
|
1230
|
+
}(ir), or = {
|
|
1192
1231
|
now: function() {
|
|
1193
|
-
return (
|
|
1232
|
+
return (or.delegate || Date).now();
|
|
1194
1233
|
},
|
|
1195
1234
|
delegate: void 0
|
|
1196
1235
|
}, Mn = function(e) {
|
|
1197
|
-
|
|
1236
|
+
$(t, e);
|
|
1198
1237
|
function t(r, n, i) {
|
|
1199
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1238
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
|
|
1200
1239
|
var o = e.call(this) || this;
|
|
1201
1240
|
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;
|
|
1202
1241
|
}
|
|
@@ -1216,24 +1255,24 @@ var In = tr(function(e) {
|
|
|
1216
1255
|
u && o.splice(0, u + 1);
|
|
1217
1256
|
}
|
|
1218
1257
|
}, t;
|
|
1219
|
-
}(
|
|
1220
|
-
const
|
|
1221
|
-
if (
|
|
1258
|
+
}(ir);
|
|
1259
|
+
const St = [], Tt = {}, Nn = (e, t = 0) => {
|
|
1260
|
+
if (St.indexOf(e) == -1) {
|
|
1222
1261
|
const r = new Mn(t);
|
|
1223
|
-
|
|
1262
|
+
Tt[e] = r, St.push(e);
|
|
1224
1263
|
}
|
|
1225
|
-
return
|
|
1264
|
+
return Tt[e];
|
|
1226
1265
|
}, V = [];
|
|
1227
1266
|
function Ln(e, t) {
|
|
1228
1267
|
return {
|
|
1229
|
-
subscribe:
|
|
1268
|
+
subscribe: Ae(e, t).subscribe
|
|
1230
1269
|
};
|
|
1231
1270
|
}
|
|
1232
|
-
function
|
|
1271
|
+
function Ae(e, t = N) {
|
|
1233
1272
|
let r;
|
|
1234
1273
|
const n = /* @__PURE__ */ new Set();
|
|
1235
1274
|
function i(a) {
|
|
1236
|
-
if (
|
|
1275
|
+
if (Xt(e, a) && (e = a, r)) {
|
|
1237
1276
|
const l = !V.length;
|
|
1238
1277
|
for (const u of n)
|
|
1239
1278
|
u[1](), V.push(u, e);
|
|
@@ -1255,7 +1294,7 @@ function Be(e, t = N) {
|
|
|
1255
1294
|
}
|
|
1256
1295
|
return { set: i, update: o, subscribe: s };
|
|
1257
1296
|
}
|
|
1258
|
-
function
|
|
1297
|
+
function K(e, t, r) {
|
|
1259
1298
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1260
1299
|
if (!i.every(Boolean))
|
|
1261
1300
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1269,28 +1308,28 @@ function Y(e, t, r) {
|
|
|
1269
1308
|
return;
|
|
1270
1309
|
c();
|
|
1271
1310
|
const m = t(n ? u[0] : u, s, a);
|
|
1272
|
-
o ? s(m) : c =
|
|
1273
|
-
},
|
|
1274
|
-
(m,
|
|
1311
|
+
o ? s(m) : c = Te(m) ? m : N;
|
|
1312
|
+
}, d = i.map(
|
|
1313
|
+
(m, p) => zt(
|
|
1275
1314
|
m,
|
|
1276
1315
|
(g) => {
|
|
1277
|
-
u[
|
|
1316
|
+
u[p] = g, h &= ~(1 << p), l && f();
|
|
1278
1317
|
},
|
|
1279
1318
|
() => {
|
|
1280
|
-
h |= 1 <<
|
|
1319
|
+
h |= 1 << p;
|
|
1281
1320
|
}
|
|
1282
1321
|
)
|
|
1283
1322
|
);
|
|
1284
1323
|
return l = !0, f(), function() {
|
|
1285
|
-
U(
|
|
1324
|
+
U(d), c(), l = !1;
|
|
1286
1325
|
};
|
|
1287
1326
|
});
|
|
1288
1327
|
}
|
|
1289
|
-
var
|
|
1290
|
-
function
|
|
1328
|
+
var jo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
1329
|
+
function Rn(e) {
|
|
1291
1330
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1292
1331
|
}
|
|
1293
|
-
var
|
|
1332
|
+
var $n = function(t) {
|
|
1294
1333
|
return Gn(t) && !Un(t);
|
|
1295
1334
|
};
|
|
1296
1335
|
function Gn(e) {
|
|
@@ -1307,29 +1346,29 @@ function jn(e) {
|
|
|
1307
1346
|
function kn(e) {
|
|
1308
1347
|
return Array.isArray(e) ? [] : {};
|
|
1309
1348
|
}
|
|
1310
|
-
function
|
|
1311
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1349
|
+
function se(e, t) {
|
|
1350
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(kn(e), e, t) : e;
|
|
1312
1351
|
}
|
|
1313
1352
|
function Vn(e, t, r) {
|
|
1314
1353
|
return e.concat(t).map(function(n) {
|
|
1315
|
-
return
|
|
1354
|
+
return se(n, r);
|
|
1316
1355
|
});
|
|
1317
1356
|
}
|
|
1318
1357
|
function Xn(e, t) {
|
|
1319
1358
|
if (!t.customMerge)
|
|
1320
|
-
return
|
|
1359
|
+
return Q;
|
|
1321
1360
|
var r = t.customMerge(e);
|
|
1322
|
-
return typeof r == "function" ? r :
|
|
1361
|
+
return typeof r == "function" ? r : Q;
|
|
1323
1362
|
}
|
|
1324
1363
|
function zn(e) {
|
|
1325
1364
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1326
1365
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1327
1366
|
}) : [];
|
|
1328
1367
|
}
|
|
1329
|
-
function
|
|
1368
|
+
function Ht(e) {
|
|
1330
1369
|
return Object.keys(e).concat(zn(e));
|
|
1331
1370
|
}
|
|
1332
|
-
function
|
|
1371
|
+
function sr(e, t) {
|
|
1333
1372
|
try {
|
|
1334
1373
|
return t in e;
|
|
1335
1374
|
} catch (r) {
|
|
@@ -1337,179 +1376,129 @@ function ar(e, t) {
|
|
|
1337
1376
|
}
|
|
1338
1377
|
}
|
|
1339
1378
|
function Wn(e, t) {
|
|
1340
|
-
return
|
|
1379
|
+
return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1341
1380
|
}
|
|
1342
1381
|
function Zn(e, t, r) {
|
|
1343
1382
|
var n = {};
|
|
1344
|
-
return r.isMergeableObject(e) &&
|
|
1345
|
-
n[i] =
|
|
1346
|
-
}),
|
|
1347
|
-
Wn(e, i) || (
|
|
1383
|
+
return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
|
|
1384
|
+
n[i] = se(e[i], r);
|
|
1385
|
+
}), Ht(t).forEach(function(i) {
|
|
1386
|
+
Wn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
1348
1387
|
}), n;
|
|
1349
1388
|
}
|
|
1350
|
-
function
|
|
1351
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject ||
|
|
1389
|
+
function Q(e, t, r) {
|
|
1390
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = se;
|
|
1352
1391
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1353
|
-
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) :
|
|
1392
|
+
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : se(t, r);
|
|
1354
1393
|
}
|
|
1355
|
-
|
|
1394
|
+
Q.all = function(t, r) {
|
|
1356
1395
|
if (!Array.isArray(t))
|
|
1357
1396
|
throw new Error("first argument should be an array");
|
|
1358
1397
|
return t.reduce(function(n, i) {
|
|
1359
|
-
return
|
|
1398
|
+
return Q(n, i, r);
|
|
1360
1399
|
}, {});
|
|
1361
1400
|
};
|
|
1362
|
-
var Qn =
|
|
1363
|
-
const qn = /* @__PURE__ */
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
r.__proto__ = n;
|
|
1367
|
-
} || function(r, n) {
|
|
1368
|
-
for (var i in n)
|
|
1369
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1370
|
-
}, Ye(e, t);
|
|
1371
|
-
};
|
|
1372
|
-
function Ce(e, t) {
|
|
1373
|
-
if (typeof t != "function" && t !== null)
|
|
1374
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1375
|
-
Ye(e, t);
|
|
1376
|
-
function r() {
|
|
1377
|
-
this.constructor = e;
|
|
1378
|
-
}
|
|
1379
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1380
|
-
}
|
|
1381
|
-
var L = function() {
|
|
1382
|
-
return L = Object.assign || function(t) {
|
|
1383
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1384
|
-
r = arguments[n];
|
|
1385
|
-
for (var o in r)
|
|
1386
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1387
|
-
}
|
|
1388
|
-
return t;
|
|
1389
|
-
}, L.apply(this, arguments);
|
|
1390
|
-
};
|
|
1391
|
-
function Yn(e, t) {
|
|
1392
|
-
var r = {};
|
|
1393
|
-
for (var n in e)
|
|
1394
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1395
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1396
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1397
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1398
|
-
return r;
|
|
1399
|
-
}
|
|
1400
|
-
function Re(e, t, r) {
|
|
1401
|
-
if (r || arguments.length === 2)
|
|
1402
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1403
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1404
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1405
|
-
}
|
|
1406
|
-
function Ge(e, t) {
|
|
1407
|
-
var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
|
|
1401
|
+
var Qn = Q, Jn = Qn;
|
|
1402
|
+
const qn = /* @__PURE__ */ Rn(Jn);
|
|
1403
|
+
function Re(e, t) {
|
|
1404
|
+
var r = t && t.cache ? t.cache : ni, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : Kn;
|
|
1408
1405
|
return i(e, {
|
|
1409
1406
|
cache: r,
|
|
1410
1407
|
serializer: n
|
|
1411
1408
|
});
|
|
1412
1409
|
}
|
|
1413
|
-
function
|
|
1410
|
+
function Yn(e) {
|
|
1414
1411
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1415
1412
|
}
|
|
1416
|
-
function
|
|
1417
|
-
var i =
|
|
1413
|
+
function ar(e, t, r, n) {
|
|
1414
|
+
var i = Yn(n) ? n : r(n), o = t.get(i);
|
|
1418
1415
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1419
1416
|
}
|
|
1420
1417
|
function ur(e, t, r) {
|
|
1421
1418
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1422
1419
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1423
1420
|
}
|
|
1424
|
-
function
|
|
1421
|
+
function st(e, t, r, n, i) {
|
|
1425
1422
|
return r.bind(t, e, n, i);
|
|
1426
1423
|
}
|
|
1427
|
-
function
|
|
1428
|
-
var r = e.length === 1 ?
|
|
1429
|
-
return
|
|
1424
|
+
function Kn(e, t) {
|
|
1425
|
+
var r = e.length === 1 ? ar : ur;
|
|
1426
|
+
return st(e, this, r, t.cache.create(), t.serializer);
|
|
1430
1427
|
}
|
|
1431
|
-
function
|
|
1432
|
-
return
|
|
1428
|
+
function ei(e, t) {
|
|
1429
|
+
return st(e, this, ur, t.cache.create(), t.serializer);
|
|
1433
1430
|
}
|
|
1434
|
-
|
|
1431
|
+
function ti(e, t) {
|
|
1432
|
+
return st(e, this, ar, t.cache.create(), t.serializer);
|
|
1433
|
+
}
|
|
1434
|
+
var ri = function() {
|
|
1435
1435
|
return JSON.stringify(arguments);
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
}()
|
|
1448
|
-
), oi = {
|
|
1436
|
+
};
|
|
1437
|
+
function at() {
|
|
1438
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1439
|
+
}
|
|
1440
|
+
at.prototype.get = function(e) {
|
|
1441
|
+
return this.cache[e];
|
|
1442
|
+
};
|
|
1443
|
+
at.prototype.set = function(e, t) {
|
|
1444
|
+
this.cache[e] = t;
|
|
1445
|
+
};
|
|
1446
|
+
var ni = {
|
|
1449
1447
|
create: function() {
|
|
1450
|
-
return new
|
|
1448
|
+
return new at();
|
|
1451
1449
|
}
|
|
1452
|
-
},
|
|
1453
|
-
variadic:
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1457
|
-
r = arguments[n];
|
|
1458
|
-
for (var o in r)
|
|
1459
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1460
|
-
}
|
|
1461
|
-
return t;
|
|
1462
|
-
}, we.apply(this, arguments);
|
|
1463
|
-
};
|
|
1464
|
-
var y;
|
|
1450
|
+
}, $e = {
|
|
1451
|
+
variadic: ei,
|
|
1452
|
+
monadic: ti
|
|
1453
|
+
}, y;
|
|
1465
1454
|
(function(e) {
|
|
1466
1455
|
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";
|
|
1467
1456
|
})(y || (y = {}));
|
|
1468
|
-
var
|
|
1457
|
+
var S;
|
|
1469
1458
|
(function(e) {
|
|
1470
1459
|
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";
|
|
1471
|
-
})(
|
|
1472
|
-
var
|
|
1460
|
+
})(S || (S = {}));
|
|
1461
|
+
var J;
|
|
1473
1462
|
(function(e) {
|
|
1474
1463
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1475
|
-
})(
|
|
1476
|
-
function
|
|
1477
|
-
return e.type ===
|
|
1464
|
+
})(J || (J = {}));
|
|
1465
|
+
function At(e) {
|
|
1466
|
+
return e.type === S.literal;
|
|
1478
1467
|
}
|
|
1479
|
-
function
|
|
1480
|
-
return e.type ===
|
|
1468
|
+
function ii(e) {
|
|
1469
|
+
return e.type === S.argument;
|
|
1470
|
+
}
|
|
1471
|
+
function lr(e) {
|
|
1472
|
+
return e.type === S.number;
|
|
1481
1473
|
}
|
|
1482
1474
|
function hr(e) {
|
|
1483
|
-
return e.type ===
|
|
1475
|
+
return e.type === S.date;
|
|
1484
1476
|
}
|
|
1485
1477
|
function cr(e) {
|
|
1486
|
-
return e.type ===
|
|
1478
|
+
return e.type === S.time;
|
|
1487
1479
|
}
|
|
1488
1480
|
function fr(e) {
|
|
1489
|
-
return e.type ===
|
|
1481
|
+
return e.type === S.select;
|
|
1490
1482
|
}
|
|
1491
1483
|
function mr(e) {
|
|
1492
|
-
return e.type ===
|
|
1484
|
+
return e.type === S.plural;
|
|
1493
1485
|
}
|
|
1494
|
-
function
|
|
1495
|
-
return e.type ===
|
|
1496
|
-
}
|
|
1497
|
-
function ai(e) {
|
|
1498
|
-
return e.type === w.pound;
|
|
1486
|
+
function oi(e) {
|
|
1487
|
+
return e.type === S.pound;
|
|
1499
1488
|
}
|
|
1500
1489
|
function dr(e) {
|
|
1501
|
-
return e.type ===
|
|
1490
|
+
return e.type === S.tag;
|
|
1502
1491
|
}
|
|
1503
|
-
function
|
|
1504
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1492
|
+
function pr(e) {
|
|
1493
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
|
1505
1494
|
}
|
|
1506
|
-
function
|
|
1507
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1495
|
+
function Qe(e) {
|
|
1496
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
1508
1497
|
}
|
|
1509
|
-
var
|
|
1510
|
-
function
|
|
1498
|
+
var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, si = /(?:[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;
|
|
1499
|
+
function ai(e) {
|
|
1511
1500
|
var t = {};
|
|
1512
|
-
return e.replace(
|
|
1501
|
+
return e.replace(si, function(r) {
|
|
1513
1502
|
var n = r.length;
|
|
1514
1503
|
switch (r[0]) {
|
|
1515
1504
|
case "G":
|
|
@@ -1598,21 +1587,11 @@ function li(e) {
|
|
|
1598
1587
|
return "";
|
|
1599
1588
|
}), t;
|
|
1600
1589
|
}
|
|
1601
|
-
var
|
|
1602
|
-
|
|
1603
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1604
|
-
r = arguments[n];
|
|
1605
|
-
for (var o in r)
|
|
1606
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1607
|
-
}
|
|
1608
|
-
return t;
|
|
1609
|
-
}, S.apply(this, arguments);
|
|
1610
|
-
};
|
|
1611
|
-
var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1612
|
-
function ci(e) {
|
|
1590
|
+
var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1591
|
+
function li(e) {
|
|
1613
1592
|
if (e.length === 0)
|
|
1614
1593
|
throw new Error("Number skeleton cannot be empty");
|
|
1615
|
-
for (var t = e.split(
|
|
1594
|
+
for (var t = e.split(ui).filter(function(f) {
|
|
1616
1595
|
return f.length > 0;
|
|
1617
1596
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1618
1597
|
var o = i[n], s = o.split("/");
|
|
@@ -1627,17 +1606,17 @@ function ci(e) {
|
|
|
1627
1606
|
}
|
|
1628
1607
|
return r;
|
|
1629
1608
|
}
|
|
1630
|
-
function
|
|
1609
|
+
function hi(e) {
|
|
1631
1610
|
return e.replace(/^(.*?)-/, "");
|
|
1632
1611
|
}
|
|
1633
|
-
var
|
|
1634
|
-
function
|
|
1612
|
+
var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ci = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
|
|
1613
|
+
function Ct(e) {
|
|
1635
1614
|
var t = {};
|
|
1636
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1615
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
|
|
1637
1616
|
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)), "";
|
|
1638
1617
|
}), t;
|
|
1639
1618
|
}
|
|
1640
|
-
function
|
|
1619
|
+
function vr(e) {
|
|
1641
1620
|
switch (e) {
|
|
1642
1621
|
case "sign-auto":
|
|
1643
1622
|
return {
|
|
@@ -1677,7 +1656,7 @@ function _r(e) {
|
|
|
1677
1656
|
};
|
|
1678
1657
|
}
|
|
1679
1658
|
}
|
|
1680
|
-
function
|
|
1659
|
+
function fi(e) {
|
|
1681
1660
|
var t;
|
|
1682
1661
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1683
1662
|
notation: "engineering"
|
|
@@ -1685,17 +1664,17 @@ function pi(e) {
|
|
|
1685
1664
|
notation: "scientific"
|
|
1686
1665
|
}, e = e.slice(1)), t) {
|
|
1687
1666
|
var r = e.slice(0, 2);
|
|
1688
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1667
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
|
|
1689
1668
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1690
1669
|
t.minimumIntegerDigits = e.length;
|
|
1691
1670
|
}
|
|
1692
1671
|
return t;
|
|
1693
1672
|
}
|
|
1694
|
-
function
|
|
1695
|
-
var t = {}, r =
|
|
1673
|
+
function Pt(e) {
|
|
1674
|
+
var t = {}, r = vr(e);
|
|
1696
1675
|
return r || t;
|
|
1697
1676
|
}
|
|
1698
|
-
function
|
|
1677
|
+
function mi(e) {
|
|
1699
1678
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1700
1679
|
var i = n[r];
|
|
1701
1680
|
switch (i.stem) {
|
|
@@ -1719,7 +1698,7 @@ function di(e) {
|
|
|
1719
1698
|
continue;
|
|
1720
1699
|
case "measure-unit":
|
|
1721
1700
|
case "unit":
|
|
1722
|
-
t.style = "unit", t.unit =
|
|
1701
|
+
t.style = "unit", t.unit = hi(i.options[0]);
|
|
1723
1702
|
continue;
|
|
1724
1703
|
case "compact-short":
|
|
1725
1704
|
case "K":
|
|
@@ -1730,13 +1709,13 @@ function di(e) {
|
|
|
1730
1709
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1731
1710
|
continue;
|
|
1732
1711
|
case "scientific":
|
|
1733
|
-
t =
|
|
1734
|
-
return
|
|
1712
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1713
|
+
return E(E({}, l), Pt(u));
|
|
1735
1714
|
}, {}));
|
|
1736
1715
|
continue;
|
|
1737
1716
|
case "engineering":
|
|
1738
|
-
t =
|
|
1739
|
-
return
|
|
1717
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1718
|
+
return E(E({}, l), Pt(u));
|
|
1740
1719
|
}, {}));
|
|
1741
1720
|
continue;
|
|
1742
1721
|
case "notation-simple":
|
|
@@ -1781,45 +1760,45 @@ function di(e) {
|
|
|
1781
1760
|
case "integer-width":
|
|
1782
1761
|
if (i.options.length > 1)
|
|
1783
1762
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1784
|
-
i.options[0].replace(
|
|
1763
|
+
i.options[0].replace(ci, function(l, u, h, c, f, d) {
|
|
1785
1764
|
if (u)
|
|
1786
1765
|
t.minimumIntegerDigits = h.length;
|
|
1787
1766
|
else {
|
|
1788
1767
|
if (c && f)
|
|
1789
1768
|
throw new Error("We currently do not support maximum integer digits");
|
|
1790
|
-
if (
|
|
1769
|
+
if (d)
|
|
1791
1770
|
throw new Error("We currently do not support exact integer digits");
|
|
1792
1771
|
}
|
|
1793
1772
|
return "";
|
|
1794
1773
|
});
|
|
1795
1774
|
continue;
|
|
1796
1775
|
}
|
|
1797
|
-
if (
|
|
1776
|
+
if (yr.test(i.stem)) {
|
|
1798
1777
|
t.minimumIntegerDigits = i.stem.length;
|
|
1799
1778
|
continue;
|
|
1800
1779
|
}
|
|
1801
|
-
if (
|
|
1780
|
+
if (Bt.test(i.stem)) {
|
|
1802
1781
|
if (i.options.length > 1)
|
|
1803
1782
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1804
|
-
i.stem.replace(
|
|
1805
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1783
|
+
i.stem.replace(Bt, function(l, u, h, c, f, d) {
|
|
1784
|
+
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), "";
|
|
1806
1785
|
});
|
|
1807
1786
|
var o = i.options[0];
|
|
1808
|
-
o === "w" ? t =
|
|
1787
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Ct(o)));
|
|
1809
1788
|
continue;
|
|
1810
1789
|
}
|
|
1811
|
-
if (
|
|
1812
|
-
t =
|
|
1790
|
+
if (gr.test(i.stem)) {
|
|
1791
|
+
t = E(E({}, t), Ct(i.stem));
|
|
1813
1792
|
continue;
|
|
1814
1793
|
}
|
|
1815
|
-
var s =
|
|
1816
|
-
s && (t =
|
|
1817
|
-
var a =
|
|
1818
|
-
a && (t =
|
|
1794
|
+
var s = vr(i.stem);
|
|
1795
|
+
s && (t = E(E({}, t), s));
|
|
1796
|
+
var a = fi(i.stem);
|
|
1797
|
+
a && (t = E(E({}, t), a));
|
|
1819
1798
|
}
|
|
1820
1799
|
return t;
|
|
1821
1800
|
}
|
|
1822
|
-
var
|
|
1801
|
+
var de = {
|
|
1823
1802
|
"001": [
|
|
1824
1803
|
"H",
|
|
1825
1804
|
"h"
|
|
@@ -3234,13 +3213,13 @@ var pe = {
|
|
|
3234
3213
|
"h"
|
|
3235
3214
|
]
|
|
3236
3215
|
};
|
|
3237
|
-
function
|
|
3216
|
+
function di(e, t) {
|
|
3238
3217
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3239
3218
|
var i = e.charAt(n);
|
|
3240
3219
|
if (i === "j") {
|
|
3241
3220
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3242
3221
|
o++, n++;
|
|
3243
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3222
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = pi(t);
|
|
3244
3223
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3245
3224
|
r += l;
|
|
3246
3225
|
for (; s-- > 0; )
|
|
@@ -3250,7 +3229,7 @@ function bi(e, t) {
|
|
|
3250
3229
|
}
|
|
3251
3230
|
return r;
|
|
3252
3231
|
}
|
|
3253
|
-
function
|
|
3232
|
+
function pi(e) {
|
|
3254
3233
|
var t = e.hourCycle;
|
|
3255
3234
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3256
3235
|
e.hourCycles && // @ts-ignore
|
|
@@ -3269,23 +3248,23 @@ function gi(e) {
|
|
|
3269
3248
|
}
|
|
3270
3249
|
var r = e.language, n;
|
|
3271
3250
|
r !== "root" && (n = e.maximize().region);
|
|
3272
|
-
var i =
|
|
3251
|
+
var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
|
3273
3252
|
return i[0];
|
|
3274
3253
|
}
|
|
3275
|
-
var
|
|
3254
|
+
var Ge, bi = new RegExp("^".concat(br.source, "*")), gi = new RegExp("".concat(br.source, "*$"));
|
|
3276
3255
|
function _(e, t) {
|
|
3277
3256
|
return { start: e, end: t };
|
|
3278
3257
|
}
|
|
3279
|
-
var
|
|
3258
|
+
var yi = !!String.prototype.startsWith && "_a".startsWith("a", 1), vi = !!String.fromCodePoint, _i = !!Object.fromEntries, xi = !!String.prototype.codePointAt, Ei = !!String.prototype.trimStart, wi = !!String.prototype.trimEnd, Si = !!Number.isSafeInteger, Ti = Si ? Number.isSafeInteger : function(e) {
|
|
3280
3259
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3281
|
-
},
|
|
3260
|
+
}, Je = !0;
|
|
3282
3261
|
try {
|
|
3283
|
-
var
|
|
3284
|
-
|
|
3262
|
+
var Hi = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3263
|
+
Je = ((Ge = Hi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
|
3285
3264
|
} catch (e) {
|
|
3286
|
-
|
|
3265
|
+
Je = !1;
|
|
3287
3266
|
}
|
|
3288
|
-
var
|
|
3267
|
+
var Ot = yi ? (
|
|
3289
3268
|
// Native
|
|
3290
3269
|
function(t, r, n) {
|
|
3291
3270
|
return t.startsWith(r, n);
|
|
@@ -3295,7 +3274,7 @@ var Mt = _i ? (
|
|
|
3295
3274
|
function(t, r, n) {
|
|
3296
3275
|
return t.slice(n, n + r.length) === r;
|
|
3297
3276
|
}
|
|
3298
|
-
),
|
|
3277
|
+
), qe = vi ? String.fromCodePoint : (
|
|
3299
3278
|
// IE11
|
|
3300
3279
|
function() {
|
|
3301
3280
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3307,9 +3286,9 @@ var Mt = _i ? (
|
|
|
3307
3286
|
}
|
|
3308
3287
|
return n;
|
|
3309
3288
|
}
|
|
3310
|
-
),
|
|
3289
|
+
), It = (
|
|
3311
3290
|
// native
|
|
3312
|
-
|
|
3291
|
+
_i ? Object.fromEntries : (
|
|
3313
3292
|
// Ponyfill
|
|
3314
3293
|
function(t) {
|
|
3315
3294
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3319,7 +3298,7 @@ var Mt = _i ? (
|
|
|
3319
3298
|
return r;
|
|
3320
3299
|
}
|
|
3321
3300
|
)
|
|
3322
|
-
),
|
|
3301
|
+
), _r = xi ? (
|
|
3323
3302
|
// Native
|
|
3324
3303
|
function(t, r) {
|
|
3325
3304
|
return t.codePointAt(r);
|
|
@@ -3333,7 +3312,7 @@ var Mt = _i ? (
|
|
|
3333
3312
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3334
3313
|
}
|
|
3335
3314
|
}
|
|
3336
|
-
),
|
|
3315
|
+
), Ai = Ei ? (
|
|
3337
3316
|
// Native
|
|
3338
3317
|
function(t) {
|
|
3339
3318
|
return t.trimStart();
|
|
@@ -3341,9 +3320,9 @@ var Mt = _i ? (
|
|
|
3341
3320
|
) : (
|
|
3342
3321
|
// Ponyfill
|
|
3343
3322
|
function(t) {
|
|
3344
|
-
return t.replace(
|
|
3323
|
+
return t.replace(bi, "");
|
|
3345
3324
|
}
|
|
3346
|
-
),
|
|
3325
|
+
), Bi = wi ? (
|
|
3347
3326
|
// Native
|
|
3348
3327
|
function(t) {
|
|
3349
3328
|
return t.trimEnd();
|
|
@@ -3351,32 +3330,32 @@ var Mt = _i ? (
|
|
|
3351
3330
|
) : (
|
|
3352
3331
|
// Ponyfill
|
|
3353
3332
|
function(t) {
|
|
3354
|
-
return t.replace(
|
|
3333
|
+
return t.replace(gi, "");
|
|
3355
3334
|
}
|
|
3356
3335
|
);
|
|
3357
|
-
function
|
|
3336
|
+
function xr(e, t) {
|
|
3358
3337
|
return new RegExp(e, t);
|
|
3359
3338
|
}
|
|
3360
|
-
var
|
|
3361
|
-
if (
|
|
3362
|
-
var
|
|
3363
|
-
|
|
3339
|
+
var Ye;
|
|
3340
|
+
if (Je) {
|
|
3341
|
+
var Mt = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3342
|
+
Ye = function(t, r) {
|
|
3364
3343
|
var n;
|
|
3365
|
-
|
|
3366
|
-
var i =
|
|
3344
|
+
Mt.lastIndex = r;
|
|
3345
|
+
var i = Mt.exec(t);
|
|
3367
3346
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3368
3347
|
};
|
|
3369
3348
|
} else
|
|
3370
|
-
|
|
3349
|
+
Ye = function(t, r) {
|
|
3371
3350
|
for (var n = []; ; ) {
|
|
3372
|
-
var i =
|
|
3373
|
-
if (i === void 0 ||
|
|
3351
|
+
var i = _r(t, r);
|
|
3352
|
+
if (i === void 0 || Er(i) || Ii(i))
|
|
3374
3353
|
break;
|
|
3375
3354
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3376
3355
|
}
|
|
3377
|
-
return
|
|
3356
|
+
return qe.apply(void 0, n);
|
|
3378
3357
|
};
|
|
3379
|
-
var
|
|
3358
|
+
var Ci = (
|
|
3380
3359
|
/** @class */
|
|
3381
3360
|
function() {
|
|
3382
3361
|
function e(t, r) {
|
|
@@ -3400,14 +3379,14 @@ var Oi = (
|
|
|
3400
3379
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3401
3380
|
var a = this.clonePosition();
|
|
3402
3381
|
this.bump(), i.push({
|
|
3403
|
-
type:
|
|
3382
|
+
type: S.pound,
|
|
3404
3383
|
location: _(a, this.clonePosition())
|
|
3405
3384
|
});
|
|
3406
3385
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3407
3386
|
if (n)
|
|
3408
3387
|
break;
|
|
3409
3388
|
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3410
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3389
|
+
} else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
|
3411
3390
|
var s = this.parseTag(t, r);
|
|
3412
3391
|
if (s.err)
|
|
3413
3392
|
return s;
|
|
@@ -3428,7 +3407,7 @@ var Oi = (
|
|
|
3428
3407
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3429
3408
|
return {
|
|
3430
3409
|
val: {
|
|
3431
|
-
type:
|
|
3410
|
+
type: S.literal,
|
|
3432
3411
|
value: "<".concat(i, "/>"),
|
|
3433
3412
|
location: _(n, this.clonePosition())
|
|
3434
3413
|
},
|
|
@@ -3440,12 +3419,12 @@ var Oi = (
|
|
|
3440
3419
|
return o;
|
|
3441
3420
|
var s = o.val, a = this.clonePosition();
|
|
3442
3421
|
if (this.bumpIf("</")) {
|
|
3443
|
-
if (this.isEOF() || !
|
|
3422
|
+
if (this.isEOF() || !Ke(this.char()))
|
|
3444
3423
|
return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
|
|
3445
3424
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3446
3425
|
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3447
3426
|
val: {
|
|
3448
|
-
type:
|
|
3427
|
+
type: S.tag,
|
|
3449
3428
|
value: i,
|
|
3450
3429
|
children: s,
|
|
3451
3430
|
location: _(n, this.clonePosition())
|
|
@@ -3458,7 +3437,7 @@ var Oi = (
|
|
|
3458
3437
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
3459
3438
|
}, e.prototype.parseTagName = function() {
|
|
3460
3439
|
var t = this.offset();
|
|
3461
|
-
for (this.bump(); !this.isEOF() &&
|
|
3440
|
+
for (this.bump(); !this.isEOF() && Oi(this.char()); )
|
|
3462
3441
|
this.bump();
|
|
3463
3442
|
return this.message.slice(t, this.offset());
|
|
3464
3443
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3482,12 +3461,12 @@ var Oi = (
|
|
|
3482
3461
|
}
|
|
3483
3462
|
var l = _(n, this.clonePosition());
|
|
3484
3463
|
return {
|
|
3485
|
-
val: { type:
|
|
3464
|
+
val: { type: S.literal, value: i, location: l },
|
|
3486
3465
|
err: null
|
|
3487
3466
|
};
|
|
3488
3467
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3489
3468
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3490
|
-
!
|
|
3469
|
+
!Pi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3491
3470
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3492
3471
|
if (this.isEOF() || this.char() !== 39)
|
|
3493
3472
|
return null;
|
|
@@ -3521,12 +3500,12 @@ var Oi = (
|
|
|
3521
3500
|
r.push(n);
|
|
3522
3501
|
this.bump();
|
|
3523
3502
|
}
|
|
3524
|
-
return
|
|
3503
|
+
return qe.apply(void 0, r);
|
|
3525
3504
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3526
3505
|
if (this.isEOF())
|
|
3527
3506
|
return null;
|
|
3528
3507
|
var n = this.char();
|
|
3529
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3508
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
|
3530
3509
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3531
3510
|
var n = this.clonePosition();
|
|
3532
3511
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3542,7 +3521,7 @@ var Oi = (
|
|
|
3542
3521
|
case 125:
|
|
3543
3522
|
return this.bump(), {
|
|
3544
3523
|
val: {
|
|
3545
|
-
type:
|
|
3524
|
+
type: S.argument,
|
|
3546
3525
|
// value does not include the opening and closing braces.
|
|
3547
3526
|
value: i,
|
|
3548
3527
|
location: _(n, this.clonePosition())
|
|
@@ -3555,7 +3534,7 @@ var Oi = (
|
|
|
3555
3534
|
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3556
3535
|
}
|
|
3557
3536
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3558
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3537
|
+
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
|
3559
3538
|
this.bumpTo(i);
|
|
3560
3539
|
var o = this.clonePosition(), s = _(t, o);
|
|
3561
3540
|
return { value: n, location: s };
|
|
@@ -3574,46 +3553,46 @@ var Oi = (
|
|
|
3574
3553
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3575
3554
|
if (c.err)
|
|
3576
3555
|
return c;
|
|
3577
|
-
var f =
|
|
3556
|
+
var f = Bi(c.val);
|
|
3578
3557
|
if (f.length === 0)
|
|
3579
3558
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3580
|
-
var
|
|
3581
|
-
u = { style: f, styleLocation:
|
|
3559
|
+
var d = _(h, this.clonePosition());
|
|
3560
|
+
u = { style: f, styleLocation: d };
|
|
3582
3561
|
}
|
|
3583
3562
|
var m = this.tryParseArgumentClose(i);
|
|
3584
3563
|
if (m.err)
|
|
3585
3564
|
return m;
|
|
3586
|
-
var
|
|
3587
|
-
if (u &&
|
|
3588
|
-
var g =
|
|
3565
|
+
var p = _(i, this.clonePosition());
|
|
3566
|
+
if (u && Ot(u == null ? void 0 : u.style, "::", 0)) {
|
|
3567
|
+
var g = Ai(u.style.slice(2));
|
|
3589
3568
|
if (a === "number") {
|
|
3590
3569
|
var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3591
3570
|
return c.err ? c : {
|
|
3592
|
-
val: { type:
|
|
3571
|
+
val: { type: S.number, value: n, location: p, style: c.val },
|
|
3593
3572
|
err: null
|
|
3594
3573
|
};
|
|
3595
3574
|
} else {
|
|
3596
3575
|
if (g.length === 0)
|
|
3597
|
-
return this.error(y.EXPECT_DATE_TIME_SKELETON,
|
|
3576
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
|
|
3598
3577
|
var A = g;
|
|
3599
|
-
this.locale && (A =
|
|
3578
|
+
this.locale && (A = di(g, this.locale));
|
|
3600
3579
|
var f = {
|
|
3601
|
-
type:
|
|
3580
|
+
type: J.dateTime,
|
|
3602
3581
|
pattern: A,
|
|
3603
3582
|
location: u.styleLocation,
|
|
3604
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3605
|
-
}, T = a === "date" ?
|
|
3583
|
+
parsedOptions: this.shouldParseSkeletons ? ai(A) : {}
|
|
3584
|
+
}, T = a === "date" ? S.date : S.time;
|
|
3606
3585
|
return {
|
|
3607
|
-
val: { type: T, value: n, location:
|
|
3586
|
+
val: { type: T, value: n, location: p, style: f },
|
|
3608
3587
|
err: null
|
|
3609
3588
|
};
|
|
3610
3589
|
}
|
|
3611
3590
|
}
|
|
3612
3591
|
return {
|
|
3613
3592
|
val: {
|
|
3614
|
-
type: a === "number" ?
|
|
3593
|
+
type: a === "number" ? S.number : a === "date" ? S.date : S.time,
|
|
3615
3594
|
value: n,
|
|
3616
|
-
location:
|
|
3595
|
+
location: p,
|
|
3617
3596
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3618
3597
|
},
|
|
3619
3598
|
err: null
|
|
@@ -3624,19 +3603,19 @@ var Oi = (
|
|
|
3624
3603
|
case "select": {
|
|
3625
3604
|
var x = this.clonePosition();
|
|
3626
3605
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3627
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x,
|
|
3606
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, E({}, x)));
|
|
3628
3607
|
this.bumpSpace();
|
|
3629
|
-
var
|
|
3630
|
-
if (a !== "select" &&
|
|
3608
|
+
var w = this.parseIdentifierIfPossible(), b = 0;
|
|
3609
|
+
if (a !== "select" && w.value === "offset") {
|
|
3631
3610
|
if (!this.bumpIf(":"))
|
|
3632
3611
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3633
3612
|
this.bumpSpace();
|
|
3634
3613
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3635
3614
|
if (c.err)
|
|
3636
3615
|
return c;
|
|
3637
|
-
this.bumpSpace(),
|
|
3616
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), b = c.val;
|
|
3638
3617
|
}
|
|
3639
|
-
var B = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3618
|
+
var B = this.tryParsePluralOrSelectOptions(t, a, r, w);
|
|
3640
3619
|
if (B.err)
|
|
3641
3620
|
return B;
|
|
3642
3621
|
var m = this.tryParseArgumentClose(i);
|
|
@@ -3645,17 +3624,17 @@ var Oi = (
|
|
|
3645
3624
|
var ce = _(i, this.clonePosition());
|
|
3646
3625
|
return a === "select" ? {
|
|
3647
3626
|
val: {
|
|
3648
|
-
type:
|
|
3627
|
+
type: S.select,
|
|
3649
3628
|
value: n,
|
|
3650
|
-
options:
|
|
3629
|
+
options: It(B.val),
|
|
3651
3630
|
location: ce
|
|
3652
3631
|
},
|
|
3653
3632
|
err: null
|
|
3654
3633
|
} : {
|
|
3655
3634
|
val: {
|
|
3656
|
-
type:
|
|
3635
|
+
type: S.plural,
|
|
3657
3636
|
value: n,
|
|
3658
|
-
options:
|
|
3637
|
+
options: It(B.val),
|
|
3659
3638
|
offset: b,
|
|
3660
3639
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3661
3640
|
location: ce
|
|
@@ -3706,16 +3685,16 @@ var Oi = (
|
|
|
3706
3685
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3707
3686
|
var n = [];
|
|
3708
3687
|
try {
|
|
3709
|
-
n =
|
|
3688
|
+
n = li(t);
|
|
3710
3689
|
} catch (i) {
|
|
3711
3690
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3712
3691
|
}
|
|
3713
3692
|
return {
|
|
3714
3693
|
val: {
|
|
3715
|
-
type:
|
|
3694
|
+
type: J.number,
|
|
3716
3695
|
tokens: n,
|
|
3717
3696
|
location: r,
|
|
3718
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3697
|
+
parsedOptions: this.shouldParseSkeletons ? mi(n) : {}
|
|
3719
3698
|
},
|
|
3720
3699
|
err: null
|
|
3721
3700
|
};
|
|
@@ -3734,20 +3713,20 @@ var Oi = (
|
|
|
3734
3713
|
if (l.has(u))
|
|
3735
3714
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3736
3715
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3737
|
-
var
|
|
3716
|
+
var d = this.clonePosition();
|
|
3738
3717
|
if (!this.bumpIf("{"))
|
|
3739
3718
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3740
3719
|
var m = this.parseMessage(t + 1, r, n);
|
|
3741
3720
|
if (m.err)
|
|
3742
3721
|
return m;
|
|
3743
|
-
var
|
|
3744
|
-
if (
|
|
3745
|
-
return
|
|
3722
|
+
var p = this.tryParseArgumentClose(d);
|
|
3723
|
+
if (p.err)
|
|
3724
|
+
return p;
|
|
3746
3725
|
a.push([
|
|
3747
3726
|
u,
|
|
3748
3727
|
{
|
|
3749
3728
|
value: m.val,
|
|
3750
|
-
location: _(
|
|
3729
|
+
location: _(d, this.clonePosition())
|
|
3751
3730
|
}
|
|
3752
3731
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3753
3732
|
}
|
|
@@ -3763,7 +3742,7 @@ var Oi = (
|
|
|
3763
3742
|
break;
|
|
3764
3743
|
}
|
|
3765
3744
|
var l = _(i, this.clonePosition());
|
|
3766
|
-
return o ? (s *= n,
|
|
3745
|
+
return o ? (s *= n, Ti(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3767
3746
|
}, e.prototype.offset = function() {
|
|
3768
3747
|
return this.position.offset;
|
|
3769
3748
|
}, e.prototype.isEOF = function() {
|
|
@@ -3778,7 +3757,7 @@ var Oi = (
|
|
|
3778
3757
|
var t = this.position.offset;
|
|
3779
3758
|
if (t >= this.message.length)
|
|
3780
3759
|
throw Error("out of bound");
|
|
3781
|
-
var r =
|
|
3760
|
+
var r = _r(this.message, t);
|
|
3782
3761
|
if (r === void 0)
|
|
3783
3762
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3784
3763
|
return r;
|
|
@@ -3797,7 +3776,7 @@ var Oi = (
|
|
|
3797
3776
|
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);
|
|
3798
3777
|
}
|
|
3799
3778
|
}, e.prototype.bumpIf = function(t) {
|
|
3800
|
-
if (
|
|
3779
|
+
if (Ot(this.message, t, this.offset())) {
|
|
3801
3780
|
for (var r = 0; r < t.length; r++)
|
|
3802
3781
|
this.bump();
|
|
3803
3782
|
return !0;
|
|
@@ -3819,7 +3798,7 @@ var Oi = (
|
|
|
3819
3798
|
break;
|
|
3820
3799
|
}
|
|
3821
3800
|
}, e.prototype.bumpSpace = function() {
|
|
3822
|
-
for (; !this.isEOF() &&
|
|
3801
|
+
for (; !this.isEOF() && Er(this.char()); )
|
|
3823
3802
|
this.bump();
|
|
3824
3803
|
}, e.prototype.peek = function() {
|
|
3825
3804
|
if (this.isEOF())
|
|
@@ -3829,47 +3808,47 @@ var Oi = (
|
|
|
3829
3808
|
}, e;
|
|
3830
3809
|
}()
|
|
3831
3810
|
);
|
|
3832
|
-
function
|
|
3811
|
+
function Ke(e) {
|
|
3833
3812
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3834
3813
|
}
|
|
3835
|
-
function
|
|
3836
|
-
return
|
|
3814
|
+
function Pi(e) {
|
|
3815
|
+
return Ke(e) || e === 47;
|
|
3837
3816
|
}
|
|
3838
|
-
function
|
|
3817
|
+
function Oi(e) {
|
|
3839
3818
|
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;
|
|
3840
3819
|
}
|
|
3841
|
-
function
|
|
3820
|
+
function Er(e) {
|
|
3842
3821
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3843
3822
|
}
|
|
3844
|
-
function
|
|
3823
|
+
function Ii(e) {
|
|
3845
3824
|
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;
|
|
3846
3825
|
}
|
|
3847
|
-
function
|
|
3826
|
+
function et(e) {
|
|
3848
3827
|
e.forEach(function(t) {
|
|
3849
|
-
if (delete t.location,
|
|
3828
|
+
if (delete t.location, fr(t) || mr(t))
|
|
3850
3829
|
for (var r in t.options)
|
|
3851
|
-
delete t.options[r].location,
|
|
3830
|
+
delete t.options[r].location, et(t.options[r].value);
|
|
3852
3831
|
else
|
|
3853
|
-
|
|
3832
|
+
lr(t) && pr(t.style) || (hr(t) || cr(t)) && Qe(t.style) ? delete t.style.location : dr(t) && et(t.children);
|
|
3854
3833
|
});
|
|
3855
3834
|
}
|
|
3856
|
-
function
|
|
3857
|
-
t === void 0 && (t = {}), t =
|
|
3858
|
-
var r = new
|
|
3835
|
+
function Mi(e, t) {
|
|
3836
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3837
|
+
var r = new Ci(e, t).parse();
|
|
3859
3838
|
if (r.err) {
|
|
3860
3839
|
var n = SyntaxError(y[r.err.kind]);
|
|
3861
3840
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3862
3841
|
}
|
|
3863
|
-
return t != null && t.captureLocation ||
|
|
3842
|
+
return t != null && t.captureLocation || et(r.val), r.val;
|
|
3864
3843
|
}
|
|
3865
|
-
var
|
|
3844
|
+
var q;
|
|
3866
3845
|
(function(e) {
|
|
3867
3846
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3868
|
-
})(
|
|
3869
|
-
var
|
|
3847
|
+
})(q || (q = {}));
|
|
3848
|
+
var Be = (
|
|
3870
3849
|
/** @class */
|
|
3871
3850
|
function(e) {
|
|
3872
|
-
|
|
3851
|
+
$(t, e);
|
|
3873
3852
|
function t(r, n, i) {
|
|
3874
3853
|
var o = e.call(this, r) || this;
|
|
3875
3854
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3878,48 +3857,48 @@ var Pe = (
|
|
|
3878
3857
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3879
3858
|
}, t;
|
|
3880
3859
|
}(Error)
|
|
3881
|
-
),
|
|
3860
|
+
), Nt = (
|
|
3882
3861
|
/** @class */
|
|
3883
3862
|
function(e) {
|
|
3884
|
-
|
|
3863
|
+
$(t, e);
|
|
3885
3864
|
function t(r, n, i, o) {
|
|
3886
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3865
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
|
|
3887
3866
|
}
|
|
3888
3867
|
return t;
|
|
3889
|
-
}(
|
|
3890
|
-
),
|
|
3868
|
+
}(Be)
|
|
3869
|
+
), Ni = (
|
|
3891
3870
|
/** @class */
|
|
3892
3871
|
function(e) {
|
|
3893
|
-
|
|
3872
|
+
$(t, e);
|
|
3894
3873
|
function t(r, n, i) {
|
|
3895
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3874
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3896
3875
|
}
|
|
3897
3876
|
return t;
|
|
3898
|
-
}(
|
|
3899
|
-
),
|
|
3877
|
+
}(Be)
|
|
3878
|
+
), Li = (
|
|
3900
3879
|
/** @class */
|
|
3901
3880
|
function(e) {
|
|
3902
|
-
|
|
3881
|
+
$(t, e);
|
|
3903
3882
|
function t(r, n) {
|
|
3904
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3883
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3905
3884
|
}
|
|
3906
3885
|
return t;
|
|
3907
|
-
}(
|
|
3886
|
+
}(Be)
|
|
3908
3887
|
), P;
|
|
3909
3888
|
(function(e) {
|
|
3910
3889
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3911
3890
|
})(P || (P = {}));
|
|
3912
|
-
function
|
|
3891
|
+
function Ri(e) {
|
|
3913
3892
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3914
3893
|
var n = t[t.length - 1];
|
|
3915
3894
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3916
3895
|
}, []);
|
|
3917
3896
|
}
|
|
3918
|
-
function
|
|
3897
|
+
function $i(e) {
|
|
3919
3898
|
return typeof e == "function";
|
|
3920
3899
|
}
|
|
3921
3900
|
function ye(e, t, r, n, i, o, s) {
|
|
3922
|
-
if (e.length === 1 &&
|
|
3901
|
+
if (e.length === 1 && At(e[0]))
|
|
3923
3902
|
return [
|
|
3924
3903
|
{
|
|
3925
3904
|
type: P.literal,
|
|
@@ -3928,14 +3907,14 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3928
3907
|
];
|
|
3929
3908
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3930
3909
|
var h = u[l];
|
|
3931
|
-
if (
|
|
3910
|
+
if (At(h)) {
|
|
3932
3911
|
a.push({
|
|
3933
3912
|
type: P.literal,
|
|
3934
3913
|
value: h.value
|
|
3935
3914
|
});
|
|
3936
3915
|
continue;
|
|
3937
3916
|
}
|
|
3938
|
-
if (
|
|
3917
|
+
if (oi(h)) {
|
|
3939
3918
|
typeof o == "number" && a.push({
|
|
3940
3919
|
type: P.literal,
|
|
3941
3920
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3944,43 +3923,43 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3944
3923
|
}
|
|
3945
3924
|
var c = h.value;
|
|
3946
3925
|
if (!(i && c in i))
|
|
3947
|
-
throw new
|
|
3926
|
+
throw new Li(c, s);
|
|
3948
3927
|
var f = i[c];
|
|
3949
|
-
if (
|
|
3928
|
+
if (ii(h)) {
|
|
3950
3929
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3951
3930
|
type: typeof f == "string" ? P.literal : P.object,
|
|
3952
3931
|
value: f
|
|
3953
3932
|
});
|
|
3954
3933
|
continue;
|
|
3955
3934
|
}
|
|
3956
|
-
if (
|
|
3957
|
-
var
|
|
3935
|
+
if (hr(h)) {
|
|
3936
|
+
var d = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
|
|
3958
3937
|
a.push({
|
|
3959
3938
|
type: P.literal,
|
|
3960
|
-
value: r.getDateTimeFormat(t,
|
|
3939
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3961
3940
|
});
|
|
3962
3941
|
continue;
|
|
3963
3942
|
}
|
|
3964
|
-
if (
|
|
3965
|
-
var
|
|
3943
|
+
if (cr(h)) {
|
|
3944
|
+
var d = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3966
3945
|
a.push({
|
|
3967
3946
|
type: P.literal,
|
|
3968
|
-
value: r.getDateTimeFormat(t,
|
|
3947
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3969
3948
|
});
|
|
3970
3949
|
continue;
|
|
3971
3950
|
}
|
|
3972
|
-
if (
|
|
3973
|
-
var
|
|
3974
|
-
|
|
3951
|
+
if (lr(h)) {
|
|
3952
|
+
var d = typeof h.style == "string" ? n.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
|
|
3953
|
+
d && d.scale && (f = f * (d.scale || 1)), a.push({
|
|
3975
3954
|
type: P.literal,
|
|
3976
|
-
value: r.getNumberFormat(t,
|
|
3955
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3977
3956
|
});
|
|
3978
3957
|
continue;
|
|
3979
3958
|
}
|
|
3980
3959
|
if (dr(h)) {
|
|
3981
|
-
var m = h.children,
|
|
3982
|
-
if (
|
|
3983
|
-
throw new
|
|
3960
|
+
var m = h.children, p = h.value, g = i[p];
|
|
3961
|
+
if (!$i(g))
|
|
3962
|
+
throw new Ni(p, "function", s);
|
|
3984
3963
|
var A = ye(m, t, r, n, i, o), T = g(A.map(function(b) {
|
|
3985
3964
|
return b.value;
|
|
3986
3965
|
}));
|
|
@@ -3991,42 +3970,42 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3991
3970
|
};
|
|
3992
3971
|
}));
|
|
3993
3972
|
}
|
|
3994
|
-
if (
|
|
3973
|
+
if (fr(h)) {
|
|
3995
3974
|
var x = h.options[f] || h.options.other;
|
|
3996
3975
|
if (!x)
|
|
3997
|
-
throw new
|
|
3976
|
+
throw new Nt(h.value, f, Object.keys(h.options), s);
|
|
3998
3977
|
a.push.apply(a, ye(x.value, t, r, n, i));
|
|
3999
3978
|
continue;
|
|
4000
3979
|
}
|
|
4001
|
-
if (
|
|
3980
|
+
if (mr(h)) {
|
|
4002
3981
|
var x = h.options["=".concat(f)];
|
|
4003
3982
|
if (!x) {
|
|
4004
3983
|
if (!Intl.PluralRules)
|
|
4005
|
-
throw new
|
|
3984
|
+
throw new Be(`Intl.PluralRules is not available in this environment.
|
|
4006
3985
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4007
|
-
`,
|
|
4008
|
-
var
|
|
4009
|
-
x = h.options[
|
|
3986
|
+
`, q.MISSING_INTL_API, s);
|
|
3987
|
+
var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3988
|
+
x = h.options[w] || h.options.other;
|
|
4010
3989
|
}
|
|
4011
3990
|
if (!x)
|
|
4012
|
-
throw new
|
|
3991
|
+
throw new Nt(h.value, f, Object.keys(h.options), s);
|
|
4013
3992
|
a.push.apply(a, ye(x.value, t, r, n, i, f - (h.offset || 0)));
|
|
4014
3993
|
continue;
|
|
4015
3994
|
}
|
|
4016
3995
|
}
|
|
4017
|
-
return
|
|
3996
|
+
return Ri(a);
|
|
4018
3997
|
}
|
|
4019
|
-
function
|
|
4020
|
-
return t ?
|
|
4021
|
-
return r[n] =
|
|
3998
|
+
function Gi(e, t) {
|
|
3999
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4000
|
+
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
4022
4001
|
}, {})) : e;
|
|
4023
4002
|
}
|
|
4024
|
-
function
|
|
4003
|
+
function Ui(e, t) {
|
|
4025
4004
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4026
|
-
return r[n] =
|
|
4027
|
-
},
|
|
4005
|
+
return r[n] = Gi(e[n], t[n]), r;
|
|
4006
|
+
}, E({}, e)) : e;
|
|
4028
4007
|
}
|
|
4029
|
-
function
|
|
4008
|
+
function Ue(e) {
|
|
4030
4009
|
return {
|
|
4031
4010
|
create: function() {
|
|
4032
4011
|
return {
|
|
@@ -4040,39 +4019,39 @@ function Fe(e) {
|
|
|
4040
4019
|
}
|
|
4041
4020
|
};
|
|
4042
4021
|
}
|
|
4043
|
-
function
|
|
4022
|
+
function Di(e) {
|
|
4044
4023
|
return e === void 0 && (e = {
|
|
4045
4024
|
number: {},
|
|
4046
4025
|
dateTime: {},
|
|
4047
4026
|
pluralRules: {}
|
|
4048
4027
|
}), {
|
|
4049
|
-
getNumberFormat:
|
|
4028
|
+
getNumberFormat: Re(function() {
|
|
4050
4029
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4051
4030
|
r[n] = arguments[n];
|
|
4052
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4031
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
4053
4032
|
}, {
|
|
4054
|
-
cache:
|
|
4055
|
-
strategy:
|
|
4033
|
+
cache: Ue(e.number),
|
|
4034
|
+
strategy: $e.variadic
|
|
4056
4035
|
}),
|
|
4057
|
-
getDateTimeFormat:
|
|
4036
|
+
getDateTimeFormat: Re(function() {
|
|
4058
4037
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4059
4038
|
r[n] = arguments[n];
|
|
4060
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4039
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
|
|
4061
4040
|
}, {
|
|
4062
|
-
cache:
|
|
4063
|
-
strategy:
|
|
4041
|
+
cache: Ue(e.dateTime),
|
|
4042
|
+
strategy: $e.variadic
|
|
4064
4043
|
}),
|
|
4065
|
-
getPluralRules:
|
|
4044
|
+
getPluralRules: Re(function() {
|
|
4066
4045
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4067
4046
|
r[n] = arguments[n];
|
|
4068
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4047
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
|
|
4069
4048
|
}, {
|
|
4070
|
-
cache:
|
|
4071
|
-
strategy:
|
|
4049
|
+
cache: Ue(e.pluralRules),
|
|
4050
|
+
strategy: $e.variadic
|
|
4072
4051
|
})
|
|
4073
4052
|
};
|
|
4074
4053
|
}
|
|
4075
|
-
var
|
|
4054
|
+
var Fi = (
|
|
4076
4055
|
/** @class */
|
|
4077
4056
|
function() {
|
|
4078
4057
|
function e(t, r, n, i) {
|
|
@@ -4104,13 +4083,13 @@ var ki = (
|
|
|
4104
4083
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4105
4084
|
var s = i || {};
|
|
4106
4085
|
s.formatters;
|
|
4107
|
-
var a =
|
|
4108
|
-
this.ast = e.__parse(t,
|
|
4086
|
+
var a = _n(s, ["formatters"]);
|
|
4087
|
+
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
|
4109
4088
|
} else
|
|
4110
4089
|
this.ast = t;
|
|
4111
4090
|
if (!Array.isArray(this.ast))
|
|
4112
4091
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4113
|
-
this.formats =
|
|
4092
|
+
this.formats = Ui(e.formats, n), this.formatters = i && i.formatters || Di(this.formatterCache);
|
|
4114
4093
|
}
|
|
4115
4094
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4116
4095
|
get: function() {
|
|
@@ -4123,7 +4102,7 @@ var ki = (
|
|
|
4123
4102
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4124
4103
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4125
4104
|
}
|
|
4126
|
-
}, e.__parse =
|
|
4105
|
+
}, e.__parse = Mi, e.formats = {
|
|
4127
4106
|
number: {
|
|
4128
4107
|
integer: {
|
|
4129
4108
|
maximumFractionDigits: 0
|
|
@@ -4184,7 +4163,7 @@ var ki = (
|
|
|
4184
4163
|
}, e;
|
|
4185
4164
|
}()
|
|
4186
4165
|
);
|
|
4187
|
-
function
|
|
4166
|
+
function ji(e, t) {
|
|
4188
4167
|
if (t == null)
|
|
4189
4168
|
return;
|
|
4190
4169
|
if (t in e)
|
|
@@ -4205,92 +4184,92 @@ function Vi(e, t) {
|
|
|
4205
4184
|
n = void 0;
|
|
4206
4185
|
return n;
|
|
4207
4186
|
}
|
|
4208
|
-
const G = {},
|
|
4187
|
+
const G = {}, ki = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), wr = (e, t) => {
|
|
4209
4188
|
if (t == null)
|
|
4210
4189
|
return;
|
|
4211
4190
|
if (t in G && e in G[t])
|
|
4212
4191
|
return G[t][e];
|
|
4213
|
-
const r =
|
|
4192
|
+
const r = Ce(t);
|
|
4214
4193
|
for (let n = 0; n < r.length; n++) {
|
|
4215
|
-
const i = r[n], o =
|
|
4194
|
+
const i = r[n], o = Xi(i, e);
|
|
4216
4195
|
if (o)
|
|
4217
|
-
return
|
|
4196
|
+
return ki(e, t, o);
|
|
4218
4197
|
}
|
|
4219
4198
|
};
|
|
4220
|
-
let
|
|
4221
|
-
const he =
|
|
4222
|
-
function
|
|
4223
|
-
return
|
|
4199
|
+
let ut;
|
|
4200
|
+
const he = Ae({});
|
|
4201
|
+
function Vi(e) {
|
|
4202
|
+
return ut[e] || null;
|
|
4224
4203
|
}
|
|
4225
|
-
function
|
|
4226
|
-
return e in
|
|
4204
|
+
function Sr(e) {
|
|
4205
|
+
return e in ut;
|
|
4227
4206
|
}
|
|
4228
|
-
function
|
|
4229
|
-
if (!
|
|
4207
|
+
function Xi(e, t) {
|
|
4208
|
+
if (!Sr(e))
|
|
4230
4209
|
return null;
|
|
4231
|
-
const r =
|
|
4232
|
-
return
|
|
4210
|
+
const r = Vi(e);
|
|
4211
|
+
return ji(r, t);
|
|
4233
4212
|
}
|
|
4234
|
-
function
|
|
4213
|
+
function zi(e) {
|
|
4235
4214
|
if (e == null)
|
|
4236
4215
|
return;
|
|
4237
|
-
const t =
|
|
4216
|
+
const t = Ce(e);
|
|
4238
4217
|
for (let r = 0; r < t.length; r++) {
|
|
4239
4218
|
const n = t[r];
|
|
4240
|
-
if (
|
|
4219
|
+
if (Sr(n))
|
|
4241
4220
|
return n;
|
|
4242
4221
|
}
|
|
4243
4222
|
}
|
|
4244
|
-
function
|
|
4223
|
+
function Tr(e, ...t) {
|
|
4245
4224
|
delete G[e], he.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
|
|
4246
4225
|
}
|
|
4247
|
-
|
|
4226
|
+
K(
|
|
4248
4227
|
[he],
|
|
4249
4228
|
([e]) => Object.keys(e)
|
|
4250
4229
|
);
|
|
4251
|
-
he.subscribe((e) =>
|
|
4230
|
+
he.subscribe((e) => ut = e);
|
|
4252
4231
|
const ve = {};
|
|
4253
|
-
function
|
|
4232
|
+
function Wi(e, t) {
|
|
4254
4233
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
4255
4234
|
}
|
|
4256
|
-
function
|
|
4235
|
+
function Hr(e) {
|
|
4257
4236
|
return ve[e];
|
|
4258
4237
|
}
|
|
4259
|
-
function
|
|
4260
|
-
return
|
|
4261
|
-
const r =
|
|
4238
|
+
function Zi(e) {
|
|
4239
|
+
return Ce(e).map((t) => {
|
|
4240
|
+
const r = Hr(t);
|
|
4262
4241
|
return [t, r ? [...r] : []];
|
|
4263
4242
|
}).filter(([, t]) => t.length > 0);
|
|
4264
4243
|
}
|
|
4265
|
-
function
|
|
4266
|
-
return e == null ? !1 :
|
|
4244
|
+
function tt(e) {
|
|
4245
|
+
return e == null ? !1 : Ce(e).some(
|
|
4267
4246
|
(t) => {
|
|
4268
4247
|
var r;
|
|
4269
|
-
return (r =
|
|
4248
|
+
return (r = Hr(t)) == null ? void 0 : r.size;
|
|
4270
4249
|
}
|
|
4271
4250
|
);
|
|
4272
4251
|
}
|
|
4273
|
-
function
|
|
4252
|
+
function Qi(e, t) {
|
|
4274
4253
|
return Promise.all(
|
|
4275
|
-
t.map((n) => (
|
|
4276
|
-
).then((n) =>
|
|
4277
|
-
}
|
|
4278
|
-
const
|
|
4279
|
-
function
|
|
4280
|
-
if (!
|
|
4281
|
-
return e in
|
|
4282
|
-
const t =
|
|
4283
|
-
return
|
|
4254
|
+
t.map((n) => (Wi(e, n), n().then((i) => i.default || i)))
|
|
4255
|
+
).then((n) => Tr(e, ...n));
|
|
4256
|
+
}
|
|
4257
|
+
const ne = {};
|
|
4258
|
+
function Ar(e) {
|
|
4259
|
+
if (!tt(e))
|
|
4260
|
+
return e in ne ? ne[e] : Promise.resolve();
|
|
4261
|
+
const t = Zi(e);
|
|
4262
|
+
return ne[e] = Promise.all(
|
|
4284
4263
|
t.map(
|
|
4285
|
-
([r, n]) =>
|
|
4264
|
+
([r, n]) => Qi(r, n)
|
|
4286
4265
|
)
|
|
4287
4266
|
).then(() => {
|
|
4288
|
-
if (
|
|
4289
|
-
return
|
|
4290
|
-
delete
|
|
4291
|
-
}),
|
|
4267
|
+
if (tt(e))
|
|
4268
|
+
return Ar(e);
|
|
4269
|
+
delete ne[e];
|
|
4270
|
+
}), ne[e];
|
|
4292
4271
|
}
|
|
4293
|
-
const
|
|
4272
|
+
const Ji = {
|
|
4294
4273
|
number: {
|
|
4295
4274
|
scientific: { notation: "scientific" },
|
|
4296
4275
|
engineering: { notation: "engineering" },
|
|
@@ -4319,135 +4298,135 @@ const Yi = {
|
|
|
4319
4298
|
timeZoneName: "short"
|
|
4320
4299
|
}
|
|
4321
4300
|
}
|
|
4322
|
-
},
|
|
4301
|
+
}, qi = {
|
|
4323
4302
|
fallbackLocale: null,
|
|
4324
4303
|
loadingDelay: 200,
|
|
4325
|
-
formats:
|
|
4304
|
+
formats: Ji,
|
|
4326
4305
|
warnOnMissingMessages: !0,
|
|
4327
4306
|
handleMissingMessage: void 0,
|
|
4328
4307
|
ignoreTag: !0
|
|
4329
|
-
},
|
|
4330
|
-
function
|
|
4331
|
-
return
|
|
4308
|
+
}, Yi = qi;
|
|
4309
|
+
function Y() {
|
|
4310
|
+
return Yi;
|
|
4332
4311
|
}
|
|
4333
|
-
const
|
|
4334
|
-
var
|
|
4312
|
+
const De = Ae(!1);
|
|
4313
|
+
var Ki = Object.defineProperty, eo = Object.defineProperties, to = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, ro = Object.prototype.hasOwnProperty, no = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, io = (e, t) => {
|
|
4335
4314
|
for (var r in t || (t = {}))
|
|
4336
|
-
|
|
4337
|
-
if (
|
|
4338
|
-
for (var r of
|
|
4339
|
-
|
|
4315
|
+
ro.call(t, r) && Rt(e, r, t[r]);
|
|
4316
|
+
if (Lt)
|
|
4317
|
+
for (var r of Lt(t))
|
|
4318
|
+
no.call(t, r) && Rt(e, r, t[r]);
|
|
4340
4319
|
return e;
|
|
4341
|
-
},
|
|
4342
|
-
let
|
|
4343
|
-
const
|
|
4344
|
-
function
|
|
4320
|
+
}, oo = (e, t) => eo(e, to(t));
|
|
4321
|
+
let rt;
|
|
4322
|
+
const we = Ae(null);
|
|
4323
|
+
function $t(e) {
|
|
4345
4324
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4346
4325
|
}
|
|
4347
|
-
function
|
|
4348
|
-
const r =
|
|
4349
|
-
return t ? [.../* @__PURE__ */ new Set([...r,
|
|
4326
|
+
function Ce(e, t = Y().fallbackLocale) {
|
|
4327
|
+
const r = $t(e);
|
|
4328
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
|
|
4350
4329
|
}
|
|
4351
4330
|
function F() {
|
|
4352
|
-
return
|
|
4331
|
+
return rt != null ? rt : void 0;
|
|
4353
4332
|
}
|
|
4354
|
-
|
|
4355
|
-
|
|
4333
|
+
we.subscribe((e) => {
|
|
4334
|
+
rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4356
4335
|
});
|
|
4357
|
-
const
|
|
4358
|
-
if (e &&
|
|
4359
|
-
const { loadingDelay: t } =
|
|
4336
|
+
const so = (e) => {
|
|
4337
|
+
if (e && zi(e) && tt(e)) {
|
|
4338
|
+
const { loadingDelay: t } = Y();
|
|
4360
4339
|
let r;
|
|
4361
4340
|
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
4362
|
-
() =>
|
|
4341
|
+
() => De.set(!0),
|
|
4363
4342
|
t
|
|
4364
|
-
) :
|
|
4365
|
-
|
|
4343
|
+
) : De.set(!0), Ar(e).then(() => {
|
|
4344
|
+
we.set(e);
|
|
4366
4345
|
}).finally(() => {
|
|
4367
|
-
clearTimeout(r),
|
|
4346
|
+
clearTimeout(r), De.set(!1);
|
|
4368
4347
|
});
|
|
4369
4348
|
}
|
|
4370
|
-
return
|
|
4371
|
-
},
|
|
4372
|
-
set:
|
|
4373
|
-
}),
|
|
4349
|
+
return we.set(e);
|
|
4350
|
+
}, ee = oo(io({}, we), {
|
|
4351
|
+
set: so
|
|
4352
|
+
}), Pe = (e) => {
|
|
4374
4353
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4375
4354
|
return (n) => {
|
|
4376
4355
|
const i = JSON.stringify(n);
|
|
4377
4356
|
return i in t ? t[i] : t[i] = e(n);
|
|
4378
4357
|
};
|
|
4379
4358
|
};
|
|
4380
|
-
var
|
|
4359
|
+
var ao = Object.defineProperty, Se = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4381
4360
|
for (var r in t || (t = {}))
|
|
4382
|
-
|
|
4383
|
-
if (
|
|
4384
|
-
for (var r of
|
|
4385
|
-
|
|
4361
|
+
Br.call(t, r) && Gt(e, r, t[r]);
|
|
4362
|
+
if (Se)
|
|
4363
|
+
for (var r of Se(t))
|
|
4364
|
+
Cr.call(t, r) && Gt(e, r, t[r]);
|
|
4386
4365
|
return e;
|
|
4387
|
-
},
|
|
4366
|
+
}, te = (e, t) => {
|
|
4388
4367
|
var r = {};
|
|
4389
4368
|
for (var n in e)
|
|
4390
|
-
|
|
4391
|
-
if (e != null &&
|
|
4392
|
-
for (var n of
|
|
4393
|
-
t.indexOf(n) < 0 &&
|
|
4369
|
+
Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4370
|
+
if (e != null && Se)
|
|
4371
|
+
for (var n of Se(e))
|
|
4372
|
+
t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
|
|
4394
4373
|
return r;
|
|
4395
4374
|
};
|
|
4396
|
-
const
|
|
4397
|
-
const { formats: r } =
|
|
4375
|
+
const ae = (e, t) => {
|
|
4376
|
+
const { formats: r } = Y();
|
|
4398
4377
|
if (e in r && t in r[e])
|
|
4399
4378
|
return r[e][t];
|
|
4400
4379
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4401
|
-
},
|
|
4380
|
+
}, uo = Pe(
|
|
4402
4381
|
(e) => {
|
|
4403
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4382
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4404
4383
|
if (r == null)
|
|
4405
4384
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4406
|
-
return n && (i =
|
|
4385
|
+
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
4407
4386
|
}
|
|
4408
|
-
),
|
|
4387
|
+
), lo = Pe(
|
|
4409
4388
|
(e) => {
|
|
4410
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4389
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4411
4390
|
if (r == null)
|
|
4412
4391
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4413
|
-
return n ? i =
|
|
4392
|
+
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4414
4393
|
}
|
|
4415
|
-
),
|
|
4394
|
+
), ho = Pe(
|
|
4416
4395
|
(e) => {
|
|
4417
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4396
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4418
4397
|
if (r == null)
|
|
4419
4398
|
throw new Error(
|
|
4420
4399
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4421
4400
|
);
|
|
4422
|
-
return n ? i =
|
|
4401
|
+
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4423
4402
|
}
|
|
4424
|
-
),
|
|
4403
|
+
), co = (e = {}) => {
|
|
4425
4404
|
var t = e, {
|
|
4426
4405
|
locale: r = F()
|
|
4427
|
-
} = t, n =
|
|
4406
|
+
} = t, n = te(t, [
|
|
4428
4407
|
"locale"
|
|
4429
4408
|
]);
|
|
4430
|
-
return
|
|
4431
|
-
},
|
|
4409
|
+
return uo(lt({ locale: r }, n));
|
|
4410
|
+
}, fo = (e = {}) => {
|
|
4432
4411
|
var t = e, {
|
|
4433
4412
|
locale: r = F()
|
|
4434
|
-
} = t, n =
|
|
4413
|
+
} = t, n = te(t, [
|
|
4435
4414
|
"locale"
|
|
4436
4415
|
]);
|
|
4437
|
-
return
|
|
4438
|
-
},
|
|
4416
|
+
return lo(lt({ locale: r }, n));
|
|
4417
|
+
}, mo = (e = {}) => {
|
|
4439
4418
|
var t = e, {
|
|
4440
4419
|
locale: r = F()
|
|
4441
|
-
} = t, n =
|
|
4420
|
+
} = t, n = te(t, [
|
|
4442
4421
|
"locale"
|
|
4443
4422
|
]);
|
|
4444
|
-
return
|
|
4445
|
-
},
|
|
4423
|
+
return ho(lt({ locale: r }, n));
|
|
4424
|
+
}, po = Pe(
|
|
4446
4425
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4447
|
-
(e, t = F()) => new
|
|
4448
|
-
ignoreTag:
|
|
4426
|
+
(e, t = F()) => new Fi(e, t, Y().formats, {
|
|
4427
|
+
ignoreTag: Y().ignoreTag
|
|
4449
4428
|
})
|
|
4450
|
-
),
|
|
4429
|
+
), bo = (e, t = {}) => {
|
|
4451
4430
|
var r, n, i, o;
|
|
4452
4431
|
let s = t;
|
|
4453
4432
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4460,9 +4439,9 @@ const se = (e, t) => {
|
|
|
4460
4439
|
throw new Error(
|
|
4461
4440
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4462
4441
|
);
|
|
4463
|
-
let h =
|
|
4442
|
+
let h = wr(e, l);
|
|
4464
4443
|
if (!h)
|
|
4465
|
-
h = (o = (i = (n = (r =
|
|
4444
|
+
h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4466
4445
|
else if (typeof h != "string")
|
|
4467
4446
|
return console.warn(
|
|
4468
4447
|
`[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.`
|
|
@@ -4471,7 +4450,7 @@ const se = (e, t) => {
|
|
|
4471
4450
|
return h;
|
|
4472
4451
|
let c = h;
|
|
4473
4452
|
try {
|
|
4474
|
-
c =
|
|
4453
|
+
c = po(h, l).format(a);
|
|
4475
4454
|
} catch (f) {
|
|
4476
4455
|
f instanceof Error && console.warn(
|
|
4477
4456
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4479,20 +4458,20 @@ const se = (e, t) => {
|
|
|
4479
4458
|
);
|
|
4480
4459
|
}
|
|
4481
4460
|
return c;
|
|
4482
|
-
},
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4461
|
+
}, go = (e, t) => mo(t).format(e), yo = (e, t) => fo(t).format(e), vo = (e, t) => co(t).format(e), _o = (e, t = F()) => wr(e, t), xo = K([ee, he], () => bo);
|
|
4462
|
+
K([ee], () => go);
|
|
4463
|
+
K([ee], () => yo);
|
|
4464
|
+
K([ee], () => vo);
|
|
4465
|
+
K([ee, he], () => _o);
|
|
4487
4466
|
window.emWidgets = { topic: Nn };
|
|
4488
|
-
const
|
|
4489
|
-
function
|
|
4467
|
+
const Eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4468
|
+
function wo(e, t) {
|
|
4490
4469
|
if (e) {
|
|
4491
4470
|
const r = document.createElement("style");
|
|
4492
4471
|
r.innerHTML = t, e.appendChild(r);
|
|
4493
4472
|
}
|
|
4494
4473
|
}
|
|
4495
|
-
function
|
|
4474
|
+
function So(e, t) {
|
|
4496
4475
|
const r = new URL(t);
|
|
4497
4476
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4498
4477
|
const i = document.createElement("style");
|
|
@@ -4501,7 +4480,7 @@ function Ho(e, t) {
|
|
|
4501
4480
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4502
4481
|
});
|
|
4503
4482
|
}
|
|
4504
|
-
function
|
|
4483
|
+
function To(e, t, r) {
|
|
4505
4484
|
if (window.emMessageBus) {
|
|
4506
4485
|
const n = document.createElement("style");
|
|
4507
4486
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4509,13 +4488,13 @@ function Ao(e, t, r) {
|
|
|
4509
4488
|
});
|
|
4510
4489
|
}
|
|
4511
4490
|
}
|
|
4512
|
-
function
|
|
4513
|
-
|
|
4491
|
+
function Ut(e, t) {
|
|
4492
|
+
Tr(e, t);
|
|
4514
4493
|
}
|
|
4515
|
-
function
|
|
4516
|
-
|
|
4494
|
+
function Ho(e) {
|
|
4495
|
+
ee.set(e);
|
|
4517
4496
|
}
|
|
4518
|
-
const
|
|
4497
|
+
const Dt = {
|
|
4519
4498
|
en: {
|
|
4520
4499
|
cancel: "Cancel",
|
|
4521
4500
|
confirm: "Confirm"
|
|
@@ -4561,18 +4540,18 @@ const jt = {
|
|
|
4561
4540
|
confirm: "Confirm"
|
|
4562
4541
|
}
|
|
4563
4542
|
};
|
|
4564
|
-
function
|
|
4565
|
-
|
|
4543
|
+
function Ao(e) {
|
|
4544
|
+
Zr(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}');
|
|
4566
4545
|
}
|
|
4567
|
-
const
|
|
4568
|
-
function
|
|
4546
|
+
const Bo = (e) => ({}), Ft = (e) => ({});
|
|
4547
|
+
function Co(e) {
|
|
4569
4548
|
let t, r;
|
|
4570
4549
|
return {
|
|
4571
4550
|
c() {
|
|
4572
|
-
t =
|
|
4551
|
+
t = bt("svg"), r = bt("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");
|
|
4573
4552
|
},
|
|
4574
4553
|
m(n, i) {
|
|
4575
|
-
|
|
4554
|
+
ue(n, t, i), C(t, r);
|
|
4576
4555
|
},
|
|
4577
4556
|
p: N,
|
|
4578
4557
|
d(n) {
|
|
@@ -4580,21 +4559,21 @@ function Oo(e) {
|
|
|
4580
4559
|
}
|
|
4581
4560
|
};
|
|
4582
4561
|
}
|
|
4583
|
-
function
|
|
4562
|
+
function jt(e) {
|
|
4584
4563
|
let t, r, n;
|
|
4585
4564
|
return {
|
|
4586
4565
|
c() {
|
|
4587
|
-
t = M("div"), r = M("h2"), n =
|
|
4566
|
+
t = M("div"), r = M("h2"), n = le(
|
|
4588
4567
|
/*modaltitle*/
|
|
4589
4568
|
e[1]
|
|
4590
4569
|
), H(t, "class", "GeneralConfirmationTitle");
|
|
4591
4570
|
},
|
|
4592
4571
|
m(i, o) {
|
|
4593
|
-
|
|
4572
|
+
ue(i, t, o), C(t, r), C(r, n);
|
|
4594
4573
|
},
|
|
4595
4574
|
p(i, o) {
|
|
4596
4575
|
o & /*modaltitle*/
|
|
4597
|
-
2 &&
|
|
4576
|
+
2 && ot(
|
|
4598
4577
|
n,
|
|
4599
4578
|
/*modaltitle*/
|
|
4600
4579
|
i[1]
|
|
@@ -4605,17 +4584,17 @@ function Vt(e) {
|
|
|
4605
4584
|
}
|
|
4606
4585
|
};
|
|
4607
4586
|
}
|
|
4608
|
-
function
|
|
4587
|
+
function kt(e) {
|
|
4609
4588
|
let t, r = (
|
|
4610
4589
|
/*$_*/
|
|
4611
4590
|
e[4]("cancel") + ""
|
|
4612
4591
|
), n, i, o;
|
|
4613
4592
|
return {
|
|
4614
4593
|
c() {
|
|
4615
|
-
t = M("button"), n =
|
|
4594
|
+
t = M("button"), n = le(r), H(t, "class", "GeneralCancelButton");
|
|
4616
4595
|
},
|
|
4617
4596
|
m(s, a) {
|
|
4618
|
-
|
|
4597
|
+
ue(s, t, a), C(t, n), i || (o = Fe(
|
|
4619
4598
|
t,
|
|
4620
4599
|
"click",
|
|
4621
4600
|
/*click_handler*/
|
|
@@ -4625,52 +4604,52 @@ function Xt(e) {
|
|
|
4625
4604
|
p(s, a) {
|
|
4626
4605
|
a & /*$_*/
|
|
4627
4606
|
16 && r !== (r = /*$_*/
|
|
4628
|
-
s[4]("cancel") + "") &&
|
|
4607
|
+
s[4]("cancel") + "") && ot(n, r);
|
|
4629
4608
|
},
|
|
4630
4609
|
d(s) {
|
|
4631
4610
|
s && D(t), i = !1, o();
|
|
4632
4611
|
}
|
|
4633
4612
|
};
|
|
4634
4613
|
}
|
|
4635
|
-
function
|
|
4614
|
+
function Po(e) {
|
|
4636
4615
|
let t, r, n, i, o, s, a, l, u, h, c = (
|
|
4637
4616
|
/*$_*/
|
|
4638
4617
|
e[4]("confirm") + ""
|
|
4639
|
-
), f,
|
|
4618
|
+
), f, d, m, p;
|
|
4640
4619
|
const g = (
|
|
4641
4620
|
/*#slots*/
|
|
4642
4621
|
e[16].close
|
|
4643
|
-
), A =
|
|
4622
|
+
), A = jr(
|
|
4644
4623
|
g,
|
|
4645
4624
|
e,
|
|
4646
4625
|
/*$$scope*/
|
|
4647
4626
|
e[15],
|
|
4648
|
-
|
|
4649
|
-
), T = A ||
|
|
4627
|
+
Ft
|
|
4628
|
+
), T = A || Co();
|
|
4650
4629
|
let x = (
|
|
4651
4630
|
/*modaltitle*/
|
|
4652
|
-
e[1] &&
|
|
4653
|
-
),
|
|
4631
|
+
e[1] && jt(e)
|
|
4632
|
+
), w = (
|
|
4654
4633
|
/*hascancelbutton*/
|
|
4655
|
-
e[2] &&
|
|
4634
|
+
e[2] && kt(e)
|
|
4656
4635
|
);
|
|
4657
4636
|
return {
|
|
4658
4637
|
c() {
|
|
4659
|
-
t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"),
|
|
4638
|
+
t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), w && w.c(), u = fe(), h = M("button"), f = le(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4660
4639
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4661
4640
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4662
4641
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4663
4642
|
},
|
|
4664
4643
|
m(b, B) {
|
|
4665
|
-
|
|
4666
|
-
e[0], C(r, a), C(r, l),
|
|
4667
|
-
|
|
4644
|
+
ue(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, s), s.innerHTML = /*modaltext*/
|
|
4645
|
+
e[0], C(r, a), C(r, l), w && w.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), d = !0, m || (p = [
|
|
4646
|
+
Fe(
|
|
4668
4647
|
n,
|
|
4669
4648
|
"click",
|
|
4670
4649
|
/*close*/
|
|
4671
4650
|
e[6]
|
|
4672
4651
|
),
|
|
4673
|
-
|
|
4652
|
+
Fe(
|
|
4674
4653
|
h,
|
|
4675
4654
|
"click",
|
|
4676
4655
|
/*click_handler_1*/
|
|
@@ -4679,82 +4658,82 @@ function Io(e) {
|
|
|
4679
4658
|
], m = !0);
|
|
4680
4659
|
},
|
|
4681
4660
|
p(b, [B]) {
|
|
4682
|
-
A && A.p && (!
|
|
4683
|
-
32768) &&
|
|
4661
|
+
A && A.p && (!d || B & /*$$scope*/
|
|
4662
|
+
32768) && Vr(
|
|
4684
4663
|
A,
|
|
4685
4664
|
g,
|
|
4686
4665
|
b,
|
|
4687
4666
|
/*$$scope*/
|
|
4688
4667
|
b[15],
|
|
4689
|
-
|
|
4668
|
+
d ? kr(
|
|
4690
4669
|
g,
|
|
4691
4670
|
/*$$scope*/
|
|
4692
4671
|
b[15],
|
|
4693
4672
|
B,
|
|
4694
|
-
|
|
4695
|
-
) :
|
|
4673
|
+
Bo
|
|
4674
|
+
) : Xr(
|
|
4696
4675
|
/*$$scope*/
|
|
4697
4676
|
b[15]
|
|
4698
4677
|
),
|
|
4699
|
-
|
|
4678
|
+
Ft
|
|
4700
4679
|
), /*modaltitle*/
|
|
4701
|
-
b[1] ? x ? x.p(b, B) : (x =
|
|
4680
|
+
b[1] ? x ? x.p(b, B) : (x = jt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!d || B & /*modaltext*/
|
|
4702
4681
|
1) && (s.innerHTML = /*modaltext*/
|
|
4703
4682
|
b[0]), /*hascancelbutton*/
|
|
4704
|
-
b[2] ?
|
|
4683
|
+
b[2] ? w ? w.p(b, B) : (w = kt(b), w.c(), w.m(l, u)) : w && (w.d(1), w = null), (!d || B & /*$_*/
|
|
4705
4684
|
16) && c !== (c = /*$_*/
|
|
4706
|
-
b[4]("confirm") + "") &&
|
|
4685
|
+
b[4]("confirm") + "") && ot(f, c);
|
|
4707
4686
|
},
|
|
4708
4687
|
i(b) {
|
|
4709
|
-
|
|
4688
|
+
d || (qt(T, b), d = !0);
|
|
4710
4689
|
},
|
|
4711
4690
|
o(b) {
|
|
4712
|
-
|
|
4691
|
+
cn(T, b), d = !1;
|
|
4713
4692
|
},
|
|
4714
4693
|
d(b) {
|
|
4715
|
-
b && D(t), T && T.d(b), x && x.d(),
|
|
4694
|
+
b && D(t), T && T.d(b), x && x.d(), w && w.d(), e[19](null), m = !1, U(p);
|
|
4716
4695
|
}
|
|
4717
4696
|
};
|
|
4718
4697
|
}
|
|
4719
|
-
function
|
|
4698
|
+
function Oo(e, t, r) {
|
|
4720
4699
|
let n;
|
|
4721
|
-
|
|
4722
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl:
|
|
4700
|
+
Fr(e, xo, (v) => r(4, n = v));
|
|
4701
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = 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 = Eo(A) !== "PC";
|
|
4723
4702
|
const x = () => {
|
|
4724
4703
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4725
|
-
},
|
|
4704
|
+
}, w = (v) => {
|
|
4726
4705
|
v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
|
|
4727
4706
|
}, b = () => {
|
|
4728
4707
|
fetch(m).then((j) => j.json()).then((j) => {
|
|
4729
|
-
Object.keys(j).forEach((
|
|
4730
|
-
|
|
4708
|
+
Object.keys(j).forEach((ht) => {
|
|
4709
|
+
Ut(ht, j[ht]);
|
|
4731
4710
|
});
|
|
4732
4711
|
}).catch((j) => {
|
|
4733
4712
|
console.log(j);
|
|
4734
4713
|
});
|
|
4735
4714
|
};
|
|
4736
|
-
Object.keys(
|
|
4737
|
-
|
|
4715
|
+
Object.keys(Dt).forEach((v) => {
|
|
4716
|
+
Ut(v, Dt[v]);
|
|
4738
4717
|
});
|
|
4739
4718
|
const B = () => {
|
|
4740
|
-
|
|
4719
|
+
Ho(c);
|
|
4741
4720
|
};
|
|
4742
|
-
|
|
4721
|
+
on(() => () => {
|
|
4743
4722
|
});
|
|
4744
|
-
const ce = () =>
|
|
4745
|
-
function
|
|
4746
|
-
|
|
4723
|
+
const ce = () => w("cancel"), Or = () => w("confirm");
|
|
4724
|
+
function Ir(v) {
|
|
4725
|
+
je[v ? "unshift" : "push"](() => {
|
|
4747
4726
|
g = v, r(3, g);
|
|
4748
4727
|
});
|
|
4749
4728
|
}
|
|
4750
4729
|
return e.$$set = (v) => {
|
|
4751
|
-
"modaltext" in v && r(0, s = v.modaltext), "modaltitle" in v && r(1, a = 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,
|
|
4730
|
+
"modaltext" in v && r(0, s = v.modaltext), "modaltitle" in v && r(1, a = 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);
|
|
4752
4731
|
}, e.$$.update = () => {
|
|
4753
4732
|
e.$$.dirty & /*modaltext, lang*/
|
|
4754
4733
|
1025 && s && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4755
|
-
2056 && f && g &&
|
|
4756
|
-
4104 &&
|
|
4757
|
-
16392 &&
|
|
4734
|
+
2056 && f && g && wo(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4735
|
+
4104 && d && g && So(g, d), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4736
|
+
16392 && p && g && To(g, `${p}.Style`), e.$$.dirty & /*translationurl*/
|
|
4758
4737
|
8192 && m && b();
|
|
4759
4738
|
}, [
|
|
4760
4739
|
s,
|
|
@@ -4764,29 +4743,29 @@ function Mo(e, t, r) {
|
|
|
4764
4743
|
n,
|
|
4765
4744
|
T,
|
|
4766
4745
|
x,
|
|
4767
|
-
|
|
4746
|
+
w,
|
|
4768
4747
|
u,
|
|
4769
4748
|
h,
|
|
4770
4749
|
c,
|
|
4771
4750
|
f,
|
|
4772
|
-
p,
|
|
4773
|
-
m,
|
|
4774
4751
|
d,
|
|
4752
|
+
m,
|
|
4753
|
+
p,
|
|
4775
4754
|
o,
|
|
4776
4755
|
i,
|
|
4777
4756
|
ce,
|
|
4778
|
-
|
|
4779
|
-
|
|
4757
|
+
Or,
|
|
4758
|
+
Ir
|
|
4780
4759
|
];
|
|
4781
4760
|
}
|
|
4782
|
-
class
|
|
4761
|
+
class Pr extends yn {
|
|
4783
4762
|
constructor(t) {
|
|
4784
|
-
super(),
|
|
4763
|
+
super(), bn(
|
|
4785
4764
|
this,
|
|
4786
4765
|
t,
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4766
|
+
Oo,
|
|
4767
|
+
Po,
|
|
4768
|
+
Xt,
|
|
4790
4769
|
{
|
|
4791
4770
|
modaltext: 0,
|
|
4792
4771
|
modaltitle: 1,
|
|
@@ -4799,7 +4778,7 @@ class Or extends vn {
|
|
|
4799
4778
|
translationurl: 13,
|
|
4800
4779
|
mbsource: 14
|
|
4801
4780
|
},
|
|
4802
|
-
|
|
4781
|
+
Ao
|
|
4803
4782
|
);
|
|
4804
4783
|
}
|
|
4805
4784
|
get modaltext() {
|
|
@@ -4863,58 +4842,58 @@ class Or extends vn {
|
|
|
4863
4842
|
this.$$set({ mbsource: t }), I();
|
|
4864
4843
|
}
|
|
4865
4844
|
}
|
|
4866
|
-
|
|
4867
|
-
const
|
|
4845
|
+
gn(Pr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4846
|
+
const ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4868
4847
|
__proto__: null,
|
|
4869
|
-
default:
|
|
4848
|
+
default: Pr
|
|
4870
4849
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4871
4850
|
export {
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4851
|
+
ee as $,
|
|
4852
|
+
wo as A,
|
|
4853
|
+
jo as B,
|
|
4854
|
+
Rn as C,
|
|
4855
|
+
Tr as D,
|
|
4877
4856
|
N as E,
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4857
|
+
Fr as F,
|
|
4858
|
+
Eo as G,
|
|
4859
|
+
Fo as H,
|
|
4860
|
+
fe as I,
|
|
4861
|
+
le as J,
|
|
4862
|
+
bt as K,
|
|
4863
|
+
$o as L,
|
|
4864
|
+
Fe as M,
|
|
4865
|
+
ot as N,
|
|
4866
|
+
Mo as O,
|
|
4867
|
+
U as P,
|
|
4868
|
+
Lo as Q,
|
|
4869
|
+
Ro as R,
|
|
4870
|
+
yn as S,
|
|
4871
|
+
xo as T,
|
|
4872
|
+
ko as U,
|
|
4873
|
+
bn as a,
|
|
4874
|
+
Zr as b,
|
|
4875
|
+
gn as c,
|
|
4876
|
+
ue as d,
|
|
4877
|
+
No as e,
|
|
4899
4878
|
I as f,
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4879
|
+
cn as g,
|
|
4880
|
+
Uo as h,
|
|
4881
|
+
Gr as i,
|
|
4882
|
+
D as j,
|
|
4883
|
+
So as k,
|
|
4884
|
+
To as l,
|
|
4885
|
+
jr as m,
|
|
4886
|
+
M as n,
|
|
4887
|
+
on as o,
|
|
4888
|
+
H as p,
|
|
4889
|
+
C as q,
|
|
4890
|
+
Xr as r,
|
|
4891
|
+
Xt as s,
|
|
4892
|
+
qt as t,
|
|
4893
|
+
Vr as u,
|
|
4894
|
+
kr as v,
|
|
4895
|
+
Ee as w,
|
|
4896
|
+
Do as x,
|
|
4897
|
+
Go as y,
|
|
4898
|
+
je as z
|
|
4920
4899
|
};
|