@everymatrix/cashier-error 1.87.14 → 1.87.15
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/{CashierError-CeRREYho.js → CashierError-8t9yqAM1.js} +429 -400
- package/components/{CashierError-DHk6rA6T.cjs → CashierError-D1H2wo86.cjs} +3 -3
- package/components/{CashierError-S1lIkYk9.js → CashierError-DjgN9EAb.js} +462 -433
- package/es2015/cashier-error.cjs +1 -1
- package/es2015/cashier-error.js +1 -1
- package/esnext/cashier-error.js +1 -1
- package/package.json +1 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var rr = Object.defineProperty, nr = Object.defineProperties;
|
|
2
2
|
var ir = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Qe = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
4
|
+
var or = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var Be = (e, t, r) => t in e ? rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
or.call(t, r) && Be(e, r, t[r]);
|
|
8
8
|
if (Qe)
|
|
9
9
|
for (var r of Qe(t))
|
|
10
|
-
|
|
10
|
+
ar.call(t, r) && Be(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, Ke = (e, t) => nr(e, ir(t));
|
|
13
13
|
var w = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
|
-
var
|
|
15
|
+
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
u(r.next(l));
|
|
18
18
|
} catch (s) {
|
|
19
19
|
i(s);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, a = (l) => {
|
|
22
22
|
try {
|
|
23
23
|
u(r.throw(l));
|
|
24
24
|
} catch (s) {
|
|
25
25
|
i(s);
|
|
26
26
|
}
|
|
27
|
-
}, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(
|
|
27
|
+
}, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
|
|
28
28
|
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
import "../stencil/ui-image-CP8Lp7fB.js";
|
|
@@ -53,9 +53,9 @@ function We(e) {
|
|
|
53
53
|
function St(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
let
|
|
56
|
+
let ae;
|
|
57
57
|
function rt(e, t) {
|
|
58
|
-
return e === t ? !0 : (
|
|
58
|
+
return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
|
|
59
59
|
}
|
|
60
60
|
function ur(e) {
|
|
61
61
|
return Object.keys(e).length === 0;
|
|
@@ -87,19 +87,19 @@ function ue(e, t, r, n) {
|
|
|
87
87
|
if (t.dirty === void 0)
|
|
88
88
|
return i;
|
|
89
89
|
if (typeof i == "object") {
|
|
90
|
-
const
|
|
91
|
-
for (let u = 0; u <
|
|
92
|
-
|
|
93
|
-
return
|
|
90
|
+
const o = [], a = Math.max(t.dirty.length, i.length);
|
|
91
|
+
for (let u = 0; u < a; u += 1)
|
|
92
|
+
o[u] = t.dirty[u] | i[u];
|
|
93
|
+
return o;
|
|
94
94
|
}
|
|
95
95
|
return t.dirty | i;
|
|
96
96
|
}
|
|
97
97
|
return t.dirty;
|
|
98
98
|
}
|
|
99
|
-
function le(e, t, r, n, i,
|
|
99
|
+
function le(e, t, r, n, i, o) {
|
|
100
100
|
if (i) {
|
|
101
|
-
const
|
|
102
|
-
e.p(
|
|
101
|
+
const a = At(t, r, n, o);
|
|
102
|
+
e.p(a, i);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
function he(e) {
|
|
@@ -117,7 +117,7 @@ function O(e, t) {
|
|
|
117
117
|
function hr(e, t, r) {
|
|
118
118
|
const n = cr(e);
|
|
119
119
|
if (!n.getElementById(t)) {
|
|
120
|
-
const i =
|
|
120
|
+
const i = I("style");
|
|
121
121
|
i.id = t, i.textContent = r, fr(n, i);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -141,10 +141,10 @@ function fr(e, t) {
|
|
|
141
141
|
function X(e, t, r) {
|
|
142
142
|
e.insertBefore(t, r || null);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function N(e) {
|
|
145
145
|
e.parentNode && e.parentNode.removeChild(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function I(e) {
|
|
148
148
|
return document.createElement(e);
|
|
149
149
|
}
|
|
150
150
|
function xe(e) {
|
|
@@ -194,33 +194,33 @@ function gr() {
|
|
|
194
194
|
function yr(e) {
|
|
195
195
|
gr().$$.on_mount.push(e);
|
|
196
196
|
}
|
|
197
|
-
const U = [],
|
|
197
|
+
const U = [], Re = [];
|
|
198
198
|
let k = [];
|
|
199
|
-
const nt = [],
|
|
200
|
-
let
|
|
199
|
+
const nt = [], vr = /* @__PURE__ */ Promise.resolve();
|
|
200
|
+
let $e = !1;
|
|
201
201
|
function Er() {
|
|
202
|
-
|
|
202
|
+
$e || ($e = !0, vr.then(B));
|
|
203
203
|
}
|
|
204
204
|
function De(e) {
|
|
205
205
|
k.push(e);
|
|
206
206
|
}
|
|
207
207
|
const Pe = /* @__PURE__ */ new Set();
|
|
208
|
-
let
|
|
208
|
+
let $ = 0;
|
|
209
209
|
function B() {
|
|
210
|
-
if (
|
|
210
|
+
if ($ !== 0)
|
|
211
211
|
return;
|
|
212
212
|
const e = K;
|
|
213
213
|
do {
|
|
214
214
|
try {
|
|
215
|
-
for (;
|
|
216
|
-
const t = U[
|
|
217
|
-
|
|
215
|
+
for (; $ < U.length; ) {
|
|
216
|
+
const t = U[$];
|
|
217
|
+
$++, Y(t), _r(t.$$);
|
|
218
218
|
}
|
|
219
219
|
} catch (t) {
|
|
220
|
-
throw U.length = 0,
|
|
220
|
+
throw U.length = 0, $ = 0, t;
|
|
221
221
|
}
|
|
222
|
-
for (Y(null), U.length = 0,
|
|
223
|
-
|
|
222
|
+
for (Y(null), U.length = 0, $ = 0; Re.length; )
|
|
223
|
+
Re.pop()();
|
|
224
224
|
for (let t = 0; t < k.length; t += 1) {
|
|
225
225
|
const r = k[t];
|
|
226
226
|
Pe.has(r) || (Pe.add(r), r());
|
|
@@ -229,9 +229,9 @@ function B() {
|
|
|
229
229
|
} while (U.length);
|
|
230
230
|
for (; nt.length; )
|
|
231
231
|
nt.pop()();
|
|
232
|
-
|
|
232
|
+
$e = !1, Pe.clear(), Y(e);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function _r(e) {
|
|
235
235
|
if (e.fragment !== null) {
|
|
236
236
|
e.update(), re(e.before_update);
|
|
237
237
|
const t = e.dirty;
|
|
@@ -244,7 +244,7 @@ function xr(e) {
|
|
|
244
244
|
}
|
|
245
245
|
const de = /* @__PURE__ */ new Set();
|
|
246
246
|
let Tr;
|
|
247
|
-
function
|
|
247
|
+
function Z(e, t) {
|
|
248
248
|
e && e.i && (de.delete(e), e.i(t));
|
|
249
249
|
}
|
|
250
250
|
function fe(e, t, r, n) {
|
|
@@ -259,8 +259,8 @@ function fe(e, t, r, n) {
|
|
|
259
259
|
function Hr(e, t, r) {
|
|
260
260
|
const { fragment: n, after_update: i } = e.$$;
|
|
261
261
|
n && n.m(t, r), De(() => {
|
|
262
|
-
const
|
|
263
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
262
|
+
const o = e.$$.on_mount.map(wt).filter(We);
|
|
263
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
|
264
264
|
}), i.forEach(De);
|
|
265
265
|
}
|
|
266
266
|
function wr(e, t) {
|
|
@@ -270,14 +270,14 @@ function wr(e, t) {
|
|
|
270
270
|
function Sr(e, t) {
|
|
271
271
|
e.$$.dirty[0] === -1 && (U.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
272
272
|
}
|
|
273
|
-
function Br(e, t, r, n, i,
|
|
273
|
+
function Br(e, t, r, n, i, o, a = null, u = [-1]) {
|
|
274
274
|
const l = K;
|
|
275
275
|
Y(e);
|
|
276
276
|
const s = e.$$ = {
|
|
277
277
|
fragment: null,
|
|
278
278
|
ctx: [],
|
|
279
279
|
// state
|
|
280
|
-
props:
|
|
280
|
+
props: o,
|
|
281
281
|
update: A,
|
|
282
282
|
not_equal: i,
|
|
283
283
|
bound: tt(),
|
|
@@ -294,7 +294,7 @@ function Br(e, t, r, n, i, a, o = null, u = [-1]) {
|
|
|
294
294
|
skip_bound: !1,
|
|
295
295
|
root: t.target || l.$$.root
|
|
296
296
|
};
|
|
297
|
-
|
|
297
|
+
a && a(s.root);
|
|
298
298
|
let h = !1;
|
|
299
299
|
if (s.ctx = r ? r(e, t.props || {}, (f, m, ...d) => {
|
|
300
300
|
const p = d.length ? d[0] : m;
|
|
@@ -302,10 +302,10 @@ function Br(e, t, r, n, i, a, o = null, u = [-1]) {
|
|
|
302
302
|
}) : [], s.update(), h = !0, re(s.before_update), s.fragment = n ? n(s.ctx) : !1, t.target) {
|
|
303
303
|
if (t.hydrate) {
|
|
304
304
|
const f = pr(t.target);
|
|
305
|
-
s.fragment && s.fragment.l(f), f.forEach(
|
|
305
|
+
s.fragment && s.fragment.l(f), f.forEach(N);
|
|
306
306
|
} else
|
|
307
307
|
s.fragment && s.fragment.c();
|
|
308
|
-
t.intro &&
|
|
308
|
+
t.intro && Z(e.$$.fragment), Hr(e, t.target, t.anchor), B();
|
|
309
309
|
}
|
|
310
310
|
Y(l);
|
|
311
311
|
}
|
|
@@ -349,22 +349,22 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
349
349
|
connectedCallback() {
|
|
350
350
|
return et(this, null, function* () {
|
|
351
351
|
if (this.$$cn = !0, !this.$$c) {
|
|
352
|
-
let t = function(
|
|
352
|
+
let t = function(o) {
|
|
353
353
|
return () => {
|
|
354
|
-
let
|
|
354
|
+
let a;
|
|
355
355
|
return {
|
|
356
356
|
c: function() {
|
|
357
|
-
|
|
357
|
+
a = I("slot"), o !== "default" && G(a, "name", o);
|
|
358
358
|
},
|
|
359
359
|
/**
|
|
360
360
|
* @param {HTMLElement} target
|
|
361
361
|
* @param {HTMLElement} [anchor]
|
|
362
362
|
*/
|
|
363
363
|
m: function(s, h) {
|
|
364
|
-
X(s,
|
|
364
|
+
X(s, a, h);
|
|
365
365
|
},
|
|
366
366
|
d: function(s) {
|
|
367
|
-
s &&
|
|
367
|
+
s && N(a);
|
|
368
368
|
}
|
|
369
369
|
};
|
|
370
370
|
};
|
|
@@ -372,14 +372,14 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
372
372
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
373
373
|
return;
|
|
374
374
|
const r = {}, n = br(this);
|
|
375
|
-
for (const
|
|
376
|
-
|
|
377
|
-
for (const
|
|
378
|
-
const
|
|
379
|
-
|
|
375
|
+
for (const o of this.$$s)
|
|
376
|
+
o in n && (r[o] = [t(o)]);
|
|
377
|
+
for (const o of this.attributes) {
|
|
378
|
+
const a = this.$$g_p(o.name);
|
|
379
|
+
a in this.$$d || (this.$$d[a] = pe(a, o.value, this.$$p_d, "toProp"));
|
|
380
380
|
}
|
|
381
|
-
for (const
|
|
382
|
-
!(
|
|
381
|
+
for (const o in this.$$p_d)
|
|
382
|
+
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
383
383
|
this.$$c = new this.$$ctor({
|
|
384
384
|
target: this.shadowRoot || this,
|
|
385
385
|
props: Ke(Ye({}, this.$$d), {
|
|
@@ -391,23 +391,23 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
391
391
|
});
|
|
392
392
|
const i = () => {
|
|
393
393
|
this.$$r = !0;
|
|
394
|
-
for (const
|
|
395
|
-
if (this.$$d[
|
|
396
|
-
const
|
|
397
|
-
|
|
398
|
-
this.$$d[
|
|
394
|
+
for (const o in this.$$p_d)
|
|
395
|
+
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
396
|
+
const a = pe(
|
|
397
|
+
o,
|
|
398
|
+
this.$$d[o],
|
|
399
399
|
this.$$p_d,
|
|
400
400
|
"toAttribute"
|
|
401
401
|
);
|
|
402
|
-
|
|
402
|
+
a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
|
|
403
403
|
}
|
|
404
404
|
this.$$r = !1;
|
|
405
405
|
};
|
|
406
406
|
this.$$c.$$.after_update.push(i), i();
|
|
407
|
-
for (const
|
|
408
|
-
for (const
|
|
409
|
-
const u = this.$$c.$on(
|
|
410
|
-
this.$$l_u.set(
|
|
407
|
+
for (const o in this.$$l)
|
|
408
|
+
for (const a of this.$$l[o]) {
|
|
409
|
+
const u = this.$$c.$on(o, a);
|
|
410
|
+
this.$$l_u.set(a, u);
|
|
411
411
|
}
|
|
412
412
|
this.$$l = {};
|
|
413
413
|
}
|
|
@@ -431,8 +431,8 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
431
431
|
}
|
|
432
432
|
});
|
|
433
433
|
function pe(e, t, r, n) {
|
|
434
|
-
var
|
|
435
|
-
const i = (
|
|
434
|
+
var o;
|
|
435
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
436
436
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
437
437
|
return t;
|
|
438
438
|
if (n === "toAttribute")
|
|
@@ -460,8 +460,8 @@ function pe(e, t, r, n) {
|
|
|
460
460
|
return t;
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
function Ar(e, t, r, n, i,
|
|
464
|
-
let
|
|
463
|
+
function Ar(e, t, r, n, i, o) {
|
|
464
|
+
let a = class extends Ot {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(e, r, i), this.$$p_d = t;
|
|
467
467
|
}
|
|
@@ -472,7 +472,7 @@ function Ar(e, t, r, n, i, a) {
|
|
|
472
472
|
}
|
|
473
473
|
};
|
|
474
474
|
return Object.keys(t).forEach((u) => {
|
|
475
|
-
Object.defineProperty(
|
|
475
|
+
Object.defineProperty(a.prototype, u, {
|
|
476
476
|
get() {
|
|
477
477
|
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
478
478
|
},
|
|
@@ -482,14 +482,14 @@ function Ar(e, t, r, n, i, a) {
|
|
|
482
482
|
}
|
|
483
483
|
});
|
|
484
484
|
}), n.forEach((u) => {
|
|
485
|
-
Object.defineProperty(
|
|
485
|
+
Object.defineProperty(a.prototype, u, {
|
|
486
486
|
get() {
|
|
487
487
|
var l;
|
|
488
488
|
return (l = this.$$c) == null ? void 0 : l[u];
|
|
489
489
|
}
|
|
490
490
|
});
|
|
491
491
|
}), e.element = /** @type {any} */
|
|
492
|
-
|
|
492
|
+
a, a;
|
|
493
493
|
}
|
|
494
494
|
class Pr {
|
|
495
495
|
constructor() {
|
|
@@ -539,13 +539,13 @@ class Pr {
|
|
|
539
539
|
}
|
|
540
540
|
const Or = "4";
|
|
541
541
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
|
|
542
|
-
function
|
|
542
|
+
function Cr(e, t) {
|
|
543
543
|
if (e) {
|
|
544
544
|
const r = document.createElement("style");
|
|
545
545
|
r.innerHTML = t, e.appendChild(r);
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function Ir(e, t) {
|
|
549
549
|
if (!e || !t)
|
|
550
550
|
return;
|
|
551
551
|
const r = new URL(t);
|
|
@@ -565,7 +565,7 @@ function Lr(e, t, r) {
|
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
567
|
const D = [];
|
|
568
|
-
function
|
|
568
|
+
function Mr(e, t) {
|
|
569
569
|
return {
|
|
570
570
|
subscribe: Te(e, t).subscribe
|
|
571
571
|
};
|
|
@@ -585,23 +585,23 @@ function Te(e, t = A) {
|
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function o(u) {
|
|
589
589
|
i(u(e));
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function a(u, l = A) {
|
|
592
592
|
const s = [u, l];
|
|
593
|
-
return n.add(s), n.size === 1 && (r = t(i,
|
|
593
|
+
return n.add(s), n.size === 1 && (r = t(i, o) || A), u(e), () => {
|
|
594
594
|
n.delete(s), n.size === 0 && r && (r(), r = null);
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
|
-
return { set: i, update:
|
|
597
|
+
return { set: i, update: o, subscribe: a };
|
|
598
598
|
}
|
|
599
599
|
function W(e, t, r) {
|
|
600
600
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
601
601
|
if (!i.every(Boolean))
|
|
602
602
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
603
|
-
const
|
|
604
|
-
return
|
|
603
|
+
const o = t.length < 2;
|
|
604
|
+
return Mr(r, (a, u) => {
|
|
605
605
|
let l = !1;
|
|
606
606
|
const s = [];
|
|
607
607
|
let h = 0, f = A;
|
|
@@ -609,16 +609,16 @@ function W(e, t, r) {
|
|
|
609
609
|
if (h)
|
|
610
610
|
return;
|
|
611
611
|
f();
|
|
612
|
-
const p = t(n ? s[0] : s,
|
|
613
|
-
|
|
612
|
+
const p = t(n ? s[0] : s, a, u);
|
|
613
|
+
o ? a(p) : f = We(p) ? p : A;
|
|
614
614
|
}, d = i.map(
|
|
615
|
-
(p,
|
|
615
|
+
(p, _) => Bt(
|
|
616
616
|
p,
|
|
617
617
|
(T) => {
|
|
618
|
-
s[
|
|
618
|
+
s[_] = T, h &= ~(1 << _), l && m();
|
|
619
619
|
},
|
|
620
620
|
() => {
|
|
621
|
-
h |= 1 <<
|
|
621
|
+
h |= 1 << _;
|
|
622
622
|
}
|
|
623
623
|
)
|
|
624
624
|
);
|
|
@@ -627,13 +627,13 @@ function W(e, t, r) {
|
|
|
627
627
|
};
|
|
628
628
|
});
|
|
629
629
|
}
|
|
630
|
-
function
|
|
630
|
+
function Nr(e) {
|
|
631
631
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
632
632
|
}
|
|
633
|
-
var
|
|
634
|
-
return
|
|
633
|
+
var Rr = function(t) {
|
|
634
|
+
return $r(t) && !Dr(t);
|
|
635
635
|
};
|
|
636
|
-
function
|
|
636
|
+
function $r(e) {
|
|
637
637
|
return !!e && typeof e == "object";
|
|
638
638
|
}
|
|
639
639
|
function Dr(e) {
|
|
@@ -650,12 +650,12 @@ function Fr(e) {
|
|
|
650
650
|
function ee(e, t) {
|
|
651
651
|
return t.clone !== !1 && t.isMergeableObject(e) ? F(Fr(e), e, t) : e;
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function zr(e, t, r) {
|
|
654
654
|
return e.concat(t).map(function(n) {
|
|
655
655
|
return ee(n, r);
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function jr(e, t) {
|
|
659
659
|
if (!t.customMerge)
|
|
660
660
|
return F;
|
|
661
661
|
var r = t.customMerge(e);
|
|
@@ -669,7 +669,7 @@ function Vr(e) {
|
|
|
669
669
|
function it(e) {
|
|
670
670
|
return Object.keys(e).concat(Vr(e));
|
|
671
671
|
}
|
|
672
|
-
function
|
|
672
|
+
function Ct(e, t) {
|
|
673
673
|
try {
|
|
674
674
|
return t in e;
|
|
675
675
|
} catch (r) {
|
|
@@ -677,20 +677,20 @@ function It(e, t) {
|
|
|
677
677
|
}
|
|
678
678
|
}
|
|
679
679
|
function Xr(e, t) {
|
|
680
|
-
return
|
|
680
|
+
return Ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
681
681
|
}
|
|
682
682
|
function Wr(e, t, r) {
|
|
683
683
|
var n = {};
|
|
684
684
|
return r.isMergeableObject(e) && it(e).forEach(function(i) {
|
|
685
685
|
n[i] = ee(e[i], r);
|
|
686
686
|
}), it(t).forEach(function(i) {
|
|
687
|
-
Xr(e, i) || (
|
|
687
|
+
Xr(e, i) || (Ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
|
|
688
688
|
}), n;
|
|
689
689
|
}
|
|
690
690
|
function F(e, t, r) {
|
|
691
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
692
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
693
|
-
return
|
|
691
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = ee;
|
|
692
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
693
|
+
return o ? n ? r.arrayMerge(e, t, r) : Wr(e, t, r) : ee(t, r);
|
|
694
694
|
}
|
|
695
695
|
F.all = function(t, r) {
|
|
696
696
|
if (!Array.isArray(t))
|
|
@@ -699,8 +699,8 @@ F.all = function(t, r) {
|
|
|
699
699
|
return F(n, i, r);
|
|
700
700
|
}, {});
|
|
701
701
|
};
|
|
702
|
-
var
|
|
703
|
-
const
|
|
702
|
+
var qr = F, Jr = qr;
|
|
703
|
+
const Zr = /* @__PURE__ */ Nr(Jr);
|
|
704
704
|
var Ue = function(e, t) {
|
|
705
705
|
return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
706
706
|
r.__proto__ = n;
|
|
@@ -722,8 +722,8 @@ var S = function() {
|
|
|
722
722
|
return S = Object.assign || function(t) {
|
|
723
723
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
724
724
|
r = arguments[n];
|
|
725
|
-
for (var
|
|
726
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
725
|
+
for (var o in r)
|
|
726
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
727
727
|
}
|
|
728
728
|
return t;
|
|
729
729
|
}, S.apply(this, arguments);
|
|
@@ -739,12 +739,12 @@ function Qr(e, t) {
|
|
|
739
739
|
}
|
|
740
740
|
function Oe(e, t, r) {
|
|
741
741
|
if (r || arguments.length === 2)
|
|
742
|
-
for (var n = 0, i = t.length,
|
|
743
|
-
(
|
|
744
|
-
return e.concat(
|
|
742
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
743
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
744
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
745
745
|
}
|
|
746
|
-
function
|
|
747
|
-
var r = t && t.cache ? t.cache :
|
|
746
|
+
function Ce(e, t) {
|
|
747
|
+
var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : en;
|
|
748
748
|
return i(e, {
|
|
749
749
|
cache: r,
|
|
750
750
|
serializer: n
|
|
@@ -754,22 +754,22 @@ function Yr(e) {
|
|
|
754
754
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
755
755
|
}
|
|
756
756
|
function Kr(e, t, r, n) {
|
|
757
|
-
var i = Yr(n) ? n : r(n),
|
|
758
|
-
return typeof
|
|
757
|
+
var i = Yr(n) ? n : r(n), o = t.get(i);
|
|
758
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
759
759
|
}
|
|
760
|
-
function
|
|
761
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
762
|
-
return typeof
|
|
760
|
+
function It(e, t, r) {
|
|
761
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
762
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
763
763
|
}
|
|
764
764
|
function Lt(e, t, r, n, i) {
|
|
765
765
|
return r.bind(t, e, n, i);
|
|
766
766
|
}
|
|
767
767
|
function en(e, t) {
|
|
768
|
-
var r = e.length === 1 ? Kr :
|
|
768
|
+
var r = e.length === 1 ? Kr : It;
|
|
769
769
|
return Lt(e, this, r, t.cache.create(), t.serializer);
|
|
770
770
|
}
|
|
771
771
|
function tn(e, t) {
|
|
772
|
-
return Lt(e, this,
|
|
772
|
+
return Lt(e, this, It, t.cache.create(), t.serializer);
|
|
773
773
|
}
|
|
774
774
|
var rn = function() {
|
|
775
775
|
return JSON.stringify(arguments);
|
|
@@ -785,18 +785,18 @@ var rn = function() {
|
|
|
785
785
|
this.cache[t] = r;
|
|
786
786
|
}, e;
|
|
787
787
|
}()
|
|
788
|
-
),
|
|
788
|
+
), on = {
|
|
789
789
|
create: function() {
|
|
790
790
|
return new nn();
|
|
791
791
|
}
|
|
792
|
-
},
|
|
792
|
+
}, Ie = {
|
|
793
793
|
variadic: tn
|
|
794
794
|
}, ye = function() {
|
|
795
795
|
return ye = Object.assign || function(t) {
|
|
796
796
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
797
797
|
r = arguments[n];
|
|
798
|
-
for (var
|
|
799
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
798
|
+
for (var o in r)
|
|
799
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
800
800
|
}
|
|
801
801
|
return t;
|
|
802
802
|
}, ye.apply(this, arguments);
|
|
@@ -805,46 +805,46 @@ var b;
|
|
|
805
805
|
(function(e) {
|
|
806
806
|
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";
|
|
807
807
|
})(b || (b = {}));
|
|
808
|
-
var
|
|
808
|
+
var v;
|
|
809
809
|
(function(e) {
|
|
810
810
|
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";
|
|
811
|
-
})(
|
|
812
|
-
var
|
|
811
|
+
})(v || (v = {}));
|
|
812
|
+
var z;
|
|
813
813
|
(function(e) {
|
|
814
814
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
815
|
-
})(
|
|
816
|
-
function
|
|
817
|
-
return e.type ===
|
|
818
|
-
}
|
|
819
|
-
function on(e) {
|
|
820
|
-
return e.type === _.argument;
|
|
815
|
+
})(z || (z = {}));
|
|
816
|
+
function ot(e) {
|
|
817
|
+
return e.type === v.literal;
|
|
821
818
|
}
|
|
822
|
-
function
|
|
823
|
-
return e.type ===
|
|
819
|
+
function an(e) {
|
|
820
|
+
return e.type === v.argument;
|
|
824
821
|
}
|
|
825
822
|
function Mt(e) {
|
|
826
|
-
return e.type ===
|
|
823
|
+
return e.type === v.number;
|
|
827
824
|
}
|
|
828
|
-
function
|
|
829
|
-
return e.type ===
|
|
825
|
+
function Nt(e) {
|
|
826
|
+
return e.type === v.date;
|
|
830
827
|
}
|
|
831
828
|
function Rt(e) {
|
|
832
|
-
return e.type ===
|
|
829
|
+
return e.type === v.time;
|
|
830
|
+
}
|
|
831
|
+
function $t(e) {
|
|
832
|
+
return e.type === v.select;
|
|
833
833
|
}
|
|
834
834
|
function Dt(e) {
|
|
835
|
-
return e.type ===
|
|
835
|
+
return e.type === v.plural;
|
|
836
836
|
}
|
|
837
837
|
function sn(e) {
|
|
838
|
-
return e.type ===
|
|
838
|
+
return e.type === v.pound;
|
|
839
839
|
}
|
|
840
840
|
function Ut(e) {
|
|
841
|
-
return e.type ===
|
|
841
|
+
return e.type === v.tag;
|
|
842
842
|
}
|
|
843
843
|
function kt(e) {
|
|
844
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
844
|
+
return !!(e && typeof e == "object" && e.type === z.number);
|
|
845
845
|
}
|
|
846
846
|
function ke(e) {
|
|
847
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
847
|
+
return !!(e && typeof e == "object" && e.type === z.dateTime);
|
|
848
848
|
}
|
|
849
849
|
var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[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;
|
|
850
850
|
function ln(e) {
|
|
@@ -942,8 +942,8 @@ var E = function() {
|
|
|
942
942
|
return E = Object.assign || function(t) {
|
|
943
943
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
944
944
|
r = arguments[n];
|
|
945
|
-
for (var
|
|
946
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
945
|
+
for (var o in r)
|
|
946
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
947
947
|
}
|
|
948
948
|
return t;
|
|
949
949
|
}, E.apply(this, arguments);
|
|
@@ -955,10 +955,10 @@ function cn(e) {
|
|
|
955
955
|
for (var t = e.split(hn).filter(function(m) {
|
|
956
956
|
return m.length > 0;
|
|
957
957
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
958
|
-
var
|
|
959
|
-
if (
|
|
958
|
+
var o = i[n], a = o.split("/");
|
|
959
|
+
if (a.length === 0)
|
|
960
960
|
throw new Error("Invalid number skeleton");
|
|
961
|
-
for (var u =
|
|
961
|
+
for (var u = a[0], l = a.slice(1), s = 0, h = l; s < h.length; s++) {
|
|
962
962
|
var f = h[s];
|
|
963
963
|
if (f.length === 0)
|
|
964
964
|
throw new Error("Invalid number skeleton");
|
|
@@ -970,14 +970,14 @@ function cn(e) {
|
|
|
970
970
|
function fn(e) {
|
|
971
971
|
return e.replace(/^(.*?)-/, "");
|
|
972
972
|
}
|
|
973
|
-
var
|
|
973
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, mn = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
|
|
974
974
|
function st(e) {
|
|
975
975
|
var t = {};
|
|
976
976
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
|
|
977
977
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
978
978
|
}), t;
|
|
979
979
|
}
|
|
980
|
-
function
|
|
980
|
+
function jt(e) {
|
|
981
981
|
switch (e) {
|
|
982
982
|
case "sign-auto":
|
|
983
983
|
return {
|
|
@@ -1025,14 +1025,14 @@ function dn(e) {
|
|
|
1025
1025
|
notation: "scientific"
|
|
1026
1026
|
}, e = e.slice(1)), t) {
|
|
1027
1027
|
var r = e.slice(0, 2);
|
|
1028
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1028
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
|
|
1029
1029
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1030
1030
|
t.minimumIntegerDigits = e.length;
|
|
1031
1031
|
}
|
|
1032
1032
|
return t;
|
|
1033
1033
|
}
|
|
1034
1034
|
function ut(e) {
|
|
1035
|
-
var t = {}, r =
|
|
1035
|
+
var t = {}, r = jt(e);
|
|
1036
1036
|
return r || t;
|
|
1037
1037
|
}
|
|
1038
1038
|
function pn(e) {
|
|
@@ -1134,26 +1134,26 @@ function pn(e) {
|
|
|
1134
1134
|
});
|
|
1135
1135
|
continue;
|
|
1136
1136
|
}
|
|
1137
|
-
if (
|
|
1137
|
+
if (zt.test(i.stem)) {
|
|
1138
1138
|
t.minimumIntegerDigits = i.stem.length;
|
|
1139
1139
|
continue;
|
|
1140
1140
|
}
|
|
1141
|
-
if (
|
|
1141
|
+
if (at.test(i.stem)) {
|
|
1142
1142
|
if (i.options.length > 1)
|
|
1143
1143
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1144
|
-
i.stem.replace(
|
|
1144
|
+
i.stem.replace(at, function(l, s, h, f, m, d) {
|
|
1145
1145
|
return h === "*" ? t.minimumFractionDigits = s.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = s.length, t.maximumFractionDigits = s.length), "";
|
|
1146
1146
|
});
|
|
1147
|
-
var
|
|
1148
|
-
|
|
1147
|
+
var o = i.options[0];
|
|
1148
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), st(o)));
|
|
1149
1149
|
continue;
|
|
1150
1150
|
}
|
|
1151
1151
|
if (Ft.test(i.stem)) {
|
|
1152
1152
|
t = E(E({}, t), st(i.stem));
|
|
1153
1153
|
continue;
|
|
1154
1154
|
}
|
|
1155
|
-
var
|
|
1156
|
-
|
|
1155
|
+
var a = jt(i.stem);
|
|
1156
|
+
a && (t = E(E({}, t), a));
|
|
1157
1157
|
var u = dn(i.stem);
|
|
1158
1158
|
u && (t = E(E({}, t), u));
|
|
1159
1159
|
}
|
|
@@ -2578,12 +2578,12 @@ function bn(e, t) {
|
|
|
2578
2578
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2579
2579
|
var i = e.charAt(n);
|
|
2580
2580
|
if (i === "j") {
|
|
2581
|
-
for (var
|
|
2582
|
-
|
|
2583
|
-
var
|
|
2581
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2582
|
+
o++, n++;
|
|
2583
|
+
var a = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), l = "a", s = gn(t);
|
|
2584
2584
|
for ((s == "H" || s == "k") && (u = 0); u-- > 0; )
|
|
2585
2585
|
r += l;
|
|
2586
|
-
for (;
|
|
2586
|
+
for (; a-- > 0; )
|
|
2587
2587
|
r = s + r;
|
|
2588
2588
|
} else
|
|
2589
2589
|
i === "J" ? r += "H" : r += i;
|
|
@@ -2612,11 +2612,11 @@ function gn(e) {
|
|
|
2612
2612
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
|
2613
2613
|
return i[0];
|
|
2614
2614
|
}
|
|
2615
|
-
var Le, yn = new RegExp("^".concat(Gt.source, "*")),
|
|
2615
|
+
var Le, yn = new RegExp("^".concat(Gt.source, "*")), vn = new RegExp("".concat(Gt.source, "*$"));
|
|
2616
2616
|
function y(e, t) {
|
|
2617
2617
|
return { start: e, end: t };
|
|
2618
2618
|
}
|
|
2619
|
-
var En = !!String.prototype.startsWith && "_a".startsWith("a", 1),
|
|
2619
|
+
var En = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, xn = !!Object.fromEntries, Tn = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, wn = !!String.prototype.trimEnd, Sn = !!Number.isSafeInteger, Bn = Sn ? Number.isSafeInteger : function(e) {
|
|
2620
2620
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2621
2621
|
}, Ge = !0;
|
|
2622
2622
|
try {
|
|
@@ -2635,15 +2635,15 @@ var lt = En ? (
|
|
|
2635
2635
|
function(t, r, n) {
|
|
2636
2636
|
return t.slice(n, n + r.length) === r;
|
|
2637
2637
|
}
|
|
2638
|
-
), Fe =
|
|
2638
|
+
), Fe = _n ? String.fromCodePoint : (
|
|
2639
2639
|
// IE11
|
|
2640
2640
|
function() {
|
|
2641
2641
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2642
2642
|
t[r] = arguments[r];
|
|
2643
|
-
for (var n = "", i = t.length,
|
|
2644
|
-
if (
|
|
2645
|
-
throw RangeError(
|
|
2646
|
-
n +=
|
|
2643
|
+
for (var n = "", i = t.length, o = 0, a; i > o; ) {
|
|
2644
|
+
if (a = t[o++], a > 1114111)
|
|
2645
|
+
throw RangeError(a + " is not a valid code point");
|
|
2646
|
+
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
2647
2647
|
}
|
|
2648
2648
|
return n;
|
|
2649
2649
|
}
|
|
@@ -2653,8 +2653,8 @@ var lt = En ? (
|
|
|
2653
2653
|
// Ponyfill
|
|
2654
2654
|
function(t) {
|
|
2655
2655
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2656
|
-
var
|
|
2657
|
-
r[
|
|
2656
|
+
var o = i[n], a = o[0], u = o[1];
|
|
2657
|
+
r[a] = u;
|
|
2658
2658
|
}
|
|
2659
2659
|
return r;
|
|
2660
2660
|
}
|
|
@@ -2669,8 +2669,8 @@ var lt = En ? (
|
|
|
2669
2669
|
function(t, r) {
|
|
2670
2670
|
var n = t.length;
|
|
2671
2671
|
if (!(r < 0 || r >= n)) {
|
|
2672
|
-
var i = t.charCodeAt(r),
|
|
2673
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
2672
|
+
var i = t.charCodeAt(r), o;
|
|
2673
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2674
2674
|
}
|
|
2675
2675
|
}
|
|
2676
2676
|
), Pn = Hn ? (
|
|
@@ -2691,32 +2691,32 @@ var lt = En ? (
|
|
|
2691
2691
|
) : (
|
|
2692
2692
|
// Ponyfill
|
|
2693
2693
|
function(t) {
|
|
2694
|
-
return t.replace(
|
|
2694
|
+
return t.replace(vn, "");
|
|
2695
2695
|
}
|
|
2696
2696
|
);
|
|
2697
2697
|
function Xt(e, t) {
|
|
2698
2698
|
return new RegExp(e, t);
|
|
2699
2699
|
}
|
|
2700
|
-
var
|
|
2700
|
+
var ze;
|
|
2701
2701
|
if (Ge) {
|
|
2702
2702
|
var ct = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2703
|
-
|
|
2703
|
+
ze = function(t, r) {
|
|
2704
2704
|
var n;
|
|
2705
2705
|
ct.lastIndex = r;
|
|
2706
2706
|
var i = ct.exec(t);
|
|
2707
2707
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2708
2708
|
};
|
|
2709
2709
|
} else
|
|
2710
|
-
|
|
2710
|
+
ze = function(t, r) {
|
|
2711
2711
|
for (var n = []; ; ) {
|
|
2712
2712
|
var i = Vt(t, r);
|
|
2713
|
-
if (i === void 0 || Wt(i) ||
|
|
2713
|
+
if (i === void 0 || Wt(i) || Mn(i))
|
|
2714
2714
|
break;
|
|
2715
2715
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2716
2716
|
}
|
|
2717
2717
|
return Fe.apply(void 0, n);
|
|
2718
2718
|
};
|
|
2719
|
-
var
|
|
2719
|
+
var Cn = (
|
|
2720
2720
|
/** @class */
|
|
2721
2721
|
function() {
|
|
2722
2722
|
function e(t, r) {
|
|
@@ -2728,35 +2728,35 @@ var In = (
|
|
|
2728
2728
|
return this.parseMessage(0, "", !1);
|
|
2729
2729
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2730
2730
|
for (var i = []; !this.isEOF(); ) {
|
|
2731
|
-
var
|
|
2732
|
-
if (
|
|
2733
|
-
var
|
|
2734
|
-
if (
|
|
2735
|
-
return
|
|
2736
|
-
i.push(
|
|
2731
|
+
var o = this.char();
|
|
2732
|
+
if (o === 123) {
|
|
2733
|
+
var a = this.parseArgument(t, n);
|
|
2734
|
+
if (a.err)
|
|
2735
|
+
return a;
|
|
2736
|
+
i.push(a.val);
|
|
2737
2737
|
} else {
|
|
2738
|
-
if (
|
|
2738
|
+
if (o === 125 && t > 0)
|
|
2739
2739
|
break;
|
|
2740
|
-
if (
|
|
2740
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2741
2741
|
var u = this.clonePosition();
|
|
2742
2742
|
this.bump(), i.push({
|
|
2743
|
-
type:
|
|
2743
|
+
type: v.pound,
|
|
2744
2744
|
location: y(u, this.clonePosition())
|
|
2745
2745
|
});
|
|
2746
|
-
} else if (
|
|
2746
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2747
2747
|
if (n)
|
|
2748
2748
|
break;
|
|
2749
2749
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
2750
|
-
} else if (
|
|
2751
|
-
var
|
|
2752
|
-
if (
|
|
2753
|
-
return
|
|
2754
|
-
i.push(
|
|
2750
|
+
} else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
|
|
2751
|
+
var a = this.parseTag(t, r);
|
|
2752
|
+
if (a.err)
|
|
2753
|
+
return a;
|
|
2754
|
+
i.push(a.val);
|
|
2755
2755
|
} else {
|
|
2756
|
-
var
|
|
2757
|
-
if (
|
|
2758
|
-
return
|
|
2759
|
-
i.push(
|
|
2756
|
+
var a = this.parseLiteral(t, r);
|
|
2757
|
+
if (a.err)
|
|
2758
|
+
return a;
|
|
2759
|
+
i.push(a.val);
|
|
2760
2760
|
}
|
|
2761
2761
|
}
|
|
2762
2762
|
}
|
|
@@ -2768,26 +2768,26 @@ var In = (
|
|
|
2768
2768
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2769
2769
|
return {
|
|
2770
2770
|
val: {
|
|
2771
|
-
type:
|
|
2771
|
+
type: v.literal,
|
|
2772
2772
|
value: "<".concat(i, "/>"),
|
|
2773
2773
|
location: y(n, this.clonePosition())
|
|
2774
2774
|
},
|
|
2775
2775
|
err: null
|
|
2776
2776
|
};
|
|
2777
2777
|
if (this.bumpIf(">")) {
|
|
2778
|
-
var
|
|
2779
|
-
if (
|
|
2780
|
-
return
|
|
2781
|
-
var
|
|
2778
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
2779
|
+
if (o.err)
|
|
2780
|
+
return o;
|
|
2781
|
+
var a = o.val, u = this.clonePosition();
|
|
2782
2782
|
if (this.bumpIf("</")) {
|
|
2783
|
-
if (this.isEOF() || !
|
|
2783
|
+
if (this.isEOF() || !je(this.char()))
|
|
2784
2784
|
return this.error(b.INVALID_TAG, y(u, this.clonePosition()));
|
|
2785
2785
|
var l = this.clonePosition(), s = this.parseTagName();
|
|
2786
2786
|
return i !== s ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2787
2787
|
val: {
|
|
2788
|
-
type:
|
|
2788
|
+
type: v.tag,
|
|
2789
2789
|
value: i,
|
|
2790
|
-
children:
|
|
2790
|
+
children: a,
|
|
2791
2791
|
location: y(n, this.clonePosition())
|
|
2792
2792
|
},
|
|
2793
2793
|
err: null
|
|
@@ -2803,16 +2803,16 @@ var In = (
|
|
|
2803
2803
|
return this.message.slice(t, this.offset());
|
|
2804
2804
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
2805
2805
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2806
|
-
var
|
|
2807
|
-
if (a) {
|
|
2808
|
-
i += a;
|
|
2809
|
-
continue;
|
|
2810
|
-
}
|
|
2811
|
-
var o = this.tryParseUnquoted(t, r);
|
|
2806
|
+
var o = this.tryParseQuote(r);
|
|
2812
2807
|
if (o) {
|
|
2813
2808
|
i += o;
|
|
2814
2809
|
continue;
|
|
2815
2810
|
}
|
|
2811
|
+
var a = this.tryParseUnquoted(t, r);
|
|
2812
|
+
if (a) {
|
|
2813
|
+
i += a;
|
|
2814
|
+
continue;
|
|
2815
|
+
}
|
|
2816
2816
|
var u = this.tryParseLeftAngleBracket();
|
|
2817
2817
|
if (u) {
|
|
2818
2818
|
i += u;
|
|
@@ -2822,12 +2822,12 @@ var In = (
|
|
|
2822
2822
|
}
|
|
2823
2823
|
var l = y(n, this.clonePosition());
|
|
2824
2824
|
return {
|
|
2825
|
-
val: { type:
|
|
2825
|
+
val: { type: v.literal, value: i, location: l },
|
|
2826
2826
|
err: null
|
|
2827
2827
|
};
|
|
2828
2828
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2829
2829
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2830
|
-
!
|
|
2830
|
+
!In(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2831
2831
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2832
2832
|
if (this.isEOF() || this.char() !== 39)
|
|
2833
2833
|
return null;
|
|
@@ -2882,7 +2882,7 @@ var In = (
|
|
|
2882
2882
|
case 125:
|
|
2883
2883
|
return this.bump(), {
|
|
2884
2884
|
val: {
|
|
2885
|
-
type:
|
|
2885
|
+
type: v.argument,
|
|
2886
2886
|
// value does not include the opening and closing braces.
|
|
2887
2887
|
value: i,
|
|
2888
2888
|
location: y(n, this.clonePosition())
|
|
@@ -2895,15 +2895,15 @@ var In = (
|
|
|
2895
2895
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
2896
2896
|
}
|
|
2897
2897
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2898
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2898
|
+
var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
|
|
2899
2899
|
this.bumpTo(i);
|
|
2900
|
-
var
|
|
2901
|
-
return { value: n, location:
|
|
2900
|
+
var o = this.clonePosition(), a = y(t, o);
|
|
2901
|
+
return { value: n, location: a };
|
|
2902
2902
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2903
|
-
var
|
|
2903
|
+
var o, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2904
2904
|
switch (u) {
|
|
2905
2905
|
case "":
|
|
2906
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE, y(
|
|
2906
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, l));
|
|
2907
2907
|
case "number":
|
|
2908
2908
|
case "date":
|
|
2909
2909
|
case "time": {
|
|
@@ -2923,38 +2923,38 @@ var In = (
|
|
|
2923
2923
|
var p = this.tryParseArgumentClose(i);
|
|
2924
2924
|
if (p.err)
|
|
2925
2925
|
return p;
|
|
2926
|
-
var
|
|
2926
|
+
var _ = y(i, this.clonePosition());
|
|
2927
2927
|
if (s && lt(s == null ? void 0 : s.style, "::", 0)) {
|
|
2928
2928
|
var T = Pn(s.style.slice(2));
|
|
2929
2929
|
if (u === "number") {
|
|
2930
2930
|
var f = this.parseNumberSkeletonFromString(T, s.styleLocation);
|
|
2931
2931
|
return f.err ? f : {
|
|
2932
|
-
val: { type:
|
|
2932
|
+
val: { type: v.number, value: n, location: _, style: f.val },
|
|
2933
2933
|
err: null
|
|
2934
2934
|
};
|
|
2935
2935
|
} else {
|
|
2936
2936
|
if (T.length === 0)
|
|
2937
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
2937
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, _);
|
|
2938
2938
|
var x = T;
|
|
2939
2939
|
this.locale && (x = bn(T, this.locale));
|
|
2940
2940
|
var m = {
|
|
2941
|
-
type:
|
|
2941
|
+
type: z.dateTime,
|
|
2942
2942
|
pattern: x,
|
|
2943
2943
|
location: s.styleLocation,
|
|
2944
2944
|
parsedOptions: this.shouldParseSkeletons ? ln(x) : {}
|
|
2945
|
-
}, c = u === "date" ?
|
|
2945
|
+
}, c = u === "date" ? v.date : v.time;
|
|
2946
2946
|
return {
|
|
2947
|
-
val: { type: c, value: n, location:
|
|
2947
|
+
val: { type: c, value: n, location: _, style: m },
|
|
2948
2948
|
err: null
|
|
2949
2949
|
};
|
|
2950
2950
|
}
|
|
2951
2951
|
}
|
|
2952
2952
|
return {
|
|
2953
2953
|
val: {
|
|
2954
|
-
type: u === "number" ?
|
|
2954
|
+
type: u === "number" ? v.number : u === "date" ? v.date : v.time,
|
|
2955
2955
|
value: n,
|
|
2956
|
-
location:
|
|
2957
|
-
style: (
|
|
2956
|
+
location: _,
|
|
2957
|
+
style: (o = s == null ? void 0 : s.style) !== null && o !== void 0 ? o : null
|
|
2958
2958
|
},
|
|
2959
2959
|
err: null
|
|
2960
2960
|
};
|
|
@@ -2966,7 +2966,7 @@ var In = (
|
|
|
2966
2966
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2967
2967
|
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, ye({}, g)));
|
|
2968
2968
|
this.bumpSpace();
|
|
2969
|
-
var P = this.parseIdentifierIfPossible(),
|
|
2969
|
+
var P = this.parseIdentifierIfPossible(), M = 0;
|
|
2970
2970
|
if (u !== "select" && P.value === "offset") {
|
|
2971
2971
|
if (!this.bumpIf(":"))
|
|
2972
2972
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
@@ -2974,37 +2974,37 @@ var In = (
|
|
|
2974
2974
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2975
2975
|
if (f.err)
|
|
2976
2976
|
return f;
|
|
2977
|
-
this.bumpSpace(), P = this.parseIdentifierIfPossible(),
|
|
2977
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), M = f.val;
|
|
2978
2978
|
}
|
|
2979
|
-
var
|
|
2980
|
-
if (
|
|
2981
|
-
return
|
|
2979
|
+
var oe = this.tryParsePluralOrSelectOptions(t, u, r, P);
|
|
2980
|
+
if (oe.err)
|
|
2981
|
+
return oe;
|
|
2982
2982
|
var p = this.tryParseArgumentClose(i);
|
|
2983
2983
|
if (p.err)
|
|
2984
2984
|
return p;
|
|
2985
|
-
var
|
|
2985
|
+
var Ze = y(i, this.clonePosition());
|
|
2986
2986
|
return u === "select" ? {
|
|
2987
2987
|
val: {
|
|
2988
|
-
type:
|
|
2988
|
+
type: v.select,
|
|
2989
2989
|
value: n,
|
|
2990
|
-
options: ht(
|
|
2991
|
-
location:
|
|
2990
|
+
options: ht(oe.val),
|
|
2991
|
+
location: Ze
|
|
2992
2992
|
},
|
|
2993
2993
|
err: null
|
|
2994
2994
|
} : {
|
|
2995
2995
|
val: {
|
|
2996
|
-
type:
|
|
2996
|
+
type: v.plural,
|
|
2997
2997
|
value: n,
|
|
2998
|
-
options: ht(
|
|
2999
|
-
offset:
|
|
2998
|
+
options: ht(oe.val),
|
|
2999
|
+
offset: M,
|
|
3000
3000
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3001
|
-
location:
|
|
3001
|
+
location: Ze
|
|
3002
3002
|
},
|
|
3003
3003
|
err: null
|
|
3004
3004
|
};
|
|
3005
3005
|
}
|
|
3006
3006
|
default:
|
|
3007
|
-
return this.error(b.INVALID_ARGUMENT_TYPE, y(
|
|
3007
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, y(a, l));
|
|
3008
3008
|
}
|
|
3009
3009
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3010
3010
|
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3052,7 +3052,7 @@ var In = (
|
|
|
3052
3052
|
}
|
|
3053
3053
|
return {
|
|
3054
3054
|
val: {
|
|
3055
|
-
type:
|
|
3055
|
+
type: z.number,
|
|
3056
3056
|
tokens: n,
|
|
3057
3057
|
location: r,
|
|
3058
3058
|
parsedOptions: this.shouldParseSkeletons ? pn(n) : {}
|
|
@@ -3060,7 +3060,7 @@ var In = (
|
|
|
3060
3060
|
err: null
|
|
3061
3061
|
};
|
|
3062
3062
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3063
|
-
for (var
|
|
3063
|
+
for (var o, a = !1, u = [], l = /* @__PURE__ */ new Set(), s = i.value, h = i.location; ; ) {
|
|
3064
3064
|
if (s.length === 0) {
|
|
3065
3065
|
var f = this.clonePosition();
|
|
3066
3066
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3073,37 +3073,37 @@ var In = (
|
|
|
3073
3073
|
}
|
|
3074
3074
|
if (l.has(s))
|
|
3075
3075
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3076
|
-
s === "other" && (
|
|
3076
|
+
s === "other" && (a = !0), this.bumpSpace();
|
|
3077
3077
|
var d = this.clonePosition();
|
|
3078
3078
|
if (!this.bumpIf("{"))
|
|
3079
3079
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3080
3080
|
var p = this.parseMessage(t + 1, r, n);
|
|
3081
3081
|
if (p.err)
|
|
3082
3082
|
return p;
|
|
3083
|
-
var
|
|
3084
|
-
if (
|
|
3085
|
-
return
|
|
3083
|
+
var _ = this.tryParseArgumentClose(d);
|
|
3084
|
+
if (_.err)
|
|
3085
|
+
return _;
|
|
3086
3086
|
u.push([
|
|
3087
3087
|
s,
|
|
3088
3088
|
{
|
|
3089
3089
|
value: p.val,
|
|
3090
3090
|
location: y(d, this.clonePosition())
|
|
3091
3091
|
}
|
|
3092
|
-
]), l.add(s), this.bumpSpace(),
|
|
3092
|
+
]), l.add(s), this.bumpSpace(), o = this.parseIdentifierIfPossible(), s = o.value, h = o.location;
|
|
3093
3093
|
}
|
|
3094
|
-
return u.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
|
3094
|
+
return u.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
3095
3095
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3096
3096
|
var n = 1, i = this.clonePosition();
|
|
3097
3097
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3098
|
-
for (var
|
|
3098
|
+
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
3099
3099
|
var u = this.char();
|
|
3100
3100
|
if (u >= 48 && u <= 57)
|
|
3101
|
-
|
|
3101
|
+
o = !0, a = a * 10 + (u - 48), this.bump();
|
|
3102
3102
|
else
|
|
3103
3103
|
break;
|
|
3104
3104
|
}
|
|
3105
3105
|
var l = y(i, this.clonePosition());
|
|
3106
|
-
return
|
|
3106
|
+
return o ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3107
3107
|
}, e.prototype.offset = function() {
|
|
3108
3108
|
return this.position.offset;
|
|
3109
3109
|
}, e.prototype.isEOF = function() {
|
|
@@ -3169,11 +3169,11 @@ var In = (
|
|
|
3169
3169
|
}, e;
|
|
3170
3170
|
}()
|
|
3171
3171
|
);
|
|
3172
|
-
function
|
|
3172
|
+
function je(e) {
|
|
3173
3173
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3174
3174
|
}
|
|
3175
|
-
function
|
|
3176
|
-
return
|
|
3175
|
+
function In(e) {
|
|
3176
|
+
return je(e) || e === 47;
|
|
3177
3177
|
}
|
|
3178
3178
|
function Ln(e) {
|
|
3179
3179
|
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;
|
|
@@ -3181,38 +3181,38 @@ function Ln(e) {
|
|
|
3181
3181
|
function Wt(e) {
|
|
3182
3182
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3183
3183
|
}
|
|
3184
|
-
function
|
|
3184
|
+
function Mn(e) {
|
|
3185
3185
|
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;
|
|
3186
3186
|
}
|
|
3187
3187
|
function Ve(e) {
|
|
3188
3188
|
e.forEach(function(t) {
|
|
3189
|
-
if (delete t.location,
|
|
3189
|
+
if (delete t.location, $t(t) || Dt(t))
|
|
3190
3190
|
for (var r in t.options)
|
|
3191
3191
|
delete t.options[r].location, Ve(t.options[r].value);
|
|
3192
3192
|
else
|
|
3193
|
-
|
|
3193
|
+
Mt(t) && kt(t.style) || (Nt(t) || Rt(t)) && ke(t.style) ? delete t.style.location : Ut(t) && Ve(t.children);
|
|
3194
3194
|
});
|
|
3195
3195
|
}
|
|
3196
|
-
function
|
|
3196
|
+
function Nn(e, t) {
|
|
3197
3197
|
t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3198
|
-
var r = new
|
|
3198
|
+
var r = new Cn(e, t).parse();
|
|
3199
3199
|
if (r.err) {
|
|
3200
3200
|
var n = SyntaxError(b[r.err.kind]);
|
|
3201
3201
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3202
3202
|
}
|
|
3203
3203
|
return t != null && t.captureLocation || Ve(r.val), r.val;
|
|
3204
3204
|
}
|
|
3205
|
-
var
|
|
3205
|
+
var j;
|
|
3206
3206
|
(function(e) {
|
|
3207
3207
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3208
|
-
})(
|
|
3208
|
+
})(j || (j = {}));
|
|
3209
3209
|
var we = (
|
|
3210
3210
|
/** @class */
|
|
3211
3211
|
function(e) {
|
|
3212
3212
|
He(t, e);
|
|
3213
3213
|
function t(r, n, i) {
|
|
3214
|
-
var
|
|
3215
|
-
return
|
|
3214
|
+
var o = e.call(this, r) || this;
|
|
3215
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3216
3216
|
}
|
|
3217
3217
|
return t.prototype.toString = function() {
|
|
3218
3218
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
@@ -3222,26 +3222,26 @@ var we = (
|
|
|
3222
3222
|
/** @class */
|
|
3223
3223
|
function(e) {
|
|
3224
3224
|
He(t, e);
|
|
3225
|
-
function t(r, n, i,
|
|
3226
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3225
|
+
function t(r, n, i, o) {
|
|
3226
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
|
|
3227
3227
|
}
|
|
3228
3228
|
return t;
|
|
3229
3229
|
}(we)
|
|
3230
|
-
),
|
|
3230
|
+
), Rn = (
|
|
3231
3231
|
/** @class */
|
|
3232
3232
|
function(e) {
|
|
3233
3233
|
He(t, e);
|
|
3234
3234
|
function t(r, n, i) {
|
|
3235
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3235
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
|
|
3236
3236
|
}
|
|
3237
3237
|
return t;
|
|
3238
3238
|
}(we)
|
|
3239
|
-
),
|
|
3239
|
+
), $n = (
|
|
3240
3240
|
/** @class */
|
|
3241
3241
|
function(e) {
|
|
3242
3242
|
He(t, e);
|
|
3243
3243
|
function t(r, n) {
|
|
3244
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3244
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
|
|
3245
3245
|
}
|
|
3246
3246
|
return t;
|
|
3247
3247
|
}(we)
|
|
@@ -3258,8 +3258,8 @@ function Dn(e) {
|
|
|
3258
3258
|
function Un(e) {
|
|
3259
3259
|
return typeof e == "function";
|
|
3260
3260
|
}
|
|
3261
|
-
function be(e, t, r, n, i,
|
|
3262
|
-
if (e.length === 1 &&
|
|
3261
|
+
function be(e, t, r, n, i, o, a) {
|
|
3262
|
+
if (e.length === 1 && ot(e[0]))
|
|
3263
3263
|
return [
|
|
3264
3264
|
{
|
|
3265
3265
|
type: H.literal,
|
|
@@ -3268,7 +3268,7 @@ function be(e, t, r, n, i, a, o) {
|
|
|
3268
3268
|
];
|
|
3269
3269
|
for (var u = [], l = 0, s = e; l < s.length; l++) {
|
|
3270
3270
|
var h = s[l];
|
|
3271
|
-
if (
|
|
3271
|
+
if (ot(h)) {
|
|
3272
3272
|
u.push({
|
|
3273
3273
|
type: H.literal,
|
|
3274
3274
|
value: h.value
|
|
@@ -3276,24 +3276,24 @@ function be(e, t, r, n, i, a, o) {
|
|
|
3276
3276
|
continue;
|
|
3277
3277
|
}
|
|
3278
3278
|
if (sn(h)) {
|
|
3279
|
-
typeof
|
|
3279
|
+
typeof o == "number" && u.push({
|
|
3280
3280
|
type: H.literal,
|
|
3281
|
-
value: r.getNumberFormat(t).format(
|
|
3281
|
+
value: r.getNumberFormat(t).format(o)
|
|
3282
3282
|
});
|
|
3283
3283
|
continue;
|
|
3284
3284
|
}
|
|
3285
3285
|
var f = h.value;
|
|
3286
3286
|
if (!(i && f in i))
|
|
3287
|
-
throw new
|
|
3287
|
+
throw new $n(f, a);
|
|
3288
3288
|
var m = i[f];
|
|
3289
|
-
if (
|
|
3289
|
+
if (an(h)) {
|
|
3290
3290
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), u.push({
|
|
3291
3291
|
type: typeof m == "string" ? H.literal : H.object,
|
|
3292
3292
|
value: m
|
|
3293
3293
|
});
|
|
3294
3294
|
continue;
|
|
3295
3295
|
}
|
|
3296
|
-
if (
|
|
3296
|
+
if (Nt(h)) {
|
|
3297
3297
|
var d = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
|
|
3298
3298
|
u.push({
|
|
3299
3299
|
type: H.literal,
|
|
@@ -3301,7 +3301,7 @@ function be(e, t, r, n, i, a, o) {
|
|
|
3301
3301
|
});
|
|
3302
3302
|
continue;
|
|
3303
3303
|
}
|
|
3304
|
-
if (
|
|
3304
|
+
if (Rt(h)) {
|
|
3305
3305
|
var d = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3306
3306
|
u.push({
|
|
3307
3307
|
type: H.literal,
|
|
@@ -3309,7 +3309,7 @@ function be(e, t, r, n, i, a, o) {
|
|
|
3309
3309
|
});
|
|
3310
3310
|
continue;
|
|
3311
3311
|
}
|
|
3312
|
-
if (
|
|
3312
|
+
if (Mt(h)) {
|
|
3313
3313
|
var d = typeof h.style == "string" ? n.number[h.style] : kt(h.style) ? h.style.parsedOptions : void 0;
|
|
3314
3314
|
d && d.scale && (m = m * (d.scale || 1)), u.push({
|
|
3315
3315
|
type: H.literal,
|
|
@@ -3318,23 +3318,23 @@ function be(e, t, r, n, i, a, o) {
|
|
|
3318
3318
|
continue;
|
|
3319
3319
|
}
|
|
3320
3320
|
if (Ut(h)) {
|
|
3321
|
-
var p = h.children,
|
|
3321
|
+
var p = h.children, _ = h.value, T = i[_];
|
|
3322
3322
|
if (!Un(T))
|
|
3323
|
-
throw new
|
|
3324
|
-
var x = be(p, t, r, n, i,
|
|
3325
|
-
return
|
|
3323
|
+
throw new Rn(_, "function", a);
|
|
3324
|
+
var x = be(p, t, r, n, i, o), c = T(x.map(function(M) {
|
|
3325
|
+
return M.value;
|
|
3326
3326
|
}));
|
|
3327
|
-
Array.isArray(c) || (c = [c]), u.push.apply(u, c.map(function(
|
|
3327
|
+
Array.isArray(c) || (c = [c]), u.push.apply(u, c.map(function(M) {
|
|
3328
3328
|
return {
|
|
3329
|
-
type: typeof
|
|
3330
|
-
value:
|
|
3329
|
+
type: typeof M == "string" ? H.literal : H.object,
|
|
3330
|
+
value: M
|
|
3331
3331
|
};
|
|
3332
3332
|
}));
|
|
3333
3333
|
}
|
|
3334
|
-
if (
|
|
3334
|
+
if ($t(h)) {
|
|
3335
3335
|
var g = h.options[m] || h.options.other;
|
|
3336
3336
|
if (!g)
|
|
3337
|
-
throw new ft(h.value, m, Object.keys(h.options),
|
|
3337
|
+
throw new ft(h.value, m, Object.keys(h.options), a);
|
|
3338
3338
|
u.push.apply(u, be(g.value, t, r, n, i));
|
|
3339
3339
|
continue;
|
|
3340
3340
|
}
|
|
@@ -3344,12 +3344,12 @@ function be(e, t, r, n, i, a, o) {
|
|
|
3344
3344
|
if (!Intl.PluralRules)
|
|
3345
3345
|
throw new we(`Intl.PluralRules is not available in this environment.
|
|
3346
3346
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3347
|
-
`,
|
|
3347
|
+
`, j.MISSING_INTL_API, a);
|
|
3348
3348
|
var P = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
|
|
3349
3349
|
g = h.options[P] || h.options.other;
|
|
3350
3350
|
}
|
|
3351
3351
|
if (!g)
|
|
3352
|
-
throw new ft(h.value, m, Object.keys(h.options),
|
|
3352
|
+
throw new ft(h.value, m, Object.keys(h.options), a);
|
|
3353
3353
|
u.push.apply(u, be(g.value, t, r, n, i, m - (h.offset || 0)));
|
|
3354
3354
|
continue;
|
|
3355
3355
|
}
|
|
@@ -3366,7 +3366,7 @@ function Gn(e, t) {
|
|
|
3366
3366
|
return r[n] = kn(e[n], t[n]), r;
|
|
3367
3367
|
}, S({}, e)) : e;
|
|
3368
3368
|
}
|
|
3369
|
-
function
|
|
3369
|
+
function Me(e) {
|
|
3370
3370
|
return {
|
|
3371
3371
|
create: function() {
|
|
3372
3372
|
return {
|
|
@@ -3386,44 +3386,44 @@ function Fn(e) {
|
|
|
3386
3386
|
dateTime: {},
|
|
3387
3387
|
pluralRules: {}
|
|
3388
3388
|
}), {
|
|
3389
|
-
getNumberFormat:
|
|
3389
|
+
getNumberFormat: Ce(function() {
|
|
3390
3390
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3391
3391
|
r[n] = arguments[n];
|
|
3392
3392
|
return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
|
|
3393
3393
|
}, {
|
|
3394
|
-
cache:
|
|
3395
|
-
strategy:
|
|
3394
|
+
cache: Me(e.number),
|
|
3395
|
+
strategy: Ie.variadic
|
|
3396
3396
|
}),
|
|
3397
|
-
getDateTimeFormat:
|
|
3397
|
+
getDateTimeFormat: Ce(function() {
|
|
3398
3398
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3399
3399
|
r[n] = arguments[n];
|
|
3400
3400
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
|
|
3401
3401
|
}, {
|
|
3402
|
-
cache:
|
|
3403
|
-
strategy:
|
|
3402
|
+
cache: Me(e.dateTime),
|
|
3403
|
+
strategy: Ie.variadic
|
|
3404
3404
|
}),
|
|
3405
|
-
getPluralRules:
|
|
3405
|
+
getPluralRules: Ce(function() {
|
|
3406
3406
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3407
3407
|
r[n] = arguments[n];
|
|
3408
3408
|
return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
|
|
3409
3409
|
}, {
|
|
3410
|
-
cache:
|
|
3411
|
-
strategy:
|
|
3410
|
+
cache: Me(e.pluralRules),
|
|
3411
|
+
strategy: Ie.variadic
|
|
3412
3412
|
})
|
|
3413
3413
|
};
|
|
3414
3414
|
}
|
|
3415
|
-
var
|
|
3415
|
+
var qt = (
|
|
3416
3416
|
/** @class */
|
|
3417
3417
|
function() {
|
|
3418
3418
|
function e(t, r, n, i) {
|
|
3419
3419
|
r === void 0 && (r = e.defaultLocale);
|
|
3420
|
-
var
|
|
3420
|
+
var o = this;
|
|
3421
3421
|
if (this.formatterCache = {
|
|
3422
3422
|
number: {},
|
|
3423
3423
|
dateTime: {},
|
|
3424
3424
|
pluralRules: {}
|
|
3425
3425
|
}, this.format = function(l) {
|
|
3426
|
-
var s =
|
|
3426
|
+
var s = o.formatToParts(l);
|
|
3427
3427
|
if (s.length === 1)
|
|
3428
3428
|
return s[0].value;
|
|
3429
3429
|
var h = s.reduce(function(f, m) {
|
|
@@ -3431,20 +3431,20 @@ var Zt = (
|
|
|
3431
3431
|
}, []);
|
|
3432
3432
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3433
3433
|
}, this.formatToParts = function(l) {
|
|
3434
|
-
return be(
|
|
3434
|
+
return be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3435
3435
|
}, this.resolvedOptions = function() {
|
|
3436
3436
|
var l;
|
|
3437
3437
|
return {
|
|
3438
|
-
locale: ((l =
|
|
3438
|
+
locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3439
3439
|
};
|
|
3440
3440
|
}, this.getAst = function() {
|
|
3441
|
-
return
|
|
3441
|
+
return o.ast;
|
|
3442
3442
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3443
3443
|
if (this.message = t, !e.__parse)
|
|
3444
3444
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3445
|
-
var
|
|
3446
|
-
|
|
3447
|
-
var u = Qr(
|
|
3445
|
+
var a = i || {};
|
|
3446
|
+
a.formatters;
|
|
3447
|
+
var u = Qr(a, ["formatters"]);
|
|
3448
3448
|
this.ast = e.__parse(t, S(S({}, u), { locale: this.resolvedLocale }));
|
|
3449
3449
|
} else
|
|
3450
3450
|
this.ast = t;
|
|
@@ -3463,7 +3463,7 @@ var Zt = (
|
|
|
3463
3463
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3464
3464
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3465
3465
|
}
|
|
3466
|
-
}, e.__parse =
|
|
3466
|
+
}, e.__parse = Nn, e.formats = {
|
|
3467
3467
|
number: {
|
|
3468
3468
|
integer: {
|
|
3469
3469
|
maximumFractionDigits: 0
|
|
@@ -3524,7 +3524,7 @@ var Zt = (
|
|
|
3524
3524
|
}, e;
|
|
3525
3525
|
}()
|
|
3526
3526
|
);
|
|
3527
|
-
function
|
|
3527
|
+
function zn(e, t) {
|
|
3528
3528
|
if (t == null)
|
|
3529
3529
|
return;
|
|
3530
3530
|
if (t in e)
|
|
@@ -3534,9 +3534,9 @@ function jn(e, t) {
|
|
|
3534
3534
|
for (let i = 0; i < r.length; i++)
|
|
3535
3535
|
if (typeof n == "object") {
|
|
3536
3536
|
if (i > 0) {
|
|
3537
|
-
const
|
|
3538
|
-
if (
|
|
3539
|
-
n = n[
|
|
3537
|
+
const o = r.slice(i, r.length).join(".");
|
|
3538
|
+
if (o in n) {
|
|
3539
|
+
n = n[o];
|
|
3540
3540
|
break;
|
|
3541
3541
|
}
|
|
3542
3542
|
}
|
|
@@ -3545,31 +3545,31 @@ function jn(e, t) {
|
|
|
3545
3545
|
n = void 0;
|
|
3546
3546
|
return n;
|
|
3547
3547
|
}
|
|
3548
|
-
const
|
|
3548
|
+
const C = {}, jn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Jt = (e, t) => {
|
|
3549
3549
|
if (t == null)
|
|
3550
3550
|
return;
|
|
3551
|
-
if (t in
|
|
3552
|
-
return
|
|
3551
|
+
if (t in C && e in C[t])
|
|
3552
|
+
return C[t][e];
|
|
3553
3553
|
const r = ie(t);
|
|
3554
3554
|
for (let n = 0; n < r.length; n++) {
|
|
3555
|
-
const i = r[n],
|
|
3556
|
-
if (
|
|
3557
|
-
return
|
|
3555
|
+
const i = r[n], o = Xn(i, e);
|
|
3556
|
+
if (o)
|
|
3557
|
+
return jn(e, t, o);
|
|
3558
3558
|
}
|
|
3559
3559
|
};
|
|
3560
|
-
let
|
|
3560
|
+
let qe;
|
|
3561
3561
|
const ne = Te({});
|
|
3562
3562
|
function Vn(e) {
|
|
3563
|
-
return
|
|
3563
|
+
return qe[e] || null;
|
|
3564
3564
|
}
|
|
3565
|
-
function
|
|
3566
|
-
return e in
|
|
3565
|
+
function Zt(e) {
|
|
3566
|
+
return e in qe;
|
|
3567
3567
|
}
|
|
3568
3568
|
function Xn(e, t) {
|
|
3569
|
-
if (!
|
|
3569
|
+
if (!Zt(e))
|
|
3570
3570
|
return null;
|
|
3571
3571
|
const r = Vn(e);
|
|
3572
|
-
return
|
|
3572
|
+
return zn(r, t);
|
|
3573
3573
|
}
|
|
3574
3574
|
function Wn(e) {
|
|
3575
3575
|
if (e == null)
|
|
@@ -3577,20 +3577,20 @@ function Wn(e) {
|
|
|
3577
3577
|
const t = ie(e);
|
|
3578
3578
|
for (let r = 0; r < t.length; r++) {
|
|
3579
3579
|
const n = t[r];
|
|
3580
|
-
if (
|
|
3580
|
+
if (Zt(n))
|
|
3581
3581
|
return n;
|
|
3582
3582
|
}
|
|
3583
3583
|
}
|
|
3584
3584
|
function Qt(e, ...t) {
|
|
3585
|
-
delete
|
|
3585
|
+
delete C[e], ne.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
|
|
3586
3586
|
}
|
|
3587
3587
|
W(
|
|
3588
3588
|
[ne],
|
|
3589
3589
|
([e]) => Object.keys(e)
|
|
3590
3590
|
);
|
|
3591
|
-
ne.subscribe((e) =>
|
|
3591
|
+
ne.subscribe((e) => qe = e);
|
|
3592
3592
|
const ge = {};
|
|
3593
|
-
function
|
|
3593
|
+
function qn(e, t) {
|
|
3594
3594
|
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
|
3595
3595
|
}
|
|
3596
3596
|
function Yt(e) {
|
|
@@ -3602,7 +3602,7 @@ function Jn(e) {
|
|
|
3602
3602
|
return [t, r ? [...r] : []];
|
|
3603
3603
|
}).filter(([, t]) => t.length > 0);
|
|
3604
3604
|
}
|
|
3605
|
-
function
|
|
3605
|
+
function ve(e) {
|
|
3606
3606
|
return e == null ? !1 : ie(e).some(
|
|
3607
3607
|
(t) => {
|
|
3608
3608
|
var r;
|
|
@@ -3610,22 +3610,22 @@ function _e(e) {
|
|
|
3610
3610
|
}
|
|
3611
3611
|
);
|
|
3612
3612
|
}
|
|
3613
|
-
function
|
|
3613
|
+
function Zn(e, t) {
|
|
3614
3614
|
return Promise.all(
|
|
3615
|
-
t.map((n) => (
|
|
3615
|
+
t.map((n) => (qn(e, n), n().then((i) => i.default || i)))
|
|
3616
3616
|
).then((n) => Qt(e, ...n));
|
|
3617
3617
|
}
|
|
3618
3618
|
const J = {};
|
|
3619
3619
|
function Kt(e) {
|
|
3620
|
-
if (!
|
|
3620
|
+
if (!ve(e))
|
|
3621
3621
|
return e in J ? J[e] : Promise.resolve();
|
|
3622
3622
|
const t = Jn(e);
|
|
3623
3623
|
return J[e] = Promise.all(
|
|
3624
3624
|
t.map(
|
|
3625
|
-
([r, n]) =>
|
|
3625
|
+
([r, n]) => Zn(r, n)
|
|
3626
3626
|
)
|
|
3627
3627
|
).then(() => {
|
|
3628
|
-
if (
|
|
3628
|
+
if (ve(e))
|
|
3629
3629
|
return Kt(e);
|
|
3630
3630
|
delete J[e];
|
|
3631
3631
|
}), J[e];
|
|
@@ -3673,7 +3673,7 @@ function ti({ locale: e, id: t }) {
|
|
|
3673
3673
|
console.warn(
|
|
3674
3674
|
`[svelte-i18n] The message "${t}" was not found in "${ie(
|
|
3675
3675
|
e
|
|
3676
|
-
).join('", "')}".${
|
|
3676
|
+
).join('", "')}".${ve(L()) ? `
|
|
3677
3677
|
|
|
3678
3678
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3679
3679
|
);
|
|
@@ -3694,25 +3694,25 @@ function ni(e) {
|
|
|
3694
3694
|
let i = e.fallbackLocale;
|
|
3695
3695
|
if (e.initialLocale)
|
|
3696
3696
|
try {
|
|
3697
|
-
|
|
3698
|
-
} catch (
|
|
3697
|
+
qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3698
|
+
} catch (o) {
|
|
3699
3699
|
console.warn(
|
|
3700
3700
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3701
3701
|
);
|
|
3702
3702
|
}
|
|
3703
3703
|
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ti : console.warn(
|
|
3704
3704
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3705
|
-
)), Object.assign(Q, n, { initialLocale: i }), r && ("number" in r && Object.assign(Q.formats.number, r.number), "date" in r && Object.assign(Q.formats.date, r.date), "time" in r && Object.assign(Q.formats.time, r.time)),
|
|
3705
|
+
)), Object.assign(Q, n, { initialLocale: i }), r && ("number" in r && Object.assign(Q.formats.number, r.number), "date" in r && Object.assign(Q.formats.date, r.date), "time" in r && Object.assign(Q.formats.time, r.time)), R.set(i);
|
|
3706
3706
|
}
|
|
3707
|
-
const
|
|
3708
|
-
var ii = Object.defineProperty,
|
|
3707
|
+
const Ne = Te(!1);
|
|
3708
|
+
var ii = Object.defineProperty, oi = Object.defineProperties, ai = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, si = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, li = (e, t) => {
|
|
3709
3709
|
for (var r in t || (t = {}))
|
|
3710
3710
|
si.call(t, r) && pt(e, r, t[r]);
|
|
3711
3711
|
if (dt)
|
|
3712
3712
|
for (var r of dt(t))
|
|
3713
3713
|
ui.call(t, r) && pt(e, r, t[r]);
|
|
3714
3714
|
return e;
|
|
3715
|
-
}, hi = (e, t) =>
|
|
3715
|
+
}, hi = (e, t) => oi(e, ai(t));
|
|
3716
3716
|
let Xe;
|
|
3717
3717
|
const Ee = Te(null);
|
|
3718
3718
|
function bt(e) {
|
|
@@ -3729,20 +3729,20 @@ Ee.subscribe((e) => {
|
|
|
3729
3729
|
Xe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3730
3730
|
});
|
|
3731
3731
|
const ci = (e) => {
|
|
3732
|
-
if (e && Wn(e) &&
|
|
3732
|
+
if (e && Wn(e) && ve(e)) {
|
|
3733
3733
|
const { loadingDelay: t } = V();
|
|
3734
3734
|
let r;
|
|
3735
3735
|
return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
|
|
3736
|
-
() =>
|
|
3736
|
+
() => Ne.set(!0),
|
|
3737
3737
|
t
|
|
3738
|
-
) :
|
|
3738
|
+
) : Ne.set(!0), Kt(e).then(() => {
|
|
3739
3739
|
Ee.set(e);
|
|
3740
3740
|
}).finally(() => {
|
|
3741
|
-
clearTimeout(r),
|
|
3741
|
+
clearTimeout(r), Ne.set(!1);
|
|
3742
3742
|
});
|
|
3743
3743
|
}
|
|
3744
3744
|
return Ee.set(e);
|
|
3745
|
-
},
|
|
3745
|
+
}, R = hi(li({}, Ee), {
|
|
3746
3746
|
set: ci
|
|
3747
3747
|
}), Se = (e) => {
|
|
3748
3748
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -3751,19 +3751,19 @@ const ci = (e) => {
|
|
|
3751
3751
|
return i in t ? t[i] : t[i] = e(n);
|
|
3752
3752
|
};
|
|
3753
3753
|
};
|
|
3754
|
-
var fi = Object.defineProperty,
|
|
3754
|
+
var fi = Object.defineProperty, _e = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
3755
3755
|
for (var r in t || (t = {}))
|
|
3756
3756
|
er.call(t, r) && gt(e, r, t[r]);
|
|
3757
|
-
if (
|
|
3758
|
-
for (var r of
|
|
3757
|
+
if (_e)
|
|
3758
|
+
for (var r of _e(t))
|
|
3759
3759
|
tr.call(t, r) && gt(e, r, t[r]);
|
|
3760
3760
|
return e;
|
|
3761
|
-
},
|
|
3761
|
+
}, q = (e, t) => {
|
|
3762
3762
|
var r = {};
|
|
3763
3763
|
for (var n in e)
|
|
3764
3764
|
er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3765
|
-
if (e != null &&
|
|
3766
|
-
for (var n of
|
|
3765
|
+
if (e != null && _e)
|
|
3766
|
+
for (var n of _e(e))
|
|
3767
3767
|
t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
|
|
3768
3768
|
return r;
|
|
3769
3769
|
};
|
|
@@ -3774,21 +3774,21 @@ const te = (e, t) => {
|
|
|
3774
3774
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3775
3775
|
}, mi = Se(
|
|
3776
3776
|
(e) => {
|
|
3777
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3777
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3778
3778
|
if (r == null)
|
|
3779
3779
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3780
3780
|
return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
|
|
3781
3781
|
}
|
|
3782
3782
|
), di = Se(
|
|
3783
3783
|
(e) => {
|
|
3784
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3784
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3785
3785
|
if (r == null)
|
|
3786
3786
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3787
3787
|
return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3788
3788
|
}
|
|
3789
3789
|
), pi = Se(
|
|
3790
3790
|
(e) => {
|
|
3791
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3791
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3792
3792
|
if (r == null)
|
|
3793
3793
|
throw new Error(
|
|
3794
3794
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
@@ -3798,45 +3798,45 @@ const te = (e, t) => {
|
|
|
3798
3798
|
), bi = (e = {}) => {
|
|
3799
3799
|
var t = e, {
|
|
3800
3800
|
locale: r = L()
|
|
3801
|
-
} = t, n =
|
|
3801
|
+
} = t, n = q(t, [
|
|
3802
3802
|
"locale"
|
|
3803
3803
|
]);
|
|
3804
3804
|
return mi(Je({ locale: r }, n));
|
|
3805
3805
|
}, gi = (e = {}) => {
|
|
3806
3806
|
var t = e, {
|
|
3807
3807
|
locale: r = L()
|
|
3808
|
-
} = t, n =
|
|
3808
|
+
} = t, n = q(t, [
|
|
3809
3809
|
"locale"
|
|
3810
3810
|
]);
|
|
3811
3811
|
return di(Je({ locale: r }, n));
|
|
3812
3812
|
}, yi = (e = {}) => {
|
|
3813
3813
|
var t = e, {
|
|
3814
3814
|
locale: r = L()
|
|
3815
|
-
} = t, n =
|
|
3815
|
+
} = t, n = q(t, [
|
|
3816
3816
|
"locale"
|
|
3817
3817
|
]);
|
|
3818
3818
|
return pi(Je({ locale: r }, n));
|
|
3819
|
-
},
|
|
3819
|
+
}, vi = Se(
|
|
3820
3820
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3821
|
-
(e, t = L()) => new
|
|
3821
|
+
(e, t = L()) => new qt(e, t, V().formats, {
|
|
3822
3822
|
ignoreTag: V().ignoreTag
|
|
3823
3823
|
})
|
|
3824
3824
|
), Ei = (e, t = {}) => {
|
|
3825
|
-
var r, n, i,
|
|
3826
|
-
let
|
|
3827
|
-
typeof e == "object" && (
|
|
3825
|
+
var r, n, i, o;
|
|
3826
|
+
let a = t;
|
|
3827
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
3828
3828
|
const {
|
|
3829
3829
|
values: u,
|
|
3830
3830
|
locale: l = L(),
|
|
3831
3831
|
default: s
|
|
3832
|
-
} =
|
|
3832
|
+
} = a;
|
|
3833
3833
|
if (l == null)
|
|
3834
3834
|
throw new Error(
|
|
3835
3835
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3836
3836
|
);
|
|
3837
3837
|
let h = Jt(e, l);
|
|
3838
3838
|
if (!h)
|
|
3839
|
-
h = (
|
|
3839
|
+
h = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: s })) != null ? i : s) != null ? o : e;
|
|
3840
3840
|
else if (typeof h != "string")
|
|
3841
3841
|
return console.warn(
|
|
3842
3842
|
`[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.`
|
|
@@ -3845,7 +3845,7 @@ const te = (e, t) => {
|
|
|
3845
3845
|
return h;
|
|
3846
3846
|
let f = h;
|
|
3847
3847
|
try {
|
|
3848
|
-
f =
|
|
3848
|
+
f = vi(h, l).format(u);
|
|
3849
3849
|
} catch (m) {
|
|
3850
3850
|
m instanceof Error && console.warn(
|
|
3851
3851
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3853,20 +3853,20 @@ const te = (e, t) => {
|
|
|
3853
3853
|
);
|
|
3854
3854
|
}
|
|
3855
3855
|
return f;
|
|
3856
|
-
},
|
|
3857
|
-
W([
|
|
3858
|
-
W([
|
|
3859
|
-
W([
|
|
3860
|
-
W([
|
|
3856
|
+
}, _i = (e, t) => yi(t).format(e), xi = (e, t) => gi(t).format(e), Ti = (e, t) => bi(t).format(e), Hi = (e, t = L()) => Jt(e, t), wi = W([R, ne], () => Ei);
|
|
3857
|
+
W([R], () => _i);
|
|
3858
|
+
W([R], () => xi);
|
|
3859
|
+
W([R], () => Ti);
|
|
3860
|
+
W([R, ne], () => Hi);
|
|
3861
3861
|
function yt(e, t) {
|
|
3862
3862
|
Qt(e, t);
|
|
3863
3863
|
}
|
|
3864
3864
|
function Si(e) {
|
|
3865
3865
|
ni({
|
|
3866
3866
|
fallbackLocale: "en"
|
|
3867
|
-
}),
|
|
3867
|
+
}), R.set(e);
|
|
3868
3868
|
}
|
|
3869
|
-
const
|
|
3869
|
+
const vt = {
|
|
3870
3870
|
en: {
|
|
3871
3871
|
errorGeneralTitle: "Error Occurred",
|
|
3872
3872
|
errorGeneralText: "Something went wrong",
|
|
@@ -3924,17 +3924,46 @@ const _t = {
|
|
|
3924
3924
|
FraudSuspectedError: "Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020.",
|
|
3925
3925
|
OnlyOnePendingTransactionPerUserlsAllowed: "Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",
|
|
3926
3926
|
TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı"
|
|
3927
|
+
},
|
|
3928
|
+
fr: {
|
|
3929
|
+
errorGeneralTitle: "Une erreur s’est produite",
|
|
3930
|
+
errorGeneralText: "Une erreur est survenue",
|
|
3931
|
+
errorGeneralButton: "FERMER",
|
|
3932
|
+
PlayerSessionIsNotValid: "La session du joueur n’est pas valide",
|
|
3933
|
+
VendorCommunicationError: "Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter la demande en raison d’une erreur technique. Veuillez réessayer plus tard ou contacter votre prestataire de paiement pour obtenir de l’aide. Code d’erreur 21297",
|
|
3934
|
+
PaymentMethodNotAllowed: "Nous sommes désolés, mais ce moyen de paiement n’est pas disponible pour le moment. Veuillez contacter le service client pour obtenir de l’aide. Code d’erreur 11402",
|
|
3935
|
+
InvalidPaymentDetails: "Nous sommes désolés, mais vos informations de paiement ne sont pas valides. Veuillez vérifier que vous avez correctement saisi toutes les informations de paiement et réessayer, ou contacter le service client pour obtenir de l’aide. Code d’erreur 13555",
|
|
3936
|
+
MerchantUserHasWithdrawBlockRole: "Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de retrait depuis votre compte joueur. Code d’erreur : 21122",
|
|
3937
|
+
MerchantUserHasDepositBlockRole: "Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de dépôt depuis votre compte joueur. Code d’erreur : 21123",
|
|
3938
|
+
JwtTokenError: "IDX12741 : le JWT doit comporter trois segments (JWS) ou cinq segments (JWE).",
|
|
3939
|
+
TransactionIsBlockedDueToNotCompletedKyc: "Nous sommes désolés, mais nous ne pouvons pas traiter la transaction car vous n’avez pas complété le KYC. Veuillez vérifier votre identité ou contacter le service client pour obtenir de l’aide. Code d’erreur 23601",
|
|
3940
|
+
InsufficientCasinoFunds: "Votre retrait dépasse votre solde disponible. Veuillez vérifier votre solde disponible afin d’ajuster le montant du retrait",
|
|
3941
|
+
DepositWageringLimit: "Attention ! Le solde de vos gains est inférieur au montant que vous souhaitez retirer.",
|
|
3942
|
+
AmountMinLimitExceeded: "Le montant est inférieur à la limite minimale du moyen de paiement",
|
|
3943
|
+
AmountMaxLimitExceeded: "Le montant est supérieur à la limite maximale du moyen de paiement",
|
|
3944
|
+
AmountIsMissing: "Le montant est manquant",
|
|
3945
|
+
MaxCustomerTransactionsCountReached: "Il semble que vous ayez atteint la limite de fréquence des tentatives de transaction par minute. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard",
|
|
3946
|
+
VendorTimeoutError: "Il semble que le prestataire de paiement rencontre des problèmes. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard. Code d’erreur 21292",
|
|
3947
|
+
MerchantUserAccountIsInactive: "Refusé : le compte utilisateur marchand est inactif",
|
|
3948
|
+
MerchantUserHasDepositDenyRole: "Refusé : l’utilisateur marchand a un rôle interdisant les dépôts",
|
|
3949
|
+
TransactionCodeIsInvalid: "Le code de transaction n’est pas valide",
|
|
3950
|
+
InvalidSession: "Votre session a expiré. Veuillez réessayer",
|
|
3951
|
+
TwoFactorAuthRequired: "L’authentification à deux facteurs est requise",
|
|
3952
|
+
DeclinedByMerchant: "Nous sommes désolés, mais la transaction a été clôturée par le marchand. Veuillez contacter le service client pour obtenir de l’aide.",
|
|
3953
|
+
FraudSuspectedError: "Nous sommes désolés, mais nous ne pouvons pas traiter votre transaction pour le moment. Veuillez réessayer plus tard ou contacter le service client pour obtenir de l’aide. Code d’erreur 22020",
|
|
3954
|
+
OnlyOnePendingTransactionPerUserlsAllowed: "Une seule transaction en attente par utilisateur est autorisée",
|
|
3955
|
+
TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte"
|
|
3927
3956
|
}
|
|
3928
3957
|
};
|
|
3929
3958
|
function Bi(e) {
|
|
3930
3959
|
hr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
|
|
3931
3960
|
}
|
|
3932
|
-
const Ai = (e) => ({}), Et = (e) => ({}), Pi = (e) => ({}),
|
|
3961
|
+
const Ai = (e) => ({}), Et = (e) => ({}), Pi = (e) => ({}), _t = (e) => ({}), Oi = (e) => ({}), xt = (e) => ({}), Ci = (e) => ({}), Tt = (e) => ({ class: "CashierErrorIcon" });
|
|
3933
3962
|
function Ht(e) {
|
|
3934
3963
|
let t, r;
|
|
3935
3964
|
return {
|
|
3936
3965
|
c() {
|
|
3937
|
-
t =
|
|
3966
|
+
t = I("ui-image"), rt(t.src, r = `${/*assetsurl*/
|
|
3938
3967
|
e[0]}/error-general-icon.png`) || ce(t, "src", r), ce(t, "width", "300px"), ce(t, "alt", "error");
|
|
3939
3968
|
},
|
|
3940
3969
|
m(n, i) {
|
|
@@ -3946,11 +3975,11 @@ function Ht(e) {
|
|
|
3946
3975
|
n[0]}/error-general-icon.png`) && ce(t, "src", r);
|
|
3947
3976
|
},
|
|
3948
3977
|
d(n) {
|
|
3949
|
-
n &&
|
|
3978
|
+
n && N(t);
|
|
3950
3979
|
}
|
|
3951
3980
|
};
|
|
3952
3981
|
}
|
|
3953
|
-
function
|
|
3982
|
+
function Ii(e) {
|
|
3954
3983
|
let t, r = (
|
|
3955
3984
|
/*assetsurl*/
|
|
3956
3985
|
e[0] && Ht(e)
|
|
@@ -3967,7 +3996,7 @@ function Ci(e) {
|
|
|
3967
3996
|
n[0] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3968
3997
|
},
|
|
3969
3998
|
d(n) {
|
|
3970
|
-
n &&
|
|
3999
|
+
n && N(t), r && r.d(n);
|
|
3971
4000
|
}
|
|
3972
4001
|
};
|
|
3973
4002
|
}
|
|
@@ -3979,38 +4008,38 @@ function Li(e) {
|
|
|
3979
4008
|
), n;
|
|
3980
4009
|
return {
|
|
3981
4010
|
c() {
|
|
3982
|
-
t =
|
|
4011
|
+
t = I("span"), n = xe(r), G(t, "class", "CashierErrorText");
|
|
3983
4012
|
},
|
|
3984
|
-
m(i,
|
|
3985
|
-
X(i, t,
|
|
4013
|
+
m(i, o) {
|
|
4014
|
+
X(i, t, o), O(t, n);
|
|
3986
4015
|
},
|
|
3987
|
-
p(i,
|
|
3988
|
-
|
|
4016
|
+
p(i, o) {
|
|
4017
|
+
o & /*$_, errorcode*/
|
|
3989
4018
|
10 && r !== (r = /*$_*/
|
|
3990
4019
|
i[3](`${/*errorcode*/
|
|
3991
4020
|
i[1] || "errorGeneralText"}`) + "") && Pt(n, r);
|
|
3992
4021
|
},
|
|
3993
4022
|
d(i) {
|
|
3994
|
-
i &&
|
|
4023
|
+
i && N(t);
|
|
3995
4024
|
}
|
|
3996
4025
|
};
|
|
3997
4026
|
}
|
|
3998
|
-
function
|
|
4027
|
+
function Mi(e) {
|
|
3999
4028
|
let t, r, n = (
|
|
4000
4029
|
/*$_*/
|
|
4001
4030
|
e[3]("errorGeneralButton") + ""
|
|
4002
|
-
), i,
|
|
4031
|
+
), i, o, a;
|
|
4003
4032
|
return {
|
|
4004
4033
|
c() {
|
|
4005
|
-
t =
|
|
4034
|
+
t = I("button"), r = I("span"), i = xe(n), G(t, "class", "CashierErrorButton");
|
|
4006
4035
|
},
|
|
4007
4036
|
m(u, l) {
|
|
4008
|
-
X(u, t, l), O(t, r), O(r, i),
|
|
4037
|
+
X(u, t, l), O(t, r), O(r, i), o || (a = dr(
|
|
4009
4038
|
t,
|
|
4010
4039
|
"click",
|
|
4011
4040
|
/*close*/
|
|
4012
4041
|
e[4]
|
|
4013
|
-
),
|
|
4042
|
+
), o = !0);
|
|
4014
4043
|
},
|
|
4015
4044
|
p(u, l) {
|
|
4016
4045
|
l & /*$_*/
|
|
@@ -4018,12 +4047,12 @@ function Ni(e) {
|
|
|
4018
4047
|
u[3]("errorGeneralButton") + "") && Pt(i, n);
|
|
4019
4048
|
},
|
|
4020
4049
|
d(u) {
|
|
4021
|
-
u &&
|
|
4050
|
+
u && N(t), o = !1, a();
|
|
4022
4051
|
}
|
|
4023
4052
|
};
|
|
4024
4053
|
}
|
|
4025
|
-
function
|
|
4026
|
-
let t, r, n, i,
|
|
4054
|
+
function Ni(e) {
|
|
4055
|
+
let t, r, n, i, o, a;
|
|
4027
4056
|
const u = (
|
|
4028
4057
|
/*#slots*/
|
|
4029
4058
|
e[11].icon
|
|
@@ -4033,7 +4062,7 @@ function Mi(e) {
|
|
|
4033
4062
|
/*$$scope*/
|
|
4034
4063
|
e[10],
|
|
4035
4064
|
Tt
|
|
4036
|
-
), s = l ||
|
|
4065
|
+
), s = l || Ii(e), h = (
|
|
4037
4066
|
/*#slots*/
|
|
4038
4067
|
e[11].title
|
|
4039
4068
|
), f = se(
|
|
@@ -4050,52 +4079,52 @@ function Mi(e) {
|
|
|
4050
4079
|
e,
|
|
4051
4080
|
/*$$scope*/
|
|
4052
4081
|
e[10],
|
|
4053
|
-
|
|
4054
|
-
), p = d || Li(e),
|
|
4082
|
+
_t
|
|
4083
|
+
), p = d || Li(e), _ = (
|
|
4055
4084
|
/*#slots*/
|
|
4056
4085
|
e[11].button
|
|
4057
4086
|
), T = se(
|
|
4058
|
-
|
|
4087
|
+
_,
|
|
4059
4088
|
e,
|
|
4060
4089
|
/*$$scope*/
|
|
4061
4090
|
e[10],
|
|
4062
4091
|
Et
|
|
4063
|
-
), x = T ||
|
|
4092
|
+
), x = T || Mi(e);
|
|
4064
4093
|
return {
|
|
4065
4094
|
c() {
|
|
4066
|
-
t =
|
|
4095
|
+
t = I("div"), r = I("div"), s && s.c(), n = Ae(), f && f.c(), i = Ae(), p && p.c(), o = Ae(), x && x.c(), G(r, "class", "CashierErrorContent"), G(t, "class", "CashierError");
|
|
4067
4096
|
},
|
|
4068
4097
|
m(c, g) {
|
|
4069
|
-
X(c, t, g), O(t, r), s && s.m(r, null), O(r, n), f && f.m(r, null), O(r, i), p && p.m(r, null), O(r,
|
|
4098
|
+
X(c, t, g), O(t, r), s && s.m(r, null), O(r, n), f && f.m(r, null), O(r, i), p && p.m(r, null), O(r, o), x && x.m(r, null), e[12](t), a = !0;
|
|
4070
4099
|
},
|
|
4071
4100
|
p(c, [g]) {
|
|
4072
|
-
l ? l.p && (!
|
|
4101
|
+
l ? l.p && (!a || g & /*$$scope*/
|
|
4073
4102
|
1024) && le(
|
|
4074
4103
|
l,
|
|
4075
4104
|
u,
|
|
4076
4105
|
c,
|
|
4077
4106
|
/*$$scope*/
|
|
4078
4107
|
c[10],
|
|
4079
|
-
|
|
4108
|
+
a ? ue(
|
|
4080
4109
|
u,
|
|
4081
4110
|
/*$$scope*/
|
|
4082
4111
|
c[10],
|
|
4083
4112
|
g,
|
|
4084
|
-
|
|
4113
|
+
Ci
|
|
4085
4114
|
) : he(
|
|
4086
4115
|
/*$$scope*/
|
|
4087
4116
|
c[10]
|
|
4088
4117
|
),
|
|
4089
4118
|
Tt
|
|
4090
|
-
) : s && s.p && (!
|
|
4091
|
-
1) && s.p(c,
|
|
4119
|
+
) : s && s.p && (!a || g & /*assetsurl*/
|
|
4120
|
+
1) && s.p(c, a ? g : -1), f && f.p && (!a || g & /*$$scope*/
|
|
4092
4121
|
1024) && le(
|
|
4093
4122
|
f,
|
|
4094
4123
|
h,
|
|
4095
4124
|
c,
|
|
4096
4125
|
/*$$scope*/
|
|
4097
4126
|
c[10],
|
|
4098
|
-
|
|
4127
|
+
a ? ue(
|
|
4099
4128
|
h,
|
|
4100
4129
|
/*$$scope*/
|
|
4101
4130
|
c[10],
|
|
@@ -4106,14 +4135,14 @@ function Mi(e) {
|
|
|
4106
4135
|
c[10]
|
|
4107
4136
|
),
|
|
4108
4137
|
xt
|
|
4109
|
-
), d ? d.p && (!
|
|
4138
|
+
), d ? d.p && (!a || g & /*$$scope*/
|
|
4110
4139
|
1024) && le(
|
|
4111
4140
|
d,
|
|
4112
4141
|
m,
|
|
4113
4142
|
c,
|
|
4114
4143
|
/*$$scope*/
|
|
4115
4144
|
c[10],
|
|
4116
|
-
|
|
4145
|
+
a ? ue(
|
|
4117
4146
|
m,
|
|
4118
4147
|
/*$$scope*/
|
|
4119
4148
|
c[10],
|
|
@@ -4123,17 +4152,17 @@ function Mi(e) {
|
|
|
4123
4152
|
/*$$scope*/
|
|
4124
4153
|
c[10]
|
|
4125
4154
|
),
|
|
4126
|
-
|
|
4127
|
-
) : p && p.p && (!
|
|
4128
|
-
10) && p.p(c,
|
|
4155
|
+
_t
|
|
4156
|
+
) : p && p.p && (!a || g & /*$_, errorcode*/
|
|
4157
|
+
10) && p.p(c, a ? g : -1), T ? T.p && (!a || g & /*$$scope*/
|
|
4129
4158
|
1024) && le(
|
|
4130
4159
|
T,
|
|
4131
|
-
|
|
4160
|
+
_,
|
|
4132
4161
|
c,
|
|
4133
4162
|
/*$$scope*/
|
|
4134
4163
|
c[10],
|
|
4135
|
-
|
|
4136
|
-
|
|
4164
|
+
a ? ue(
|
|
4165
|
+
_,
|
|
4137
4166
|
/*$$scope*/
|
|
4138
4167
|
c[10],
|
|
4139
4168
|
g,
|
|
@@ -4143,27 +4172,27 @@ function Mi(e) {
|
|
|
4143
4172
|
c[10]
|
|
4144
4173
|
),
|
|
4145
4174
|
Et
|
|
4146
|
-
) : x && x.p && (!
|
|
4147
|
-
8) && x.p(c,
|
|
4175
|
+
) : x && x.p && (!a || g & /*$_*/
|
|
4176
|
+
8) && x.p(c, a ? g : -1);
|
|
4148
4177
|
},
|
|
4149
4178
|
i(c) {
|
|
4150
|
-
|
|
4179
|
+
a || (Z(s, c), Z(f, c), Z(p, c), Z(x, c), a = !0);
|
|
4151
4180
|
},
|
|
4152
4181
|
o(c) {
|
|
4153
|
-
fe(s, c), fe(f, c), fe(p, c), fe(x, c),
|
|
4182
|
+
fe(s, c), fe(f, c), fe(p, c), fe(x, c), a = !1;
|
|
4154
4183
|
},
|
|
4155
4184
|
d(c) {
|
|
4156
|
-
c &&
|
|
4185
|
+
c && N(t), s && s.d(c), f && f.d(c), p && p.d(c), x && x.d(c), e[12](null);
|
|
4157
4186
|
}
|
|
4158
4187
|
};
|
|
4159
4188
|
}
|
|
4160
|
-
function
|
|
4189
|
+
function Ri(e, t, r) {
|
|
4161
4190
|
let n;
|
|
4162
4191
|
lr(e, wi, (c) => r(3, n = c));
|
|
4163
|
-
let { $$slots: i = {}, $$scope:
|
|
4192
|
+
let { $$slots: i = {}, $$scope: o } = t, { assetsurl: a = "" } = t, { lang: u = "en" } = t, { errorcode: l = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m = "" } = t, d;
|
|
4164
4193
|
const p = () => {
|
|
4165
4194
|
Si(u);
|
|
4166
|
-
},
|
|
4195
|
+
}, _ = () => {
|
|
4167
4196
|
fetch(f).then((g) => g.json()).then((g) => {
|
|
4168
4197
|
Object.keys(g).forEach((P) => {
|
|
4169
4198
|
yt(P, g[P]);
|
|
@@ -4172,8 +4201,8 @@ function $i(e, t, r) {
|
|
|
4172
4201
|
console.error(g);
|
|
4173
4202
|
});
|
|
4174
4203
|
};
|
|
4175
|
-
Object.keys(
|
|
4176
|
-
yt(c,
|
|
4204
|
+
Object.keys(vt).forEach((c) => {
|
|
4205
|
+
yt(c, vt[c]);
|
|
4177
4206
|
});
|
|
4178
4207
|
const T = () => {
|
|
4179
4208
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
@@ -4181,21 +4210,21 @@ function $i(e, t, r) {
|
|
|
4181
4210
|
yr(() => () => {
|
|
4182
4211
|
});
|
|
4183
4212
|
function x(c) {
|
|
4184
|
-
|
|
4213
|
+
Re[c ? "unshift" : "push"](() => {
|
|
4185
4214
|
d = c, r(2, d);
|
|
4186
4215
|
});
|
|
4187
4216
|
}
|
|
4188
4217
|
return e.$$set = (c) => {
|
|
4189
|
-
"assetsurl" in c && r(0,
|
|
4218
|
+
"assetsurl" in c && r(0, a = c.assetsurl), "lang" in c && r(5, u = c.lang), "errorcode" in c && r(1, l = c.errorcode), "clientstyling" in c && r(6, s = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "translationurl" in c && r(8, f = c.translationurl), "mbsource" in c && r(9, m = c.mbsource), "$$scope" in c && r(10, o = c.$$scope);
|
|
4190
4219
|
}, e.$$.update = () => {
|
|
4191
4220
|
e.$$.dirty & /*lang*/
|
|
4192
4221
|
32 && u && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4193
|
-
68 && s && d &&
|
|
4194
|
-
132 && h && d &&
|
|
4222
|
+
68 && s && d && Cr(d, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4223
|
+
132 && h && d && Ir(d, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4195
4224
|
516 && m && d && Lr(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
|
|
4196
|
-
256 && f &&
|
|
4225
|
+
256 && f && _();
|
|
4197
4226
|
}, [
|
|
4198
|
-
|
|
4227
|
+
a,
|
|
4199
4228
|
l,
|
|
4200
4229
|
d,
|
|
4201
4230
|
n,
|
|
@@ -4205,18 +4234,18 @@ function $i(e, t, r) {
|
|
|
4205
4234
|
h,
|
|
4206
4235
|
f,
|
|
4207
4236
|
m,
|
|
4208
|
-
|
|
4237
|
+
o,
|
|
4209
4238
|
i,
|
|
4210
4239
|
x
|
|
4211
4240
|
];
|
|
4212
4241
|
}
|
|
4213
|
-
class
|
|
4242
|
+
class $i extends Pr {
|
|
4214
4243
|
constructor(t) {
|
|
4215
4244
|
super(), Br(
|
|
4216
4245
|
this,
|
|
4217
4246
|
t,
|
|
4218
|
-
|
|
4219
|
-
|
|
4247
|
+
Ri,
|
|
4248
|
+
Ni,
|
|
4220
4249
|
St,
|
|
4221
4250
|
{
|
|
4222
4251
|
assetsurl: 0,
|
|
@@ -4273,7 +4302,7 @@ class Ri extends Pr {
|
|
|
4273
4302
|
this.$$set({ mbsource: t }), B();
|
|
4274
4303
|
}
|
|
4275
4304
|
}
|
|
4276
|
-
Ar(
|
|
4305
|
+
Ar($i, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
4277
4306
|
export {
|
|
4278
|
-
|
|
4307
|
+
$i as default
|
|
4279
4308
|
};
|