@everymatrix/player-account-product-restriction 0.1.0 → 0.2.2
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-D9Y8ItGW.js → PlayerAccountGeneralConfirmationModal-Ci-p2WXL.js} +586 -591
- package/components/{PlayerAccountGeneralConfirmationModal-DO7Dbjfl.js → PlayerAccountGeneralConfirmationModal-D6Sn8c65.js} +600 -605
- package/components/PlayerAccountGeneralConfirmationModal-PCbzMqfA.cjs +21 -0
- package/components/{PlayerAccountModal-z4XXRR_C.cjs → PlayerAccountModal-Bj4WVhh1.cjs} +1 -1
- package/components/{PlayerAccountModal-BmV9_cqv.js → PlayerAccountModal-Bue5yCqX.js} +1 -1
- package/components/{PlayerAccountModal-CzwgzzXB.js → PlayerAccountModal-CEI9nYut.js} +1 -1
- package/components/{PlayerAccountProductRestriction-DujE4sj_.cjs → PlayerAccountProductRestriction-B281rnmZ.cjs} +264 -264
- package/components/{PlayerAccountProductRestriction-CMD0kVzJ.js → PlayerAccountProductRestriction-DawPwMUW.js} +2128 -2139
- package/components/{PlayerAccountProductRestriction-Chdjs0PO.js → PlayerAccountProductRestriction-uoYgUtdj.js} +2145 -2156
- package/es2015/player-account-product-restriction.cjs +1 -1
- package/es2015/player-account-product-restriction.js +1 -1
- package/esnext/player-account-product-restriction.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-b2193545-CPztmidm.js → index-b2193545-0nBa8-YE.js} +1 -1
- package/stencil/{index-b2193545-D1Z0k4-D.cjs → index-b2193545-CYERCBaJ.cjs} +1 -1
- package/stencil/{index-b2193545-BcYyCldH.js → index-b2193545-fV0AjNrh.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-CXHx_pAM.js → ui-skeleton-161699c3-BPPr6sEf.js} +61 -41
- package/stencil/{ui-skeleton-1cb75d00-z2mX3TRi.js → ui-skeleton-161699c3-DjmPsRvg.js} +61 -41
- package/stencil/ui-skeleton-161699c3-KSM-Cr8Z.cjs +73 -0
- package/stencil/{ui-skeleton-CCXvjIzA.cjs → ui-skeleton-D9ekrDIX.cjs} +1 -1
- package/stencil/{ui-skeleton-4ifa-7wH.js → ui-skeleton-mS4_ikDc.js} +3 -3
- package/stencil/{ui-skeleton-Bk5dn5mu.js → ui-skeleton-rSrQAgGU.js} +3 -3
- package/components/PlayerAccountGeneralConfirmationModal-C5QSZMvd.cjs +0 -21
- package/stencil/ui-skeleton-1cb75d00-CUSs6C3A.cjs +0 -73
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function
|
|
1
|
+
function M() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
3
|
+
const Br = (e) => e;
|
|
4
4
|
function Cr(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
@@ -15,10 +15,10 @@ function Dt(e) {
|
|
|
15
15
|
function ct() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function G(e) {
|
|
19
19
|
e.forEach(Dt);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Te(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
24
|
function Ft(e, t) {
|
|
@@ -31,7 +31,7 @@ function jt(e, ...t) {
|
|
|
31
31
|
if (e == null) {
|
|
32
32
|
for (const n of t)
|
|
33
33
|
n(void 0);
|
|
34
|
-
return
|
|
34
|
+
return M;
|
|
35
35
|
}
|
|
36
36
|
const r = e.subscribe(...t);
|
|
37
37
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -79,21 +79,21 @@ function Lr(e) {
|
|
|
79
79
|
return -1;
|
|
80
80
|
}
|
|
81
81
|
const Vt = typeof window < "u";
|
|
82
|
-
let $r = Vt ? () => window.performance.now() : () => Date.now(),
|
|
83
|
-
const
|
|
82
|
+
let $r = Vt ? () => window.performance.now() : () => Date.now(), ot = Vt ? (e) => requestAnimationFrame(e) : M;
|
|
83
|
+
const X = /* @__PURE__ */ new Set();
|
|
84
84
|
function Xt(e) {
|
|
85
|
-
|
|
86
|
-
t.c(e) || (
|
|
87
|
-
}),
|
|
85
|
+
X.forEach((t) => {
|
|
86
|
+
t.c(e) || (X.delete(t), t.f());
|
|
87
|
+
}), X.size !== 0 && ot(Xt);
|
|
88
88
|
}
|
|
89
89
|
function Rr(e) {
|
|
90
90
|
let t;
|
|
91
|
-
return
|
|
91
|
+
return X.size === 0 && ot(Xt), {
|
|
92
92
|
promise: new Promise((r) => {
|
|
93
|
-
|
|
93
|
+
X.add(t = { c: e, f: r });
|
|
94
94
|
}),
|
|
95
95
|
abort() {
|
|
96
|
-
|
|
96
|
+
X.delete(t);
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
}
|
|
@@ -101,13 +101,13 @@ function C(e, t) {
|
|
|
101
101
|
e.appendChild(t);
|
|
102
102
|
}
|
|
103
103
|
function Gr(e, t, r) {
|
|
104
|
-
const n =
|
|
104
|
+
const n = st(e);
|
|
105
105
|
if (!n.getElementById(t)) {
|
|
106
|
-
const i =
|
|
106
|
+
const i = I("style");
|
|
107
107
|
i.id = t, i.textContent = r, zt(n, i);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function st(e) {
|
|
111
111
|
if (!e)
|
|
112
112
|
return document;
|
|
113
113
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -118,8 +118,8 @@ function at(e) {
|
|
|
118
118
|
) : e.ownerDocument;
|
|
119
119
|
}
|
|
120
120
|
function Ur(e) {
|
|
121
|
-
const t =
|
|
122
|
-
return t.textContent = "/* empty */", zt(
|
|
121
|
+
const t = I("style");
|
|
122
|
+
return t.textContent = "/* empty */", zt(st(e), t), t.sheet;
|
|
123
123
|
}
|
|
124
124
|
function zt(e, t) {
|
|
125
125
|
return C(
|
|
@@ -128,32 +128,32 @@ function zt(e, t) {
|
|
|
128
128
|
t
|
|
129
129
|
), t.sheet;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function se(e, t, r) {
|
|
132
132
|
e.insertBefore(t, r || null);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function U(e) {
|
|
135
135
|
e.parentNode && e.parentNode.removeChild(e);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function wo(e, t) {
|
|
138
138
|
for (let r = 0; r < e.length; r += 1)
|
|
139
139
|
e[r] && e[r].d(t);
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function I(e) {
|
|
142
142
|
return document.createElement(e);
|
|
143
143
|
}
|
|
144
144
|
function ft(e) {
|
|
145
145
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function ae(e) {
|
|
148
148
|
return document.createTextNode(e);
|
|
149
149
|
}
|
|
150
150
|
function ce() {
|
|
151
|
-
return
|
|
151
|
+
return ae(" ");
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
153
|
+
function So() {
|
|
154
|
+
return ae("");
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Fe(e, t, r, n) {
|
|
157
157
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
158
158
|
}
|
|
159
159
|
function H(e, t, r) {
|
|
@@ -166,7 +166,7 @@ function To(e, t, r) {
|
|
|
166
166
|
function Dr(e) {
|
|
167
167
|
return Array.from(e.childNodes);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function at(e, t) {
|
|
170
170
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
171
171
|
t);
|
|
172
172
|
}
|
|
@@ -185,8 +185,8 @@ function jr(e) {
|
|
|
185
185
|
}
|
|
186
186
|
), t;
|
|
187
187
|
}
|
|
188
|
-
const
|
|
189
|
-
let
|
|
188
|
+
const ve = /* @__PURE__ */ new Map();
|
|
189
|
+
let _e = 0;
|
|
190
190
|
function kr(e) {
|
|
191
191
|
let t = 5381, r = e.length;
|
|
192
192
|
for (; r--; )
|
|
@@ -195,119 +195,119 @@ function kr(e) {
|
|
|
195
195
|
}
|
|
196
196
|
function Vr(e, t) {
|
|
197
197
|
const r = { stylesheet: Ur(t), rules: {} };
|
|
198
|
-
return
|
|
198
|
+
return ve.set(e, r), r;
|
|
199
199
|
}
|
|
200
200
|
function mt(e, t, r, n, i, o, a, s = 0) {
|
|
201
201
|
const l = 16.666 / n;
|
|
202
202
|
let u = `{
|
|
203
203
|
`;
|
|
204
204
|
for (let g = 0; g <= 1; g += l) {
|
|
205
|
-
const
|
|
206
|
-
u += g * 100 + `%{${a(
|
|
205
|
+
const A = t + (r - t) * o(g);
|
|
206
|
+
u += g * 100 + `%{${a(A, 1 - A)}}
|
|
207
207
|
`;
|
|
208
208
|
}
|
|
209
209
|
const h = u + `100% {${a(r, 1 - r)}}
|
|
210
|
-
}`, c = `__svelte_${kr(h)}_${s}`, f =
|
|
211
|
-
m[c] || (m[c] = !0,
|
|
212
|
-
const
|
|
213
|
-
return e.style.animation = `${
|
|
210
|
+
}`, c = `__svelte_${kr(h)}_${s}`, f = st(e), { stylesheet: p, rules: m } = ve.get(f) || Vr(f, e);
|
|
211
|
+
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
212
|
+
const d = e.style.animation || "";
|
|
213
|
+
return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, _e += 1, c;
|
|
214
214
|
}
|
|
215
215
|
function Xr(e, t) {
|
|
216
216
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
217
217
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
218
218
|
// remove all Svelte animations
|
|
219
219
|
), i = r.length - n.length;
|
|
220
|
-
i && (e.style.animation = n.join(", "),
|
|
220
|
+
i && (e.style.animation = n.join(", "), _e -= i, _e || zr());
|
|
221
221
|
}
|
|
222
222
|
function zr() {
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
ot(() => {
|
|
224
|
+
_e || (ve.forEach((e) => {
|
|
225
225
|
const { ownerNode: t } = e.stylesheet;
|
|
226
|
-
t &&
|
|
227
|
-
}),
|
|
226
|
+
t && U(t);
|
|
227
|
+
}), ve.clear());
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
let
|
|
231
|
-
function
|
|
232
|
-
|
|
230
|
+
let ne;
|
|
231
|
+
function re(e) {
|
|
232
|
+
ne = e;
|
|
233
233
|
}
|
|
234
234
|
function Wr() {
|
|
235
|
-
if (!
|
|
235
|
+
if (!ne)
|
|
236
236
|
throw new Error("Function called outside component initialization");
|
|
237
|
-
return
|
|
237
|
+
return ne;
|
|
238
238
|
}
|
|
239
239
|
function Zr(e) {
|
|
240
240
|
Wr().$$.on_mount.push(e);
|
|
241
241
|
}
|
|
242
|
-
const
|
|
243
|
-
let
|
|
242
|
+
const V = [], je = [];
|
|
243
|
+
let z = [];
|
|
244
244
|
const pt = [], Qr = /* @__PURE__ */ Promise.resolve();
|
|
245
|
-
let
|
|
245
|
+
let ke = !1;
|
|
246
246
|
function Jr() {
|
|
247
|
-
|
|
247
|
+
ke || (ke = !0, Qr.then(O));
|
|
248
248
|
}
|
|
249
|
-
function
|
|
250
|
-
|
|
249
|
+
function xe(e) {
|
|
250
|
+
z.push(e);
|
|
251
251
|
}
|
|
252
|
-
const
|
|
253
|
-
let
|
|
254
|
-
function
|
|
255
|
-
if (
|
|
252
|
+
const Ie = /* @__PURE__ */ new Set();
|
|
253
|
+
let j = 0;
|
|
254
|
+
function O() {
|
|
255
|
+
if (j !== 0)
|
|
256
256
|
return;
|
|
257
|
-
const e =
|
|
257
|
+
const e = ne;
|
|
258
258
|
do {
|
|
259
259
|
try {
|
|
260
|
-
for (;
|
|
261
|
-
const t =
|
|
262
|
-
|
|
260
|
+
for (; j < V.length; ) {
|
|
261
|
+
const t = V[j];
|
|
262
|
+
j++, re(t), qr(t.$$);
|
|
263
263
|
}
|
|
264
264
|
} catch (t) {
|
|
265
|
-
throw
|
|
265
|
+
throw V.length = 0, j = 0, t;
|
|
266
266
|
}
|
|
267
|
-
for (
|
|
268
|
-
|
|
269
|
-
for (let t = 0; t <
|
|
270
|
-
const r =
|
|
271
|
-
|
|
267
|
+
for (re(null), V.length = 0, j = 0; je.length; )
|
|
268
|
+
je.pop()();
|
|
269
|
+
for (let t = 0; t < z.length; t += 1) {
|
|
270
|
+
const r = z[t];
|
|
271
|
+
Ie.has(r) || (Ie.add(r), r());
|
|
272
272
|
}
|
|
273
|
-
|
|
274
|
-
} while (
|
|
273
|
+
z.length = 0;
|
|
274
|
+
} while (V.length);
|
|
275
275
|
for (; pt.length; )
|
|
276
276
|
pt.pop()();
|
|
277
|
-
|
|
277
|
+
ke = !1, Ie.clear(), re(e);
|
|
278
278
|
}
|
|
279
279
|
function qr(e) {
|
|
280
280
|
if (e.fragment !== null) {
|
|
281
|
-
e.update(),
|
|
281
|
+
e.update(), G(e.before_update);
|
|
282
282
|
const t = e.dirty;
|
|
283
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
283
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xe);
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
function Yr(e) {
|
|
287
287
|
const t = [], r = [];
|
|
288
|
-
|
|
288
|
+
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
289
289
|
}
|
|
290
|
-
let
|
|
290
|
+
let ee;
|
|
291
291
|
function Kr() {
|
|
292
|
-
return
|
|
293
|
-
|
|
294
|
-
})),
|
|
292
|
+
return ee || (ee = Promise.resolve(), ee.then(() => {
|
|
293
|
+
ee = null;
|
|
294
|
+
})), ee;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function Me(e, t, r) {
|
|
297
297
|
e.dispatchEvent(Fr(`${t ? "intro" : "outro"}${r}`));
|
|
298
298
|
}
|
|
299
299
|
const pe = /* @__PURE__ */ new Set();
|
|
300
|
-
let
|
|
301
|
-
function
|
|
302
|
-
|
|
300
|
+
let L;
|
|
301
|
+
function Ao() {
|
|
302
|
+
L = {
|
|
303
303
|
r: 0,
|
|
304
304
|
c: [],
|
|
305
|
-
p:
|
|
305
|
+
p: L
|
|
306
306
|
// parent group
|
|
307
307
|
};
|
|
308
308
|
}
|
|
309
|
-
function
|
|
310
|
-
|
|
309
|
+
function Bo() {
|
|
310
|
+
L.r || G(L.c), L = L.p;
|
|
311
311
|
}
|
|
312
312
|
function Wt(e, t) {
|
|
313
313
|
e && e.i && (pe.delete(e), e.i(t));
|
|
@@ -316,7 +316,7 @@ function en(e, t, r, n) {
|
|
|
316
316
|
if (e && e.o) {
|
|
317
317
|
if (pe.has(e))
|
|
318
318
|
return;
|
|
319
|
-
pe.add(e),
|
|
319
|
+
pe.add(e), L.c.push(() => {
|
|
320
320
|
pe.delete(e), n && (r && e.d(1), n());
|
|
321
321
|
}), e.o(t);
|
|
322
322
|
} else
|
|
@@ -328,48 +328,48 @@ function Co(e, t, r, n) {
|
|
|
328
328
|
function c() {
|
|
329
329
|
u && Xr(e, u);
|
|
330
330
|
}
|
|
331
|
-
function f(m,
|
|
331
|
+
function f(m, d) {
|
|
332
332
|
const g = (
|
|
333
333
|
/** @type {Program['d']} */
|
|
334
334
|
m.b - a
|
|
335
335
|
);
|
|
336
|
-
return
|
|
336
|
+
return d *= Math.abs(g), {
|
|
337
337
|
a,
|
|
338
338
|
b: m.b,
|
|
339
339
|
d: g,
|
|
340
|
-
duration:
|
|
340
|
+
duration: d,
|
|
341
341
|
start: m.start,
|
|
342
|
-
end: m.start +
|
|
342
|
+
end: m.start + d,
|
|
343
343
|
group: m.group
|
|
344
344
|
};
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function p(m) {
|
|
347
347
|
const {
|
|
348
|
-
delay:
|
|
348
|
+
delay: d = 0,
|
|
349
349
|
duration: g = 300,
|
|
350
|
-
easing:
|
|
351
|
-
tick:
|
|
352
|
-
css:
|
|
350
|
+
easing: A = Br,
|
|
351
|
+
tick: T = M,
|
|
352
|
+
css: x
|
|
353
353
|
} = o || tn, E = {
|
|
354
|
-
start: $r() +
|
|
354
|
+
start: $r() + d,
|
|
355
355
|
b: m
|
|
356
356
|
};
|
|
357
|
-
m || (E.group =
|
|
358
|
-
e.inert, e.inert = !0)), s || l ? l = E : (
|
|
359
|
-
if (l &&
|
|
357
|
+
m || (E.group = L, L.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
358
|
+
e.inert, e.inert = !0)), s || l ? l = E : (x && (c(), u = mt(e, a, m, g, d, A, x)), m && T(0, 1), s = f(E, g), xe(() => Me(e, m, "start")), Rr((b) => {
|
|
359
|
+
if (l && b > l.start && (s = f(l, g), l = null, Me(e, s.b, "start"), x && (c(), u = mt(
|
|
360
360
|
e,
|
|
361
361
|
a,
|
|
362
362
|
s.b,
|
|
363
363
|
s.duration,
|
|
364
364
|
0,
|
|
365
|
-
|
|
365
|
+
A,
|
|
366
366
|
o.css
|
|
367
367
|
))), s) {
|
|
368
|
-
if (
|
|
369
|
-
|
|
370
|
-
else if (
|
|
371
|
-
const
|
|
372
|
-
a = s.a + s.d * B
|
|
368
|
+
if (b >= s.end)
|
|
369
|
+
T(a = s.b, 1 - a), Me(e, s.b, "end"), l || (s.b ? c() : --s.group.r || G(s.group.c)), s = null;
|
|
370
|
+
else if (b >= s.start) {
|
|
371
|
+
const B = b - s.start;
|
|
372
|
+
a = s.a + s.d * A(B / s.duration), T(a, 1 - a);
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
return !!(s || l);
|
|
@@ -377,9 +377,9 @@ function Co(e, t, r, n) {
|
|
|
377
377
|
}
|
|
378
378
|
return {
|
|
379
379
|
run(m) {
|
|
380
|
-
|
|
381
|
-
o = o({ direction: m ? "in" : "out" }),
|
|
382
|
-
}) :
|
|
380
|
+
Te(o) ? Kr().then(() => {
|
|
381
|
+
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
382
|
+
}) : p(m);
|
|
383
383
|
},
|
|
384
384
|
end() {
|
|
385
385
|
c(), s = l = null;
|
|
@@ -391,27 +391,27 @@ function Po(e) {
|
|
|
391
391
|
}
|
|
392
392
|
function rn(e, t, r) {
|
|
393
393
|
const { fragment: n, after_update: i } = e.$$;
|
|
394
|
-
n && n.m(t, r),
|
|
395
|
-
const o = e.$$.on_mount.map(Dt).filter(
|
|
396
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
397
|
-
}), i.forEach(
|
|
394
|
+
n && n.m(t, r), xe(() => {
|
|
395
|
+
const o = e.$$.on_mount.map(Dt).filter(Te);
|
|
396
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
|
|
397
|
+
}), i.forEach(xe);
|
|
398
398
|
}
|
|
399
399
|
function nn(e, t) {
|
|
400
400
|
const r = e.$$;
|
|
401
|
-
r.fragment !== null && (Yr(r.after_update),
|
|
401
|
+
r.fragment !== null && (Yr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
402
402
|
}
|
|
403
403
|
function on(e, t) {
|
|
404
|
-
e.$$.dirty[0] === -1 && (
|
|
404
|
+
e.$$.dirty[0] === -1 && (V.push(e), Jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
405
405
|
}
|
|
406
406
|
function sn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
407
|
-
const l =
|
|
408
|
-
|
|
407
|
+
const l = ne;
|
|
408
|
+
re(e);
|
|
409
409
|
const u = e.$$ = {
|
|
410
410
|
fragment: null,
|
|
411
411
|
ctx: [],
|
|
412
412
|
// state
|
|
413
413
|
props: o,
|
|
414
|
-
update:
|
|
414
|
+
update: M,
|
|
415
415
|
not_equal: i,
|
|
416
416
|
bound: ct(),
|
|
417
417
|
// lifecycle
|
|
@@ -429,18 +429,18 @@ function sn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
429
429
|
};
|
|
430
430
|
a && a(u.root);
|
|
431
431
|
let h = !1;
|
|
432
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
433
|
-
const m =
|
|
432
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
433
|
+
const m = p.length ? p[0] : f;
|
|
434
434
|
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && on(e, c)), f;
|
|
435
|
-
}) : [], u.update(), h = !0,
|
|
435
|
+
}) : [], u.update(), h = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
436
436
|
if (t.hydrate) {
|
|
437
437
|
const c = Dr(t.target);
|
|
438
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
438
|
+
u.fragment && u.fragment.l(c), c.forEach(U);
|
|
439
439
|
} else
|
|
440
440
|
u.fragment && u.fragment.c();
|
|
441
|
-
t.intro && Wt(e.$$.fragment), rn(e, t.target, t.anchor),
|
|
441
|
+
t.intro && Wt(e.$$.fragment), rn(e, t.target, t.anchor), O();
|
|
442
442
|
}
|
|
443
|
-
|
|
443
|
+
re(l);
|
|
444
444
|
}
|
|
445
445
|
let Zt;
|
|
446
446
|
typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
@@ -485,17 +485,17 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
485
485
|
let o;
|
|
486
486
|
return {
|
|
487
487
|
c: function() {
|
|
488
|
-
o =
|
|
488
|
+
o = I("slot"), i !== "default" && H(o, "name", i);
|
|
489
489
|
},
|
|
490
490
|
/**
|
|
491
491
|
* @param {HTMLElement} target
|
|
492
492
|
* @param {HTMLElement} [anchor]
|
|
493
493
|
*/
|
|
494
494
|
m: function(l, u) {
|
|
495
|
-
|
|
495
|
+
se(l, o, u);
|
|
496
496
|
},
|
|
497
497
|
d: function(l) {
|
|
498
|
-
l &&
|
|
498
|
+
l && U(o);
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
501
|
};
|
|
@@ -637,7 +637,7 @@ class un {
|
|
|
637
637
|
$$set = void 0;
|
|
638
638
|
/** @returns {void} */
|
|
639
639
|
$destroy() {
|
|
640
|
-
nn(this, 1), this.$destroy =
|
|
640
|
+
nn(this, 1), this.$destroy = M;
|
|
641
641
|
}
|
|
642
642
|
/**
|
|
643
643
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -646,8 +646,8 @@ class un {
|
|
|
646
646
|
* @returns {() => void}
|
|
647
647
|
*/
|
|
648
648
|
$on(t, r) {
|
|
649
|
-
if (!
|
|
650
|
-
return
|
|
649
|
+
if (!Te(r))
|
|
650
|
+
return M;
|
|
651
651
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
652
652
|
return n.push(r), () => {
|
|
653
653
|
const i = n.indexOf(r);
|
|
@@ -678,24 +678,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
678
678
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
679
679
|
PERFORMANCE OF THIS SOFTWARE.
|
|
680
680
|
***************************************************************************** */
|
|
681
|
-
var
|
|
682
|
-
return
|
|
681
|
+
var Ve = function(e, t) {
|
|
682
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
683
683
|
r.__proto__ = n;
|
|
684
684
|
} || function(r, n) {
|
|
685
685
|
for (var i in n)
|
|
686
686
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
687
|
-
},
|
|
687
|
+
}, Ve(e, t);
|
|
688
688
|
};
|
|
689
|
-
function
|
|
689
|
+
function ue(e, t) {
|
|
690
690
|
if (typeof t != "function" && t !== null)
|
|
691
691
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
692
|
-
|
|
692
|
+
Ve(e, t);
|
|
693
693
|
function r() {
|
|
694
694
|
this.constructor = e;
|
|
695
695
|
}
|
|
696
696
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function Xe(e) {
|
|
699
699
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
700
700
|
if (r)
|
|
701
701
|
return r.call(e);
|
|
@@ -707,7 +707,7 @@ function ze(e) {
|
|
|
707
707
|
};
|
|
708
708
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function ze(e, t) {
|
|
711
711
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
712
712
|
if (!r)
|
|
713
713
|
return e;
|
|
@@ -727,13 +727,13 @@ function We(e, t) {
|
|
|
727
727
|
}
|
|
728
728
|
return o;
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function We(e, t, r) {
|
|
731
731
|
if (arguments.length === 2)
|
|
732
732
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
733
733
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
734
734
|
return e.concat(o || t);
|
|
735
735
|
}
|
|
736
|
-
function
|
|
736
|
+
function $(e) {
|
|
737
737
|
return typeof e == "function";
|
|
738
738
|
}
|
|
739
739
|
function Qt(e) {
|
|
@@ -742,7 +742,7 @@ function Qt(e) {
|
|
|
742
742
|
}, r = e(t);
|
|
743
743
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
744
744
|
}
|
|
745
|
-
var
|
|
745
|
+
var Ne = Qt(function(e) {
|
|
746
746
|
return function(r) {
|
|
747
747
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
748
748
|
` + r.map(function(n, i) {
|
|
@@ -751,13 +751,13 @@ var Le = Qt(function(e) {
|
|
|
751
751
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
752
752
|
};
|
|
753
753
|
});
|
|
754
|
-
function
|
|
754
|
+
function Ze(e, t) {
|
|
755
755
|
if (e) {
|
|
756
756
|
var r = e.indexOf(t);
|
|
757
757
|
0 <= r && e.splice(r, 1);
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
|
-
var
|
|
760
|
+
var He = function() {
|
|
761
761
|
function e(t) {
|
|
762
762
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
763
763
|
}
|
|
@@ -769,12 +769,12 @@ var Be = function() {
|
|
|
769
769
|
if (a)
|
|
770
770
|
if (this._parentage = null, Array.isArray(a))
|
|
771
771
|
try {
|
|
772
|
-
for (var s =
|
|
772
|
+
for (var s = Xe(a), l = s.next(); !l.done; l = s.next()) {
|
|
773
773
|
var u = l.value;
|
|
774
774
|
u.remove(this);
|
|
775
775
|
}
|
|
776
|
-
} catch (
|
|
777
|
-
t = { error:
|
|
776
|
+
} catch (d) {
|
|
777
|
+
t = { error: d };
|
|
778
778
|
} finally {
|
|
779
779
|
try {
|
|
780
780
|
l && !l.done && (r = s.return) && r.call(s);
|
|
@@ -786,29 +786,29 @@ var Be = function() {
|
|
|
786
786
|
else
|
|
787
787
|
a.remove(this);
|
|
788
788
|
var h = this.initialTeardown;
|
|
789
|
-
if (
|
|
789
|
+
if ($(h))
|
|
790
790
|
try {
|
|
791
791
|
h();
|
|
792
|
-
} catch (
|
|
793
|
-
o =
|
|
792
|
+
} catch (d) {
|
|
793
|
+
o = d instanceof Ne ? d.errors : [d];
|
|
794
794
|
}
|
|
795
795
|
var c = this._finalizers;
|
|
796
796
|
if (c) {
|
|
797
797
|
this._finalizers = null;
|
|
798
798
|
try {
|
|
799
|
-
for (var f =
|
|
800
|
-
var m =
|
|
799
|
+
for (var f = Xe(c), p = f.next(); !p.done; p = f.next()) {
|
|
800
|
+
var m = p.value;
|
|
801
801
|
try {
|
|
802
802
|
dt(m);
|
|
803
|
-
} catch (
|
|
804
|
-
o = o ?? [],
|
|
803
|
+
} catch (d) {
|
|
804
|
+
o = o ?? [], d instanceof Ne ? o = We(We([], ze(o)), ze(d.errors)) : o.push(d);
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
|
-
} catch (
|
|
808
|
-
n = { error:
|
|
807
|
+
} catch (d) {
|
|
808
|
+
n = { error: d };
|
|
809
809
|
} finally {
|
|
810
810
|
try {
|
|
811
|
-
|
|
811
|
+
p && !p.done && (i = f.return) && i.call(f);
|
|
812
812
|
} finally {
|
|
813
813
|
if (n)
|
|
814
814
|
throw n.error;
|
|
@@ -816,7 +816,7 @@ var Be = function() {
|
|
|
816
816
|
}
|
|
817
817
|
}
|
|
818
818
|
if (o)
|
|
819
|
-
throw new
|
|
819
|
+
throw new Ne(o);
|
|
820
820
|
}
|
|
821
821
|
}, e.prototype.add = function(t) {
|
|
822
822
|
var r;
|
|
@@ -839,20 +839,20 @@ var Be = function() {
|
|
|
839
839
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
840
840
|
}, e.prototype._removeParent = function(t) {
|
|
841
841
|
var r = this._parentage;
|
|
842
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
842
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
|
|
843
843
|
}, e.prototype.remove = function(t) {
|
|
844
844
|
var r = this._finalizers;
|
|
845
|
-
r &&
|
|
845
|
+
r && Ze(r, t), t instanceof e && t._removeParent(this);
|
|
846
846
|
}, e.EMPTY = function() {
|
|
847
847
|
var t = new e();
|
|
848
848
|
return t.closed = !0, t;
|
|
849
849
|
}(), e;
|
|
850
|
-
}(), Jt =
|
|
850
|
+
}(), Jt = He.EMPTY;
|
|
851
851
|
function qt(e) {
|
|
852
|
-
return e instanceof
|
|
852
|
+
return e instanceof He || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
853
853
|
}
|
|
854
854
|
function dt(e) {
|
|
855
|
-
|
|
855
|
+
$(e) ? e() : e.unsubscribe();
|
|
856
856
|
}
|
|
857
857
|
var hn = {
|
|
858
858
|
Promise: void 0
|
|
@@ -860,7 +860,7 @@ var hn = {
|
|
|
860
860
|
setTimeout: function(e, t) {
|
|
861
861
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
862
862
|
r[n - 2] = arguments[n];
|
|
863
|
-
return setTimeout.apply(void 0,
|
|
863
|
+
return setTimeout.apply(void 0, We([e, t], ze(r)));
|
|
864
864
|
},
|
|
865
865
|
clearTimeout: function(e) {
|
|
866
866
|
return clearTimeout(e);
|
|
@@ -878,13 +878,13 @@ function be(e) {
|
|
|
878
878
|
e();
|
|
879
879
|
}
|
|
880
880
|
var Yt = function(e) {
|
|
881
|
-
|
|
881
|
+
ue(t, e);
|
|
882
882
|
function t(r) {
|
|
883
883
|
var n = e.call(this) || this;
|
|
884
884
|
return n.isStopped = !1, r ? (n.destination = r, qt(r) && r.add(n)) : n.destination = dn, n;
|
|
885
885
|
}
|
|
886
886
|
return t.create = function(r, n, i) {
|
|
887
|
-
return new
|
|
887
|
+
return new Qe(r, n, i);
|
|
888
888
|
}, t.prototype.next = function(r) {
|
|
889
889
|
this.isStopped || this._next(r);
|
|
890
890
|
}, t.prototype.error = function(r) {
|
|
@@ -908,7 +908,7 @@ var Yt = function(e) {
|
|
|
908
908
|
this.unsubscribe();
|
|
909
909
|
}
|
|
910
910
|
}, t;
|
|
911
|
-
}(
|
|
911
|
+
}(He), mn = function() {
|
|
912
912
|
function e(t) {
|
|
913
913
|
this.partialObserver = t;
|
|
914
914
|
}
|
|
@@ -939,11 +939,11 @@ var Yt = function(e) {
|
|
|
939
939
|
fe(r);
|
|
940
940
|
}
|
|
941
941
|
}, e;
|
|
942
|
-
}(),
|
|
943
|
-
|
|
942
|
+
}(), Qe = function(e) {
|
|
943
|
+
ue(t, e);
|
|
944
944
|
function t(r, n, i) {
|
|
945
945
|
var o = e.call(this) || this, a;
|
|
946
|
-
return
|
|
946
|
+
return $(r) || !r ? a = {
|
|
947
947
|
next: r ?? void 0,
|
|
948
948
|
error: n ?? void 0,
|
|
949
949
|
complete: i ?? void 0
|
|
@@ -983,7 +983,7 @@ var gt = function() {
|
|
|
983
983
|
var r = new e();
|
|
984
984
|
return r.source = this, r.operator = t, r;
|
|
985
985
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
986
|
-
var i = this, o = _n(t) ? t : new
|
|
986
|
+
var i = this, o = _n(t) ? t : new Qe(t, r, n);
|
|
987
987
|
return be(function() {
|
|
988
988
|
var a = i, s = a.operator, l = a.source;
|
|
989
989
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -997,7 +997,7 @@ var gt = function() {
|
|
|
997
997
|
}, e.prototype.forEach = function(t, r) {
|
|
998
998
|
var n = this;
|
|
999
999
|
return r = yt(r), new r(function(i, o) {
|
|
1000
|
-
var a = new
|
|
1000
|
+
var a = new Qe({
|
|
1001
1001
|
next: function(s) {
|
|
1002
1002
|
try {
|
|
1003
1003
|
t(s);
|
|
@@ -1040,7 +1040,7 @@ function yt(e) {
|
|
|
1040
1040
|
return (t = e ?? hn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1041
1041
|
}
|
|
1042
1042
|
function vn(e) {
|
|
1043
|
-
return e &&
|
|
1043
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
1044
1044
|
}
|
|
1045
1045
|
function _n(e) {
|
|
1046
1046
|
return e && e instanceof Yt || vn(e) && qt(e);
|
|
@@ -1050,7 +1050,7 @@ var xn = Qt(function(e) {
|
|
|
1050
1050
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1051
1051
|
};
|
|
1052
1052
|
}), Kt = function(e) {
|
|
1053
|
-
|
|
1053
|
+
ue(t, e);
|
|
1054
1054
|
function t() {
|
|
1055
1055
|
var r = e.call(this) || this;
|
|
1056
1056
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -1068,7 +1068,7 @@ var xn = Qt(function(e) {
|
|
|
1068
1068
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1069
1069
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1070
1070
|
try {
|
|
1071
|
-
for (var a =
|
|
1071
|
+
for (var a = Xe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1072
1072
|
var l = s.value;
|
|
1073
1073
|
l.next(r);
|
|
1074
1074
|
}
|
|
@@ -1117,8 +1117,8 @@ var xn = Qt(function(e) {
|
|
|
1117
1117
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1118
1118
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1119
1119
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1120
|
-
return o || a ? Jt : (this.currentObservers = null, s.push(r), new
|
|
1121
|
-
n.currentObservers = null,
|
|
1120
|
+
return o || a ? Jt : (this.currentObservers = null, s.push(r), new He(function() {
|
|
1121
|
+
n.currentObservers = null, Ze(s, r);
|
|
1122
1122
|
}));
|
|
1123
1123
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1124
1124
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
@@ -1130,7 +1130,7 @@ var xn = Qt(function(e) {
|
|
|
1130
1130
|
return new vt(r, n);
|
|
1131
1131
|
}, t;
|
|
1132
1132
|
}(gt), vt = function(e) {
|
|
1133
|
-
|
|
1133
|
+
ue(t, e);
|
|
1134
1134
|
function t(r, n) {
|
|
1135
1135
|
var i = e.call(this) || this;
|
|
1136
1136
|
return i.destination = r, i.source = n, i;
|
|
@@ -1154,7 +1154,7 @@ var xn = Qt(function(e) {
|
|
|
1154
1154
|
},
|
|
1155
1155
|
delegate: void 0
|
|
1156
1156
|
}, En = function(e) {
|
|
1157
|
-
|
|
1157
|
+
ue(t, e);
|
|
1158
1158
|
function t(r, n, i) {
|
|
1159
1159
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = er);
|
|
1160
1160
|
var o = e.call(this) || this;
|
|
@@ -1177,72 +1177,72 @@ var xn = Qt(function(e) {
|
|
|
1177
1177
|
}
|
|
1178
1178
|
}, t;
|
|
1179
1179
|
}(Kt);
|
|
1180
|
-
const _t = [], xt = {},
|
|
1180
|
+
const _t = [], xt = {}, wn = (e, t = 0) => {
|
|
1181
1181
|
if (_t.indexOf(e) == -1) {
|
|
1182
1182
|
const r = new En(t);
|
|
1183
1183
|
xt[e] = r, _t.push(e);
|
|
1184
1184
|
}
|
|
1185
1185
|
return xt[e];
|
|
1186
|
-
},
|
|
1187
|
-
function
|
|
1186
|
+
}, k = [];
|
|
1187
|
+
function Sn(e, t) {
|
|
1188
1188
|
return {
|
|
1189
1189
|
subscribe: Ae(e, t).subscribe
|
|
1190
1190
|
};
|
|
1191
1191
|
}
|
|
1192
|
-
function Ae(e, t =
|
|
1192
|
+
function Ae(e, t = M) {
|
|
1193
1193
|
let r;
|
|
1194
1194
|
const n = /* @__PURE__ */ new Set();
|
|
1195
1195
|
function i(s) {
|
|
1196
1196
|
if (Ft(e, s) && (e = s, r)) {
|
|
1197
|
-
const l = !
|
|
1197
|
+
const l = !k.length;
|
|
1198
1198
|
for (const u of n)
|
|
1199
|
-
u[1](),
|
|
1199
|
+
u[1](), k.push(u, e);
|
|
1200
1200
|
if (l) {
|
|
1201
|
-
for (let u = 0; u <
|
|
1202
|
-
|
|
1203
|
-
|
|
1201
|
+
for (let u = 0; u < k.length; u += 2)
|
|
1202
|
+
k[u][0](k[u + 1]);
|
|
1203
|
+
k.length = 0;
|
|
1204
1204
|
}
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
1207
|
function o(s) {
|
|
1208
1208
|
i(s(e));
|
|
1209
1209
|
}
|
|
1210
|
-
function a(s, l =
|
|
1210
|
+
function a(s, l = M) {
|
|
1211
1211
|
const u = [s, l];
|
|
1212
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1212
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || M), s(e), () => {
|
|
1213
1213
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1214
1214
|
};
|
|
1215
1215
|
}
|
|
1216
1216
|
return { set: i, update: o, subscribe: a };
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1218
|
+
function q(e, t, r) {
|
|
1219
1219
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1220
1220
|
if (!i.every(Boolean))
|
|
1221
1221
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1222
1222
|
const o = t.length < 2;
|
|
1223
|
-
return
|
|
1223
|
+
return Sn(r, (a, s) => {
|
|
1224
1224
|
let l = !1;
|
|
1225
1225
|
const u = [];
|
|
1226
|
-
let h = 0, c =
|
|
1226
|
+
let h = 0, c = M;
|
|
1227
1227
|
const f = () => {
|
|
1228
1228
|
if (h)
|
|
1229
1229
|
return;
|
|
1230
1230
|
c();
|
|
1231
1231
|
const m = t(n ? u[0] : u, a, s);
|
|
1232
|
-
o ? a(m) : c =
|
|
1233
|
-
},
|
|
1234
|
-
(m,
|
|
1232
|
+
o ? a(m) : c = Te(m) ? m : M;
|
|
1233
|
+
}, p = i.map(
|
|
1234
|
+
(m, d) => jt(
|
|
1235
1235
|
m,
|
|
1236
1236
|
(g) => {
|
|
1237
|
-
u[
|
|
1237
|
+
u[d] = g, h &= ~(1 << d), l && f();
|
|
1238
1238
|
},
|
|
1239
1239
|
() => {
|
|
1240
|
-
h |= 1 <<
|
|
1240
|
+
h |= 1 << d;
|
|
1241
1241
|
}
|
|
1242
1242
|
)
|
|
1243
1243
|
);
|
|
1244
1244
|
return l = !0, f(), function() {
|
|
1245
|
-
|
|
1245
|
+
G(p), c(), l = !1;
|
|
1246
1246
|
};
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
@@ -1251,12 +1251,12 @@ function Tn(e) {
|
|
|
1251
1251
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1252
1252
|
}
|
|
1253
1253
|
var Hn = function(t) {
|
|
1254
|
-
return
|
|
1254
|
+
return An(t) && !Bn(t);
|
|
1255
1255
|
};
|
|
1256
|
-
function
|
|
1256
|
+
function An(e) {
|
|
1257
1257
|
return !!e && typeof e == "object";
|
|
1258
1258
|
}
|
|
1259
|
-
function
|
|
1259
|
+
function Bn(e) {
|
|
1260
1260
|
var t = Object.prototype.toString.call(e);
|
|
1261
1261
|
return t === "[object RegExp]" || t === "[object Date]" || On(e);
|
|
1262
1262
|
}
|
|
@@ -1267,19 +1267,19 @@ function On(e) {
|
|
|
1267
1267
|
function In(e) {
|
|
1268
1268
|
return Array.isArray(e) ? [] : {};
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1270
|
+
function ie(e, t) {
|
|
1271
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? W(In(e), e, t) : e;
|
|
1272
1272
|
}
|
|
1273
1273
|
function Mn(e, t, r) {
|
|
1274
1274
|
return e.concat(t).map(function(n) {
|
|
1275
|
-
return
|
|
1275
|
+
return ie(n, r);
|
|
1276
1276
|
});
|
|
1277
1277
|
}
|
|
1278
1278
|
function Nn(e, t) {
|
|
1279
1279
|
if (!t.customMerge)
|
|
1280
|
-
return
|
|
1280
|
+
return W;
|
|
1281
1281
|
var r = t.customMerge(e);
|
|
1282
|
-
return typeof r == "function" ? r :
|
|
1282
|
+
return typeof r == "function" ? r : W;
|
|
1283
1283
|
}
|
|
1284
1284
|
function Ln(e) {
|
|
1285
1285
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -1302,51 +1302,51 @@ function $n(e, t) {
|
|
|
1302
1302
|
function Rn(e, t, r) {
|
|
1303
1303
|
var n = {};
|
|
1304
1304
|
return r.isMergeableObject(e) && Et(e).forEach(function(i) {
|
|
1305
|
-
n[i] =
|
|
1305
|
+
n[i] = ie(e[i], r);
|
|
1306
1306
|
}), Et(t).forEach(function(i) {
|
|
1307
|
-
$n(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] =
|
|
1307
|
+
$n(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
1308
1308
|
}), n;
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1311
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified =
|
|
1310
|
+
function W(e, t, r) {
|
|
1311
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = ie;
|
|
1312
1312
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1313
|
-
return o ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) :
|
|
1313
|
+
return o ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : ie(t, r);
|
|
1314
1314
|
}
|
|
1315
|
-
|
|
1315
|
+
W.all = function(t, r) {
|
|
1316
1316
|
if (!Array.isArray(t))
|
|
1317
1317
|
throw new Error("first argument should be an array");
|
|
1318
1318
|
return t.reduce(function(n, i) {
|
|
1319
|
-
return
|
|
1319
|
+
return W(n, i, r);
|
|
1320
1320
|
}, {});
|
|
1321
1321
|
};
|
|
1322
|
-
var Gn =
|
|
1322
|
+
var Gn = W, Un = Gn;
|
|
1323
1323
|
const Dn = /* @__PURE__ */ Tn(Un);
|
|
1324
|
-
var
|
|
1325
|
-
return
|
|
1324
|
+
var Je = function(e, t) {
|
|
1325
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1326
1326
|
r.__proto__ = n;
|
|
1327
1327
|
} || function(r, n) {
|
|
1328
1328
|
for (var i in n)
|
|
1329
1329
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1330
|
-
},
|
|
1330
|
+
}, Je(e, t);
|
|
1331
1331
|
};
|
|
1332
|
-
function
|
|
1332
|
+
function Be(e, t) {
|
|
1333
1333
|
if (typeof t != "function" && t !== null)
|
|
1334
1334
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1335
|
-
|
|
1335
|
+
Je(e, t);
|
|
1336
1336
|
function r() {
|
|
1337
1337
|
this.constructor = e;
|
|
1338
1338
|
}
|
|
1339
1339
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1340
1340
|
}
|
|
1341
|
-
var
|
|
1342
|
-
return
|
|
1341
|
+
var N = function() {
|
|
1342
|
+
return N = Object.assign || function(t) {
|
|
1343
1343
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1344
1344
|
r = arguments[n];
|
|
1345
1345
|
for (var o in r)
|
|
1346
1346
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1347
1347
|
}
|
|
1348
1348
|
return t;
|
|
1349
|
-
},
|
|
1349
|
+
}, N.apply(this, arguments);
|
|
1350
1350
|
};
|
|
1351
1351
|
function Fn(e, t) {
|
|
1352
1352
|
var r = {};
|
|
@@ -1357,13 +1357,13 @@ function Fn(e, t) {
|
|
|
1357
1357
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1358
1358
|
return r;
|
|
1359
1359
|
}
|
|
1360
|
-
function
|
|
1360
|
+
function Le(e, t, r) {
|
|
1361
1361
|
if (r || arguments.length === 2)
|
|
1362
1362
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1363
1363
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1364
1364
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1365
1365
|
}
|
|
1366
|
-
function
|
|
1366
|
+
function $e(e, t) {
|
|
1367
1367
|
var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : zn, i = t && t.strategy ? t.strategy : Vn;
|
|
1368
1368
|
return i(e, {
|
|
1369
1369
|
cache: r,
|
|
@@ -1409,31 +1409,31 @@ var zn = function() {
|
|
|
1409
1409
|
create: function() {
|
|
1410
1410
|
return new Wn();
|
|
1411
1411
|
}
|
|
1412
|
-
},
|
|
1412
|
+
}, Re = {
|
|
1413
1413
|
variadic: Xn
|
|
1414
|
-
},
|
|
1415
|
-
return
|
|
1414
|
+
}, Ee = function() {
|
|
1415
|
+
return Ee = Object.assign || function(t) {
|
|
1416
1416
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1417
1417
|
r = arguments[n];
|
|
1418
1418
|
for (var o in r)
|
|
1419
1419
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1420
1420
|
}
|
|
1421
1421
|
return t;
|
|
1422
|
-
},
|
|
1422
|
+
}, Ee.apply(this, arguments);
|
|
1423
1423
|
};
|
|
1424
|
-
var
|
|
1424
|
+
var y;
|
|
1425
1425
|
(function(e) {
|
|
1426
1426
|
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";
|
|
1427
|
-
})(
|
|
1427
|
+
})(y || (y = {}));
|
|
1428
1428
|
var w;
|
|
1429
1429
|
(function(e) {
|
|
1430
1430
|
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";
|
|
1431
1431
|
})(w || (w = {}));
|
|
1432
|
-
var
|
|
1432
|
+
var Z;
|
|
1433
1433
|
(function(e) {
|
|
1434
1434
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1435
|
-
})(
|
|
1436
|
-
function
|
|
1435
|
+
})(Z || (Z = {}));
|
|
1436
|
+
function wt(e) {
|
|
1437
1437
|
return e.type === w.literal;
|
|
1438
1438
|
}
|
|
1439
1439
|
function Qn(e) {
|
|
@@ -1461,10 +1461,10 @@ function lr(e) {
|
|
|
1461
1461
|
return e.type === w.tag;
|
|
1462
1462
|
}
|
|
1463
1463
|
function hr(e) {
|
|
1464
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1464
|
+
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1465
1465
|
}
|
|
1466
|
-
function
|
|
1467
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1466
|
+
function qe(e) {
|
|
1467
|
+
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1468
1468
|
}
|
|
1469
1469
|
var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1470
1470
|
function Yn(e) {
|
|
@@ -1558,15 +1558,15 @@ function Yn(e) {
|
|
|
1558
1558
|
return "";
|
|
1559
1559
|
}), t;
|
|
1560
1560
|
}
|
|
1561
|
-
var
|
|
1562
|
-
return
|
|
1561
|
+
var S = function() {
|
|
1562
|
+
return S = Object.assign || function(t) {
|
|
1563
1563
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1564
1564
|
r = arguments[n];
|
|
1565
1565
|
for (var o in r)
|
|
1566
1566
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1567
1567
|
}
|
|
1568
1568
|
return t;
|
|
1569
|
-
},
|
|
1569
|
+
}, S.apply(this, arguments);
|
|
1570
1570
|
};
|
|
1571
1571
|
var Kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1572
1572
|
function ei(e) {
|
|
@@ -1590,7 +1590,7 @@ function ei(e) {
|
|
|
1590
1590
|
function ti(e) {
|
|
1591
1591
|
return e.replace(/^(.*?)-/, "");
|
|
1592
1592
|
}
|
|
1593
|
-
var
|
|
1593
|
+
var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, ri = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
|
|
1594
1594
|
function Tt(e) {
|
|
1595
1595
|
var t = {};
|
|
1596
1596
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
|
|
@@ -1690,13 +1690,13 @@ function ii(e) {
|
|
|
1690
1690
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1691
1691
|
continue;
|
|
1692
1692
|
case "scientific":
|
|
1693
|
-
t =
|
|
1694
|
-
return
|
|
1693
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1694
|
+
return S(S({}, l), Ht(u));
|
|
1695
1695
|
}, {}));
|
|
1696
1696
|
continue;
|
|
1697
1697
|
case "engineering":
|
|
1698
|
-
t =
|
|
1699
|
-
return
|
|
1698
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1699
|
+
return S(S({}, l), Ht(u));
|
|
1700
1700
|
}, {}));
|
|
1701
1701
|
continue;
|
|
1702
1702
|
case "notation-simple":
|
|
@@ -1741,13 +1741,13 @@ function ii(e) {
|
|
|
1741
1741
|
case "integer-width":
|
|
1742
1742
|
if (i.options.length > 1)
|
|
1743
1743
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1744
|
-
i.options[0].replace(ri, function(l, u, h, c, f,
|
|
1744
|
+
i.options[0].replace(ri, function(l, u, h, c, f, p) {
|
|
1745
1745
|
if (u)
|
|
1746
1746
|
t.minimumIntegerDigits = h.length;
|
|
1747
1747
|
else {
|
|
1748
1748
|
if (c && f)
|
|
1749
1749
|
throw new Error("We currently do not support maximum integer digits");
|
|
1750
|
-
if (
|
|
1750
|
+
if (p)
|
|
1751
1751
|
throw new Error("We currently do not support exact integer digits");
|
|
1752
1752
|
}
|
|
1753
1753
|
return "";
|
|
@@ -1758,24 +1758,24 @@ function ii(e) {
|
|
|
1758
1758
|
t.minimumIntegerDigits = i.stem.length;
|
|
1759
1759
|
continue;
|
|
1760
1760
|
}
|
|
1761
|
-
if (
|
|
1761
|
+
if (St.test(i.stem)) {
|
|
1762
1762
|
if (i.options.length > 1)
|
|
1763
1763
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1764
|
-
i.stem.replace(
|
|
1765
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1764
|
+
i.stem.replace(St, function(l, u, h, c, f, p) {
|
|
1765
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1766
1766
|
});
|
|
1767
1767
|
var o = i.options[0];
|
|
1768
|
-
o === "w" ? t =
|
|
1768
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Tt(o)));
|
|
1769
1769
|
continue;
|
|
1770
1770
|
}
|
|
1771
1771
|
if (fr.test(i.stem)) {
|
|
1772
|
-
t =
|
|
1772
|
+
t = S(S({}, t), Tt(i.stem));
|
|
1773
1773
|
continue;
|
|
1774
1774
|
}
|
|
1775
1775
|
var a = pr(i.stem);
|
|
1776
|
-
a && (t =
|
|
1776
|
+
a && (t = S(S({}, t), a));
|
|
1777
1777
|
var s = ni(i.stem);
|
|
1778
|
-
s && (t =
|
|
1778
|
+
s && (t = S(S({}, t), s));
|
|
1779
1779
|
}
|
|
1780
1780
|
return t;
|
|
1781
1781
|
}
|
|
@@ -3232,20 +3232,20 @@ function si(e) {
|
|
|
3232
3232
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
|
3233
3233
|
return i[0];
|
|
3234
3234
|
}
|
|
3235
|
-
var
|
|
3236
|
-
function
|
|
3235
|
+
var Ge, ai = new RegExp("^".concat(cr.source, "*")), ui = new RegExp("".concat(cr.source, "*$"));
|
|
3236
|
+
function _(e, t) {
|
|
3237
3237
|
return { start: e, end: t };
|
|
3238
3238
|
}
|
|
3239
3239
|
var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), hi = !!String.fromCodePoint, ci = !!Object.fromEntries, fi = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, bi = di ? Number.isSafeInteger : function(e) {
|
|
3240
3240
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3241
|
-
},
|
|
3241
|
+
}, Ye = !0;
|
|
3242
3242
|
try {
|
|
3243
3243
|
var gi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3244
|
-
|
|
3244
|
+
Ye = ((Ge = gi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
|
|
3245
3245
|
} catch {
|
|
3246
|
-
|
|
3246
|
+
Ye = !1;
|
|
3247
3247
|
}
|
|
3248
|
-
var
|
|
3248
|
+
var At = li ? (
|
|
3249
3249
|
// Native
|
|
3250
3250
|
function(t, r, n) {
|
|
3251
3251
|
return t.startsWith(r, n);
|
|
@@ -3255,7 +3255,7 @@ var Bt = li ? (
|
|
|
3255
3255
|
function(t, r, n) {
|
|
3256
3256
|
return t.slice(n, n + r.length) === r;
|
|
3257
3257
|
}
|
|
3258
|
-
),
|
|
3258
|
+
), Ke = hi ? String.fromCodePoint : (
|
|
3259
3259
|
// IE11
|
|
3260
3260
|
function() {
|
|
3261
3261
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3267,7 +3267,7 @@ var Bt = li ? (
|
|
|
3267
3267
|
}
|
|
3268
3268
|
return n;
|
|
3269
3269
|
}
|
|
3270
|
-
),
|
|
3270
|
+
), Bt = (
|
|
3271
3271
|
// native
|
|
3272
3272
|
ci ? Object.fromEntries : (
|
|
3273
3273
|
// Ponyfill
|
|
@@ -3317,24 +3317,24 @@ var Bt = li ? (
|
|
|
3317
3317
|
function br(e, t) {
|
|
3318
3318
|
return new RegExp(e, t);
|
|
3319
3319
|
}
|
|
3320
|
-
var
|
|
3321
|
-
if (
|
|
3320
|
+
var et;
|
|
3321
|
+
if (Ye) {
|
|
3322
3322
|
var Ct = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3323
|
-
|
|
3323
|
+
et = function(t, r) {
|
|
3324
3324
|
var n;
|
|
3325
3325
|
Ct.lastIndex = r;
|
|
3326
3326
|
var i = Ct.exec(t);
|
|
3327
3327
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3328
3328
|
};
|
|
3329
3329
|
} else
|
|
3330
|
-
|
|
3330
|
+
et = function(t, r) {
|
|
3331
3331
|
for (var n = []; ; ) {
|
|
3332
3332
|
var i = dr(t, r);
|
|
3333
|
-
if (i === void 0 || gr(i) ||
|
|
3333
|
+
if (i === void 0 || gr(i) || wi(i))
|
|
3334
3334
|
break;
|
|
3335
3335
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3336
3336
|
}
|
|
3337
|
-
return
|
|
3337
|
+
return Ke.apply(void 0, n);
|
|
3338
3338
|
};
|
|
3339
3339
|
var _i = (
|
|
3340
3340
|
/** @class */
|
|
@@ -3361,13 +3361,13 @@ var _i = (
|
|
|
3361
3361
|
var s = this.clonePosition();
|
|
3362
3362
|
this.bump(), i.push({
|
|
3363
3363
|
type: w.pound,
|
|
3364
|
-
location:
|
|
3364
|
+
location: _(s, this.clonePosition())
|
|
3365
3365
|
});
|
|
3366
3366
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3367
3367
|
if (n)
|
|
3368
3368
|
break;
|
|
3369
|
-
return this.error(
|
|
3370
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3369
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3370
|
+
} else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
|
|
3371
3371
|
var a = this.parseTag(t, r);
|
|
3372
3372
|
if (a.err)
|
|
3373
3373
|
return a;
|
|
@@ -3390,7 +3390,7 @@ var _i = (
|
|
|
3390
3390
|
val: {
|
|
3391
3391
|
type: w.literal,
|
|
3392
3392
|
value: "<".concat(i, "/>"),
|
|
3393
|
-
location:
|
|
3393
|
+
location: _(n, this.clonePosition())
|
|
3394
3394
|
},
|
|
3395
3395
|
err: null
|
|
3396
3396
|
};
|
|
@@ -3400,22 +3400,22 @@ var _i = (
|
|
|
3400
3400
|
return o;
|
|
3401
3401
|
var a = o.val, s = this.clonePosition();
|
|
3402
3402
|
if (this.bumpIf("</")) {
|
|
3403
|
-
if (this.isEOF() || !
|
|
3404
|
-
return this.error(
|
|
3403
|
+
if (this.isEOF() || !tt(this.char()))
|
|
3404
|
+
return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
|
|
3405
3405
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3406
|
-
return i !== u ? this.error(
|
|
3406
|
+
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3407
3407
|
val: {
|
|
3408
3408
|
type: w.tag,
|
|
3409
3409
|
value: i,
|
|
3410
3410
|
children: a,
|
|
3411
|
-
location:
|
|
3411
|
+
location: _(n, this.clonePosition())
|
|
3412
3412
|
},
|
|
3413
3413
|
err: null
|
|
3414
|
-
} : this.error(
|
|
3414
|
+
} : this.error(y.INVALID_TAG, _(s, this.clonePosition())));
|
|
3415
3415
|
} else
|
|
3416
|
-
return this.error(
|
|
3416
|
+
return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
|
|
3417
3417
|
} else
|
|
3418
|
-
return this.error(
|
|
3418
|
+
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
3419
3419
|
}, e.prototype.parseTagName = function() {
|
|
3420
3420
|
var t = this.offset();
|
|
3421
3421
|
for (this.bump(); !this.isEOF() && Ei(this.char()); )
|
|
@@ -3440,7 +3440,7 @@ var _i = (
|
|
|
3440
3440
|
}
|
|
3441
3441
|
break;
|
|
3442
3442
|
}
|
|
3443
|
-
var l =
|
|
3443
|
+
var l = _(n, this.clonePosition());
|
|
3444
3444
|
return {
|
|
3445
3445
|
val: { type: w.literal, value: i, location: l },
|
|
3446
3446
|
err: null
|
|
@@ -3481,23 +3481,23 @@ var _i = (
|
|
|
3481
3481
|
r.push(n);
|
|
3482
3482
|
this.bump();
|
|
3483
3483
|
}
|
|
3484
|
-
return
|
|
3484
|
+
return Ke.apply(void 0, r);
|
|
3485
3485
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3486
3486
|
if (this.isEOF())
|
|
3487
3487
|
return null;
|
|
3488
3488
|
var n = this.char();
|
|
3489
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3489
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
|
|
3490
3490
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3491
3491
|
var n = this.clonePosition();
|
|
3492
3492
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3493
|
-
return this.error(
|
|
3493
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
3494
3494
|
if (this.char() === 125)
|
|
3495
|
-
return this.bump(), this.error(
|
|
3495
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
|
|
3496
3496
|
var i = this.parseIdentifierIfPossible().value;
|
|
3497
3497
|
if (!i)
|
|
3498
|
-
return this.error(
|
|
3498
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3499
3499
|
if (this.bumpSpace(), this.isEOF())
|
|
3500
|
-
return this.error(
|
|
3500
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
3501
3501
|
switch (this.char()) {
|
|
3502
3502
|
case 125:
|
|
3503
3503
|
return this.bump(), {
|
|
@@ -3505,25 +3505,25 @@ var _i = (
|
|
|
3505
3505
|
type: w.argument,
|
|
3506
3506
|
// value does not include the opening and closing braces.
|
|
3507
3507
|
value: i,
|
|
3508
|
-
location:
|
|
3508
|
+
location: _(n, this.clonePosition())
|
|
3509
3509
|
},
|
|
3510
3510
|
err: null
|
|
3511
3511
|
};
|
|
3512
3512
|
case 44:
|
|
3513
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3513
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3514
3514
|
default:
|
|
3515
|
-
return this.error(
|
|
3515
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3516
3516
|
}
|
|
3517
3517
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3518
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3518
|
+
var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
|
|
3519
3519
|
this.bumpTo(i);
|
|
3520
|
-
var o = this.clonePosition(), a =
|
|
3520
|
+
var o = this.clonePosition(), a = _(t, o);
|
|
3521
3521
|
return { value: n, location: a };
|
|
3522
3522
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3523
3523
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3524
3524
|
switch (s) {
|
|
3525
3525
|
case "":
|
|
3526
|
-
return this.error(
|
|
3526
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, l));
|
|
3527
3527
|
case "number":
|
|
3528
3528
|
case "date":
|
|
3529
3529
|
case "time": {
|
|
@@ -3536,35 +3536,35 @@ var _i = (
|
|
|
3536
3536
|
return c;
|
|
3537
3537
|
var f = vi(c.val);
|
|
3538
3538
|
if (f.length === 0)
|
|
3539
|
-
return this.error(
|
|
3540
|
-
var
|
|
3541
|
-
u = { style: f, styleLocation:
|
|
3539
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3540
|
+
var p = _(h, this.clonePosition());
|
|
3541
|
+
u = { style: f, styleLocation: p };
|
|
3542
3542
|
}
|
|
3543
3543
|
var m = this.tryParseArgumentClose(i);
|
|
3544
3544
|
if (m.err)
|
|
3545
3545
|
return m;
|
|
3546
|
-
var
|
|
3547
|
-
if (u &&
|
|
3546
|
+
var d = _(i, this.clonePosition());
|
|
3547
|
+
if (u && At(u?.style, "::", 0)) {
|
|
3548
3548
|
var g = yi(u.style.slice(2));
|
|
3549
3549
|
if (s === "number") {
|
|
3550
3550
|
var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3551
3551
|
return c.err ? c : {
|
|
3552
|
-
val: { type: w.number, value: n, location:
|
|
3552
|
+
val: { type: w.number, value: n, location: d, style: c.val },
|
|
3553
3553
|
err: null
|
|
3554
3554
|
};
|
|
3555
3555
|
} else {
|
|
3556
3556
|
if (g.length === 0)
|
|
3557
|
-
return this.error(
|
|
3558
|
-
var
|
|
3559
|
-
this.locale && (
|
|
3557
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, d);
|
|
3558
|
+
var A = g;
|
|
3559
|
+
this.locale && (A = oi(g, this.locale));
|
|
3560
3560
|
var f = {
|
|
3561
|
-
type:
|
|
3562
|
-
pattern:
|
|
3561
|
+
type: Z.dateTime,
|
|
3562
|
+
pattern: A,
|
|
3563
3563
|
location: u.styleLocation,
|
|
3564
|
-
parsedOptions: this.shouldParseSkeletons ? Yn(
|
|
3565
|
-
},
|
|
3564
|
+
parsedOptions: this.shouldParseSkeletons ? Yn(A) : {}
|
|
3565
|
+
}, T = s === "date" ? w.date : w.time;
|
|
3566
3566
|
return {
|
|
3567
|
-
val: { type:
|
|
3567
|
+
val: { type: T, value: n, location: d, style: f },
|
|
3568
3568
|
err: null
|
|
3569
3569
|
};
|
|
3570
3570
|
}
|
|
@@ -3573,7 +3573,7 @@ var _i = (
|
|
|
3573
3573
|
val: {
|
|
3574
3574
|
type: s === "number" ? w.number : s === "date" ? w.date : w.time,
|
|
3575
3575
|
value: n,
|
|
3576
|
-
location:
|
|
3576
|
+
location: d,
|
|
3577
3577
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3578
3578
|
},
|
|
3579
3579
|
err: null
|
|
@@ -3582,52 +3582,52 @@ var _i = (
|
|
|
3582
3582
|
case "plural":
|
|
3583
3583
|
case "selectordinal":
|
|
3584
3584
|
case "select": {
|
|
3585
|
-
var
|
|
3585
|
+
var x = this.clonePosition();
|
|
3586
3586
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3587
|
-
return this.error(
|
|
3587
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, Ee({}, x)));
|
|
3588
3588
|
this.bumpSpace();
|
|
3589
|
-
var E = this.parseIdentifierIfPossible(),
|
|
3589
|
+
var E = this.parseIdentifierIfPossible(), b = 0;
|
|
3590
3590
|
if (s !== "select" && E.value === "offset") {
|
|
3591
3591
|
if (!this.bumpIf(":"))
|
|
3592
|
-
return this.error(
|
|
3592
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3593
3593
|
this.bumpSpace();
|
|
3594
|
-
var c = this.tryParseDecimalInteger(
|
|
3594
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3595
3595
|
if (c.err)
|
|
3596
3596
|
return c;
|
|
3597
|
-
this.bumpSpace(), E = this.parseIdentifierIfPossible(),
|
|
3597
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), b = c.val;
|
|
3598
3598
|
}
|
|
3599
|
-
var
|
|
3600
|
-
if (
|
|
3601
|
-
return
|
|
3599
|
+
var B = this.tryParsePluralOrSelectOptions(t, s, r, E);
|
|
3600
|
+
if (B.err)
|
|
3601
|
+
return B;
|
|
3602
3602
|
var m = this.tryParseArgumentClose(i);
|
|
3603
3603
|
if (m.err)
|
|
3604
3604
|
return m;
|
|
3605
|
-
var
|
|
3605
|
+
var he = _(i, this.clonePosition());
|
|
3606
3606
|
return s === "select" ? {
|
|
3607
3607
|
val: {
|
|
3608
3608
|
type: w.select,
|
|
3609
3609
|
value: n,
|
|
3610
|
-
options:
|
|
3611
|
-
location:
|
|
3610
|
+
options: Bt(B.val),
|
|
3611
|
+
location: he
|
|
3612
3612
|
},
|
|
3613
3613
|
err: null
|
|
3614
3614
|
} : {
|
|
3615
3615
|
val: {
|
|
3616
3616
|
type: w.plural,
|
|
3617
3617
|
value: n,
|
|
3618
|
-
options:
|
|
3619
|
-
offset:
|
|
3618
|
+
options: Bt(B.val),
|
|
3619
|
+
offset: b,
|
|
3620
3620
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3621
|
-
location:
|
|
3621
|
+
location: he
|
|
3622
3622
|
},
|
|
3623
3623
|
err: null
|
|
3624
3624
|
};
|
|
3625
3625
|
}
|
|
3626
3626
|
default:
|
|
3627
|
-
return this.error(
|
|
3627
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(a, l));
|
|
3628
3628
|
}
|
|
3629
3629
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3630
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3630
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3631
3631
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3632
3632
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3633
3633
|
var n = this.char();
|
|
@@ -3636,7 +3636,7 @@ var _i = (
|
|
|
3636
3636
|
this.bump();
|
|
3637
3637
|
var i = this.clonePosition();
|
|
3638
3638
|
if (!this.bumpUntil("'"))
|
|
3639
|
-
return this.error(
|
|
3639
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
|
3640
3640
|
this.bump();
|
|
3641
3641
|
break;
|
|
3642
3642
|
}
|
|
@@ -3668,11 +3668,11 @@ var _i = (
|
|
|
3668
3668
|
try {
|
|
3669
3669
|
n = ei(t);
|
|
3670
3670
|
} catch {
|
|
3671
|
-
return this.error(
|
|
3671
|
+
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3672
3672
|
}
|
|
3673
3673
|
return {
|
|
3674
3674
|
val: {
|
|
3675
|
-
type:
|
|
3675
|
+
type: Z.number,
|
|
3676
3676
|
tokens: n,
|
|
3677
3677
|
location: r,
|
|
3678
3678
|
parsedOptions: this.shouldParseSkeletons ? ii(n) : {}
|
|
@@ -3684,34 +3684,34 @@ var _i = (
|
|
|
3684
3684
|
if (u.length === 0) {
|
|
3685
3685
|
var c = this.clonePosition();
|
|
3686
3686
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3687
|
-
var f = this.tryParseDecimalInteger(
|
|
3687
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3688
3688
|
if (f.err)
|
|
3689
3689
|
return f;
|
|
3690
|
-
h =
|
|
3690
|
+
h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3691
3691
|
} else
|
|
3692
3692
|
break;
|
|
3693
3693
|
}
|
|
3694
3694
|
if (l.has(u))
|
|
3695
|
-
return this.error(r === "select" ?
|
|
3695
|
+
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3696
3696
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3697
|
-
var
|
|
3697
|
+
var p = this.clonePosition();
|
|
3698
3698
|
if (!this.bumpIf("{"))
|
|
3699
|
-
return this.error(r === "select" ?
|
|
3699
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3700
3700
|
var m = this.parseMessage(t + 1, r, n);
|
|
3701
3701
|
if (m.err)
|
|
3702
3702
|
return m;
|
|
3703
|
-
var
|
|
3704
|
-
if (
|
|
3705
|
-
return
|
|
3703
|
+
var d = this.tryParseArgumentClose(p);
|
|
3704
|
+
if (d.err)
|
|
3705
|
+
return d;
|
|
3706
3706
|
s.push([
|
|
3707
3707
|
u,
|
|
3708
3708
|
{
|
|
3709
3709
|
value: m.val,
|
|
3710
|
-
location:
|
|
3710
|
+
location: _(p, this.clonePosition())
|
|
3711
3711
|
}
|
|
3712
3712
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3713
3713
|
}
|
|
3714
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
3714
|
+
return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3715
3715
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3716
3716
|
var n = 1, i = this.clonePosition();
|
|
3717
3717
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3722,7 +3722,7 @@ var _i = (
|
|
|
3722
3722
|
else
|
|
3723
3723
|
break;
|
|
3724
3724
|
}
|
|
3725
|
-
var l =
|
|
3725
|
+
var l = _(i, this.clonePosition());
|
|
3726
3726
|
return o ? (a *= n, bi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3727
3727
|
}, e.prototype.offset = function() {
|
|
3728
3728
|
return this.position.offset;
|
|
@@ -3757,7 +3757,7 @@ var _i = (
|
|
|
3757
3757
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3758
3758
|
}
|
|
3759
3759
|
}, e.prototype.bumpIf = function(t) {
|
|
3760
|
-
if (
|
|
3760
|
+
if (At(this.message, t, this.offset())) {
|
|
3761
3761
|
for (var r = 0; r < t.length; r++)
|
|
3762
3762
|
this.bump();
|
|
3763
3763
|
return !0;
|
|
@@ -3789,11 +3789,11 @@ var _i = (
|
|
|
3789
3789
|
}, e;
|
|
3790
3790
|
}()
|
|
3791
3791
|
);
|
|
3792
|
-
function
|
|
3792
|
+
function tt(e) {
|
|
3793
3793
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3794
3794
|
}
|
|
3795
3795
|
function xi(e) {
|
|
3796
|
-
return
|
|
3796
|
+
return tt(e) || e === 47;
|
|
3797
3797
|
}
|
|
3798
3798
|
function Ei(e) {
|
|
3799
3799
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
@@ -3801,35 +3801,35 @@ function Ei(e) {
|
|
|
3801
3801
|
function gr(e) {
|
|
3802
3802
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3803
3803
|
}
|
|
3804
|
-
function
|
|
3804
|
+
function wi(e) {
|
|
3805
3805
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3806
3806
|
}
|
|
3807
|
-
function
|
|
3807
|
+
function rt(e) {
|
|
3808
3808
|
e.forEach(function(t) {
|
|
3809
3809
|
if (delete t.location, ar(t) || ur(t))
|
|
3810
3810
|
for (var r in t.options)
|
|
3811
|
-
delete t.options[r].location,
|
|
3811
|
+
delete t.options[r].location, rt(t.options[r].value);
|
|
3812
3812
|
else
|
|
3813
|
-
ir(t) && hr(t.style) || (or(t) || sr(t)) &&
|
|
3813
|
+
ir(t) && hr(t.style) || (or(t) || sr(t)) && qe(t.style) ? delete t.style.location : lr(t) && rt(t.children);
|
|
3814
3814
|
});
|
|
3815
3815
|
}
|
|
3816
|
-
function
|
|
3817
|
-
t === void 0 && (t = {}), t =
|
|
3816
|
+
function Si(e, t) {
|
|
3817
|
+
t === void 0 && (t = {}), t = Ee({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3818
3818
|
var r = new _i(e, t).parse();
|
|
3819
3819
|
if (r.err) {
|
|
3820
|
-
var n = SyntaxError(
|
|
3820
|
+
var n = SyntaxError(y[r.err.kind]);
|
|
3821
3821
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3822
3822
|
}
|
|
3823
|
-
return t?.captureLocation ||
|
|
3823
|
+
return t?.captureLocation || rt(r.val), r.val;
|
|
3824
3824
|
}
|
|
3825
|
-
var
|
|
3825
|
+
var Q;
|
|
3826
3826
|
(function(e) {
|
|
3827
3827
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3828
|
-
})(
|
|
3829
|
-
var
|
|
3828
|
+
})(Q || (Q = {}));
|
|
3829
|
+
var Ce = (
|
|
3830
3830
|
/** @class */
|
|
3831
3831
|
function(e) {
|
|
3832
|
-
|
|
3832
|
+
Be(t, e);
|
|
3833
3833
|
function t(r, n, i) {
|
|
3834
3834
|
var o = e.call(this, r) || this;
|
|
3835
3835
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3841,45 +3841,45 @@ var Pe = (
|
|
|
3841
3841
|
), Pt = (
|
|
3842
3842
|
/** @class */
|
|
3843
3843
|
function(e) {
|
|
3844
|
-
|
|
3844
|
+
Be(t, e);
|
|
3845
3845
|
function t(r, n, i, o) {
|
|
3846
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3846
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
|
|
3847
3847
|
}
|
|
3848
3848
|
return t;
|
|
3849
|
-
}(
|
|
3849
|
+
}(Ce)
|
|
3850
3850
|
), Ti = (
|
|
3851
3851
|
/** @class */
|
|
3852
3852
|
function(e) {
|
|
3853
|
-
|
|
3853
|
+
Be(t, e);
|
|
3854
3854
|
function t(r, n, i) {
|
|
3855
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3855
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
|
|
3856
3856
|
}
|
|
3857
3857
|
return t;
|
|
3858
|
-
}(
|
|
3858
|
+
}(Ce)
|
|
3859
3859
|
), Hi = (
|
|
3860
3860
|
/** @class */
|
|
3861
3861
|
function(e) {
|
|
3862
|
-
|
|
3862
|
+
Be(t, e);
|
|
3863
3863
|
function t(r, n) {
|
|
3864
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3864
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
|
|
3865
3865
|
}
|
|
3866
3866
|
return t;
|
|
3867
|
-
}(
|
|
3867
|
+
}(Ce)
|
|
3868
3868
|
), P;
|
|
3869
3869
|
(function(e) {
|
|
3870
3870
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3871
3871
|
})(P || (P = {}));
|
|
3872
|
-
function
|
|
3872
|
+
function Ai(e) {
|
|
3873
3873
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3874
3874
|
var n = t[t.length - 1];
|
|
3875
3875
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3876
3876
|
}, []);
|
|
3877
3877
|
}
|
|
3878
|
-
function
|
|
3878
|
+
function Bi(e) {
|
|
3879
3879
|
return typeof e == "function";
|
|
3880
3880
|
}
|
|
3881
3881
|
function ge(e, t, r, n, i, o, a) {
|
|
3882
|
-
if (e.length === 1 &&
|
|
3882
|
+
if (e.length === 1 && wt(e[0]))
|
|
3883
3883
|
return [
|
|
3884
3884
|
{
|
|
3885
3885
|
type: P.literal,
|
|
@@ -3888,7 +3888,7 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3888
3888
|
];
|
|
3889
3889
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3890
3890
|
var h = u[l];
|
|
3891
|
-
if (
|
|
3891
|
+
if (wt(h)) {
|
|
3892
3892
|
s.push({
|
|
3893
3893
|
type: P.literal,
|
|
3894
3894
|
value: h.value
|
|
@@ -3914,79 +3914,79 @@ function ge(e, t, r, n, i, o, a) {
|
|
|
3914
3914
|
continue;
|
|
3915
3915
|
}
|
|
3916
3916
|
if (or(h)) {
|
|
3917
|
-
var
|
|
3917
|
+
var p = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
|
|
3918
3918
|
s.push({
|
|
3919
3919
|
type: P.literal,
|
|
3920
|
-
value: r.getDateTimeFormat(t,
|
|
3920
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3921
3921
|
});
|
|
3922
3922
|
continue;
|
|
3923
3923
|
}
|
|
3924
3924
|
if (sr(h)) {
|
|
3925
|
-
var
|
|
3925
|
+
var p = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3926
3926
|
s.push({
|
|
3927
3927
|
type: P.literal,
|
|
3928
|
-
value: r.getDateTimeFormat(t,
|
|
3928
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3929
3929
|
});
|
|
3930
3930
|
continue;
|
|
3931
3931
|
}
|
|
3932
3932
|
if (ir(h)) {
|
|
3933
|
-
var
|
|
3934
|
-
|
|
3933
|
+
var p = typeof h.style == "string" ? n.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
|
|
3934
|
+
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3935
3935
|
type: P.literal,
|
|
3936
|
-
value: r.getNumberFormat(t,
|
|
3936
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3937
3937
|
});
|
|
3938
3938
|
continue;
|
|
3939
3939
|
}
|
|
3940
3940
|
if (lr(h)) {
|
|
3941
|
-
var m = h.children,
|
|
3942
|
-
if (!
|
|
3943
|
-
throw new Ti(
|
|
3944
|
-
var
|
|
3945
|
-
return
|
|
3941
|
+
var m = h.children, d = h.value, g = i[d];
|
|
3942
|
+
if (!Bi(g))
|
|
3943
|
+
throw new Ti(d, "function", a);
|
|
3944
|
+
var A = ge(m, t, r, n, i, o), T = g(A.map(function(b) {
|
|
3945
|
+
return b.value;
|
|
3946
3946
|
}));
|
|
3947
|
-
Array.isArray(
|
|
3947
|
+
Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(b) {
|
|
3948
3948
|
return {
|
|
3949
|
-
type: typeof
|
|
3950
|
-
value:
|
|
3949
|
+
type: typeof b == "string" ? P.literal : P.object,
|
|
3950
|
+
value: b
|
|
3951
3951
|
};
|
|
3952
3952
|
}));
|
|
3953
3953
|
}
|
|
3954
3954
|
if (ar(h)) {
|
|
3955
|
-
var
|
|
3956
|
-
if (!
|
|
3955
|
+
var x = h.options[f] || h.options.other;
|
|
3956
|
+
if (!x)
|
|
3957
3957
|
throw new Pt(h.value, f, Object.keys(h.options), a);
|
|
3958
|
-
s.push.apply(s, ge(
|
|
3958
|
+
s.push.apply(s, ge(x.value, t, r, n, i));
|
|
3959
3959
|
continue;
|
|
3960
3960
|
}
|
|
3961
3961
|
if (ur(h)) {
|
|
3962
|
-
var
|
|
3963
|
-
if (!
|
|
3962
|
+
var x = h.options["=".concat(f)];
|
|
3963
|
+
if (!x) {
|
|
3964
3964
|
if (!Intl.PluralRules)
|
|
3965
|
-
throw new
|
|
3965
|
+
throw new Ce(`Intl.PluralRules is not available in this environment.
|
|
3966
3966
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3967
|
-
`,
|
|
3967
|
+
`, Q.MISSING_INTL_API, a);
|
|
3968
3968
|
var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3969
|
-
|
|
3969
|
+
x = h.options[E] || h.options.other;
|
|
3970
3970
|
}
|
|
3971
|
-
if (!
|
|
3971
|
+
if (!x)
|
|
3972
3972
|
throw new Pt(h.value, f, Object.keys(h.options), a);
|
|
3973
|
-
s.push.apply(s, ge(
|
|
3973
|
+
s.push.apply(s, ge(x.value, t, r, n, i, f - (h.offset || 0)));
|
|
3974
3974
|
continue;
|
|
3975
3975
|
}
|
|
3976
3976
|
}
|
|
3977
|
-
return
|
|
3977
|
+
return Ai(s);
|
|
3978
3978
|
}
|
|
3979
3979
|
function Ci(e, t) {
|
|
3980
|
-
return t ?
|
|
3981
|
-
return r[n] =
|
|
3980
|
+
return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3981
|
+
return r[n] = N(N({}, e[n]), t[n] || {}), r;
|
|
3982
3982
|
}, {})) : e;
|
|
3983
3983
|
}
|
|
3984
3984
|
function Pi(e, t) {
|
|
3985
3985
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3986
3986
|
return r[n] = Ci(e[n], t[n]), r;
|
|
3987
|
-
},
|
|
3987
|
+
}, N({}, e)) : e;
|
|
3988
3988
|
}
|
|
3989
|
-
function
|
|
3989
|
+
function Ue(e) {
|
|
3990
3990
|
return {
|
|
3991
3991
|
create: function() {
|
|
3992
3992
|
return {
|
|
@@ -4006,29 +4006,29 @@ function Oi(e) {
|
|
|
4006
4006
|
dateTime: {},
|
|
4007
4007
|
pluralRules: {}
|
|
4008
4008
|
}), {
|
|
4009
|
-
getNumberFormat:
|
|
4009
|
+
getNumberFormat: $e(function() {
|
|
4010
4010
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4011
4011
|
r[n] = arguments[n];
|
|
4012
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4012
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Le([void 0], r, !1)))();
|
|
4013
4013
|
}, {
|
|
4014
|
-
cache:
|
|
4015
|
-
strategy:
|
|
4014
|
+
cache: Ue(e.number),
|
|
4015
|
+
strategy: Re.variadic
|
|
4016
4016
|
}),
|
|
4017
|
-
getDateTimeFormat:
|
|
4017
|
+
getDateTimeFormat: $e(function() {
|
|
4018
4018
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4019
4019
|
r[n] = arguments[n];
|
|
4020
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4020
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Le([void 0], r, !1)))();
|
|
4021
4021
|
}, {
|
|
4022
|
-
cache:
|
|
4023
|
-
strategy:
|
|
4022
|
+
cache: Ue(e.dateTime),
|
|
4023
|
+
strategy: Re.variadic
|
|
4024
4024
|
}),
|
|
4025
|
-
getPluralRules:
|
|
4025
|
+
getPluralRules: $e(function() {
|
|
4026
4026
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4027
4027
|
r[n] = arguments[n];
|
|
4028
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4028
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Le([void 0], r, !1)))();
|
|
4029
4029
|
}, {
|
|
4030
|
-
cache:
|
|
4031
|
-
strategy:
|
|
4030
|
+
cache: Ue(e.pluralRules),
|
|
4031
|
+
strategy: Re.variadic
|
|
4032
4032
|
})
|
|
4033
4033
|
};
|
|
4034
4034
|
}
|
|
@@ -4065,7 +4065,7 @@ var Ii = (
|
|
|
4065
4065
|
var a = i || {};
|
|
4066
4066
|
a.formatters;
|
|
4067
4067
|
var s = Fn(a, ["formatters"]);
|
|
4068
|
-
this.ast = e.__parse(t,
|
|
4068
|
+
this.ast = e.__parse(t, N(N({}, s), { locale: this.resolvedLocale }));
|
|
4069
4069
|
} else
|
|
4070
4070
|
this.ast = t;
|
|
4071
4071
|
if (!Array.isArray(this.ast))
|
|
@@ -4083,7 +4083,7 @@ var Ii = (
|
|
|
4083
4083
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4084
4084
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4085
4085
|
}
|
|
4086
|
-
}, e.__parse =
|
|
4086
|
+
}, e.__parse = Si, e.formats = {
|
|
4087
4087
|
number: {
|
|
4088
4088
|
integer: {
|
|
4089
4089
|
maximumFractionDigits: 0
|
|
@@ -4165,12 +4165,12 @@ function Mi(e, t) {
|
|
|
4165
4165
|
n = void 0;
|
|
4166
4166
|
return n;
|
|
4167
4167
|
}
|
|
4168
|
-
const
|
|
4168
|
+
const R = {}, Ni = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), yr = (e, t) => {
|
|
4169
4169
|
if (t == null)
|
|
4170
4170
|
return;
|
|
4171
|
-
if (t in
|
|
4172
|
-
return
|
|
4173
|
-
const r =
|
|
4171
|
+
if (t in R && e in R[t])
|
|
4172
|
+
return R[t][e];
|
|
4173
|
+
const r = Pe(t);
|
|
4174
4174
|
for (let n = 0; n < r.length; n++) {
|
|
4175
4175
|
const i = r[n], o = $i(i, e);
|
|
4176
4176
|
if (o)
|
|
@@ -4178,7 +4178,7 @@ const G = {}, Ni = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][
|
|
|
4178
4178
|
}
|
|
4179
4179
|
};
|
|
4180
4180
|
let ut;
|
|
4181
|
-
const
|
|
4181
|
+
const le = Ae({});
|
|
4182
4182
|
function Li(e) {
|
|
4183
4183
|
return ut[e] || null;
|
|
4184
4184
|
}
|
|
@@ -4194,7 +4194,7 @@ function $i(e, t) {
|
|
|
4194
4194
|
function Ri(e) {
|
|
4195
4195
|
if (e == null)
|
|
4196
4196
|
return;
|
|
4197
|
-
const t =
|
|
4197
|
+
const t = Pe(e);
|
|
4198
4198
|
for (let r = 0; r < t.length; r++) {
|
|
4199
4199
|
const n = t[r];
|
|
4200
4200
|
if (vr(n))
|
|
@@ -4202,13 +4202,13 @@ function Ri(e) {
|
|
|
4202
4202
|
}
|
|
4203
4203
|
}
|
|
4204
4204
|
function _r(e, ...t) {
|
|
4205
|
-
delete
|
|
4205
|
+
delete R[e], le.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
|
|
4206
4206
|
}
|
|
4207
|
-
|
|
4208
|
-
[
|
|
4207
|
+
q(
|
|
4208
|
+
[le],
|
|
4209
4209
|
([e]) => Object.keys(e)
|
|
4210
4210
|
);
|
|
4211
|
-
|
|
4211
|
+
le.subscribe((e) => ut = e);
|
|
4212
4212
|
const ye = {};
|
|
4213
4213
|
function Gi(e, t) {
|
|
4214
4214
|
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
|
@@ -4217,13 +4217,13 @@ function xr(e) {
|
|
|
4217
4217
|
return ye[e];
|
|
4218
4218
|
}
|
|
4219
4219
|
function Ui(e) {
|
|
4220
|
-
return
|
|
4220
|
+
return Pe(e).map((t) => {
|
|
4221
4221
|
const r = xr(t);
|
|
4222
4222
|
return [t, r ? [...r] : []];
|
|
4223
4223
|
}).filter(([, t]) => t.length > 0);
|
|
4224
4224
|
}
|
|
4225
|
-
function
|
|
4226
|
-
return e == null ? !1 :
|
|
4225
|
+
function nt(e) {
|
|
4226
|
+
return e == null ? !1 : Pe(e).some(
|
|
4227
4227
|
(t) => {
|
|
4228
4228
|
var r;
|
|
4229
4229
|
return (r = xr(t)) == null ? void 0 : r.size;
|
|
@@ -4235,20 +4235,20 @@ function Di(e, t) {
|
|
|
4235
4235
|
t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
|
|
4236
4236
|
).then((n) => _r(e, ...n));
|
|
4237
4237
|
}
|
|
4238
|
-
const
|
|
4238
|
+
const te = {};
|
|
4239
4239
|
function Er(e) {
|
|
4240
|
-
if (!
|
|
4241
|
-
return e in
|
|
4240
|
+
if (!nt(e))
|
|
4241
|
+
return e in te ? te[e] : Promise.resolve();
|
|
4242
4242
|
const t = Ui(e);
|
|
4243
|
-
return
|
|
4243
|
+
return te[e] = Promise.all(
|
|
4244
4244
|
t.map(
|
|
4245
4245
|
([r, n]) => Di(r, n)
|
|
4246
4246
|
)
|
|
4247
4247
|
).then(() => {
|
|
4248
|
-
if (
|
|
4248
|
+
if (nt(e))
|
|
4249
4249
|
return Er(e);
|
|
4250
|
-
delete
|
|
4251
|
-
}),
|
|
4250
|
+
delete te[e];
|
|
4251
|
+
}), te[e];
|
|
4252
4252
|
}
|
|
4253
4253
|
const Fi = {
|
|
4254
4254
|
number: {
|
|
@@ -4287,10 +4287,10 @@ const Fi = {
|
|
|
4287
4287
|
handleMissingMessage: void 0,
|
|
4288
4288
|
ignoreTag: !0
|
|
4289
4289
|
}, ki = ji;
|
|
4290
|
-
function
|
|
4290
|
+
function J() {
|
|
4291
4291
|
return ki;
|
|
4292
4292
|
}
|
|
4293
|
-
const
|
|
4293
|
+
const De = Ae(!1);
|
|
4294
4294
|
var Vi = Object.defineProperty, Xi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Wi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
|
|
4295
4295
|
for (var r in t || (t = {}))
|
|
4296
4296
|
Wi.call(t, r) && It(e, r, t[r]);
|
|
@@ -4299,113 +4299,113 @@ var Vi = Object.defineProperty, Xi = Object.defineProperties, zi = Object.getOwn
|
|
|
4299
4299
|
Zi.call(t, r) && It(e, r, t[r]);
|
|
4300
4300
|
return e;
|
|
4301
4301
|
}, Ji = (e, t) => Xi(e, zi(t));
|
|
4302
|
-
let
|
|
4302
|
+
let it;
|
|
4303
4303
|
const we = Ae(null);
|
|
4304
4304
|
function Mt(e) {
|
|
4305
4305
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4306
4306
|
}
|
|
4307
|
-
function
|
|
4307
|
+
function Pe(e, t = J().fallbackLocale) {
|
|
4308
4308
|
const r = Mt(e);
|
|
4309
4309
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
|
|
4310
4310
|
}
|
|
4311
|
-
function
|
|
4312
|
-
return
|
|
4311
|
+
function D() {
|
|
4312
|
+
return it ?? void 0;
|
|
4313
4313
|
}
|
|
4314
4314
|
we.subscribe((e) => {
|
|
4315
|
-
|
|
4315
|
+
it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4316
4316
|
});
|
|
4317
4317
|
const qi = (e) => {
|
|
4318
|
-
if (e && Ri(e) &&
|
|
4319
|
-
const { loadingDelay: t } =
|
|
4318
|
+
if (e && Ri(e) && nt(e)) {
|
|
4319
|
+
const { loadingDelay: t } = J();
|
|
4320
4320
|
let r;
|
|
4321
|
-
return typeof window < "u" &&
|
|
4322
|
-
() =>
|
|
4321
|
+
return typeof window < "u" && D() != null && t ? r = window.setTimeout(
|
|
4322
|
+
() => De.set(!0),
|
|
4323
4323
|
t
|
|
4324
|
-
) :
|
|
4324
|
+
) : De.set(!0), Er(e).then(() => {
|
|
4325
4325
|
we.set(e);
|
|
4326
4326
|
}).finally(() => {
|
|
4327
|
-
clearTimeout(r),
|
|
4327
|
+
clearTimeout(r), De.set(!1);
|
|
4328
4328
|
});
|
|
4329
4329
|
}
|
|
4330
4330
|
return we.set(e);
|
|
4331
|
-
},
|
|
4331
|
+
}, Y = Ji(Qi({}, we), {
|
|
4332
4332
|
set: qi
|
|
4333
|
-
}),
|
|
4333
|
+
}), Oe = (e) => {
|
|
4334
4334
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4335
4335
|
return (n) => {
|
|
4336
4336
|
const i = JSON.stringify(n);
|
|
4337
4337
|
return i in t ? t[i] : t[i] = e(n);
|
|
4338
4338
|
};
|
|
4339
4339
|
};
|
|
4340
|
-
var Yi = Object.defineProperty,
|
|
4340
|
+
var Yi = Object.defineProperty, Se = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4341
4341
|
for (var r in t || (t = {}))
|
|
4342
|
-
|
|
4343
|
-
if (
|
|
4344
|
-
for (var r of
|
|
4345
|
-
|
|
4342
|
+
wr.call(t, r) && Nt(e, r, t[r]);
|
|
4343
|
+
if (Se)
|
|
4344
|
+
for (var r of Se(t))
|
|
4345
|
+
Sr.call(t, r) && Nt(e, r, t[r]);
|
|
4346
4346
|
return e;
|
|
4347
|
-
},
|
|
4347
|
+
}, K = (e, t) => {
|
|
4348
4348
|
var r = {};
|
|
4349
4349
|
for (var n in e)
|
|
4350
|
-
|
|
4351
|
-
if (e != null &&
|
|
4352
|
-
for (var n of
|
|
4353
|
-
t.indexOf(n) < 0 &&
|
|
4350
|
+
wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4351
|
+
if (e != null && Se)
|
|
4352
|
+
for (var n of Se(e))
|
|
4353
|
+
t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
|
|
4354
4354
|
return r;
|
|
4355
4355
|
};
|
|
4356
|
-
const
|
|
4357
|
-
const { formats: r } =
|
|
4356
|
+
const oe = (e, t) => {
|
|
4357
|
+
const { formats: r } = J();
|
|
4358
4358
|
if (e in r && t in r[e])
|
|
4359
4359
|
return r[e][t];
|
|
4360
4360
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4361
|
-
}, Ki =
|
|
4361
|
+
}, Ki = Oe(
|
|
4362
4362
|
(e) => {
|
|
4363
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4363
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4364
4364
|
if (r == null)
|
|
4365
4365
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4366
|
-
return n && (i =
|
|
4366
|
+
return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
|
|
4367
4367
|
}
|
|
4368
|
-
), eo =
|
|
4368
|
+
), eo = Oe(
|
|
4369
4369
|
(e) => {
|
|
4370
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4370
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4371
4371
|
if (r == null)
|
|
4372
4372
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4373
|
-
return n ? i =
|
|
4373
|
+
return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4374
4374
|
}
|
|
4375
|
-
), to =
|
|
4375
|
+
), to = Oe(
|
|
4376
4376
|
(e) => {
|
|
4377
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4377
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4378
4378
|
if (r == null)
|
|
4379
4379
|
throw new Error(
|
|
4380
4380
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4381
4381
|
);
|
|
4382
|
-
return n ? i =
|
|
4382
|
+
return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4383
4383
|
}
|
|
4384
4384
|
), ro = (e = {}) => {
|
|
4385
4385
|
var t = e, {
|
|
4386
|
-
locale: r =
|
|
4387
|
-
} = t, n =
|
|
4386
|
+
locale: r = D()
|
|
4387
|
+
} = t, n = K(t, [
|
|
4388
4388
|
"locale"
|
|
4389
4389
|
]);
|
|
4390
4390
|
return Ki(lt({ locale: r }, n));
|
|
4391
4391
|
}, no = (e = {}) => {
|
|
4392
4392
|
var t = e, {
|
|
4393
|
-
locale: r =
|
|
4394
|
-
} = t, n =
|
|
4393
|
+
locale: r = D()
|
|
4394
|
+
} = t, n = K(t, [
|
|
4395
4395
|
"locale"
|
|
4396
4396
|
]);
|
|
4397
4397
|
return eo(lt({ locale: r }, n));
|
|
4398
4398
|
}, io = (e = {}) => {
|
|
4399
4399
|
var t = e, {
|
|
4400
|
-
locale: r =
|
|
4401
|
-
} = t, n =
|
|
4400
|
+
locale: r = D()
|
|
4401
|
+
} = t, n = K(t, [
|
|
4402
4402
|
"locale"
|
|
4403
4403
|
]);
|
|
4404
4404
|
return to(lt({ locale: r }, n));
|
|
4405
|
-
}, oo =
|
|
4405
|
+
}, oo = Oe(
|
|
4406
4406
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4407
|
-
(e, t =
|
|
4408
|
-
ignoreTag:
|
|
4407
|
+
(e, t = D()) => new Ii(e, t, J().formats, {
|
|
4408
|
+
ignoreTag: J().ignoreTag
|
|
4409
4409
|
})
|
|
4410
4410
|
), so = (e, t = {}) => {
|
|
4411
4411
|
var r, n, i, o;
|
|
@@ -4413,7 +4413,7 @@ const ae = (e, t) => {
|
|
|
4413
4413
|
typeof e == "object" && (a = e, e = a.id);
|
|
4414
4414
|
const {
|
|
4415
4415
|
values: s,
|
|
4416
|
-
locale: l =
|
|
4416
|
+
locale: l = D(),
|
|
4417
4417
|
default: u
|
|
4418
4418
|
} = a;
|
|
4419
4419
|
if (l == null)
|
|
@@ -4422,7 +4422,7 @@ const ae = (e, t) => {
|
|
|
4422
4422
|
);
|
|
4423
4423
|
let h = yr(e, l);
|
|
4424
4424
|
if (!h)
|
|
4425
|
-
h = (o = (i = (n = (r =
|
|
4425
|
+
h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4426
4426
|
else if (typeof h != "string")
|
|
4427
4427
|
return console.warn(
|
|
4428
4428
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4439,12 +4439,12 @@ const ae = (e, t) => {
|
|
|
4439
4439
|
);
|
|
4440
4440
|
}
|
|
4441
4441
|
return c;
|
|
4442
|
-
}, ao = (e, t) => io(t).format(e), uo = (e, t) => no(t).format(e), lo = (e, t) => ro(t).format(e), ho = (e, t =
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
window.emWidgets = { topic:
|
|
4442
|
+
}, ao = (e, t) => io(t).format(e), uo = (e, t) => no(t).format(e), lo = (e, t) => ro(t).format(e), ho = (e, t = D()) => yr(e, t), co = q([Y, le], () => so);
|
|
4443
|
+
q([Y], () => ao);
|
|
4444
|
+
q([Y], () => uo);
|
|
4445
|
+
q([Y], () => lo);
|
|
4446
|
+
q([Y, le], () => ho);
|
|
4447
|
+
window.emWidgets = { topic: wn };
|
|
4448
4448
|
const fo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4449
4449
|
function mo(e, t) {
|
|
4450
4450
|
if (e) {
|
|
@@ -4473,7 +4473,7 @@ function Lt(e, t) {
|
|
|
4473
4473
|
_r(e, t);
|
|
4474
4474
|
}
|
|
4475
4475
|
function go(e) {
|
|
4476
|
-
|
|
4476
|
+
Y.set(e);
|
|
4477
4477
|
}
|
|
4478
4478
|
const $t = {
|
|
4479
4479
|
en: {
|
|
@@ -4522,7 +4522,7 @@ const $t = {
|
|
|
4522
4522
|
}
|
|
4523
4523
|
};
|
|
4524
4524
|
function yo(e) {
|
|
4525
|
-
Gr(e, "svelte-
|
|
4525
|
+
Gr(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}');
|
|
4526
4526
|
}
|
|
4527
4527
|
const vo = (e) => ({}), Rt = (e) => ({});
|
|
4528
4528
|
function _o(e) {
|
|
@@ -4532,11 +4532,11 @@ function _o(e) {
|
|
|
4532
4532
|
t = ft("svg"), r = ft("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");
|
|
4533
4533
|
},
|
|
4534
4534
|
m(n, i) {
|
|
4535
|
-
|
|
4535
|
+
se(n, t, i), C(t, r);
|
|
4536
4536
|
},
|
|
4537
|
-
p:
|
|
4537
|
+
p: M,
|
|
4538
4538
|
d(n) {
|
|
4539
|
-
n &&
|
|
4539
|
+
n && U(t);
|
|
4540
4540
|
}
|
|
4541
4541
|
};
|
|
4542
4542
|
}
|
|
@@ -4544,24 +4544,24 @@ function Gt(e) {
|
|
|
4544
4544
|
let t, r, n;
|
|
4545
4545
|
return {
|
|
4546
4546
|
c() {
|
|
4547
|
-
t =
|
|
4547
|
+
t = I("div"), r = I("h2"), n = ae(
|
|
4548
4548
|
/*modaltitle*/
|
|
4549
4549
|
e[1]
|
|
4550
4550
|
), H(t, "class", "GeneralConfirmationTitle");
|
|
4551
4551
|
},
|
|
4552
4552
|
m(i, o) {
|
|
4553
|
-
|
|
4553
|
+
se(i, t, o), C(t, r), C(r, n);
|
|
4554
4554
|
},
|
|
4555
4555
|
p(i, o) {
|
|
4556
4556
|
o & /*modaltitle*/
|
|
4557
|
-
2 &&
|
|
4557
|
+
2 && at(
|
|
4558
4558
|
n,
|
|
4559
4559
|
/*modaltitle*/
|
|
4560
4560
|
i[1]
|
|
4561
4561
|
);
|
|
4562
4562
|
},
|
|
4563
4563
|
d(i) {
|
|
4564
|
-
i &&
|
|
4564
|
+
i && U(t);
|
|
4565
4565
|
}
|
|
4566
4566
|
};
|
|
4567
4567
|
}
|
|
@@ -4572,10 +4572,10 @@ function Ut(e) {
|
|
|
4572
4572
|
), n, i, o;
|
|
4573
4573
|
return {
|
|
4574
4574
|
c() {
|
|
4575
|
-
t =
|
|
4575
|
+
t = I("button"), n = ae(r), H(t, "class", "GeneralCancelButton");
|
|
4576
4576
|
},
|
|
4577
4577
|
m(a, s) {
|
|
4578
|
-
|
|
4578
|
+
se(a, t, s), C(t, n), i || (o = Fe(
|
|
4579
4579
|
t,
|
|
4580
4580
|
"click",
|
|
4581
4581
|
/*click_handler*/
|
|
@@ -4585,163 +4585,158 @@ function Ut(e) {
|
|
|
4585
4585
|
p(a, s) {
|
|
4586
4586
|
s & /*$_*/
|
|
4587
4587
|
16 && r !== (r = /*$_*/
|
|
4588
|
-
a[4]("cancel") + "") &&
|
|
4588
|
+
a[4]("cancel") + "") && at(n, r);
|
|
4589
4589
|
},
|
|
4590
4590
|
d(a) {
|
|
4591
|
-
a &&
|
|
4591
|
+
a && U(t), i = !1, o();
|
|
4592
4592
|
}
|
|
4593
4593
|
};
|
|
4594
4594
|
}
|
|
4595
4595
|
function xo(e) {
|
|
4596
|
-
let t, r, n, i, o, a, s, l, u, h, c
|
|
4596
|
+
let t, r, n, i, o, a, s, l, u, h, c = (
|
|
4597
4597
|
/*$_*/
|
|
4598
4598
|
e[4]("confirm") + ""
|
|
4599
|
-
),
|
|
4600
|
-
const
|
|
4599
|
+
), f, p, m, d;
|
|
4600
|
+
const g = (
|
|
4601
4601
|
/*#slots*/
|
|
4602
4602
|
e[16].close
|
|
4603
4603
|
), A = Ir(
|
|
4604
|
-
|
|
4604
|
+
g,
|
|
4605
4605
|
e,
|
|
4606
4606
|
/*$$scope*/
|
|
4607
4607
|
e[15],
|
|
4608
4608
|
Rt
|
|
4609
|
-
),
|
|
4610
|
-
let
|
|
4609
|
+
), T = A || _o();
|
|
4610
|
+
let x = (
|
|
4611
4611
|
/*modaltitle*/
|
|
4612
4612
|
e[1] && Gt(e)
|
|
4613
|
-
),
|
|
4613
|
+
), E = (
|
|
4614
4614
|
/*hascancelbutton*/
|
|
4615
4615
|
e[2] && Ut(e)
|
|
4616
4616
|
);
|
|
4617
4617
|
return {
|
|
4618
4618
|
c() {
|
|
4619
|
-
t =
|
|
4620
|
-
/*modaltext*/
|
|
4621
|
-
e[0]
|
|
4622
|
-
), l = ce(), u = M("div"), x && x.c(), h = ce(), c = M("button"), d = Z(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(a, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4619
|
+
t = I("div"), r = I("div"), n = I("span"), T && T.c(), i = ce(), x && x.c(), o = ce(), a = I("div"), s = ce(), l = I("div"), E && E.c(), u = ce(), h = I("button"), f = ae(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(a, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4623
4620
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4624
4621
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4625
4622
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4626
4623
|
},
|
|
4627
|
-
m(
|
|
4628
|
-
|
|
4629
|
-
|
|
4624
|
+
m(b, B) {
|
|
4625
|
+
se(b, t, B), C(t, r), C(r, n), T && T.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, a), a.innerHTML = /*modaltext*/
|
|
4626
|
+
e[0], C(r, s), C(r, l), E && E.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), p = !0, m || (d = [
|
|
4627
|
+
Fe(
|
|
4630
4628
|
n,
|
|
4631
4629
|
"click",
|
|
4632
4630
|
/*close*/
|
|
4633
4631
|
e[6]
|
|
4634
4632
|
),
|
|
4635
|
-
|
|
4636
|
-
|
|
4633
|
+
Fe(
|
|
4634
|
+
h,
|
|
4637
4635
|
"click",
|
|
4638
4636
|
/*click_handler_1*/
|
|
4639
4637
|
e[18]
|
|
4640
4638
|
)
|
|
4641
|
-
],
|
|
4639
|
+
], m = !0);
|
|
4642
4640
|
},
|
|
4643
|
-
p(
|
|
4644
|
-
A && A.p && (!
|
|
4641
|
+
p(b, [B]) {
|
|
4642
|
+
A && A.p && (!p || B & /*$$scope*/
|
|
4645
4643
|
32768) && Nr(
|
|
4646
4644
|
A,
|
|
4647
|
-
|
|
4648
|
-
|
|
4645
|
+
g,
|
|
4646
|
+
b,
|
|
4649
4647
|
/*$$scope*/
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4648
|
+
b[15],
|
|
4649
|
+
p ? Mr(
|
|
4650
|
+
g,
|
|
4653
4651
|
/*$$scope*/
|
|
4654
|
-
|
|
4655
|
-
|
|
4652
|
+
b[15],
|
|
4653
|
+
B,
|
|
4656
4654
|
vo
|
|
4657
4655
|
) : Lr(
|
|
4658
4656
|
/*$$scope*/
|
|
4659
|
-
|
|
4657
|
+
b[15]
|
|
4660
4658
|
),
|
|
4661
4659
|
Rt
|
|
4662
4660
|
), /*modaltitle*/
|
|
4663
|
-
|
|
4664
|
-
1) &&
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
),
|
|
4669
|
-
_[2] ? x ? x.p(_, O) : (x = Ut(_), x.c(), x.m(u, h)) : x && (x.d(1), x = null), (!m || O & /*$_*/
|
|
4670
|
-
16) && f !== (f = /*$_*/
|
|
4671
|
-
_[4]("confirm") + "") && ve(d, f);
|
|
4661
|
+
b[1] ? x ? x.p(b, B) : (x = Gt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!p || B & /*modaltext*/
|
|
4662
|
+
1) && (a.innerHTML = /*modaltext*/
|
|
4663
|
+
b[0]), /*hascancelbutton*/
|
|
4664
|
+
b[2] ? E ? E.p(b, B) : (E = Ut(b), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!p || B & /*$_*/
|
|
4665
|
+
16) && c !== (c = /*$_*/
|
|
4666
|
+
b[4]("confirm") + "") && at(f, c);
|
|
4672
4667
|
},
|
|
4673
|
-
i(
|
|
4674
|
-
|
|
4668
|
+
i(b) {
|
|
4669
|
+
p || (Wt(T, b), p = !0);
|
|
4675
4670
|
},
|
|
4676
|
-
o(
|
|
4677
|
-
en(
|
|
4671
|
+
o(b) {
|
|
4672
|
+
en(T, b), p = !1;
|
|
4678
4673
|
},
|
|
4679
|
-
d(
|
|
4680
|
-
|
|
4674
|
+
d(b) {
|
|
4675
|
+
b && U(t), T && T.d(b), x && x.d(), E && E.d(), e[19](null), m = !1, G(d);
|
|
4681
4676
|
}
|
|
4682
4677
|
};
|
|
4683
4678
|
}
|
|
4684
4679
|
function Eo(e, t, r) {
|
|
4685
4680
|
let n;
|
|
4686
|
-
Or(e, co, (
|
|
4687
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modaltitle: s = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl:
|
|
4688
|
-
const
|
|
4681
|
+
Or(e, co, (v) => r(4, n = v));
|
|
4682
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modaltitle: s = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: m = "" } = t, { mbsource: d } = t, g, A = window.navigator.userAgent, T = fo(A) !== "PC";
|
|
4683
|
+
const x = () => {
|
|
4689
4684
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4690
|
-
}, E = (
|
|
4691
|
-
|
|
4692
|
-
},
|
|
4693
|
-
fetch(m).then((
|
|
4694
|
-
Object.keys(
|
|
4695
|
-
Lt(ht,
|
|
4685
|
+
}, E = (v) => {
|
|
4686
|
+
v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
|
|
4687
|
+
}, b = () => {
|
|
4688
|
+
fetch(m).then((F) => F.json()).then((F) => {
|
|
4689
|
+
Object.keys(F).forEach((ht) => {
|
|
4690
|
+
Lt(ht, F[ht]);
|
|
4696
4691
|
});
|
|
4697
|
-
}).catch((
|
|
4698
|
-
console.log(
|
|
4692
|
+
}).catch((F) => {
|
|
4693
|
+
console.log(F);
|
|
4699
4694
|
});
|
|
4700
4695
|
};
|
|
4701
|
-
Object.keys($t).forEach((
|
|
4702
|
-
Lt(
|
|
4696
|
+
Object.keys($t).forEach((v) => {
|
|
4697
|
+
Lt(v, $t[v]);
|
|
4703
4698
|
});
|
|
4704
|
-
const
|
|
4699
|
+
const B = () => {
|
|
4705
4700
|
go(c);
|
|
4706
4701
|
};
|
|
4707
4702
|
Zr(() => () => {
|
|
4708
4703
|
});
|
|
4709
|
-
const
|
|
4710
|
-
function
|
|
4711
|
-
|
|
4712
|
-
g =
|
|
4704
|
+
const he = () => E("cancel"), Hr = () => E("confirm");
|
|
4705
|
+
function Ar(v) {
|
|
4706
|
+
je[v ? "unshift" : "push"](() => {
|
|
4707
|
+
g = v, r(3, g);
|
|
4713
4708
|
});
|
|
4714
4709
|
}
|
|
4715
|
-
return e.$$set = (
|
|
4716
|
-
"modaltext" in
|
|
4710
|
+
return e.$$set = (v) => {
|
|
4711
|
+
"modaltext" in v && r(0, a = v.modaltext), "modaltitle" in v && r(1, s = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12, p = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, d = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
|
|
4717
4712
|
}, e.$$.update = () => {
|
|
4718
4713
|
e.$$.dirty & /*modaltext, lang*/
|
|
4719
|
-
1025 && a && c &&
|
|
4714
|
+
1025 && a && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4720
4715
|
2056 && f && g && mo(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4721
|
-
4104 &&
|
|
4722
|
-
16392 &&
|
|
4723
|
-
8192 && m &&
|
|
4716
|
+
4104 && p && g && po(g, p), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4717
|
+
16392 && d && g && bo(g, `${d}.Style`), e.$$.dirty & /*translationurl*/
|
|
4718
|
+
8192 && m && b();
|
|
4724
4719
|
}, [
|
|
4725
4720
|
a,
|
|
4726
4721
|
s,
|
|
4727
4722
|
l,
|
|
4728
4723
|
g,
|
|
4729
4724
|
n,
|
|
4730
|
-
|
|
4731
|
-
|
|
4725
|
+
T,
|
|
4726
|
+
x,
|
|
4732
4727
|
E,
|
|
4733
4728
|
u,
|
|
4734
4729
|
h,
|
|
4735
4730
|
c,
|
|
4736
4731
|
f,
|
|
4737
|
-
d,
|
|
4738
|
-
m,
|
|
4739
4732
|
p,
|
|
4733
|
+
m,
|
|
4734
|
+
d,
|
|
4740
4735
|
o,
|
|
4741
4736
|
i,
|
|
4742
|
-
|
|
4737
|
+
he,
|
|
4743
4738
|
Hr,
|
|
4744
|
-
|
|
4739
|
+
Ar
|
|
4745
4740
|
];
|
|
4746
4741
|
}
|
|
4747
4742
|
class Tr extends un {
|
|
@@ -4771,61 +4766,61 @@ class Tr extends un {
|
|
|
4771
4766
|
return this.$$.ctx[0];
|
|
4772
4767
|
}
|
|
4773
4768
|
set modaltext(t) {
|
|
4774
|
-
this.$$set({ modaltext: t }),
|
|
4769
|
+
this.$$set({ modaltext: t }), O();
|
|
4775
4770
|
}
|
|
4776
4771
|
get modaltitle() {
|
|
4777
4772
|
return this.$$.ctx[1];
|
|
4778
4773
|
}
|
|
4779
4774
|
set modaltitle(t) {
|
|
4780
|
-
this.$$set({ modaltitle: t }),
|
|
4775
|
+
this.$$set({ modaltitle: t }), O();
|
|
4781
4776
|
}
|
|
4782
4777
|
get hascancelbutton() {
|
|
4783
4778
|
return this.$$.ctx[2];
|
|
4784
4779
|
}
|
|
4785
4780
|
set hascancelbutton(t) {
|
|
4786
|
-
this.$$set({ hascancelbutton: t }),
|
|
4781
|
+
this.$$set({ hascancelbutton: t }), O();
|
|
4787
4782
|
}
|
|
4788
4783
|
get modalconfirmevent() {
|
|
4789
4784
|
return this.$$.ctx[8];
|
|
4790
4785
|
}
|
|
4791
4786
|
set modalconfirmevent(t) {
|
|
4792
|
-
this.$$set({ modalconfirmevent: t }),
|
|
4787
|
+
this.$$set({ modalconfirmevent: t }), O();
|
|
4793
4788
|
}
|
|
4794
4789
|
get modalcancelevent() {
|
|
4795
4790
|
return this.$$.ctx[9];
|
|
4796
4791
|
}
|
|
4797
4792
|
set modalcancelevent(t) {
|
|
4798
|
-
this.$$set({ modalcancelevent: t }),
|
|
4793
|
+
this.$$set({ modalcancelevent: t }), O();
|
|
4799
4794
|
}
|
|
4800
4795
|
get lang() {
|
|
4801
4796
|
return this.$$.ctx[10];
|
|
4802
4797
|
}
|
|
4803
4798
|
set lang(t) {
|
|
4804
|
-
this.$$set({ lang: t }),
|
|
4799
|
+
this.$$set({ lang: t }), O();
|
|
4805
4800
|
}
|
|
4806
4801
|
get clientstyling() {
|
|
4807
4802
|
return this.$$.ctx[11];
|
|
4808
4803
|
}
|
|
4809
4804
|
set clientstyling(t) {
|
|
4810
|
-
this.$$set({ clientstyling: t }),
|
|
4805
|
+
this.$$set({ clientstyling: t }), O();
|
|
4811
4806
|
}
|
|
4812
4807
|
get clientstylingurl() {
|
|
4813
4808
|
return this.$$.ctx[12];
|
|
4814
4809
|
}
|
|
4815
4810
|
set clientstylingurl(t) {
|
|
4816
|
-
this.$$set({ clientstylingurl: t }),
|
|
4811
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4817
4812
|
}
|
|
4818
4813
|
get translationurl() {
|
|
4819
4814
|
return this.$$.ctx[13];
|
|
4820
4815
|
}
|
|
4821
4816
|
set translationurl(t) {
|
|
4822
|
-
this.$$set({ translationurl: t }),
|
|
4817
|
+
this.$$set({ translationurl: t }), O();
|
|
4823
4818
|
}
|
|
4824
4819
|
get mbsource() {
|
|
4825
4820
|
return this.$$.ctx[14];
|
|
4826
4821
|
}
|
|
4827
4822
|
set mbsource(t) {
|
|
4828
|
-
this.$$set({ mbsource: t }),
|
|
4823
|
+
this.$$set({ mbsource: t }), O();
|
|
4829
4824
|
}
|
|
4830
4825
|
}
|
|
4831
4826
|
an(Tr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
@@ -4834,41 +4829,41 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4834
4829
|
default: Tr
|
|
4835
4830
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4836
4831
|
export {
|
|
4837
|
-
|
|
4832
|
+
Y as $,
|
|
4838
4833
|
bo as A,
|
|
4839
4834
|
Oo as B,
|
|
4840
4835
|
Tn as C,
|
|
4841
4836
|
_r as D,
|
|
4842
|
-
|
|
4837
|
+
M as E,
|
|
4843
4838
|
Or as F,
|
|
4844
4839
|
fo as G,
|
|
4845
4840
|
Po as H,
|
|
4846
|
-
|
|
4841
|
+
wo as I,
|
|
4847
4842
|
ce as J,
|
|
4848
4843
|
To as K,
|
|
4849
|
-
|
|
4850
|
-
|
|
4844
|
+
G as L,
|
|
4845
|
+
at as M,
|
|
4851
4846
|
Ho as N,
|
|
4852
|
-
|
|
4847
|
+
Fe as O,
|
|
4853
4848
|
ft as P,
|
|
4854
|
-
|
|
4849
|
+
ae as Q,
|
|
4855
4850
|
co as R,
|
|
4856
4851
|
un as S,
|
|
4857
4852
|
Io as T,
|
|
4858
4853
|
sn as a,
|
|
4859
4854
|
Gr as b,
|
|
4860
4855
|
an as c,
|
|
4861
|
-
|
|
4856
|
+
U as d,
|
|
4862
4857
|
Wt as e,
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4858
|
+
O as f,
|
|
4859
|
+
Ao as g,
|
|
4860
|
+
Bo as h,
|
|
4861
|
+
Br as i,
|
|
4862
|
+
se as j,
|
|
4863
|
+
So as k,
|
|
4869
4864
|
Ir as l,
|
|
4870
4865
|
Co as m,
|
|
4871
|
-
|
|
4866
|
+
xe as n,
|
|
4872
4867
|
Zr as o,
|
|
4873
4868
|
Lr as p,
|
|
4874
4869
|
Mr as q,
|
|
@@ -4876,9 +4871,9 @@ export {
|
|
|
4876
4871
|
Ft as s,
|
|
4877
4872
|
en as t,
|
|
4878
4873
|
Nr as u,
|
|
4879
|
-
|
|
4874
|
+
I as v,
|
|
4880
4875
|
H as w,
|
|
4881
|
-
|
|
4876
|
+
je as x,
|
|
4882
4877
|
mo as y,
|
|
4883
4878
|
po as z
|
|
4884
4879
|
};
|