@everymatrix/cashier-iframe-redirect 1.54.8 → 1.54.9
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/{CashierHeader-CQ4N-Tbr.cjs → CashierHeader-Dr8VWEX5.cjs} +3 -3
- package/components/{CashierHeader-e9HEzjli.js → CashierHeader-SjQD0iXc.js} +90 -90
- package/components/{CashierHeader-wy1ifaFQ.js → CashierHeader-z-Fop357.js} +92 -92
- package/components/{CashierIframeRedirect-By_Z5hUl.js → CashierIframeRedirect-BGnFF_fO.js} +3 -3
- package/components/{CashierIframeRedirect-CHmrhk5K.js → CashierIframeRedirect-CMZFWznN.js} +3 -3
- package/components/{CashierIframeRedirect-D9d4JGGO.cjs → CashierIframeRedirect-CmMbClUf.cjs} +1 -1
- package/components/{CashierSpinner-BqJ2PZjT.js → CashierSpinner-BbUbWIXF.js} +1 -1
- package/components/{CashierSpinner-BQwcpHtr.cjs → CashierSpinner-C9imQnTJ.cjs} +1 -1
- package/components/{CashierSpinner-tTo37KBl.js → CashierSpinner-DpWXh4O5.js} +1 -1
- package/es2015/cashier-iframe-redirect.cjs +1 -1
- package/es2015/cashier-iframe-redirect.js +1 -1
- package/esnext/cashier-iframe-redirect.js +1 -1
- package/package.json +1 -1
|
@@ -214,14 +214,14 @@ function Te(e, t, r, n) {
|
|
|
214
214
|
}), e.o(t);
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function pr(e, t, r) {
|
|
218
218
|
const { fragment: n, after_update: i } = e.$$;
|
|
219
219
|
n && n.m(t, r), Ie(() => {
|
|
220
220
|
const s = e.$$.on_mount.map(_t).filter(ke);
|
|
221
221
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
|
|
222
222
|
}), i.forEach(Ie);
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function dr(e, t) {
|
|
225
225
|
const r = e.$$;
|
|
226
226
|
r.fragment !== null && (cr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
227
227
|
}
|
|
@@ -254,8 +254,8 @@ function gr(e, t, r, n, i, s, u = null, o = [-1]) {
|
|
|
254
254
|
};
|
|
255
255
|
u && u(a.root);
|
|
256
256
|
let h = !1;
|
|
257
|
-
if (a.ctx = r ? r(e, t.props || {}, (f, c, ...
|
|
258
|
-
const m =
|
|
257
|
+
if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
258
|
+
const m = p.length ? p[0] : c;
|
|
259
259
|
return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), h && br(e, f)), c;
|
|
260
260
|
}) : [], a.update(), h = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
261
261
|
if (t.hydrate) {
|
|
@@ -263,7 +263,7 @@ function gr(e, t, r, n, i, s, u = null, o = [-1]) {
|
|
|
263
263
|
a.fragment && a.fragment.l(f), f.forEach(O);
|
|
264
264
|
} else
|
|
265
265
|
a.fragment && a.fragment.c();
|
|
266
|
-
t.intro && ue(e.$$.fragment),
|
|
266
|
+
t.intro && ue(e.$$.fragment), pr(e, t.target, t.anchor), S();
|
|
267
267
|
}
|
|
268
268
|
Y(l);
|
|
269
269
|
}
|
|
@@ -462,7 +462,7 @@ class yr {
|
|
|
462
462
|
$$set = void 0;
|
|
463
463
|
/** @returns {void} */
|
|
464
464
|
$destroy() {
|
|
465
|
-
|
|
465
|
+
dr(this, 1), this.$destroy = B;
|
|
466
466
|
}
|
|
467
467
|
/**
|
|
468
468
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -536,7 +536,7 @@ function Z(e, t, r) {
|
|
|
536
536
|
f();
|
|
537
537
|
const m = t(n ? a[0] : a, u, o);
|
|
538
538
|
s ? u(m) : f = ke(m) ? m : B;
|
|
539
|
-
},
|
|
539
|
+
}, p = i.map(
|
|
540
540
|
(m, g) => Et(
|
|
541
541
|
m,
|
|
542
542
|
(v) => {
|
|
@@ -548,7 +548,7 @@ function Z(e, t, r) {
|
|
|
548
548
|
)
|
|
549
549
|
);
|
|
550
550
|
return l = !0, c(), function() {
|
|
551
|
-
te(
|
|
551
|
+
te(p), f(), l = !1;
|
|
552
552
|
};
|
|
553
553
|
});
|
|
554
554
|
}
|
|
@@ -712,10 +712,10 @@ var kr = function() {
|
|
|
712
712
|
}
|
|
713
713
|
}, Ae = {
|
|
714
714
|
variadic: jr
|
|
715
|
-
},
|
|
715
|
+
}, d;
|
|
716
716
|
(function(e) {
|
|
717
717
|
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";
|
|
718
|
-
})(
|
|
718
|
+
})(d || (d = {}));
|
|
719
719
|
var E;
|
|
720
720
|
(function(e) {
|
|
721
721
|
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";
|
|
@@ -1022,13 +1022,13 @@ function tn(e) {
|
|
|
1022
1022
|
case "integer-width":
|
|
1023
1023
|
if (i.options.length > 1)
|
|
1024
1024
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1025
|
-
i.options[0].replace(Kr, function(l, a, h, f, c,
|
|
1025
|
+
i.options[0].replace(Kr, function(l, a, h, f, c, p) {
|
|
1026
1026
|
if (a)
|
|
1027
1027
|
t.minimumIntegerDigits = h.length;
|
|
1028
1028
|
else {
|
|
1029
1029
|
if (f && c)
|
|
1030
1030
|
throw new Error("We currently do not support maximum integer digits");
|
|
1031
|
-
if (
|
|
1031
|
+
if (p)
|
|
1032
1032
|
throw new Error("We currently do not support exact integer digits");
|
|
1033
1033
|
}
|
|
1034
1034
|
return "";
|
|
@@ -1042,8 +1042,8 @@ function tn(e) {
|
|
|
1042
1042
|
if (Ke.test(i.stem)) {
|
|
1043
1043
|
if (i.options.length > 1)
|
|
1044
1044
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1045
|
-
i.stem.replace(Ke, function(l, a, h, f, c,
|
|
1046
|
-
return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1045
|
+
i.stem.replace(Ke, function(l, a, h, f, c, p) {
|
|
1046
|
+
return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1047
1047
|
});
|
|
1048
1048
|
var s = i.options[0];
|
|
1049
1049
|
s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), et(s)));
|
|
@@ -2516,12 +2516,12 @@ var Ce, sn = new RegExp("^".concat(Mt.source, "*")), on = new RegExp("".concat(M
|
|
|
2516
2516
|
function b(e, t) {
|
|
2517
2517
|
return { start: e, end: t };
|
|
2518
2518
|
}
|
|
2519
|
-
var an = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, hn = !!Object.fromEntries, ln = !!String.prototype.codePointAt, fn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, mn = !!Number.isSafeInteger,
|
|
2519
|
+
var an = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, hn = !!Object.fromEntries, ln = !!String.prototype.codePointAt, fn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, mn = !!Number.isSafeInteger, pn = mn ? Number.isSafeInteger : function(e) {
|
|
2520
2520
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2521
2521
|
}, Re = !0;
|
|
2522
2522
|
try {
|
|
2523
|
-
var
|
|
2524
|
-
Re = ((Ce =
|
|
2523
|
+
var dn = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2524
|
+
Re = ((Ce = dn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
|
|
2525
2525
|
} catch {
|
|
2526
2526
|
Re = !1;
|
|
2527
2527
|
}
|
|
@@ -2646,7 +2646,7 @@ var _n = (
|
|
|
2646
2646
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2647
2647
|
if (n)
|
|
2648
2648
|
break;
|
|
2649
|
-
return this.error(
|
|
2649
|
+
return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
2650
2650
|
} else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
|
|
2651
2651
|
var u = this.parseTag(t, r);
|
|
2652
2652
|
if (u.err)
|
|
@@ -2681,9 +2681,9 @@ var _n = (
|
|
|
2681
2681
|
var u = s.val, o = this.clonePosition();
|
|
2682
2682
|
if (this.bumpIf("</")) {
|
|
2683
2683
|
if (this.isEOF() || !Ge(this.char()))
|
|
2684
|
-
return this.error(
|
|
2684
|
+
return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
|
|
2685
2685
|
var l = this.clonePosition(), a = this.parseTagName();
|
|
2686
|
-
return i !== a ? this.error(
|
|
2686
|
+
return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2687
2687
|
val: {
|
|
2688
2688
|
type: E.tag,
|
|
2689
2689
|
value: i,
|
|
@@ -2691,11 +2691,11 @@ var _n = (
|
|
|
2691
2691
|
location: b(n, this.clonePosition())
|
|
2692
2692
|
},
|
|
2693
2693
|
err: null
|
|
2694
|
-
} : this.error(
|
|
2694
|
+
} : this.error(d.INVALID_TAG, b(o, this.clonePosition())));
|
|
2695
2695
|
} else
|
|
2696
|
-
return this.error(
|
|
2696
|
+
return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
|
|
2697
2697
|
} else
|
|
2698
|
-
return this.error(
|
|
2698
|
+
return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
|
|
2699
2699
|
}, e.prototype.parseTagName = function() {
|
|
2700
2700
|
var t = this.offset();
|
|
2701
2701
|
for (this.bump(); !this.isEOF() && En(this.char()); )
|
|
@@ -2770,14 +2770,14 @@ var _n = (
|
|
|
2770
2770
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2771
2771
|
var n = this.clonePosition();
|
|
2772
2772
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2773
|
-
return this.error(
|
|
2773
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
2774
2774
|
if (this.char() === 125)
|
|
2775
|
-
return this.bump(), this.error(
|
|
2775
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
|
|
2776
2776
|
var i = this.parseIdentifierIfPossible().value;
|
|
2777
2777
|
if (!i)
|
|
2778
|
-
return this.error(
|
|
2778
|
+
return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
2779
2779
|
if (this.bumpSpace(), this.isEOF())
|
|
2780
|
-
return this.error(
|
|
2780
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
2781
2781
|
switch (this.char()) {
|
|
2782
2782
|
case 125:
|
|
2783
2783
|
return this.bump(), {
|
|
@@ -2790,9 +2790,9 @@ var _n = (
|
|
|
2790
2790
|
err: null
|
|
2791
2791
|
};
|
|
2792
2792
|
case 44:
|
|
2793
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2793
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2794
2794
|
default:
|
|
2795
|
-
return this.error(
|
|
2795
|
+
return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
2796
2796
|
}
|
|
2797
2797
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2798
2798
|
var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
|
|
@@ -2803,7 +2803,7 @@ var _n = (
|
|
|
2803
2803
|
var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2804
2804
|
switch (o) {
|
|
2805
2805
|
case "":
|
|
2806
|
-
return this.error(
|
|
2806
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, b(u, l));
|
|
2807
2807
|
case "number":
|
|
2808
2808
|
case "date":
|
|
2809
2809
|
case "time": {
|
|
@@ -2816,9 +2816,9 @@ var _n = (
|
|
|
2816
2816
|
return f;
|
|
2817
2817
|
var c = gn(f.val);
|
|
2818
2818
|
if (c.length === 0)
|
|
2819
|
-
return this.error(
|
|
2820
|
-
var
|
|
2821
|
-
a = { style: c, styleLocation:
|
|
2819
|
+
return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
2820
|
+
var p = b(h, this.clonePosition());
|
|
2821
|
+
a = { style: c, styleLocation: p };
|
|
2822
2822
|
}
|
|
2823
2823
|
var m = this.tryParseArgumentClose(i);
|
|
2824
2824
|
if (m.err)
|
|
@@ -2834,7 +2834,7 @@ var _n = (
|
|
|
2834
2834
|
};
|
|
2835
2835
|
} else {
|
|
2836
2836
|
if (v.length === 0)
|
|
2837
|
-
return this.error(
|
|
2837
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
|
|
2838
2838
|
var L = v;
|
|
2839
2839
|
this.locale && (L = rn(v, this.locale));
|
|
2840
2840
|
var c = {
|
|
@@ -2864,14 +2864,14 @@ var _n = (
|
|
|
2864
2864
|
case "select": {
|
|
2865
2865
|
var H = this.clonePosition();
|
|
2866
2866
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2867
|
-
return this.error(
|
|
2867
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
|
|
2868
2868
|
this.bumpSpace();
|
|
2869
2869
|
var N = this.parseIdentifierIfPossible(), T = 0;
|
|
2870
2870
|
if (o !== "select" && N.value === "offset") {
|
|
2871
2871
|
if (!this.bumpIf(":"))
|
|
2872
|
-
return this.error(
|
|
2872
|
+
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
2873
2873
|
this.bumpSpace();
|
|
2874
|
-
var f = this.tryParseDecimalInteger(
|
|
2874
|
+
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2875
2875
|
if (f.err)
|
|
2876
2876
|
return f;
|
|
2877
2877
|
this.bumpSpace(), N = this.parseIdentifierIfPossible(), T = f.val;
|
|
@@ -2904,10 +2904,10 @@ var _n = (
|
|
|
2904
2904
|
};
|
|
2905
2905
|
}
|
|
2906
2906
|
default:
|
|
2907
|
-
return this.error(
|
|
2907
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, b(u, l));
|
|
2908
2908
|
}
|
|
2909
2909
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2910
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2910
|
+
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2911
2911
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2912
2912
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2913
2913
|
var n = this.char();
|
|
@@ -2916,7 +2916,7 @@ var _n = (
|
|
|
2916
2916
|
this.bump();
|
|
2917
2917
|
var i = this.clonePosition();
|
|
2918
2918
|
if (!this.bumpUntil("'"))
|
|
2919
|
-
return this.error(
|
|
2919
|
+
return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
|
|
2920
2920
|
this.bump();
|
|
2921
2921
|
break;
|
|
2922
2922
|
}
|
|
@@ -2948,7 +2948,7 @@ var _n = (
|
|
|
2948
2948
|
try {
|
|
2949
2949
|
n = Jr(t);
|
|
2950
2950
|
} catch {
|
|
2951
|
-
return this.error(
|
|
2951
|
+
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
2952
2952
|
}
|
|
2953
2953
|
return {
|
|
2954
2954
|
val: {
|
|
@@ -2964,7 +2964,7 @@ var _n = (
|
|
|
2964
2964
|
if (a.length === 0) {
|
|
2965
2965
|
var f = this.clonePosition();
|
|
2966
2966
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2967
|
-
var c = this.tryParseDecimalInteger(
|
|
2967
|
+
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2968
2968
|
if (c.err)
|
|
2969
2969
|
return c;
|
|
2970
2970
|
h = b(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
|
|
@@ -2972,26 +2972,26 @@ var _n = (
|
|
|
2972
2972
|
break;
|
|
2973
2973
|
}
|
|
2974
2974
|
if (l.has(a))
|
|
2975
|
-
return this.error(r === "select" ?
|
|
2975
|
+
return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2976
2976
|
a === "other" && (u = !0), this.bumpSpace();
|
|
2977
|
-
var
|
|
2977
|
+
var p = this.clonePosition();
|
|
2978
2978
|
if (!this.bumpIf("{"))
|
|
2979
|
-
return this.error(r === "select" ?
|
|
2979
|
+
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
2980
2980
|
var m = this.parseMessage(t + 1, r, n);
|
|
2981
2981
|
if (m.err)
|
|
2982
2982
|
return m;
|
|
2983
|
-
var g = this.tryParseArgumentClose(
|
|
2983
|
+
var g = this.tryParseArgumentClose(p);
|
|
2984
2984
|
if (g.err)
|
|
2985
2985
|
return g;
|
|
2986
2986
|
o.push([
|
|
2987
2987
|
a,
|
|
2988
2988
|
{
|
|
2989
2989
|
value: m.val,
|
|
2990
|
-
location: b(
|
|
2990
|
+
location: b(p, this.clonePosition())
|
|
2991
2991
|
}
|
|
2992
2992
|
]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
|
|
2993
2993
|
}
|
|
2994
|
-
return o.length === 0 ? this.error(r === "select" ?
|
|
2994
|
+
return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
2995
2995
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2996
2996
|
var n = 1, i = this.clonePosition();
|
|
2997
2997
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3003,7 +3003,7 @@ var _n = (
|
|
|
3003
3003
|
break;
|
|
3004
3004
|
}
|
|
3005
3005
|
var l = b(i, this.clonePosition());
|
|
3006
|
-
return s ? (u *= n,
|
|
3006
|
+
return s ? (u *= n, pn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3007
3007
|
}, e.prototype.offset = function() {
|
|
3008
3008
|
return this.position.offset;
|
|
3009
3009
|
}, e.prototype.isEOF = function() {
|
|
@@ -3096,7 +3096,7 @@ function vn(e, t) {
|
|
|
3096
3096
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3097
3097
|
var r = new _n(e, t).parse();
|
|
3098
3098
|
if (r.err) {
|
|
3099
|
-
var n = SyntaxError(
|
|
3099
|
+
var n = SyntaxError(d[r.err.kind]);
|
|
3100
3100
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3101
3101
|
}
|
|
3102
3102
|
return t?.captureLocation || Fe(r.val), r.val;
|
|
@@ -3193,26 +3193,26 @@ function le(e, t, r, n, i, s, u) {
|
|
|
3193
3193
|
continue;
|
|
3194
3194
|
}
|
|
3195
3195
|
if (Ct(h)) {
|
|
3196
|
-
var
|
|
3196
|
+
var p = typeof h.style == "string" ? n.date[h.style] : $e(h.style) ? h.style.parsedOptions : void 0;
|
|
3197
3197
|
o.push({
|
|
3198
3198
|
type: x.literal,
|
|
3199
|
-
value: r.getDateTimeFormat(t,
|
|
3199
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3200
3200
|
});
|
|
3201
3201
|
continue;
|
|
3202
3202
|
}
|
|
3203
3203
|
if (Ot(h)) {
|
|
3204
|
-
var
|
|
3204
|
+
var p = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3205
3205
|
o.push({
|
|
3206
3206
|
type: x.literal,
|
|
3207
|
-
value: r.getDateTimeFormat(t,
|
|
3207
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3208
3208
|
});
|
|
3209
3209
|
continue;
|
|
3210
3210
|
}
|
|
3211
3211
|
if (At(h)) {
|
|
3212
|
-
var
|
|
3213
|
-
|
|
3212
|
+
var p = typeof h.style == "string" ? n.number[h.style] : It(h.style) ? h.style.parsedOptions : void 0;
|
|
3213
|
+
p && p.scale && (c = c * (p.scale || 1)), o.push({
|
|
3214
3214
|
type: x.literal,
|
|
3215
|
-
value: r.getNumberFormat(t,
|
|
3215
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3216
3216
|
});
|
|
3217
3217
|
continue;
|
|
3218
3218
|
}
|
|
@@ -3613,7 +3613,7 @@ var Xn = Object.defineProperty, Wn = Object.defineProperties, zn = Object.getOwn
|
|
|
3613
3613
|
return e;
|
|
3614
3614
|
}, Jn = (e, t) => Wn(e, zn(t));
|
|
3615
3615
|
let je;
|
|
3616
|
-
const
|
|
3616
|
+
const pe = be(null);
|
|
3617
3617
|
function ht(e) {
|
|
3618
3618
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3619
3619
|
}
|
|
@@ -3624,7 +3624,7 @@ function ne(e, t = X().fallbackLocale) {
|
|
|
3624
3624
|
function P() {
|
|
3625
3625
|
return je ?? void 0;
|
|
3626
3626
|
}
|
|
3627
|
-
|
|
3627
|
+
pe.subscribe((e) => {
|
|
3628
3628
|
je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3629
3629
|
});
|
|
3630
3630
|
const Yn = (e) => {
|
|
@@ -3635,13 +3635,13 @@ const Yn = (e) => {
|
|
|
3635
3635
|
() => Pe.set(!0),
|
|
3636
3636
|
t
|
|
3637
3637
|
) : Pe.set(!0), zt(e).then(() => {
|
|
3638
|
-
|
|
3638
|
+
pe.set(e);
|
|
3639
3639
|
}).finally(() => {
|
|
3640
3640
|
clearTimeout(r), Pe.set(!1);
|
|
3641
3641
|
});
|
|
3642
3642
|
}
|
|
3643
|
-
return
|
|
3644
|
-
}, M = Jn(qn({},
|
|
3643
|
+
return pe.set(e);
|
|
3644
|
+
}, M = Jn(qn({}, pe), {
|
|
3645
3645
|
set: Yn
|
|
3646
3646
|
}), ye = (e) => {
|
|
3647
3647
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -3650,19 +3650,19 @@ const Yn = (e) => {
|
|
|
3650
3650
|
return i in t ? t[i] : t[i] = e(n);
|
|
3651
3651
|
};
|
|
3652
3652
|
};
|
|
3653
|
-
var Kn = Object.defineProperty,
|
|
3653
|
+
var Kn = Object.defineProperty, de = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
|
|
3654
3654
|
for (var r in t || (t = {}))
|
|
3655
3655
|
Zt.call(t, r) && lt(e, r, t[r]);
|
|
3656
|
-
if (
|
|
3657
|
-
for (var r of
|
|
3656
|
+
if (de)
|
|
3657
|
+
for (var r of de(t))
|
|
3658
3658
|
Qt.call(t, r) && lt(e, r, t[r]);
|
|
3659
3659
|
return e;
|
|
3660
3660
|
}, Q = (e, t) => {
|
|
3661
3661
|
var r = {};
|
|
3662
3662
|
for (var n in e)
|
|
3663
3663
|
Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3664
|
-
if (e != null &&
|
|
3665
|
-
for (var n of
|
|
3664
|
+
if (e != null && de)
|
|
3665
|
+
for (var n of de(e))
|
|
3666
3666
|
t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
|
|
3667
3667
|
return r;
|
|
3668
3668
|
};
|
|
@@ -3788,10 +3788,10 @@ const ct = {
|
|
|
3788
3788
|
}
|
|
3789
3789
|
}
|
|
3790
3790
|
};
|
|
3791
|
-
function
|
|
3791
|
+
function pi(e) {
|
|
3792
3792
|
nr(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
|
|
3793
3793
|
}
|
|
3794
|
-
const
|
|
3794
|
+
const di = (e) => ({}), mt = (e) => ({}), bi = (e) => ({}), pt = (e) => ({}), gi = (e) => ({}), dt = (e) => ({});
|
|
3795
3795
|
function bt(e) {
|
|
3796
3796
|
let t, r, n;
|
|
3797
3797
|
return {
|
|
@@ -3912,7 +3912,7 @@ function xi(e) {
|
|
|
3912
3912
|
e,
|
|
3913
3913
|
/*$$scope*/
|
|
3914
3914
|
e[14],
|
|
3915
|
-
|
|
3915
|
+
dt
|
|
3916
3916
|
), o = u || _i(e), l = (
|
|
3917
3917
|
/*#slots*/
|
|
3918
3918
|
e[15].title
|
|
@@ -3921,7 +3921,7 @@ function xi(e) {
|
|
|
3921
3921
|
e,
|
|
3922
3922
|
/*$$scope*/
|
|
3923
3923
|
e[14],
|
|
3924
|
-
|
|
3924
|
+
pt
|
|
3925
3925
|
), h = a || yi(e), f = (
|
|
3926
3926
|
/*#slots*/
|
|
3927
3927
|
e[15].rightButton
|
|
@@ -3931,13 +3931,13 @@ function xi(e) {
|
|
|
3931
3931
|
/*$$scope*/
|
|
3932
3932
|
e[14],
|
|
3933
3933
|
mt
|
|
3934
|
-
),
|
|
3934
|
+
), p = c || Ei(e);
|
|
3935
3935
|
return {
|
|
3936
3936
|
c() {
|
|
3937
|
-
t = W("div"), o && o.c(), r = Qe(), h && h.c(), n = Qe(),
|
|
3937
|
+
t = W("div"), o && o.c(), r = Qe(), h && h.c(), n = Qe(), p && p.c(), z(t, "class", "CashierHeader");
|
|
3938
3938
|
},
|
|
3939
3939
|
m(m, g) {
|
|
3940
|
-
I(m, t, g), o && o.m(t, null), ce(t, r), h && h.m(t, null), ce(t, n),
|
|
3940
|
+
I(m, t, g), o && o.m(t, null), ce(t, r), h && h.m(t, null), ce(t, n), p && p.m(t, null), e[16](t), i = !0;
|
|
3941
3941
|
},
|
|
3942
3942
|
p(m, [g]) {
|
|
3943
3943
|
u ? u.p && (!i || g & /*$$scope*/
|
|
@@ -3957,7 +3957,7 @@ function xi(e) {
|
|
|
3957
3957
|
/*$$scope*/
|
|
3958
3958
|
m[14]
|
|
3959
3959
|
),
|
|
3960
|
-
|
|
3960
|
+
dt
|
|
3961
3961
|
) : o && o.p && (!i || g & /*backButton*/
|
|
3962
3962
|
2) && o.p(m, i ? g : -1), a ? a.p && (!i || g & /*$$scope*/
|
|
3963
3963
|
16384) && ve(
|
|
@@ -3976,7 +3976,7 @@ function xi(e) {
|
|
|
3976
3976
|
/*$$scope*/
|
|
3977
3977
|
m[14]
|
|
3978
3978
|
),
|
|
3979
|
-
|
|
3979
|
+
pt
|
|
3980
3980
|
) : h && h.p && (!i || g & /*$_, titleText*/
|
|
3981
3981
|
20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
|
|
3982
3982
|
16384) && ve(
|
|
@@ -3990,30 +3990,30 @@ function xi(e) {
|
|
|
3990
3990
|
/*$$scope*/
|
|
3991
3991
|
m[14],
|
|
3992
3992
|
g,
|
|
3993
|
-
|
|
3993
|
+
di
|
|
3994
3994
|
) : He(
|
|
3995
3995
|
/*$$scope*/
|
|
3996
3996
|
m[14]
|
|
3997
3997
|
),
|
|
3998
3998
|
mt
|
|
3999
|
-
) :
|
|
4000
|
-
8) &&
|
|
3999
|
+
) : p && p.p && (!i || g & /*closeButton*/
|
|
4000
|
+
8) && p.p(m, i ? g : -1);
|
|
4001
4001
|
},
|
|
4002
4002
|
i(m) {
|
|
4003
|
-
i || (ue(o, m), ue(h, m), ue(
|
|
4003
|
+
i || (ue(o, m), ue(h, m), ue(p, m), i = !0);
|
|
4004
4004
|
},
|
|
4005
4005
|
o(m) {
|
|
4006
|
-
Te(o, m), Te(h, m), Te(
|
|
4006
|
+
Te(o, m), Te(h, m), Te(p, m), i = !1;
|
|
4007
4007
|
},
|
|
4008
4008
|
d(m) {
|
|
4009
|
-
m && O(t), o && o.d(m), h && h.d(m),
|
|
4009
|
+
m && O(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
|
|
4010
4010
|
}
|
|
4011
4011
|
};
|
|
4012
4012
|
}
|
|
4013
4013
|
function vi(e, t, r) {
|
|
4014
4014
|
let n;
|
|
4015
4015
|
rr(e, ci, (_) => r(4, n = _));
|
|
4016
|
-
let { $$slots: i = {}, $$scope: s } = t, { clientstyling: u = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t,
|
|
4016
|
+
let { $$slots: i = {}, $$scope: s } = t, { clientstyling: u = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
|
|
4017
4017
|
const L = () => {
|
|
4018
4018
|
let _ = l;
|
|
4019
4019
|
_ && fetch(_).then((w) => w.json()).then((w) => {
|
|
@@ -4029,13 +4029,13 @@ function vi(e, t, r) {
|
|
|
4029
4029
|
});
|
|
4030
4030
|
const A = () => {
|
|
4031
4031
|
let _ = document.createElement("style");
|
|
4032
|
-
_.innerHTML = u,
|
|
4032
|
+
_.innerHTML = u, p.appendChild(_);
|
|
4033
4033
|
}, H = () => {
|
|
4034
4034
|
let _ = new URL(o), w = document.createElement("style");
|
|
4035
4035
|
fetch(_.href).then((R) => R.text()).then((R) => {
|
|
4036
4036
|
w.innerHTML = R, setTimeout(
|
|
4037
4037
|
() => {
|
|
4038
|
-
|
|
4038
|
+
p.appendChild(w);
|
|
4039
4039
|
},
|
|
4040
4040
|
1
|
|
4041
4041
|
);
|
|
@@ -4055,7 +4055,7 @@ function vi(e, t, r) {
|
|
|
4055
4055
|
};
|
|
4056
4056
|
function Kt(_) {
|
|
4057
4057
|
Le[_ ? "unshift" : "push"](() => {
|
|
4058
|
-
|
|
4058
|
+
p = _, r(0, p);
|
|
4059
4059
|
});
|
|
4060
4060
|
}
|
|
4061
4061
|
return e.$$set = (_) => {
|
|
@@ -4064,13 +4064,13 @@ function vi(e, t, r) {
|
|
|
4064
4064
|
e.$$.dirty & /*lang*/
|
|
4065
4065
|
4096 && f && N(), e.$$.dirty & /*lang, title*/
|
|
4066
4066
|
6144 && f && h && Yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4067
|
-
129 && u &&
|
|
4068
|
-
257 && o &&
|
|
4067
|
+
129 && u && p && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4068
|
+
257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
|
|
4069
4069
|
4608 && f && l && L(), e.$$.dirty & /*showbackbutton*/
|
|
4070
4070
|
1024 && a && ie(), e.$$.dirty & /*showclosebutton*/
|
|
4071
4071
|
8192 && c && Jt();
|
|
4072
4072
|
}, [
|
|
4073
|
-
|
|
4073
|
+
p,
|
|
4074
4074
|
m,
|
|
4075
4075
|
g,
|
|
4076
4076
|
v,
|
|
@@ -4106,7 +4106,7 @@ class qt extends yr {
|
|
|
4106
4106
|
lang: 12,
|
|
4107
4107
|
showclosebutton: 13
|
|
4108
4108
|
},
|
|
4109
|
-
|
|
4109
|
+
pi
|
|
4110
4110
|
);
|
|
4111
4111
|
}
|
|
4112
4112
|
get clientstyling() {
|