@everymatrix/cashier-receipt-page 1.87.13 → 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-1h-wt_iz.js → CashierError-C9JlGiLC.js} +249 -220
- package/components/{CashierError-C5IUtRtH.js → CashierError-DOzmJhxh.js} +288 -259
- package/components/{CashierError-BNUjtRpv.cjs → CashierError-Sfo_uA5-.cjs} +5 -5
- package/components/{CashierReceiptPage-Mdoal_PB.js → CashierReceiptPage-BFBo0bct.js} +374 -282
- package/components/{CashierReceiptPage-CADn1iPR.js → CashierReceiptPage-BxAkkmXW.js} +506 -414
- package/components/{CashierReceiptPage-D-QuV15O.cjs → CashierReceiptPage-CBcUrH4m.cjs} +4 -4
- package/es2015/cashier-receipt-page.cjs +1 -1
- package/es2015/cashier-receipt-page.js +1 -1
- package/esnext/cashier-receipt-page.js +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Er = Object.defineProperty, xr = Object.defineProperties;
|
|
2
2
|
var Tr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var at = Object.getOwnPropertySymbols;
|
|
4
4
|
var Hr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var Ne = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
Hr.call(t, r) &&
|
|
7
|
+
Hr.call(t, r) && Ne(e, r, t[r]);
|
|
8
8
|
if (at)
|
|
9
9
|
for (var r of at(t))
|
|
10
|
-
wr.call(t, r) &&
|
|
10
|
+
wr.call(t, r) && Ne(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, ut = (e, t) => xr(e, Tr(t));
|
|
13
|
-
var w = (e, t, r) => (
|
|
13
|
+
var w = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var lt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
@@ -30,7 +30,7 @@ var lt = (e, t, r) => new Promise((n, i) => {
|
|
|
30
30
|
import "../stencil/ui-image-CP8Lp7fB.js";
|
|
31
31
|
function S() {
|
|
32
32
|
}
|
|
33
|
-
const
|
|
33
|
+
const Mt = (e) => e;
|
|
34
34
|
function Sr(e, t) {
|
|
35
35
|
for (const r in t)
|
|
36
36
|
e[r] = t[r];
|
|
@@ -39,14 +39,14 @@ function Sr(e, t) {
|
|
|
39
39
|
e
|
|
40
40
|
);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Nt(e) {
|
|
43
43
|
return e();
|
|
44
44
|
}
|
|
45
45
|
function ht() {
|
|
46
46
|
return /* @__PURE__ */ Object.create(null);
|
|
47
47
|
}
|
|
48
48
|
function R(e) {
|
|
49
|
-
e.forEach(
|
|
49
|
+
e.forEach(Nt);
|
|
50
50
|
}
|
|
51
51
|
function oe(e) {
|
|
52
52
|
return typeof e == "function";
|
|
@@ -58,7 +58,7 @@ let ce;
|
|
|
58
58
|
function ct(e, t) {
|
|
59
59
|
return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function Ar(e) {
|
|
62
62
|
return Object.keys(e).length === 0;
|
|
63
63
|
}
|
|
64
64
|
function Rt(e, ...t) {
|
|
@@ -70,7 +70,7 @@ function Rt(e, ...t) {
|
|
|
70
70
|
const r = e.subscribe(...t);
|
|
71
71
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function Br(e, t, r) {
|
|
74
74
|
e.$$.on_destroy.push(Rt(t, r));
|
|
75
75
|
}
|
|
76
76
|
function fe(e, t, r, n) {
|
|
@@ -138,7 +138,7 @@ function Pr(e, t, r) {
|
|
|
138
138
|
const n = rt(e);
|
|
139
139
|
if (!n.getElementById(t)) {
|
|
140
140
|
const i = O("style");
|
|
141
|
-
i.id = t, i.textContent = r,
|
|
141
|
+
i.id = t, i.textContent = r, zt(n, i);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
function rt(e) {
|
|
@@ -153,9 +153,9 @@ function rt(e) {
|
|
|
153
153
|
}
|
|
154
154
|
function Or(e) {
|
|
155
155
|
const t = O("style");
|
|
156
|
-
return t.textContent = "/* empty */",
|
|
156
|
+
return t.textContent = "/* empty */", zt(rt(e), t), t.sheet;
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function zt(e, t) {
|
|
159
159
|
return C(
|
|
160
160
|
/** @type {Document} */
|
|
161
161
|
e.head || e,
|
|
@@ -165,7 +165,7 @@ function jt(e, t) {
|
|
|
165
165
|
function J(e, t, r) {
|
|
166
166
|
e.insertBefore(t, r || null);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function M(e) {
|
|
169
169
|
e.parentNode && e.parentNode.removeChild(e);
|
|
170
170
|
}
|
|
171
171
|
function as(e, t) {
|
|
@@ -190,24 +190,24 @@ function Cr() {
|
|
|
190
190
|
function Ir(e, t, r, n) {
|
|
191
191
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function j(e, t, r) {
|
|
194
194
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
195
195
|
}
|
|
196
196
|
function ge(e, t, r) {
|
|
197
197
|
const n = t.toLowerCase();
|
|
198
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
198
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
|
|
199
199
|
}
|
|
200
200
|
function Lr(e) {
|
|
201
201
|
return Array.from(e.childNodes);
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function jt(e, t) {
|
|
204
204
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
205
205
|
t);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Mr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
208
208
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Nr(e) {
|
|
211
211
|
const t = {};
|
|
212
212
|
return e.childNodes.forEach(
|
|
213
213
|
/** @param {Element} node */
|
|
@@ -232,18 +232,18 @@ function Vt(e, t, r, n, i, s, a, o = 0) {
|
|
|
232
232
|
const h = 16.666 / n;
|
|
233
233
|
let u = `{
|
|
234
234
|
`;
|
|
235
|
-
for (let
|
|
236
|
-
const
|
|
237
|
-
u +=
|
|
235
|
+
for (let E = 0; E <= 1; E += h) {
|
|
236
|
+
const _ = t + (r - t) * s(E);
|
|
237
|
+
u += E * 100 + `%{${a(_, 1 - _)}}
|
|
238
238
|
`;
|
|
239
239
|
}
|
|
240
240
|
const l = u + `100% {${a(r, 1 - r)}}
|
|
241
241
|
}`, c = `__svelte_${$r(l)}_${o}`, m = rt(e), { stylesheet: d, rules: p } = Te.get(m) || Rr(m, e);
|
|
242
242
|
p[c] || (p[c] = !0, d.insertRule(`@keyframes ${c} ${l}`, d.cssRules.length));
|
|
243
|
-
const
|
|
244
|
-
return e.style.animation = `${
|
|
243
|
+
const v = e.style.animation || "";
|
|
244
|
+
return e.style.animation = `${v ? `${v}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, He += 1, c;
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function je(e, t) {
|
|
247
247
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
248
248
|
t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
249
249
|
// remove all Svelte animations
|
|
@@ -254,7 +254,7 @@ function Dr() {
|
|
|
254
254
|
tt(() => {
|
|
255
255
|
He || (Te.forEach((e) => {
|
|
256
256
|
const { ownerNode: t } = e.stylesheet;
|
|
257
|
-
t &&
|
|
257
|
+
t && M(t);
|
|
258
258
|
}), Te.clear());
|
|
259
259
|
});
|
|
260
260
|
}
|
|
@@ -271,14 +271,14 @@ function kr(e) {
|
|
|
271
271
|
Ur().$$.on_mount.push(e);
|
|
272
272
|
}
|
|
273
273
|
const G = [], Ve = [];
|
|
274
|
-
let
|
|
274
|
+
let z = [];
|
|
275
275
|
const ft = [], Gr = /* @__PURE__ */ Promise.resolve();
|
|
276
276
|
let Xe = !1;
|
|
277
277
|
function Fr() {
|
|
278
278
|
Xe || (Xe = !0, Gr.then(P));
|
|
279
279
|
}
|
|
280
280
|
function ie(e) {
|
|
281
|
-
|
|
281
|
+
z.push(e);
|
|
282
282
|
}
|
|
283
283
|
const Re = /* @__PURE__ */ new Set();
|
|
284
284
|
let U = 0;
|
|
@@ -290,33 +290,33 @@ function P() {
|
|
|
290
290
|
try {
|
|
291
291
|
for (; U < G.length; ) {
|
|
292
292
|
const t = G[U];
|
|
293
|
-
U++, re(t),
|
|
293
|
+
U++, re(t), zr(t.$$);
|
|
294
294
|
}
|
|
295
295
|
} catch (t) {
|
|
296
296
|
throw G.length = 0, U = 0, t;
|
|
297
297
|
}
|
|
298
298
|
for (re(null), G.length = 0, U = 0; Ve.length; )
|
|
299
299
|
Ve.pop()();
|
|
300
|
-
for (let t = 0; t <
|
|
301
|
-
const r =
|
|
300
|
+
for (let t = 0; t < z.length; t += 1) {
|
|
301
|
+
const r = z[t];
|
|
302
302
|
Re.has(r) || (Re.add(r), r());
|
|
303
303
|
}
|
|
304
|
-
|
|
304
|
+
z.length = 0;
|
|
305
305
|
} while (G.length);
|
|
306
306
|
for (; ft.length; )
|
|
307
307
|
ft.pop()();
|
|
308
308
|
Xe = !1, Re.clear(), re(e);
|
|
309
309
|
}
|
|
310
|
-
function
|
|
310
|
+
function zr(e) {
|
|
311
311
|
if (e.fragment !== null) {
|
|
312
312
|
e.update(), R(e.before_update);
|
|
313
313
|
const t = e.dirty;
|
|
314
314
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ie);
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function jr(e) {
|
|
318
318
|
const t = [], r = [];
|
|
319
|
-
|
|
319
|
+
z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
|
|
320
320
|
}
|
|
321
321
|
let Y;
|
|
322
322
|
function Xt() {
|
|
@@ -325,9 +325,9 @@ function Xt() {
|
|
|
325
325
|
})), Y;
|
|
326
326
|
}
|
|
327
327
|
function we(e, t, r) {
|
|
328
|
-
e.dispatchEvent(
|
|
328
|
+
e.dispatchEvent(Mr(`${t ? "intro" : "outro"}${r}`));
|
|
329
329
|
}
|
|
330
|
-
const
|
|
330
|
+
const ve = /* @__PURE__ */ new Set();
|
|
331
331
|
let I;
|
|
332
332
|
function us() {
|
|
333
333
|
I = {
|
|
@@ -341,14 +341,14 @@ function ls() {
|
|
|
341
341
|
I.r || R(I.c), I = I.p;
|
|
342
342
|
}
|
|
343
343
|
function ee(e, t) {
|
|
344
|
-
e && e.i && (
|
|
344
|
+
e && e.i && (ve.delete(e), e.i(t));
|
|
345
345
|
}
|
|
346
346
|
function be(e, t, r, n) {
|
|
347
347
|
if (e && e.o) {
|
|
348
|
-
if (
|
|
348
|
+
if (ve.has(e))
|
|
349
349
|
return;
|
|
350
|
-
|
|
351
|
-
|
|
350
|
+
ve.add(e), I.c.push(() => {
|
|
351
|
+
ve.delete(e), n && (r && e.d(1), n());
|
|
352
352
|
}), e.o(t);
|
|
353
353
|
} else
|
|
354
354
|
n && n();
|
|
@@ -358,25 +358,25 @@ function hs(e, t, r) {
|
|
|
358
358
|
const n = { direction: "in" };
|
|
359
359
|
let i = t(e, r, n), s = !1, a, o, h = 0;
|
|
360
360
|
function u() {
|
|
361
|
-
a &&
|
|
361
|
+
a && je(e, a);
|
|
362
362
|
}
|
|
363
363
|
function l() {
|
|
364
364
|
const {
|
|
365
365
|
delay: m = 0,
|
|
366
366
|
duration: d = 300,
|
|
367
|
-
easing: p =
|
|
368
|
-
tick:
|
|
369
|
-
css:
|
|
367
|
+
easing: p = Mt,
|
|
368
|
+
tick: v = S,
|
|
369
|
+
css: E
|
|
370
370
|
} = i || Wt;
|
|
371
|
-
|
|
372
|
-
const
|
|
371
|
+
E && (a = Vt(e, 0, 1, d, m, p, E, h++)), v(0, 1);
|
|
372
|
+
const _ = kt() + m, f = _ + d;
|
|
373
373
|
o && o.abort(), s = !0, ie(() => we(e, !0, "start")), o = Ft((g) => {
|
|
374
374
|
if (s) {
|
|
375
375
|
if (g >= f)
|
|
376
|
-
return
|
|
377
|
-
if (g >=
|
|
378
|
-
const
|
|
379
|
-
|
|
376
|
+
return v(1, 0), we(e, !0, "end"), u(), s = !1;
|
|
377
|
+
if (g >= _) {
|
|
378
|
+
const A = p((g - _) / d);
|
|
379
|
+
v(A, 1 - A);
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
return s;
|
|
@@ -385,7 +385,7 @@ function hs(e, t, r) {
|
|
|
385
385
|
let c = !1;
|
|
386
386
|
return {
|
|
387
387
|
start() {
|
|
388
|
-
c || (c = !0,
|
|
388
|
+
c || (c = !0, je(e), oe(i) ? (i = i(n), Xt().then(l)) : l());
|
|
389
389
|
},
|
|
390
390
|
invalidate() {
|
|
391
391
|
c = !1;
|
|
@@ -405,19 +405,19 @@ function cs(e, t, r) {
|
|
|
405
405
|
const {
|
|
406
406
|
delay: l = 0,
|
|
407
407
|
duration: c = 300,
|
|
408
|
-
easing: m =
|
|
408
|
+
easing: m = Mt,
|
|
409
409
|
tick: d = S,
|
|
410
410
|
css: p
|
|
411
411
|
} = i || Wt;
|
|
412
412
|
p && (a = Vt(e, 1, 0, c, l, m, p));
|
|
413
|
-
const
|
|
413
|
+
const v = kt() + l, E = v + c;
|
|
414
414
|
ie(() => we(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
|
|
415
|
-
e.inert, e.inert = !0), Ft((
|
|
415
|
+
e.inert, e.inert = !0), Ft((_) => {
|
|
416
416
|
if (s) {
|
|
417
|
-
if (
|
|
417
|
+
if (_ >= E)
|
|
418
418
|
return d(0, 1), we(e, !1, "end"), --o.r || R(o.c), !1;
|
|
419
|
-
if (
|
|
420
|
-
const f = m((
|
|
419
|
+
if (_ >= v) {
|
|
420
|
+
const f = m((_ - v) / c);
|
|
421
421
|
d(1 - f, f);
|
|
422
422
|
}
|
|
423
423
|
}
|
|
@@ -428,7 +428,7 @@ function cs(e, t, r) {
|
|
|
428
428
|
i = i(n), u();
|
|
429
429
|
}) : u(), {
|
|
430
430
|
end(l) {
|
|
431
|
-
l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (a &&
|
|
431
|
+
l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (a && je(e, a), s = !1);
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
}
|
|
@@ -438,18 +438,18 @@ function fs(e) {
|
|
|
438
438
|
function Vr(e, t, r) {
|
|
439
439
|
const { fragment: n, after_update: i } = e.$$;
|
|
440
440
|
n && n.m(t, r), ie(() => {
|
|
441
|
-
const s = e.$$.on_mount.map(
|
|
441
|
+
const s = e.$$.on_mount.map(Nt).filter(oe);
|
|
442
442
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : R(s), e.$$.on_mount = [];
|
|
443
443
|
}), i.forEach(ie);
|
|
444
444
|
}
|
|
445
445
|
function Xr(e, t) {
|
|
446
446
|
const r = e.$$;
|
|
447
|
-
r.fragment !== null && (
|
|
447
|
+
r.fragment !== null && (jr(r.after_update), R(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
448
448
|
}
|
|
449
449
|
function Wr(e, t) {
|
|
450
450
|
e.$$.dirty[0] === -1 && (G.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function qr(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
453
453
|
const h = ne;
|
|
454
454
|
re(e);
|
|
455
455
|
const u = e.$$ = {
|
|
@@ -481,15 +481,15 @@ function Zr(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
481
481
|
}) : [], u.update(), l = !0, R(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
482
482
|
if (t.hydrate) {
|
|
483
483
|
const c = Lr(t.target);
|
|
484
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
484
|
+
u.fragment && u.fragment.l(c), c.forEach(M);
|
|
485
485
|
} else
|
|
486
486
|
u.fragment && u.fragment.c();
|
|
487
487
|
t.intro && ee(e.$$.fragment), Vr(e, t.target, t.anchor), P();
|
|
488
488
|
}
|
|
489
489
|
re(h);
|
|
490
490
|
}
|
|
491
|
-
let
|
|
492
|
-
typeof HTMLElement == "function" && (
|
|
491
|
+
let qt;
|
|
492
|
+
typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
493
493
|
constructor(t, r, n) {
|
|
494
494
|
super();
|
|
495
495
|
/** The Svelte component constructor */
|
|
@@ -533,7 +533,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
533
533
|
let a;
|
|
534
534
|
return {
|
|
535
535
|
c: function() {
|
|
536
|
-
a = O("slot"), s !== "default" &&
|
|
536
|
+
a = O("slot"), s !== "default" && j(a, "name", s);
|
|
537
537
|
},
|
|
538
538
|
/**
|
|
539
539
|
* @param {HTMLElement} target
|
|
@@ -543,19 +543,19 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
543
543
|
J(u, a, l);
|
|
544
544
|
},
|
|
545
545
|
d: function(u) {
|
|
546
|
-
u &&
|
|
546
|
+
u && M(a);
|
|
547
547
|
}
|
|
548
548
|
};
|
|
549
549
|
};
|
|
550
550
|
};
|
|
551
551
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
552
552
|
return;
|
|
553
|
-
const r = {}, n =
|
|
553
|
+
const r = {}, n = Nr(this);
|
|
554
554
|
for (const s of this.$$s)
|
|
555
555
|
s in n && (r[s] = [t(s)]);
|
|
556
556
|
for (const s of this.attributes) {
|
|
557
557
|
const a = this.$$g_p(s.name);
|
|
558
|
-
a in this.$$d || (this.$$d[a] =
|
|
558
|
+
a in this.$$d || (this.$$d[a] = _e(a, s.value, this.$$p_d, "toProp"));
|
|
559
559
|
}
|
|
560
560
|
for (const s in this.$$p_d)
|
|
561
561
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
@@ -572,7 +572,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
572
572
|
this.$$r = !0;
|
|
573
573
|
for (const s in this.$$p_d)
|
|
574
574
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
575
|
-
const a =
|
|
575
|
+
const a = _e(
|
|
576
576
|
s,
|
|
577
577
|
this.$$d[s],
|
|
578
578
|
this.$$p_d,
|
|
@@ -596,7 +596,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
596
596
|
// and setting attributes through setAttribute etc, this is helpful
|
|
597
597
|
attributeChangedCallback(t, r, n) {
|
|
598
598
|
var i;
|
|
599
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
599
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
600
600
|
}
|
|
601
601
|
disconnectedCallback() {
|
|
602
602
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -609,7 +609,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
609
609
|
) || t;
|
|
610
610
|
}
|
|
611
611
|
});
|
|
612
|
-
function
|
|
612
|
+
function _e(e, t, r, n) {
|
|
613
613
|
var s;
|
|
614
614
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
615
615
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -640,7 +640,7 @@ function Ee(e, t, r, n) {
|
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
642
|
function Jr(e, t, r, n, i, s) {
|
|
643
|
-
let a = class extends
|
|
643
|
+
let a = class extends qt {
|
|
644
644
|
constructor() {
|
|
645
645
|
super(e, r, i), this.$$p_d = t;
|
|
646
646
|
}
|
|
@@ -657,7 +657,7 @@ function Jr(e, t, r, n, i, s) {
|
|
|
657
657
|
},
|
|
658
658
|
set(h) {
|
|
659
659
|
var u;
|
|
660
|
-
h =
|
|
660
|
+
h = _e(o, h, t), this.$$d[o] = h, (u = this.$$c) == null || u.$set({ [o]: h });
|
|
661
661
|
}
|
|
662
662
|
});
|
|
663
663
|
}), n.forEach((o) => {
|
|
@@ -670,7 +670,7 @@ function Jr(e, t, r, n, i, s) {
|
|
|
670
670
|
}), e.element = /** @type {any} */
|
|
671
671
|
a, a;
|
|
672
672
|
}
|
|
673
|
-
class
|
|
673
|
+
class Zr {
|
|
674
674
|
constructor() {
|
|
675
675
|
/**
|
|
676
676
|
* ### PRIVATE API
|
|
@@ -713,7 +713,7 @@ class qr {
|
|
|
713
713
|
* @returns {void}
|
|
714
714
|
*/
|
|
715
715
|
$set(t) {
|
|
716
|
-
this.$$set && !
|
|
716
|
+
this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
719
|
const Qr = "4";
|
|
@@ -750,7 +750,7 @@ function Ce(e, t = S) {
|
|
|
750
750
|
}
|
|
751
751
|
return { set: i, update: s, subscribe: a };
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function Z(e, t, r) {
|
|
754
754
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
755
755
|
if (!i.every(Boolean))
|
|
756
756
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -766,13 +766,13 @@ function q(e, t, r) {
|
|
|
766
766
|
const p = t(n ? u[0] : u, a, o);
|
|
767
767
|
s ? a(p) : c = oe(p) ? p : S;
|
|
768
768
|
}, d = i.map(
|
|
769
|
-
(p,
|
|
769
|
+
(p, v) => Rt(
|
|
770
770
|
p,
|
|
771
|
-
(
|
|
772
|
-
u[
|
|
771
|
+
(E) => {
|
|
772
|
+
u[v] = E, l &= ~(1 << v), h && m();
|
|
773
773
|
},
|
|
774
774
|
() => {
|
|
775
|
-
l |= 1 <<
|
|
775
|
+
l |= 1 << v;
|
|
776
776
|
}
|
|
777
777
|
)
|
|
778
778
|
);
|
|
@@ -873,15 +873,15 @@ function Ie(e, t) {
|
|
|
873
873
|
}
|
|
874
874
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
875
875
|
}
|
|
876
|
-
var
|
|
877
|
-
return
|
|
876
|
+
var B = function() {
|
|
877
|
+
return B = Object.assign || function(t) {
|
|
878
878
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
879
879
|
r = arguments[n];
|
|
880
880
|
for (var s in r)
|
|
881
881
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
882
882
|
}
|
|
883
883
|
return t;
|
|
884
|
-
},
|
|
884
|
+
}, B.apply(this, arguments);
|
|
885
885
|
};
|
|
886
886
|
function gn(e, t) {
|
|
887
887
|
var r = {};
|
|
@@ -899,7 +899,7 @@ function De(e, t, r) {
|
|
|
899
899
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
900
900
|
}
|
|
901
901
|
function Ue(e, t) {
|
|
902
|
-
var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer :
|
|
902
|
+
var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : vn;
|
|
903
903
|
return i(e, {
|
|
904
904
|
cache: r,
|
|
905
905
|
serializer: n
|
|
@@ -912,21 +912,21 @@ function yn(e, t, r, n) {
|
|
|
912
912
|
var i = bn(n) ? n : r(n), s = t.get(i);
|
|
913
913
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
914
914
|
}
|
|
915
|
-
function
|
|
915
|
+
function Zt(e, t, r) {
|
|
916
916
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
917
917
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
918
918
|
}
|
|
919
919
|
function Qt(e, t, r, n, i) {
|
|
920
920
|
return r.bind(t, e, n, i);
|
|
921
921
|
}
|
|
922
|
-
function
|
|
923
|
-
var r = e.length === 1 ? yn :
|
|
922
|
+
function vn(e, t) {
|
|
923
|
+
var r = e.length === 1 ? yn : Zt;
|
|
924
924
|
return Qt(e, this, r, t.cache.create(), t.serializer);
|
|
925
925
|
}
|
|
926
|
-
function
|
|
927
|
-
return Qt(e, this,
|
|
926
|
+
function _n(e, t) {
|
|
927
|
+
return Qt(e, this, Zt, t.cache.create(), t.serializer);
|
|
928
928
|
}
|
|
929
|
-
var
|
|
929
|
+
var En = function() {
|
|
930
930
|
return JSON.stringify(arguments);
|
|
931
931
|
}, xn = (
|
|
932
932
|
/** @class */
|
|
@@ -945,7 +945,7 @@ var vn = function() {
|
|
|
945
945
|
return new xn();
|
|
946
946
|
}
|
|
947
947
|
}, ke = {
|
|
948
|
-
variadic:
|
|
948
|
+
variadic: _n
|
|
949
949
|
}, Se = function() {
|
|
950
950
|
return Se = Object.assign || function(t) {
|
|
951
951
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
@@ -998,11 +998,11 @@ function nr(e) {
|
|
|
998
998
|
function ir(e) {
|
|
999
999
|
return !!(e && typeof e == "object" && e.type === X.number);
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1001
|
+
function qe(e) {
|
|
1002
1002
|
return !!(e && typeof e == "object" && e.type === X.dateTime);
|
|
1003
1003
|
}
|
|
1004
1004
|
var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
|
|
1005
|
-
function
|
|
1005
|
+
function An(e) {
|
|
1006
1006
|
var t = {};
|
|
1007
1007
|
return e.replace(Sn, function(r) {
|
|
1008
1008
|
var n = r.length;
|
|
@@ -1103,11 +1103,11 @@ var T = function() {
|
|
|
1103
1103
|
return t;
|
|
1104
1104
|
}, T.apply(this, arguments);
|
|
1105
1105
|
};
|
|
1106
|
-
var
|
|
1106
|
+
var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1107
1107
|
function Pn(e) {
|
|
1108
1108
|
if (e.length === 0)
|
|
1109
1109
|
throw new Error("Number skeleton cannot be empty");
|
|
1110
|
-
for (var t = e.split(
|
|
1110
|
+
for (var t = e.split(Bn).filter(function(m) {
|
|
1111
1111
|
return m.length > 0;
|
|
1112
1112
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1113
1113
|
var s = i[n], a = s.split("/");
|
|
@@ -2729,13 +2729,13 @@ var ye = {
|
|
|
2729
2729
|
"h"
|
|
2730
2730
|
]
|
|
2731
2731
|
};
|
|
2732
|
-
function
|
|
2732
|
+
function Mn(e, t) {
|
|
2733
2733
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2734
2734
|
var i = e.charAt(n);
|
|
2735
2735
|
if (i === "j") {
|
|
2736
2736
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2737
2737
|
s++, n++;
|
|
2738
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
|
2738
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Nn(t);
|
|
2739
2739
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2740
2740
|
r += h;
|
|
2741
2741
|
for (; a-- > 0; )
|
|
@@ -2745,7 +2745,7 @@ function Nn(e, t) {
|
|
|
2745
2745
|
}
|
|
2746
2746
|
return r;
|
|
2747
2747
|
}
|
|
2748
|
-
function
|
|
2748
|
+
function Nn(e) {
|
|
2749
2749
|
var t = e.hourCycle;
|
|
2750
2750
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2751
2751
|
e.hourCycles && // @ts-ignore
|
|
@@ -2771,7 +2771,7 @@ var Ge, $n = new RegExp("^".concat(sr.source, "*")), Rn = new RegExp("".concat(s
|
|
|
2771
2771
|
function y(e, t) {
|
|
2772
2772
|
return { start: e, end: t };
|
|
2773
2773
|
}
|
|
2774
|
-
var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, kn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart,
|
|
2774
|
+
var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, kn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, Vn = jn ? Number.isSafeInteger : function(e) {
|
|
2775
2775
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2776
2776
|
}, Je = !0;
|
|
2777
2777
|
try {
|
|
@@ -2790,7 +2790,7 @@ var yt = Dn ? (
|
|
|
2790
2790
|
function(t, r, n) {
|
|
2791
2791
|
return t.slice(n, n + r.length) === r;
|
|
2792
2792
|
}
|
|
2793
|
-
),
|
|
2793
|
+
), Ze = Un ? String.fromCodePoint : (
|
|
2794
2794
|
// IE11
|
|
2795
2795
|
function() {
|
|
2796
2796
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2802,7 +2802,7 @@ var yt = Dn ? (
|
|
|
2802
2802
|
}
|
|
2803
2803
|
return n;
|
|
2804
2804
|
}
|
|
2805
|
-
),
|
|
2805
|
+
), vt = (
|
|
2806
2806
|
// native
|
|
2807
2807
|
kn ? Object.fromEntries : (
|
|
2808
2808
|
// Ponyfill
|
|
@@ -2838,7 +2838,7 @@ var yt = Dn ? (
|
|
|
2838
2838
|
function(t) {
|
|
2839
2839
|
return t.replace($n, "");
|
|
2840
2840
|
}
|
|
2841
|
-
),
|
|
2841
|
+
), qn = zn ? (
|
|
2842
2842
|
// Native
|
|
2843
2843
|
function(t) {
|
|
2844
2844
|
return t.trimEnd();
|
|
@@ -2854,11 +2854,11 @@ function hr(e, t) {
|
|
|
2854
2854
|
}
|
|
2855
2855
|
var Qe;
|
|
2856
2856
|
if (Je) {
|
|
2857
|
-
var
|
|
2857
|
+
var _t = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2858
2858
|
Qe = function(t, r) {
|
|
2859
2859
|
var n;
|
|
2860
|
-
|
|
2861
|
-
var i =
|
|
2860
|
+
_t.lastIndex = r;
|
|
2861
|
+
var i = _t.exec(t);
|
|
2862
2862
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2863
2863
|
};
|
|
2864
2864
|
} else
|
|
@@ -2869,7 +2869,7 @@ if (Je) {
|
|
|
2869
2869
|
break;
|
|
2870
2870
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2871
2871
|
}
|
|
2872
|
-
return
|
|
2872
|
+
return Ze.apply(void 0, n);
|
|
2873
2873
|
};
|
|
2874
2874
|
var Jn = (
|
|
2875
2875
|
/** @class */
|
|
@@ -2982,7 +2982,7 @@ var Jn = (
|
|
|
2982
2982
|
};
|
|
2983
2983
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2984
2984
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2985
|
-
!
|
|
2985
|
+
!Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2986
2986
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2987
2987
|
if (this.isEOF() || this.char() !== 39)
|
|
2988
2988
|
return null;
|
|
@@ -3016,12 +3016,12 @@ var Jn = (
|
|
|
3016
3016
|
r.push(n);
|
|
3017
3017
|
this.bump();
|
|
3018
3018
|
}
|
|
3019
|
-
return
|
|
3019
|
+
return Ze.apply(void 0, r);
|
|
3020
3020
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3021
3021
|
if (this.isEOF())
|
|
3022
3022
|
return null;
|
|
3023
3023
|
var n = this.char();
|
|
3024
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3024
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
|
|
3025
3025
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3026
3026
|
var n = this.clonePosition();
|
|
3027
3027
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3069,7 +3069,7 @@ var Jn = (
|
|
|
3069
3069
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3070
3070
|
if (c.err)
|
|
3071
3071
|
return c;
|
|
3072
|
-
var m =
|
|
3072
|
+
var m = qn(c.val);
|
|
3073
3073
|
if (m.length === 0)
|
|
3074
3074
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3075
3075
|
var d = y(l, this.clonePosition());
|
|
@@ -3078,28 +3078,28 @@ var Jn = (
|
|
|
3078
3078
|
var p = this.tryParseArgumentClose(i);
|
|
3079
3079
|
if (p.err)
|
|
3080
3080
|
return p;
|
|
3081
|
-
var
|
|
3081
|
+
var v = y(i, this.clonePosition());
|
|
3082
3082
|
if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3083
|
-
var
|
|
3083
|
+
var E = Wn(u.style.slice(2));
|
|
3084
3084
|
if (o === "number") {
|
|
3085
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3085
|
+
var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
|
|
3086
3086
|
return c.err ? c : {
|
|
3087
|
-
val: { type: x.number, value: n, location:
|
|
3087
|
+
val: { type: x.number, value: n, location: v, style: c.val },
|
|
3088
3088
|
err: null
|
|
3089
3089
|
};
|
|
3090
3090
|
} else {
|
|
3091
|
-
if (
|
|
3092
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
3093
|
-
var
|
|
3094
|
-
this.locale && (
|
|
3091
|
+
if (E.length === 0)
|
|
3092
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, v);
|
|
3093
|
+
var _ = E;
|
|
3094
|
+
this.locale && (_ = Mn(E, this.locale));
|
|
3095
3095
|
var m = {
|
|
3096
3096
|
type: X.dateTime,
|
|
3097
|
-
pattern:
|
|
3097
|
+
pattern: _,
|
|
3098
3098
|
location: u.styleLocation,
|
|
3099
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3099
|
+
parsedOptions: this.shouldParseSkeletons ? An(_) : {}
|
|
3100
3100
|
}, f = o === "date" ? x.date : x.time;
|
|
3101
3101
|
return {
|
|
3102
|
-
val: { type: f, value: n, location:
|
|
3102
|
+
val: { type: f, value: n, location: v, style: m },
|
|
3103
3103
|
err: null
|
|
3104
3104
|
};
|
|
3105
3105
|
}
|
|
@@ -3108,7 +3108,7 @@ var Jn = (
|
|
|
3108
3108
|
val: {
|
|
3109
3109
|
type: o === "number" ? x.number : o === "date" ? x.date : x.time,
|
|
3110
3110
|
value: n,
|
|
3111
|
-
location:
|
|
3111
|
+
location: v,
|
|
3112
3112
|
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
3113
3113
|
},
|
|
3114
3114
|
err: null
|
|
@@ -3121,17 +3121,17 @@ var Jn = (
|
|
|
3121
3121
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3122
3122
|
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, Se({}, g)));
|
|
3123
3123
|
this.bumpSpace();
|
|
3124
|
-
var
|
|
3125
|
-
if (o !== "select" &&
|
|
3124
|
+
var A = this.parseIdentifierIfPossible(), $ = 0;
|
|
3125
|
+
if (o !== "select" && A.value === "offset") {
|
|
3126
3126
|
if (!this.bumpIf(":"))
|
|
3127
3127
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3128
3128
|
this.bumpSpace();
|
|
3129
3129
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3130
3130
|
if (c.err)
|
|
3131
3131
|
return c;
|
|
3132
|
-
this.bumpSpace(),
|
|
3132
|
+
this.bumpSpace(), A = this.parseIdentifierIfPossible(), $ = c.val;
|
|
3133
3133
|
}
|
|
3134
|
-
var he = this.tryParsePluralOrSelectOptions(t, o, r,
|
|
3134
|
+
var he = this.tryParsePluralOrSelectOptions(t, o, r, A);
|
|
3135
3135
|
if (he.err)
|
|
3136
3136
|
return he;
|
|
3137
3137
|
var p = this.tryParseArgumentClose(i);
|
|
@@ -3142,7 +3142,7 @@ var Jn = (
|
|
|
3142
3142
|
val: {
|
|
3143
3143
|
type: x.select,
|
|
3144
3144
|
value: n,
|
|
3145
|
-
options:
|
|
3145
|
+
options: vt(he.val),
|
|
3146
3146
|
location: st
|
|
3147
3147
|
},
|
|
3148
3148
|
err: null
|
|
@@ -3150,7 +3150,7 @@ var Jn = (
|
|
|
3150
3150
|
val: {
|
|
3151
3151
|
type: x.plural,
|
|
3152
3152
|
value: n,
|
|
3153
|
-
options:
|
|
3153
|
+
options: vt(he.val),
|
|
3154
3154
|
offset: $,
|
|
3155
3155
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3156
3156
|
location: st
|
|
@@ -3235,9 +3235,9 @@ var Jn = (
|
|
|
3235
3235
|
var p = this.parseMessage(t + 1, r, n);
|
|
3236
3236
|
if (p.err)
|
|
3237
3237
|
return p;
|
|
3238
|
-
var
|
|
3239
|
-
if (
|
|
3240
|
-
return
|
|
3238
|
+
var v = this.tryParseArgumentClose(d);
|
|
3239
|
+
if (v.err)
|
|
3240
|
+
return v;
|
|
3241
3241
|
o.push([
|
|
3242
3242
|
u,
|
|
3243
3243
|
{
|
|
@@ -3327,7 +3327,7 @@ var Jn = (
|
|
|
3327
3327
|
function Ye(e) {
|
|
3328
3328
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3329
3329
|
}
|
|
3330
|
-
function
|
|
3330
|
+
function Zn(e) {
|
|
3331
3331
|
return Ye(e) || e === 47;
|
|
3332
3332
|
}
|
|
3333
3333
|
function Qn(e) {
|
|
@@ -3345,7 +3345,7 @@ function Ke(e) {
|
|
|
3345
3345
|
for (var r in t.options)
|
|
3346
3346
|
delete t.options[r].location, Ke(t.options[r].value);
|
|
3347
3347
|
else
|
|
3348
|
-
Yt(t) && ir(t.style) || (Kt(t) || er(t)) &&
|
|
3348
|
+
Yt(t) && ir(t.style) || (Kt(t) || er(t)) && qe(t.style) ? delete t.style.location : nr(t) && Ke(t.children);
|
|
3349
3349
|
});
|
|
3350
3350
|
}
|
|
3351
3351
|
function Kn(e, t) {
|
|
@@ -3373,7 +3373,7 @@ var Le = (
|
|
|
3373
3373
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3374
3374
|
}, t;
|
|
3375
3375
|
}(Error)
|
|
3376
|
-
),
|
|
3376
|
+
), Et = (
|
|
3377
3377
|
/** @class */
|
|
3378
3378
|
function(e) {
|
|
3379
3379
|
Ie(t, e);
|
|
@@ -3413,7 +3413,7 @@ function ri(e) {
|
|
|
3413
3413
|
function ni(e) {
|
|
3414
3414
|
return typeof e == "function";
|
|
3415
3415
|
}
|
|
3416
|
-
function
|
|
3416
|
+
function Ee(e, t, r, n, i, s, a) {
|
|
3417
3417
|
if (e.length === 1 && dt(e[0]))
|
|
3418
3418
|
return [
|
|
3419
3419
|
{
|
|
@@ -3449,7 +3449,7 @@ function ve(e, t, r, n, i, s, a) {
|
|
|
3449
3449
|
continue;
|
|
3450
3450
|
}
|
|
3451
3451
|
if (Kt(l)) {
|
|
3452
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
|
3452
|
+
var d = typeof l.style == "string" ? n.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
|
|
3453
3453
|
o.push({
|
|
3454
3454
|
type: H.literal,
|
|
3455
3455
|
value: r.getDateTimeFormat(t, d).format(m)
|
|
@@ -3457,7 +3457,7 @@ function ve(e, t, r, n, i, s, a) {
|
|
|
3457
3457
|
continue;
|
|
3458
3458
|
}
|
|
3459
3459
|
if (er(l)) {
|
|
3460
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
|
3460
|
+
var d = typeof l.style == "string" ? n.time[l.style] : qe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3461
3461
|
o.push({
|
|
3462
3462
|
type: H.literal,
|
|
3463
3463
|
value: r.getDateTimeFormat(t, d).format(m)
|
|
@@ -3473,10 +3473,10 @@ function ve(e, t, r, n, i, s, a) {
|
|
|
3473
3473
|
continue;
|
|
3474
3474
|
}
|
|
3475
3475
|
if (nr(l)) {
|
|
3476
|
-
var p = l.children,
|
|
3477
|
-
if (!ni(
|
|
3478
|
-
throw new ei(
|
|
3479
|
-
var
|
|
3476
|
+
var p = l.children, v = l.value, E = i[v];
|
|
3477
|
+
if (!ni(E))
|
|
3478
|
+
throw new ei(v, "function", a);
|
|
3479
|
+
var _ = Ee(p, t, r, n, i, s), f = E(_.map(function($) {
|
|
3480
3480
|
return $.value;
|
|
3481
3481
|
}));
|
|
3482
3482
|
Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function($) {
|
|
@@ -3489,8 +3489,8 @@ function ve(e, t, r, n, i, s, a) {
|
|
|
3489
3489
|
if (tr(l)) {
|
|
3490
3490
|
var g = l.options[m] || l.options.other;
|
|
3491
3491
|
if (!g)
|
|
3492
|
-
throw new
|
|
3493
|
-
o.push.apply(o,
|
|
3492
|
+
throw new Et(l.value, m, Object.keys(l.options), a);
|
|
3493
|
+
o.push.apply(o, Ee(g.value, t, r, n, i));
|
|
3494
3494
|
continue;
|
|
3495
3495
|
}
|
|
3496
3496
|
if (rr(l)) {
|
|
@@ -3500,26 +3500,26 @@ function ve(e, t, r, n, i, s, a) {
|
|
|
3500
3500
|
throw new Le(`Intl.PluralRules is not available in this environment.
|
|
3501
3501
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3502
3502
|
`, W.MISSING_INTL_API, a);
|
|
3503
|
-
var
|
|
3504
|
-
g = l.options[
|
|
3503
|
+
var A = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
|
|
3504
|
+
g = l.options[A] || l.options.other;
|
|
3505
3505
|
}
|
|
3506
3506
|
if (!g)
|
|
3507
|
-
throw new
|
|
3508
|
-
o.push.apply(o,
|
|
3507
|
+
throw new Et(l.value, m, Object.keys(l.options), a);
|
|
3508
|
+
o.push.apply(o, Ee(g.value, t, r, n, i, m - (l.offset || 0)));
|
|
3509
3509
|
continue;
|
|
3510
3510
|
}
|
|
3511
3511
|
}
|
|
3512
3512
|
return ri(o);
|
|
3513
3513
|
}
|
|
3514
3514
|
function ii(e, t) {
|
|
3515
|
-
return t ?
|
|
3516
|
-
return r[n] =
|
|
3515
|
+
return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3516
|
+
return r[n] = B(B({}, e[n]), t[n] || {}), r;
|
|
3517
3517
|
}, {})) : e;
|
|
3518
3518
|
}
|
|
3519
3519
|
function si(e, t) {
|
|
3520
3520
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3521
3521
|
return r[n] = ii(e[n], t[n]), r;
|
|
3522
|
-
},
|
|
3522
|
+
}, B({}, e)) : e;
|
|
3523
3523
|
}
|
|
3524
3524
|
function Fe(e) {
|
|
3525
3525
|
return {
|
|
@@ -3586,7 +3586,7 @@ var fr = (
|
|
|
3586
3586
|
}, []);
|
|
3587
3587
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3588
3588
|
}, this.formatToParts = function(h) {
|
|
3589
|
-
return
|
|
3589
|
+
return Ee(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3590
3590
|
}, this.resolvedOptions = function() {
|
|
3591
3591
|
var h;
|
|
3592
3592
|
return {
|
|
@@ -3600,7 +3600,7 @@ var fr = (
|
|
|
3600
3600
|
var a = i || {};
|
|
3601
3601
|
a.formatters;
|
|
3602
3602
|
var o = gn(a, ["formatters"]);
|
|
3603
|
-
this.ast = e.__parse(t,
|
|
3603
|
+
this.ast = e.__parse(t, B(B({}, o), { locale: this.resolvedLocale }));
|
|
3604
3604
|
} else
|
|
3605
3605
|
this.ast = t;
|
|
3606
3606
|
if (!Array.isArray(this.ast))
|
|
@@ -3739,7 +3739,7 @@ function ci(e) {
|
|
|
3739
3739
|
function pr(e, ...t) {
|
|
3740
3740
|
delete L[e], ue.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
|
|
3741
3741
|
}
|
|
3742
|
-
|
|
3742
|
+
Z(
|
|
3743
3743
|
[ue],
|
|
3744
3744
|
([e]) => Object.keys(e)
|
|
3745
3745
|
);
|
|
@@ -3757,7 +3757,7 @@ function mi(e) {
|
|
|
3757
3757
|
return [t, r ? [...r] : []];
|
|
3758
3758
|
}).filter(([, t]) => t.length > 0);
|
|
3759
3759
|
}
|
|
3760
|
-
function
|
|
3760
|
+
function Ae(e) {
|
|
3761
3761
|
return e == null ? !1 : le(e).some(
|
|
3762
3762
|
(t) => {
|
|
3763
3763
|
var r;
|
|
@@ -3772,7 +3772,7 @@ function di(e, t) {
|
|
|
3772
3772
|
}
|
|
3773
3773
|
const K = {};
|
|
3774
3774
|
function br(e) {
|
|
3775
|
-
if (!
|
|
3775
|
+
if (!Ae(e))
|
|
3776
3776
|
return e in K ? K[e] : Promise.resolve();
|
|
3777
3777
|
const t = mi(e);
|
|
3778
3778
|
return K[e] = Promise.all(
|
|
@@ -3780,7 +3780,7 @@ function br(e) {
|
|
|
3780
3780
|
([r, n]) => di(r, n)
|
|
3781
3781
|
)
|
|
3782
3782
|
).then(() => {
|
|
3783
|
-
if (
|
|
3783
|
+
if (Ae(e))
|
|
3784
3784
|
return br(e);
|
|
3785
3785
|
delete K[e];
|
|
3786
3786
|
}), K[e];
|
|
@@ -3824,27 +3824,27 @@ const yi = {
|
|
|
3824
3824
|
}
|
|
3825
3825
|
}
|
|
3826
3826
|
};
|
|
3827
|
-
function
|
|
3827
|
+
function vi({ locale: e, id: t }) {
|
|
3828
3828
|
console.warn(
|
|
3829
3829
|
`[svelte-i18n] The message "${t}" was not found in "${le(
|
|
3830
3830
|
e
|
|
3831
|
-
).join('", "')}".${
|
|
3831
|
+
).join('", "')}".${Ae(N()) ? `
|
|
3832
3832
|
|
|
3833
3833
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3834
3834
|
);
|
|
3835
3835
|
}
|
|
3836
|
-
const
|
|
3836
|
+
const _i = {
|
|
3837
3837
|
fallbackLocale: null,
|
|
3838
3838
|
loadingDelay: 200,
|
|
3839
3839
|
formats: yi,
|
|
3840
3840
|
warnOnMissingMessages: !0,
|
|
3841
3841
|
handleMissingMessage: void 0,
|
|
3842
3842
|
ignoreTag: !0
|
|
3843
|
-
}, te =
|
|
3844
|
-
function
|
|
3843
|
+
}, te = _i;
|
|
3844
|
+
function q() {
|
|
3845
3845
|
return te;
|
|
3846
3846
|
}
|
|
3847
|
-
function
|
|
3847
|
+
function Ei(e) {
|
|
3848
3848
|
const t = e, { formats: r } = t, n = bi(t, ["formats"]);
|
|
3849
3849
|
let i = e.fallbackLocale;
|
|
3850
3850
|
if (e.initialLocale)
|
|
@@ -3855,63 +3855,63 @@ function vi(e) {
|
|
|
3855
3855
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3856
3856
|
);
|
|
3857
3857
|
}
|
|
3858
|
-
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage =
|
|
3858
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = vi : console.warn(
|
|
3859
3859
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3860
3860
|
)), Object.assign(te, n, { initialLocale: i }), r && ("number" in r && Object.assign(te.formats.number, r.number), "date" in r && Object.assign(te.formats.date, r.date), "time" in r && Object.assign(te.formats.time, r.time)), D.set(i);
|
|
3861
3861
|
}
|
|
3862
|
-
const
|
|
3863
|
-
var xi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r,
|
|
3862
|
+
const ze = Ce(!1);
|
|
3863
|
+
var xi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
|
|
3864
3864
|
for (var r in t || (t = {}))
|
|
3865
3865
|
wi.call(t, r) && Ht(e, r, t[r]);
|
|
3866
3866
|
if (Tt)
|
|
3867
3867
|
for (var r of Tt(t))
|
|
3868
3868
|
Si.call(t, r) && Ht(e, r, t[r]);
|
|
3869
3869
|
return e;
|
|
3870
|
-
},
|
|
3870
|
+
}, Bi = (e, t) => Ti(e, Hi(t));
|
|
3871
3871
|
let et;
|
|
3872
|
-
const
|
|
3872
|
+
const Be = Ce(null);
|
|
3873
3873
|
function wt(e) {
|
|
3874
3874
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3875
3875
|
}
|
|
3876
|
-
function le(e, t =
|
|
3876
|
+
function le(e, t = q().fallbackLocale) {
|
|
3877
3877
|
const r = wt(e);
|
|
3878
3878
|
return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
|
|
3879
3879
|
}
|
|
3880
|
-
function
|
|
3880
|
+
function N() {
|
|
3881
3881
|
return et != null ? et : void 0;
|
|
3882
3882
|
}
|
|
3883
|
-
|
|
3883
|
+
Be.subscribe((e) => {
|
|
3884
3884
|
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3885
3885
|
});
|
|
3886
3886
|
const Pi = (e) => {
|
|
3887
|
-
if (e && ci(e) &&
|
|
3888
|
-
const { loadingDelay: t } =
|
|
3887
|
+
if (e && ci(e) && Ae(e)) {
|
|
3888
|
+
const { loadingDelay: t } = q();
|
|
3889
3889
|
let r;
|
|
3890
|
-
return typeof window != "undefined" &&
|
|
3891
|
-
() =>
|
|
3890
|
+
return typeof window != "undefined" && N() != null && t ? r = window.setTimeout(
|
|
3891
|
+
() => ze.set(!0),
|
|
3892
3892
|
t
|
|
3893
|
-
) :
|
|
3894
|
-
|
|
3893
|
+
) : ze.set(!0), br(e).then(() => {
|
|
3894
|
+
Be.set(e);
|
|
3895
3895
|
}).finally(() => {
|
|
3896
|
-
clearTimeout(r),
|
|
3896
|
+
clearTimeout(r), ze.set(!1);
|
|
3897
3897
|
});
|
|
3898
3898
|
}
|
|
3899
|
-
return
|
|
3900
|
-
}, D = Ai(
|
|
3899
|
+
return Be.set(e);
|
|
3900
|
+
}, D = Bi(Ai({}, Be), {
|
|
3901
3901
|
set: Pi
|
|
3902
|
-
}),
|
|
3902
|
+
}), Me = (e) => {
|
|
3903
3903
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3904
3904
|
return (n) => {
|
|
3905
3905
|
const i = JSON.stringify(n);
|
|
3906
3906
|
return i in t ? t[i] : t[i] = e(n);
|
|
3907
3907
|
};
|
|
3908
3908
|
};
|
|
3909
|
-
var Oi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty,
|
|
3909
|
+
var Oi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
|
|
3910
3910
|
for (var r in t || (t = {}))
|
|
3911
3911
|
yr.call(t, r) && St(e, r, t[r]);
|
|
3912
3912
|
if (Pe)
|
|
3913
3913
|
for (var r of Pe(t))
|
|
3914
|
-
|
|
3914
|
+
vr.call(t, r) && St(e, r, t[r]);
|
|
3915
3915
|
return e;
|
|
3916
3916
|
}, Q = (e, t) => {
|
|
3917
3917
|
var r = {};
|
|
@@ -3919,29 +3919,29 @@ var Oi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, yr = Object.p
|
|
|
3919
3919
|
yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3920
3920
|
if (e != null && Pe)
|
|
3921
3921
|
for (var n of Pe(e))
|
|
3922
|
-
t.indexOf(n) < 0 &&
|
|
3922
|
+
t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
|
|
3923
3923
|
return r;
|
|
3924
3924
|
};
|
|
3925
3925
|
const ae = (e, t) => {
|
|
3926
|
-
const { formats: r } =
|
|
3926
|
+
const { formats: r } = q();
|
|
3927
3927
|
if (e in r && t in r[e])
|
|
3928
3928
|
return r[e][t];
|
|
3929
3929
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3930
|
-
}, Ci =
|
|
3930
|
+
}, Ci = Me(
|
|
3931
3931
|
(e) => {
|
|
3932
3932
|
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3933
3933
|
if (r == null)
|
|
3934
3934
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3935
3935
|
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
3936
3936
|
}
|
|
3937
|
-
), Ii =
|
|
3937
|
+
), Ii = Me(
|
|
3938
3938
|
(e) => {
|
|
3939
3939
|
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3940
3940
|
if (r == null)
|
|
3941
3941
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3942
3942
|
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3943
3943
|
}
|
|
3944
|
-
), Li =
|
|
3944
|
+
), Li = Me(
|
|
3945
3945
|
(e) => {
|
|
3946
3946
|
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3947
3947
|
if (r == null)
|
|
@@ -3950,31 +3950,31 @@ const ae = (e, t) => {
|
|
|
3950
3950
|
);
|
|
3951
3951
|
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3952
3952
|
}
|
|
3953
|
-
),
|
|
3953
|
+
), Mi = (e = {}) => {
|
|
3954
3954
|
var t = e, {
|
|
3955
|
-
locale: r =
|
|
3955
|
+
locale: r = N()
|
|
3956
3956
|
} = t, n = Q(t, [
|
|
3957
3957
|
"locale"
|
|
3958
3958
|
]);
|
|
3959
3959
|
return Ci(it({ locale: r }, n));
|
|
3960
|
-
},
|
|
3960
|
+
}, Ni = (e = {}) => {
|
|
3961
3961
|
var t = e, {
|
|
3962
|
-
locale: r =
|
|
3962
|
+
locale: r = N()
|
|
3963
3963
|
} = t, n = Q(t, [
|
|
3964
3964
|
"locale"
|
|
3965
3965
|
]);
|
|
3966
3966
|
return Ii(it({ locale: r }, n));
|
|
3967
3967
|
}, $i = (e = {}) => {
|
|
3968
3968
|
var t = e, {
|
|
3969
|
-
locale: r =
|
|
3969
|
+
locale: r = N()
|
|
3970
3970
|
} = t, n = Q(t, [
|
|
3971
3971
|
"locale"
|
|
3972
3972
|
]);
|
|
3973
3973
|
return Li(it({ locale: r }, n));
|
|
3974
|
-
}, Ri =
|
|
3974
|
+
}, Ri = Me(
|
|
3975
3975
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3976
|
-
(e, t =
|
|
3977
|
-
ignoreTag:
|
|
3976
|
+
(e, t = N()) => new fr(e, t, q().formats, {
|
|
3977
|
+
ignoreTag: q().ignoreTag
|
|
3978
3978
|
})
|
|
3979
3979
|
), Di = (e, t = {}) => {
|
|
3980
3980
|
var r, n, i, s;
|
|
@@ -3982,7 +3982,7 @@ const ae = (e, t) => {
|
|
|
3982
3982
|
typeof e == "object" && (a = e, e = a.id);
|
|
3983
3983
|
const {
|
|
3984
3984
|
values: o,
|
|
3985
|
-
locale: h =
|
|
3985
|
+
locale: h = N(),
|
|
3986
3986
|
default: u
|
|
3987
3987
|
} = a;
|
|
3988
3988
|
if (h == null)
|
|
@@ -3991,7 +3991,7 @@ const ae = (e, t) => {
|
|
|
3991
3991
|
);
|
|
3992
3992
|
let l = mr(e, h);
|
|
3993
3993
|
if (!l)
|
|
3994
|
-
l = (s = (i = (n = (r =
|
|
3994
|
+
l = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3995
3995
|
else if (typeof l != "string")
|
|
3996
3996
|
return console.warn(
|
|
3997
3997
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4008,12 +4008,12 @@ const ae = (e, t) => {
|
|
|
4008
4008
|
);
|
|
4009
4009
|
}
|
|
4010
4010
|
return c;
|
|
4011
|
-
}, Ui = (e, t) => $i(t).format(e), ki = (e, t) =>
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
function
|
|
4011
|
+
}, Ui = (e, t) => $i(t).format(e), ki = (e, t) => Ni(t).format(e), Gi = (e, t) => Mi(t).format(e), Fi = (e, t = N()) => mr(e, t), zi = Z([D, ue], () => Di);
|
|
4012
|
+
Z([D], () => Ui);
|
|
4013
|
+
Z([D], () => ki);
|
|
4014
|
+
Z([D], () => Gi);
|
|
4015
|
+
Z([D, ue], () => Fi);
|
|
4016
|
+
function ji(e, t) {
|
|
4017
4017
|
if (e) {
|
|
4018
4018
|
const r = document.createElement("style");
|
|
4019
4019
|
r.innerHTML = t, e.appendChild(r);
|
|
@@ -4038,15 +4038,15 @@ function Xi(e, t, r) {
|
|
|
4038
4038
|
});
|
|
4039
4039
|
}
|
|
4040
4040
|
}
|
|
4041
|
-
function
|
|
4041
|
+
function At(e, t) {
|
|
4042
4042
|
pr(e, t);
|
|
4043
4043
|
}
|
|
4044
4044
|
function Wi(e) {
|
|
4045
|
-
|
|
4045
|
+
Ei({
|
|
4046
4046
|
fallbackLocale: "en"
|
|
4047
4047
|
}), D.set(e);
|
|
4048
4048
|
}
|
|
4049
|
-
const
|
|
4049
|
+
const Bt = {
|
|
4050
4050
|
en: {
|
|
4051
4051
|
errorGeneralTitle: "Error Occurred",
|
|
4052
4052
|
errorGeneralText: "Something went wrong",
|
|
@@ -4104,12 +4104,41 @@ const At = {
|
|
|
4104
4104
|
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.",
|
|
4105
4105
|
OnlyOnePendingTransactionPerUserlsAllowed: "Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",
|
|
4106
4106
|
TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı"
|
|
4107
|
+
},
|
|
4108
|
+
fr: {
|
|
4109
|
+
errorGeneralTitle: "Une erreur s’est produite",
|
|
4110
|
+
errorGeneralText: "Une erreur est survenue",
|
|
4111
|
+
errorGeneralButton: "FERMER",
|
|
4112
|
+
PlayerSessionIsNotValid: "La session du joueur n’est pas valide",
|
|
4113
|
+
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",
|
|
4114
|
+
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",
|
|
4115
|
+
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",
|
|
4116
|
+
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",
|
|
4117
|
+
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",
|
|
4118
|
+
JwtTokenError: "IDX12741 : le JWT doit comporter trois segments (JWS) ou cinq segments (JWE).",
|
|
4119
|
+
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",
|
|
4120
|
+
InsufficientCasinoFunds: "Votre retrait dépasse votre solde disponible. Veuillez vérifier votre solde disponible afin d’ajuster le montant du retrait",
|
|
4121
|
+
DepositWageringLimit: "Attention ! Le solde de vos gains est inférieur au montant que vous souhaitez retirer.",
|
|
4122
|
+
AmountMinLimitExceeded: "Le montant est inférieur à la limite minimale du moyen de paiement",
|
|
4123
|
+
AmountMaxLimitExceeded: "Le montant est supérieur à la limite maximale du moyen de paiement",
|
|
4124
|
+
AmountIsMissing: "Le montant est manquant",
|
|
4125
|
+
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",
|
|
4126
|
+
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",
|
|
4127
|
+
MerchantUserAccountIsInactive: "Refusé : le compte utilisateur marchand est inactif",
|
|
4128
|
+
MerchantUserHasDepositDenyRole: "Refusé : l’utilisateur marchand a un rôle interdisant les dépôts",
|
|
4129
|
+
TransactionCodeIsInvalid: "Le code de transaction n’est pas valide",
|
|
4130
|
+
InvalidSession: "Votre session a expiré. Veuillez réessayer",
|
|
4131
|
+
TwoFactorAuthRequired: "L’authentification à deux facteurs est requise",
|
|
4132
|
+
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.",
|
|
4133
|
+
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",
|
|
4134
|
+
OnlyOnePendingTransactionPerUserlsAllowed: "Une seule transaction en attente par utilisateur est autorisée",
|
|
4135
|
+
TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte"
|
|
4107
4136
|
}
|
|
4108
4137
|
};
|
|
4109
|
-
function
|
|
4138
|
+
function qi(e) {
|
|
4110
4139
|
Pr(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}");
|
|
4111
4140
|
}
|
|
4112
|
-
const Ji = (e) => ({}), Pt = (e) => ({}),
|
|
4141
|
+
const Ji = (e) => ({}), Pt = (e) => ({}), Zi = (e) => ({}), Ot = (e) => ({}), Qi = (e) => ({}), Ct = (e) => ({}), Yi = (e) => ({}), It = (e) => ({ class: "CashierErrorIcon" });
|
|
4113
4142
|
function Lt(e) {
|
|
4114
4143
|
let t, r;
|
|
4115
4144
|
return {
|
|
@@ -4126,7 +4155,7 @@ function Lt(e) {
|
|
|
4126
4155
|
n[0]}/error-general-icon.png`) && ge(t, "src", r);
|
|
4127
4156
|
},
|
|
4128
4157
|
d(n) {
|
|
4129
|
-
n &&
|
|
4158
|
+
n && M(t);
|
|
4130
4159
|
}
|
|
4131
4160
|
};
|
|
4132
4161
|
}
|
|
@@ -4147,7 +4176,7 @@ function Ki(e) {
|
|
|
4147
4176
|
n[0] ? r ? r.p(n, i) : (r = Lt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4148
4177
|
},
|
|
4149
4178
|
d(n) {
|
|
4150
|
-
n &&
|
|
4179
|
+
n && M(t), r && r.d(n);
|
|
4151
4180
|
}
|
|
4152
4181
|
};
|
|
4153
4182
|
}
|
|
@@ -4159,7 +4188,7 @@ function es(e) {
|
|
|
4159
4188
|
), n;
|
|
4160
4189
|
return {
|
|
4161
4190
|
c() {
|
|
4162
|
-
t = O("span"), n = Oe(r),
|
|
4191
|
+
t = O("span"), n = Oe(r), j(t, "class", "CashierErrorText");
|
|
4163
4192
|
},
|
|
4164
4193
|
m(i, s) {
|
|
4165
4194
|
J(i, t, s), C(t, n);
|
|
@@ -4168,10 +4197,10 @@ function es(e) {
|
|
|
4168
4197
|
s & /*$_, errorcode*/
|
|
4169
4198
|
10 && r !== (r = /*$_*/
|
|
4170
4199
|
i[3](`${/*errorcode*/
|
|
4171
|
-
i[1] || "errorGeneralText"}`) + "") &&
|
|
4200
|
+
i[1] || "errorGeneralText"}`) + "") && jt(n, r);
|
|
4172
4201
|
},
|
|
4173
4202
|
d(i) {
|
|
4174
|
-
i &&
|
|
4203
|
+
i && M(t);
|
|
4175
4204
|
}
|
|
4176
4205
|
};
|
|
4177
4206
|
}
|
|
@@ -4182,7 +4211,7 @@ function ts(e) {
|
|
|
4182
4211
|
), i, s, a;
|
|
4183
4212
|
return {
|
|
4184
4213
|
c() {
|
|
4185
|
-
t = O("button"), r = O("span"), i = Oe(n),
|
|
4214
|
+
t = O("button"), r = O("span"), i = Oe(n), j(t, "class", "CashierErrorButton");
|
|
4186
4215
|
},
|
|
4187
4216
|
m(o, h) {
|
|
4188
4217
|
J(o, t, h), C(t, r), C(r, i), s || (a = Ir(
|
|
@@ -4195,10 +4224,10 @@ function ts(e) {
|
|
|
4195
4224
|
p(o, h) {
|
|
4196
4225
|
h & /*$_*/
|
|
4197
4226
|
8 && n !== (n = /*$_*/
|
|
4198
|
-
o[3]("errorGeneralButton") + "") &&
|
|
4227
|
+
o[3]("errorGeneralButton") + "") && jt(i, n);
|
|
4199
4228
|
},
|
|
4200
4229
|
d(o) {
|
|
4201
|
-
o &&
|
|
4230
|
+
o && M(t), s = !1, a();
|
|
4202
4231
|
}
|
|
4203
4232
|
};
|
|
4204
4233
|
}
|
|
@@ -4231,22 +4260,22 @@ function rs(e) {
|
|
|
4231
4260
|
/*$$scope*/
|
|
4232
4261
|
e[10],
|
|
4233
4262
|
Ot
|
|
4234
|
-
), p = d || es(e),
|
|
4263
|
+
), p = d || es(e), v = (
|
|
4235
4264
|
/*#slots*/
|
|
4236
4265
|
e[11].button
|
|
4237
|
-
),
|
|
4238
|
-
|
|
4266
|
+
), E = fe(
|
|
4267
|
+
v,
|
|
4239
4268
|
e,
|
|
4240
4269
|
/*$$scope*/
|
|
4241
4270
|
e[10],
|
|
4242
4271
|
Pt
|
|
4243
|
-
),
|
|
4272
|
+
), _ = E || ts(e);
|
|
4244
4273
|
return {
|
|
4245
4274
|
c() {
|
|
4246
|
-
t = O("div"), r = O("div"), u && u.c(), n = $e(), c && c.c(), i = $e(), p && p.c(), s = $e(),
|
|
4275
|
+
t = O("div"), r = O("div"), u && u.c(), n = $e(), c && c.c(), i = $e(), p && p.c(), s = $e(), _ && _.c(), j(r, "class", "CashierErrorContent"), j(t, "class", "CashierError");
|
|
4247
4276
|
},
|
|
4248
4277
|
m(f, g) {
|
|
4249
|
-
J(f, t, g), C(t, r), u && u.m(r, null), C(r, n), c && c.m(r, null), C(r, i), p && p.m(r, null), C(r, s),
|
|
4278
|
+
J(f, t, g), C(t, r), u && u.m(r, null), C(r, n), c && c.m(r, null), C(r, i), p && p.m(r, null), C(r, s), _ && _.m(r, null), e[12](t), a = !0;
|
|
4250
4279
|
},
|
|
4251
4280
|
p(f, [g]) {
|
|
4252
4281
|
h ? h.p && (!a || g & /*$$scope*/
|
|
@@ -4298,22 +4327,22 @@ function rs(e) {
|
|
|
4298
4327
|
/*$$scope*/
|
|
4299
4328
|
f[10],
|
|
4300
4329
|
g,
|
|
4301
|
-
|
|
4330
|
+
Zi
|
|
4302
4331
|
) : pe(
|
|
4303
4332
|
/*$$scope*/
|
|
4304
4333
|
f[10]
|
|
4305
4334
|
),
|
|
4306
4335
|
Ot
|
|
4307
4336
|
) : p && p.p && (!a || g & /*$_, errorcode*/
|
|
4308
|
-
10) && p.p(f, a ? g : -1),
|
|
4337
|
+
10) && p.p(f, a ? g : -1), E ? E.p && (!a || g & /*$$scope*/
|
|
4309
4338
|
1024) && de(
|
|
4339
|
+
E,
|
|
4310
4340
|
v,
|
|
4311
|
-
_,
|
|
4312
4341
|
f,
|
|
4313
4342
|
/*$$scope*/
|
|
4314
4343
|
f[10],
|
|
4315
4344
|
a ? me(
|
|
4316
|
-
|
|
4345
|
+
v,
|
|
4317
4346
|
/*$$scope*/
|
|
4318
4347
|
f[10],
|
|
4319
4348
|
g,
|
|
@@ -4323,44 +4352,44 @@ function rs(e) {
|
|
|
4323
4352
|
f[10]
|
|
4324
4353
|
),
|
|
4325
4354
|
Pt
|
|
4326
|
-
) :
|
|
4327
|
-
8) &&
|
|
4355
|
+
) : _ && _.p && (!a || g & /*$_*/
|
|
4356
|
+
8) && _.p(f, a ? g : -1);
|
|
4328
4357
|
},
|
|
4329
4358
|
i(f) {
|
|
4330
|
-
a || (ee(u, f), ee(c, f), ee(p, f), ee(
|
|
4359
|
+
a || (ee(u, f), ee(c, f), ee(p, f), ee(_, f), a = !0);
|
|
4331
4360
|
},
|
|
4332
4361
|
o(f) {
|
|
4333
|
-
be(u, f), be(c, f), be(p, f), be(
|
|
4362
|
+
be(u, f), be(c, f), be(p, f), be(_, f), a = !1;
|
|
4334
4363
|
},
|
|
4335
4364
|
d(f) {
|
|
4336
|
-
f &&
|
|
4365
|
+
f && M(t), u && u.d(f), c && c.d(f), p && p.d(f), _ && _.d(f), e[12](null);
|
|
4337
4366
|
}
|
|
4338
4367
|
};
|
|
4339
4368
|
}
|
|
4340
4369
|
function ns(e, t, r) {
|
|
4341
4370
|
let n;
|
|
4342
|
-
|
|
4371
|
+
Br(e, zi, (f) => r(3, n = f));
|
|
4343
4372
|
let { $$slots: i = {}, $$scope: s } = t, { assetsurl: a = "" } = t, { lang: o = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
|
|
4344
4373
|
const p = () => {
|
|
4345
4374
|
Wi(o);
|
|
4346
|
-
},
|
|
4375
|
+
}, v = () => {
|
|
4347
4376
|
fetch(c).then((g) => g.json()).then((g) => {
|
|
4348
|
-
Object.keys(g).forEach((
|
|
4349
|
-
|
|
4377
|
+
Object.keys(g).forEach((A) => {
|
|
4378
|
+
At(A, g[A]);
|
|
4350
4379
|
});
|
|
4351
4380
|
}).catch((g) => {
|
|
4352
4381
|
console.error(g);
|
|
4353
4382
|
});
|
|
4354
4383
|
};
|
|
4355
|
-
Object.keys(
|
|
4356
|
-
|
|
4384
|
+
Object.keys(Bt).forEach((f) => {
|
|
4385
|
+
At(f, Bt[f]);
|
|
4357
4386
|
});
|
|
4358
|
-
const
|
|
4387
|
+
const E = () => {
|
|
4359
4388
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
4360
4389
|
};
|
|
4361
4390
|
kr(() => () => {
|
|
4362
4391
|
});
|
|
4363
|
-
function
|
|
4392
|
+
function _(f) {
|
|
4364
4393
|
Ve[f ? "unshift" : "push"](() => {
|
|
4365
4394
|
d = f, r(2, d);
|
|
4366
4395
|
});
|
|
@@ -4370,16 +4399,16 @@ function ns(e, t, r) {
|
|
|
4370
4399
|
}, e.$$.update = () => {
|
|
4371
4400
|
e.$$.dirty & /*lang*/
|
|
4372
4401
|
32 && o && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4373
|
-
68 && u && d &&
|
|
4402
|
+
68 && u && d && ji(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4374
4403
|
132 && l && d && Vi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4375
4404
|
516 && m && d && Xi(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
|
|
4376
|
-
256 && c &&
|
|
4405
|
+
256 && c && v();
|
|
4377
4406
|
}, [
|
|
4378
4407
|
a,
|
|
4379
4408
|
h,
|
|
4380
4409
|
d,
|
|
4381
4410
|
n,
|
|
4382
|
-
|
|
4411
|
+
E,
|
|
4383
4412
|
o,
|
|
4384
4413
|
u,
|
|
4385
4414
|
l,
|
|
@@ -4387,12 +4416,12 @@ function ns(e, t, r) {
|
|
|
4387
4416
|
m,
|
|
4388
4417
|
s,
|
|
4389
4418
|
i,
|
|
4390
|
-
|
|
4419
|
+
_
|
|
4391
4420
|
];
|
|
4392
4421
|
}
|
|
4393
|
-
class
|
|
4422
|
+
class _r extends Zr {
|
|
4394
4423
|
constructor(t) {
|
|
4395
|
-
super(),
|
|
4424
|
+
super(), qr(
|
|
4396
4425
|
this,
|
|
4397
4426
|
t,
|
|
4398
4427
|
ns,
|
|
@@ -4407,7 +4436,7 @@ class Er extends qr {
|
|
|
4407
4436
|
translationurl: 8,
|
|
4408
4437
|
mbsource: 9
|
|
4409
4438
|
},
|
|
4410
|
-
|
|
4439
|
+
qi
|
|
4411
4440
|
);
|
|
4412
4441
|
}
|
|
4413
4442
|
get assetsurl() {
|
|
@@ -4453,14 +4482,14 @@ class Er extends qr {
|
|
|
4453
4482
|
this.$$set({ mbsource: t }), P();
|
|
4454
4483
|
}
|
|
4455
4484
|
}
|
|
4456
|
-
Jr(
|
|
4485
|
+
Jr(_r, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
4457
4486
|
const ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4458
4487
|
__proto__: null,
|
|
4459
|
-
default:
|
|
4488
|
+
default: _r
|
|
4460
4489
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4461
4490
|
export {
|
|
4462
4491
|
D as $,
|
|
4463
|
-
|
|
4492
|
+
jt as A,
|
|
4464
4493
|
C as B,
|
|
4465
4494
|
Oe as C,
|
|
4466
4495
|
R as D,
|
|
@@ -4471,27 +4500,27 @@ export {
|
|
|
4471
4500
|
as as I,
|
|
4472
4501
|
os as J,
|
|
4473
4502
|
ct as K,
|
|
4474
|
-
|
|
4475
|
-
|
|
4503
|
+
zi as L,
|
|
4504
|
+
ji as M,
|
|
4476
4505
|
Vi as N,
|
|
4477
4506
|
Xi as O,
|
|
4478
4507
|
ds as P,
|
|
4479
|
-
|
|
4508
|
+
Zr as S,
|
|
4480
4509
|
pr as a,
|
|
4481
|
-
|
|
4510
|
+
Ei as b,
|
|
4482
4511
|
ms as c,
|
|
4483
|
-
|
|
4512
|
+
qr as d,
|
|
4484
4513
|
Jr as e,
|
|
4485
4514
|
P as f,
|
|
4486
4515
|
Kr as g,
|
|
4487
4516
|
Pr as h,
|
|
4488
|
-
|
|
4489
|
-
|
|
4517
|
+
Mt as i,
|
|
4518
|
+
M as j,
|
|
4490
4519
|
J as k,
|
|
4491
4520
|
O as l,
|
|
4492
|
-
|
|
4521
|
+
j as m,
|
|
4493
4522
|
S as n,
|
|
4494
|
-
|
|
4523
|
+
Br as o,
|
|
4495
4524
|
kr as p,
|
|
4496
4525
|
Ve as q,
|
|
4497
4526
|
us as r,
|