@everymatrix/cashier-receipt-page 1.98.18 → 1.98.19
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-BbcQG9fO.js → CashierError-CpfzcZu7.js} +1 -1
- package/components/{CashierError-BjWc1geM.cjs → CashierError-DDhpNziz.cjs} +1 -1
- package/components/{CashierError-CssPQN1z.js → CashierError-pB3WiBCj.js} +1 -1
- package/components/{CashierReceiptPage-DlSPSHir.js → CashierReceiptPage-B2WZlYwK.js} +138 -136
- package/components/{CashierReceiptPage-C8UA12PD.js → CashierReceiptPage-BTjeGb2Y.js} +651 -649
- package/components/{CashierReceiptPage-NCmcaA77.cjs → CashierReceiptPage-DQPvaDS0.cjs} +7 -7
- 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
|
@@ -251,21 +251,21 @@ function Ge(e) {
|
|
|
251
251
|
je.push(e);
|
|
252
252
|
}
|
|
253
253
|
const Rt = /* @__PURE__ */ new Set();
|
|
254
|
-
let
|
|
254
|
+
let Oe = 0;
|
|
255
255
|
function Y() {
|
|
256
|
-
if (
|
|
256
|
+
if (Oe !== 0)
|
|
257
257
|
return;
|
|
258
258
|
const e = ot;
|
|
259
259
|
do {
|
|
260
260
|
try {
|
|
261
|
-
for (;
|
|
262
|
-
const t = $e[
|
|
263
|
-
|
|
261
|
+
for (; Oe < $e.length; ) {
|
|
262
|
+
const t = $e[Oe];
|
|
263
|
+
Oe++, rt(t), pi(t.$$);
|
|
264
264
|
}
|
|
265
265
|
} catch (t) {
|
|
266
|
-
throw $e.length = 0,
|
|
266
|
+
throw $e.length = 0, Oe = 0, t;
|
|
267
267
|
}
|
|
268
|
-
for (rt(null), $e.length = 0,
|
|
268
|
+
for (rt(null), $e.length = 0, Oe = 0; Tt.length; )
|
|
269
269
|
Tt.pop()();
|
|
270
270
|
for (let t = 0; t < je.length; t += 1) {
|
|
271
271
|
const n = je[t];
|
|
@@ -776,12 +776,12 @@ function Li(e) {
|
|
|
776
776
|
function st(e, t) {
|
|
777
777
|
return t.clone !== !1 && t.isMergeableObject(e) ? Fe(Li(e), e, t) : e;
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function Di(e, t, n) {
|
|
780
780
|
return e.concat(t).map(function(r) {
|
|
781
781
|
return st(r, n);
|
|
782
782
|
});
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function Oi(e, t) {
|
|
785
785
|
if (!t.customMerge)
|
|
786
786
|
return Fe;
|
|
787
787
|
var n = t.customMerge(e);
|
|
@@ -810,11 +810,11 @@ function Ni(e, t, n) {
|
|
|
810
810
|
return n.isMergeableObject(e) && _n(e).forEach(function(i) {
|
|
811
811
|
r[i] = st(e[i], n);
|
|
812
812
|
}), _n(t).forEach(function(i) {
|
|
813
|
-
$i(e, i) || (br(e, i) && n.isMergeableObject(t[i]) ? r[i] =
|
|
813
|
+
$i(e, i) || (br(e, i) && n.isMergeableObject(t[i]) ? r[i] = Oi(i, n)(e[i], t[i], n) : r[i] = st(t[i], n));
|
|
814
814
|
}), r;
|
|
815
815
|
}
|
|
816
816
|
function Fe(e, t, n) {
|
|
817
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
817
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Di, n.isMergeableObject = n.isMergeableObject || Mi, n.cloneUnlessOtherwiseSpecified = st;
|
|
818
818
|
var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
|
|
819
819
|
return o ? r ? n.arrayMerge(e, t, n) : Ni(e, t, n) : st(t, n);
|
|
820
820
|
}
|
|
@@ -927,44 +927,44 @@ var Yi = function() {
|
|
|
927
927
|
return t;
|
|
928
928
|
}, Ht.apply(this, arguments);
|
|
929
929
|
};
|
|
930
|
-
var
|
|
930
|
+
var O;
|
|
931
931
|
(function(e) {
|
|
932
932
|
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";
|
|
933
|
-
})(
|
|
934
|
-
var
|
|
933
|
+
})(O || (O = {}));
|
|
934
|
+
var J;
|
|
935
935
|
(function(e) {
|
|
936
936
|
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";
|
|
937
|
-
})(
|
|
937
|
+
})(J || (J = {}));
|
|
938
938
|
var ze;
|
|
939
939
|
(function(e) {
|
|
940
940
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
941
941
|
})(ze || (ze = {}));
|
|
942
942
|
function wn(e) {
|
|
943
|
-
return e.type ===
|
|
943
|
+
return e.type === J.literal;
|
|
944
944
|
}
|
|
945
945
|
function Ki(e) {
|
|
946
|
-
return e.type ===
|
|
946
|
+
return e.type === J.argument;
|
|
947
947
|
}
|
|
948
948
|
function Cr(e) {
|
|
949
|
-
return e.type ===
|
|
949
|
+
return e.type === J.number;
|
|
950
950
|
}
|
|
951
951
|
function _r(e) {
|
|
952
|
-
return e.type ===
|
|
952
|
+
return e.type === J.date;
|
|
953
953
|
}
|
|
954
954
|
function wr(e) {
|
|
955
|
-
return e.type ===
|
|
955
|
+
return e.type === J.time;
|
|
956
956
|
}
|
|
957
957
|
function xr(e) {
|
|
958
|
-
return e.type ===
|
|
958
|
+
return e.type === J.select;
|
|
959
959
|
}
|
|
960
960
|
function Tr(e) {
|
|
961
|
-
return e.type ===
|
|
961
|
+
return e.type === J.plural;
|
|
962
962
|
}
|
|
963
963
|
function Qi(e) {
|
|
964
|
-
return e.type ===
|
|
964
|
+
return e.type === J.pound;
|
|
965
965
|
}
|
|
966
966
|
function Sr(e) {
|
|
967
|
-
return e.type ===
|
|
967
|
+
return e.type === J.tag;
|
|
968
968
|
}
|
|
969
969
|
function Er(e) {
|
|
970
970
|
return !!(e && typeof e == "object" && e.type === ze.number);
|
|
@@ -2866,13 +2866,13 @@ var xo = (
|
|
|
2866
2866
|
if (o === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2867
2867
|
var a = this.clonePosition();
|
|
2868
2868
|
this.bump(), i.push({
|
|
2869
|
-
type:
|
|
2869
|
+
type: J.pound,
|
|
2870
2870
|
location: $(a, this.clonePosition())
|
|
2871
2871
|
});
|
|
2872
2872
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2873
2873
|
if (r)
|
|
2874
2874
|
break;
|
|
2875
|
-
return this.error(
|
|
2875
|
+
return this.error(O.UNMATCHED_CLOSING_TAG, $(this.clonePosition(), this.clonePosition()));
|
|
2876
2876
|
} else if (o === 60 && !this.ignoreTag && Jt(this.peek() || 0)) {
|
|
2877
2877
|
var s = this.parseTag(t, n);
|
|
2878
2878
|
if (s.err)
|
|
@@ -2894,7 +2894,7 @@ var xo = (
|
|
|
2894
2894
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2895
2895
|
return {
|
|
2896
2896
|
val: {
|
|
2897
|
-
type:
|
|
2897
|
+
type: J.literal,
|
|
2898
2898
|
value: "<".concat(i, "/>"),
|
|
2899
2899
|
location: $(r, this.clonePosition())
|
|
2900
2900
|
},
|
|
@@ -2907,21 +2907,21 @@ var xo = (
|
|
|
2907
2907
|
var s = o.val, a = this.clonePosition();
|
|
2908
2908
|
if (this.bumpIf("</")) {
|
|
2909
2909
|
if (this.isEOF() || !Jt(this.char()))
|
|
2910
|
-
return this.error(
|
|
2910
|
+
return this.error(O.INVALID_TAG, $(a, this.clonePosition()));
|
|
2911
2911
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
2912
|
-
return i !== l ? this.error(
|
|
2912
|
+
return i !== l ? this.error(O.UNMATCHED_CLOSING_TAG, $(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2913
2913
|
val: {
|
|
2914
|
-
type:
|
|
2914
|
+
type: J.tag,
|
|
2915
2915
|
value: i,
|
|
2916
2916
|
children: s,
|
|
2917
2917
|
location: $(r, this.clonePosition())
|
|
2918
2918
|
},
|
|
2919
2919
|
err: null
|
|
2920
|
-
} : this.error(
|
|
2920
|
+
} : this.error(O.INVALID_TAG, $(a, this.clonePosition())));
|
|
2921
2921
|
} else
|
|
2922
|
-
return this.error(
|
|
2922
|
+
return this.error(O.UNCLOSED_TAG, $(r, this.clonePosition()));
|
|
2923
2923
|
} else
|
|
2924
|
-
return this.error(
|
|
2924
|
+
return this.error(O.INVALID_TAG, $(r, this.clonePosition()));
|
|
2925
2925
|
}, e.prototype.parseTagName = function() {
|
|
2926
2926
|
var t = this.offset();
|
|
2927
2927
|
for (this.bump(); !this.isEOF() && So(this.char()); )
|
|
@@ -2948,7 +2948,7 @@ var xo = (
|
|
|
2948
2948
|
}
|
|
2949
2949
|
var u = $(r, this.clonePosition());
|
|
2950
2950
|
return {
|
|
2951
|
-
val: { type:
|
|
2951
|
+
val: { type: J.literal, value: i, location: u },
|
|
2952
2952
|
err: null
|
|
2953
2953
|
};
|
|
2954
2954
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2996,19 +2996,19 @@ var xo = (
|
|
|
2996
2996
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2997
2997
|
var r = this.clonePosition();
|
|
2998
2998
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2999
|
-
return this.error(
|
|
2999
|
+
return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, $(r, this.clonePosition()));
|
|
3000
3000
|
if (this.char() === 125)
|
|
3001
|
-
return this.bump(), this.error(
|
|
3001
|
+
return this.bump(), this.error(O.EMPTY_ARGUMENT, $(r, this.clonePosition()));
|
|
3002
3002
|
var i = this.parseIdentifierIfPossible().value;
|
|
3003
3003
|
if (!i)
|
|
3004
|
-
return this.error(
|
|
3004
|
+
return this.error(O.MALFORMED_ARGUMENT, $(r, this.clonePosition()));
|
|
3005
3005
|
if (this.bumpSpace(), this.isEOF())
|
|
3006
|
-
return this.error(
|
|
3006
|
+
return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, $(r, this.clonePosition()));
|
|
3007
3007
|
switch (this.char()) {
|
|
3008
3008
|
case 125:
|
|
3009
3009
|
return this.bump(), {
|
|
3010
3010
|
val: {
|
|
3011
|
-
type:
|
|
3011
|
+
type: J.argument,
|
|
3012
3012
|
// value does not include the opening and closing braces.
|
|
3013
3013
|
value: i,
|
|
3014
3014
|
location: $(r, this.clonePosition())
|
|
@@ -3016,9 +3016,9 @@ var xo = (
|
|
|
3016
3016
|
err: null
|
|
3017
3017
|
};
|
|
3018
3018
|
case 44:
|
|
3019
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3019
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, $(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
3020
3020
|
default:
|
|
3021
|
-
return this.error(
|
|
3021
|
+
return this.error(O.MALFORMED_ARGUMENT, $(r, this.clonePosition()));
|
|
3022
3022
|
}
|
|
3023
3023
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3024
3024
|
var t = this.clonePosition(), n = this.offset(), r = Qt(this.message, n), i = n + r.length;
|
|
@@ -3029,7 +3029,7 @@ var xo = (
|
|
|
3029
3029
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3030
3030
|
switch (a) {
|
|
3031
3031
|
case "":
|
|
3032
|
-
return this.error(
|
|
3032
|
+
return this.error(O.EXPECT_ARGUMENT_TYPE, $(s, u));
|
|
3033
3033
|
case "number":
|
|
3034
3034
|
case "date":
|
|
3035
3035
|
case "time": {
|
|
@@ -3042,7 +3042,7 @@ var xo = (
|
|
|
3042
3042
|
return f;
|
|
3043
3043
|
var m = wo(f.val);
|
|
3044
3044
|
if (m.length === 0)
|
|
3045
|
-
return this.error(
|
|
3045
|
+
return this.error(O.EXPECT_ARGUMENT_STYLE, $(this.clonePosition(), this.clonePosition()));
|
|
3046
3046
|
var g = $(c, this.clonePosition());
|
|
3047
3047
|
l = { style: m, styleLocation: g };
|
|
3048
3048
|
}
|
|
@@ -3055,12 +3055,12 @@ var xo = (
|
|
|
3055
3055
|
if (a === "number") {
|
|
3056
3056
|
var f = this.parseNumberSkeletonFromString(B, l.styleLocation);
|
|
3057
3057
|
return f.err ? f : {
|
|
3058
|
-
val: { type:
|
|
3058
|
+
val: { type: J.number, value: r, location: d, style: f.val },
|
|
3059
3059
|
err: null
|
|
3060
3060
|
};
|
|
3061
3061
|
} else {
|
|
3062
3062
|
if (B.length === 0)
|
|
3063
|
-
return this.error(
|
|
3063
|
+
return this.error(O.EXPECT_DATE_TIME_SKELETON, d);
|
|
3064
3064
|
var A = B;
|
|
3065
3065
|
this.locale && (A = ao(B, this.locale));
|
|
3066
3066
|
var m = {
|
|
@@ -3068,7 +3068,7 @@ var xo = (
|
|
|
3068
3068
|
pattern: A,
|
|
3069
3069
|
location: l.styleLocation,
|
|
3070
3070
|
parsedOptions: this.shouldParseSkeletons ? eo(A) : {}
|
|
3071
|
-
}, N = a === "date" ?
|
|
3071
|
+
}, N = a === "date" ? J.date : J.time;
|
|
3072
3072
|
return {
|
|
3073
3073
|
val: { type: N, value: r, location: d, style: m },
|
|
3074
3074
|
err: null
|
|
@@ -3077,7 +3077,7 @@ var xo = (
|
|
|
3077
3077
|
}
|
|
3078
3078
|
return {
|
|
3079
3079
|
val: {
|
|
3080
|
-
type: a === "number" ?
|
|
3080
|
+
type: a === "number" ? J.number : a === "date" ? J.date : J.time,
|
|
3081
3081
|
value: r,
|
|
3082
3082
|
location: d,
|
|
3083
3083
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3090,14 +3090,14 @@ var xo = (
|
|
|
3090
3090
|
case "select": {
|
|
3091
3091
|
var P = this.clonePosition();
|
|
3092
3092
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3093
|
-
return this.error(
|
|
3093
|
+
return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS, $(P, Ht({}, P)));
|
|
3094
3094
|
this.bumpSpace();
|
|
3095
3095
|
var Z = this.parseIdentifierIfPossible(), X = 0;
|
|
3096
3096
|
if (a !== "select" && Z.value === "offset") {
|
|
3097
3097
|
if (!this.bumpIf(":"))
|
|
3098
|
-
return this.error(
|
|
3098
|
+
return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, $(this.clonePosition(), this.clonePosition()));
|
|
3099
3099
|
this.bumpSpace();
|
|
3100
|
-
var f = this.tryParseDecimalInteger(
|
|
3100
|
+
var f = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3101
3101
|
if (f.err)
|
|
3102
3102
|
return f;
|
|
3103
3103
|
this.bumpSpace(), Z = this.parseIdentifierIfPossible(), X = f.val;
|
|
@@ -3111,7 +3111,7 @@ var xo = (
|
|
|
3111
3111
|
var F = $(i, this.clonePosition());
|
|
3112
3112
|
return a === "select" ? {
|
|
3113
3113
|
val: {
|
|
3114
|
-
type:
|
|
3114
|
+
type: J.select,
|
|
3115
3115
|
value: r,
|
|
3116
3116
|
options: Hn(I.val),
|
|
3117
3117
|
location: F
|
|
@@ -3119,7 +3119,7 @@ var xo = (
|
|
|
3119
3119
|
err: null
|
|
3120
3120
|
} : {
|
|
3121
3121
|
val: {
|
|
3122
|
-
type:
|
|
3122
|
+
type: J.plural,
|
|
3123
3123
|
value: r,
|
|
3124
3124
|
options: Hn(I.val),
|
|
3125
3125
|
offset: X,
|
|
@@ -3130,10 +3130,10 @@ var xo = (
|
|
|
3130
3130
|
};
|
|
3131
3131
|
}
|
|
3132
3132
|
default:
|
|
3133
|
-
return this.error(
|
|
3133
|
+
return this.error(O.INVALID_ARGUMENT_TYPE, $(s, u));
|
|
3134
3134
|
}
|
|
3135
3135
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3136
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3136
|
+
return this.isEOF() || this.char() !== 125 ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, $(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3137
3137
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3138
3138
|
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
3139
3139
|
var r = this.char();
|
|
@@ -3142,7 +3142,7 @@ var xo = (
|
|
|
3142
3142
|
this.bump();
|
|
3143
3143
|
var i = this.clonePosition();
|
|
3144
3144
|
if (!this.bumpUntil("'"))
|
|
3145
|
-
return this.error(
|
|
3145
|
+
return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, $(i, this.clonePosition()));
|
|
3146
3146
|
this.bump();
|
|
3147
3147
|
break;
|
|
3148
3148
|
}
|
|
@@ -3174,7 +3174,7 @@ var xo = (
|
|
|
3174
3174
|
try {
|
|
3175
3175
|
r = no(t);
|
|
3176
3176
|
} catch {
|
|
3177
|
-
return this.error(
|
|
3177
|
+
return this.error(O.INVALID_NUMBER_SKELETON, n);
|
|
3178
3178
|
}
|
|
3179
3179
|
return {
|
|
3180
3180
|
val: {
|
|
@@ -3190,7 +3190,7 @@ var xo = (
|
|
|
3190
3190
|
if (l.length === 0) {
|
|
3191
3191
|
var f = this.clonePosition();
|
|
3192
3192
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3193
|
-
var m = this.tryParseDecimalInteger(
|
|
3193
|
+
var m = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR, O.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3194
3194
|
if (m.err)
|
|
3195
3195
|
return m;
|
|
3196
3196
|
c = $(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
|
|
@@ -3198,11 +3198,11 @@ var xo = (
|
|
|
3198
3198
|
break;
|
|
3199
3199
|
}
|
|
3200
3200
|
if (u.has(l))
|
|
3201
|
-
return this.error(n === "select" ?
|
|
3201
|
+
return this.error(n === "select" ? O.DUPLICATE_SELECT_ARGUMENT_SELECTOR : O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3202
3202
|
l === "other" && (s = !0), this.bumpSpace();
|
|
3203
3203
|
var g = this.clonePosition();
|
|
3204
3204
|
if (!this.bumpIf("{"))
|
|
3205
|
-
return this.error(n === "select" ?
|
|
3205
|
+
return this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, $(this.clonePosition(), this.clonePosition()));
|
|
3206
3206
|
var _ = this.parseMessage(t + 1, n, r);
|
|
3207
3207
|
if (_.err)
|
|
3208
3208
|
return _;
|
|
@@ -3217,7 +3217,7 @@ var xo = (
|
|
|
3217
3217
|
}
|
|
3218
3218
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
|
|
3219
3219
|
}
|
|
3220
|
-
return a.length === 0 ? this.error(n === "select" ?
|
|
3220
|
+
return a.length === 0 ? this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR : O.EXPECT_PLURAL_ARGUMENT_SELECTOR, $(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(O.MISSING_OTHER_CLAUSE, $(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3221
3221
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3222
3222
|
var r = 1, i = this.clonePosition();
|
|
3223
3223
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
@@ -3323,7 +3323,7 @@ function Ho(e, t) {
|
|
|
3323
3323
|
t === void 0 && (t = {}), t = Ht({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3324
3324
|
var n = new xo(e, t).parse();
|
|
3325
3325
|
if (n.err) {
|
|
3326
|
-
var r = SyntaxError(
|
|
3326
|
+
var r = SyntaxError(O[n.err.kind]);
|
|
3327
3327
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3328
3328
|
}
|
|
3329
3329
|
return t?.captureLocation || en(n.val), n.val;
|
|
@@ -3650,7 +3650,7 @@ var Lr = (
|
|
|
3650
3650
|
}, e;
|
|
3651
3651
|
}()
|
|
3652
3652
|
);
|
|
3653
|
-
function
|
|
3653
|
+
function Do(e, t) {
|
|
3654
3654
|
if (t == null)
|
|
3655
3655
|
return;
|
|
3656
3656
|
if (t in e)
|
|
@@ -3671,7 +3671,7 @@ function Oo(e, t) {
|
|
|
3671
3671
|
r = void 0;
|
|
3672
3672
|
return r;
|
|
3673
3673
|
}
|
|
3674
|
-
const Be = {},
|
|
3674
|
+
const Be = {}, Oo = (e, t, n) => n && (t in Be || (Be[t] = {}), e in Be[t] || (Be[t][e] = n), n), Dr = (e, t) => {
|
|
3675
3675
|
if (t == null)
|
|
3676
3676
|
return;
|
|
3677
3677
|
if (t in Be && e in Be[t])
|
|
@@ -3680,7 +3680,7 @@ const Be = {}, Do = (e, t, n) => n && (t in Be || (Be[t] = {}), e in Be[t] || (B
|
|
|
3680
3680
|
for (let r = 0; r < n.length; r++) {
|
|
3681
3681
|
const i = n[r], o = $o(i, e);
|
|
3682
3682
|
if (o)
|
|
3683
|
-
return
|
|
3683
|
+
return Oo(e, t, o);
|
|
3684
3684
|
}
|
|
3685
3685
|
};
|
|
3686
3686
|
let dn;
|
|
@@ -3688,14 +3688,14 @@ const lt = At({});
|
|
|
3688
3688
|
function Ro(e) {
|
|
3689
3689
|
return dn[e] || null;
|
|
3690
3690
|
}
|
|
3691
|
-
function
|
|
3691
|
+
function Or(e) {
|
|
3692
3692
|
return e in dn;
|
|
3693
3693
|
}
|
|
3694
3694
|
function $o(e, t) {
|
|
3695
|
-
if (!
|
|
3695
|
+
if (!Or(e))
|
|
3696
3696
|
return null;
|
|
3697
3697
|
const n = Ro(e);
|
|
3698
|
-
return
|
|
3698
|
+
return Do(n, t);
|
|
3699
3699
|
}
|
|
3700
3700
|
function No(e) {
|
|
3701
3701
|
if (e == null)
|
|
@@ -3703,7 +3703,7 @@ function No(e) {
|
|
|
3703
3703
|
const t = ct(e);
|
|
3704
3704
|
for (let n = 0; n < t.length; n++) {
|
|
3705
3705
|
const r = t[n];
|
|
3706
|
-
if (
|
|
3706
|
+
if (Or(r))
|
|
3707
3707
|
return r;
|
|
3708
3708
|
}
|
|
3709
3709
|
}
|
|
@@ -3870,7 +3870,7 @@ const rs = (e) => {
|
|
|
3870
3870
|
return Bt.set(e);
|
|
3871
3871
|
}, Ie = ns(ts({}, Bt), {
|
|
3872
3872
|
set: rs
|
|
3873
|
-
}),
|
|
3873
|
+
}), Dt = (e) => {
|
|
3874
3874
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3875
3875
|
return (r) => {
|
|
3876
3876
|
const i = JSON.stringify(r);
|
|
@@ -3898,21 +3898,21 @@ const at = (e, t) => {
|
|
|
3898
3898
|
if (e in n && t in n[e])
|
|
3899
3899
|
return n[e][t];
|
|
3900
3900
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3901
|
-
}, os =
|
|
3901
|
+
}, os = Dt(
|
|
3902
3902
|
(e) => {
|
|
3903
3903
|
var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
|
|
3904
3904
|
if (n == null)
|
|
3905
3905
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3906
3906
|
return r && (i = at("number", r)), new Intl.NumberFormat(n, i);
|
|
3907
3907
|
}
|
|
3908
|
-
), ss =
|
|
3908
|
+
), ss = Dt(
|
|
3909
3909
|
(e) => {
|
|
3910
3910
|
var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
|
|
3911
3911
|
if (n == null)
|
|
3912
3912
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3913
3913
|
return r ? i = at("date", r) : Object.keys(i).length === 0 && (i = at("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3914
3914
|
}
|
|
3915
|
-
), as =
|
|
3915
|
+
), as = Dt(
|
|
3916
3916
|
(e) => {
|
|
3917
3917
|
var t = e, { locale: n, format: r } = t, i = Ye(t, ["locale", "format"]);
|
|
3918
3918
|
if (n == null)
|
|
@@ -3942,7 +3942,7 @@ const at = (e, t) => {
|
|
|
3942
3942
|
"locale"
|
|
3943
3943
|
]);
|
|
3944
3944
|
return as(mn({ locale: n }, r));
|
|
3945
|
-
}, fs =
|
|
3945
|
+
}, fs = Dt(
|
|
3946
3946
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3947
3947
|
(e, t = Pe()) => new Lr(e, t, Ve().formats, {
|
|
3948
3948
|
ignoreTag: Ve().ignoreTag
|
|
@@ -3960,7 +3960,7 @@ const at = (e, t) => {
|
|
|
3960
3960
|
throw new Error(
|
|
3961
3961
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3962
3962
|
);
|
|
3963
|
-
let c =
|
|
3963
|
+
let c = Dr(e, u);
|
|
3964
3964
|
if (!c)
|
|
3965
3965
|
c = (o = (i = (r = (n = Ve()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
3966
3966
|
else if (typeof c != "string")
|
|
@@ -3979,12 +3979,12 @@ const at = (e, t) => {
|
|
|
3979
3979
|
);
|
|
3980
3980
|
}
|
|
3981
3981
|
return f;
|
|
3982
|
-
}, ps = (e, t) => cs(t).format(e), ds = (e, t) => ls(t).format(e), ms = (e, t) => us(t).format(e), gs = (e, t = Pe()) =>
|
|
3982
|
+
}, ps = (e, t) => cs(t).format(e), ds = (e, t) => ls(t).format(e), ms = (e, t) => us(t).format(e), gs = (e, t = Pe()) => Dr(e, t), bs = Ze([Ie, lt], () => hs);
|
|
3983
3983
|
Ze([Ie], () => ps);
|
|
3984
3984
|
Ze([Ie], () => ds);
|
|
3985
3985
|
Ze([Ie], () => ms);
|
|
3986
3986
|
Ze([Ie, lt], () => gs);
|
|
3987
|
-
function
|
|
3987
|
+
function Dn(e, t) {
|
|
3988
3988
|
Rr(e, t);
|
|
3989
3989
|
}
|
|
3990
3990
|
function ys(e) {
|
|
@@ -3992,7 +3992,7 @@ function ys(e) {
|
|
|
3992
3992
|
fallbackLocale: "en"
|
|
3993
3993
|
}), Ie.set(e);
|
|
3994
3994
|
}
|
|
3995
|
-
const
|
|
3995
|
+
const On = {
|
|
3996
3996
|
en: {
|
|
3997
3997
|
amount: "Amount",
|
|
3998
3998
|
status: "Status",
|
|
@@ -4859,14 +4859,14 @@ var Fr = { exports: {} };
|
|
|
4859
4859
|
return H ? oe : oe.endOf(l);
|
|
4860
4860
|
}, z = function(fe, ne) {
|
|
4861
4861
|
return L.w(w.toDate()[fe].apply(w.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ne)), w);
|
|
4862
|
-
},
|
|
4862
|
+
}, D = this.$W, K = this.$M, te = this.$D, de = "set" + (this.$u ? "UTC" : "");
|
|
4863
4863
|
switch (x) {
|
|
4864
4864
|
case g:
|
|
4865
4865
|
return H ? R(1, 0) : R(31, 11);
|
|
4866
4866
|
case f:
|
|
4867
4867
|
return H ? R(1, K) : R(0, K + 1);
|
|
4868
4868
|
case c:
|
|
4869
|
-
var ce = this.$locale().weekStart || 0, ve = (
|
|
4869
|
+
var ce = this.$locale().weekStart || 0, ve = (D < ce ? D + 7 : D) - ce;
|
|
4870
4870
|
return R(H ? te - ve : te + (6 - ve), K);
|
|
4871
4871
|
case l:
|
|
4872
4872
|
case _:
|
|
@@ -4885,8 +4885,8 @@ var Fr = { exports: {} };
|
|
|
4885
4885
|
}, C.$set = function(b, y) {
|
|
4886
4886
|
var w, H = L.p(b), x = "set" + (this.$u ? "UTC" : ""), R = (w = {}, w[l] = x + "Date", w[_] = x + "Date", w[f] = x + "Month", w[g] = x + "FullYear", w[u] = x + "Hours", w[a] = x + "Minutes", w[s] = x + "Seconds", w[o] = x + "Milliseconds", w)[H], z = H === l ? this.$D + (y - this.$W) : y;
|
|
4887
4887
|
if (H === f || H === g) {
|
|
4888
|
-
var
|
|
4889
|
-
|
|
4888
|
+
var D = this.clone().set(_, 1);
|
|
4889
|
+
D.$d[R](z), D.init(), this.$d = D.set(_, Math.min(this.$D, D.daysInMonth())).$d;
|
|
4890
4890
|
} else
|
|
4891
4891
|
R && this.$d[R](z);
|
|
4892
4892
|
return this.init(), this;
|
|
@@ -4909,15 +4909,15 @@ var Fr = { exports: {} };
|
|
|
4909
4909
|
return R(1);
|
|
4910
4910
|
if (x === c)
|
|
4911
4911
|
return R(7);
|
|
4912
|
-
var z = (w = {}, w[a] = r, w[u] = i, w[s] = n, w)[x] || 1,
|
|
4913
|
-
return L.w(
|
|
4912
|
+
var z = (w = {}, w[a] = r, w[u] = i, w[s] = n, w)[x] || 1, D = this.$d.getTime() + b * z;
|
|
4913
|
+
return L.w(D, this);
|
|
4914
4914
|
}, C.subtract = function(b, y) {
|
|
4915
4915
|
return this.add(-1 * b, y);
|
|
4916
4916
|
}, C.format = function(b) {
|
|
4917
4917
|
var y = this, w = this.$locale();
|
|
4918
4918
|
if (!this.isValid())
|
|
4919
4919
|
return w.invalidDate || d;
|
|
4920
|
-
var H = b || "YYYY-MM-DDTHH:mm:ssZ", x = L.z(this), R = this.$H, z = this.$m,
|
|
4920
|
+
var H = b || "YYYY-MM-DDTHH:mm:ssZ", x = L.z(this), R = this.$H, z = this.$m, D = this.$M, K = w.weekdays, te = w.months, de = w.meridiem, ce = function(ne, oe, me, Ce) {
|
|
4921
4921
|
return ne && (ne[oe] || ne(y, H)) || me[oe].slice(0, Ce);
|
|
4922
4922
|
}, ve = function(ne) {
|
|
4923
4923
|
return L.s(R % 12 || 12, ne, "0");
|
|
@@ -4933,13 +4933,13 @@ var Fr = { exports: {} };
|
|
|
4933
4933
|
case "YYYY":
|
|
4934
4934
|
return L.s(y.$y, 4, "0");
|
|
4935
4935
|
case "M":
|
|
4936
|
-
return
|
|
4936
|
+
return D + 1;
|
|
4937
4937
|
case "MM":
|
|
4938
|
-
return L.s(
|
|
4938
|
+
return L.s(D + 1, 2, "0");
|
|
4939
4939
|
case "MMM":
|
|
4940
|
-
return ce(w.monthsShort,
|
|
4940
|
+
return ce(w.monthsShort, D, te, 3);
|
|
4941
4941
|
case "MMMM":
|
|
4942
|
-
return ce(te,
|
|
4942
|
+
return ce(te, D);
|
|
4943
4943
|
case "D":
|
|
4944
4944
|
return y.$D;
|
|
4945
4945
|
case "DD":
|
|
@@ -4983,7 +4983,7 @@ var Fr = { exports: {} };
|
|
|
4983
4983
|
}, C.utcOffset = function() {
|
|
4984
4984
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4985
4985
|
}, C.diff = function(b, y, w) {
|
|
4986
|
-
var H, x = this, R = L.p(y), z = q(b),
|
|
4986
|
+
var H, x = this, R = L.p(y), z = q(b), D = (z.utcOffset() - this.utcOffset()) * r, K = this - z, te = function() {
|
|
4987
4987
|
return L.m(x, z);
|
|
4988
4988
|
};
|
|
4989
4989
|
switch (R) {
|
|
@@ -4997,10 +4997,10 @@ var Fr = { exports: {} };
|
|
|
4997
4997
|
H = te() / 3;
|
|
4998
4998
|
break;
|
|
4999
4999
|
case c:
|
|
5000
|
-
H = (K -
|
|
5000
|
+
H = (K - D) / 6048e5;
|
|
5001
5001
|
break;
|
|
5002
5002
|
case l:
|
|
5003
|
-
H = (K -
|
|
5003
|
+
H = (K - D) / 864e5;
|
|
5004
5004
|
break;
|
|
5005
5005
|
case u:
|
|
5006
5006
|
H = K / i;
|
|
@@ -5225,7 +5225,7 @@ function an(e, t) {
|
|
|
5225
5225
|
0 <= n && e.splice(n, 1);
|
|
5226
5226
|
}
|
|
5227
5227
|
}
|
|
5228
|
-
var
|
|
5228
|
+
var Ot = function() {
|
|
5229
5229
|
function e(t) {
|
|
5230
5230
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
5231
5231
|
}
|
|
@@ -5315,9 +5315,9 @@ var Dt = function() {
|
|
|
5315
5315
|
var t = new e();
|
|
5316
5316
|
return t.closed = !0, t;
|
|
5317
5317
|
}(), e;
|
|
5318
|
-
}(), Vr =
|
|
5318
|
+
}(), Vr = Ot.EMPTY;
|
|
5319
5319
|
function Zr(e) {
|
|
5320
|
-
return e instanceof
|
|
5320
|
+
return e instanceof Ot || e && "closed" in e && He(e.remove) && He(e.add) && He(e.unsubscribe);
|
|
5321
5321
|
}
|
|
5322
5322
|
function Rn(e) {
|
|
5323
5323
|
He(e) ? e() : e.unsubscribe();
|
|
@@ -5376,7 +5376,7 @@ var Yr = function(e) {
|
|
|
5376
5376
|
this.unsubscribe();
|
|
5377
5377
|
}
|
|
5378
5378
|
}, t;
|
|
5379
|
-
}(
|
|
5379
|
+
}(Ot), ks = function() {
|
|
5380
5380
|
function e(t) {
|
|
5381
5381
|
this.partialObserver = t;
|
|
5382
5382
|
}
|
|
@@ -5436,7 +5436,7 @@ var As = {
|
|
|
5436
5436
|
function Ls(e) {
|
|
5437
5437
|
return e;
|
|
5438
5438
|
}
|
|
5439
|
-
function
|
|
5439
|
+
function Ds(e) {
|
|
5440
5440
|
return e.length === 0 ? Ls : e.length === 1 ? e[0] : function(n) {
|
|
5441
5441
|
return e.reduce(function(r, i) {
|
|
5442
5442
|
return i(r);
|
|
@@ -5486,7 +5486,7 @@ var Nn = function() {
|
|
|
5486
5486
|
}, e.prototype.pipe = function() {
|
|
5487
5487
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
5488
5488
|
t[n] = arguments[n];
|
|
5489
|
-
return
|
|
5489
|
+
return Ds(t)(this);
|
|
5490
5490
|
}, e.prototype.toPromise = function(t) {
|
|
5491
5491
|
var n = this;
|
|
5492
5492
|
return t = Un(t), new t(function(r, i) {
|
|
@@ -5507,11 +5507,11 @@ function Un(e) {
|
|
|
5507
5507
|
var t;
|
|
5508
5508
|
return (t = e ?? Hs.Promise) !== null && t !== void 0 ? t : Promise;
|
|
5509
5509
|
}
|
|
5510
|
-
function
|
|
5510
|
+
function Os(e) {
|
|
5511
5511
|
return e && He(e.next) && He(e.error) && He(e.complete);
|
|
5512
5512
|
}
|
|
5513
5513
|
function Rs(e) {
|
|
5514
|
-
return e && e instanceof Yr ||
|
|
5514
|
+
return e && e instanceof Yr || Os(e) && Zr(e);
|
|
5515
5515
|
}
|
|
5516
5516
|
var $s = Wr(function(e) {
|
|
5517
5517
|
return function() {
|
|
@@ -5585,7 +5585,7 @@ var $s = Wr(function(e) {
|
|
|
5585
5585
|
return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
|
|
5586
5586
|
}, t.prototype._innerSubscribe = function(n) {
|
|
5587
5587
|
var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
5588
|
-
return o || s ? Vr : (this.currentObservers = null, a.push(n), new
|
|
5588
|
+
return o || s ? Vr : (this.currentObservers = null, a.push(n), new Ot(function() {
|
|
5589
5589
|
r.currentObservers = null, an(a, n);
|
|
5590
5590
|
}));
|
|
5591
5591
|
}, t.prototype._checkFinalizedStatuses = function(n) {
|
|
@@ -5792,7 +5792,7 @@ if (typeof window < "u") {
|
|
|
5792
5792
|
}
|
|
5793
5793
|
};
|
|
5794
5794
|
};
|
|
5795
|
-
customElements.define = e(customElements.define), import("./CashierError-
|
|
5795
|
+
customElements.define = e(customElements.define), import("./CashierError-pB3WiBCj.js").then(({ default: t }) => {
|
|
5796
5796
|
!customElements.get("cashier-error") && customElements.define("cashier-error", t.element);
|
|
5797
5797
|
});
|
|
5798
5798
|
}
|
|
@@ -6104,7 +6104,7 @@ function Qs(e) {
|
|
|
6104
6104
|
), Se, T, C, b, y = (
|
|
6105
6105
|
/*$_*/
|
|
6106
6106
|
e[24]("payemntMethod") + ""
|
|
6107
|
-
), w, H, x, R, z,
|
|
6107
|
+
), w, H, x, R, z, D, K, te = (
|
|
6108
6108
|
/*$_*/
|
|
6109
6109
|
e[24]("paymentTime") + ""
|
|
6110
6110
|
), de, ce, ve, fe = Pt(
|
|
@@ -6140,7 +6140,7 @@ function Qs(e) {
|
|
|
6140
6140
|
E[15].type ? ra : na
|
|
6141
6141
|
);
|
|
6142
6142
|
}
|
|
6143
|
-
let
|
|
6143
|
+
let De = ht(e), ye = De(e), le = (
|
|
6144
6144
|
/*receiptFields*/
|
|
6145
6145
|
e[16].length && er(e)
|
|
6146
6146
|
);
|
|
@@ -6152,11 +6152,11 @@ function Qs(e) {
|
|
|
6152
6152
|
), f = G(), m = S("div"), g = S("p"), d = j(_), B = G(), A = S("span"), P = j(N), X = G(), I = S("div"), F = S("p"), ue = j(pe), q = G(), L = S("span"), Se = j(be), T = G(), C = S("div"), b = S("p"), w = j(y), H = G(), x = S("span"), R = j(
|
|
6153
6153
|
/*paymentmethod*/
|
|
6154
6154
|
e[0]
|
|
6155
|
-
), z = G(),
|
|
6156
|
-
e[21]}`), h(L, "class", "TxnIdText"), h(I, "class", "TxnId"), h(C, "class", "PaymentMethod"), h(
|
|
6155
|
+
), z = G(), D = S("div"), K = S("p"), de = j(te), ce = G(), ve = S("span"), ne = j(fe), oe = G(), me = S("div"), ae && ae.c(), Ce = G(), Ee = S("button"), ye.c(), Xe = G(), le && le.c(), Ae = hn(), h(t, "class", "ReceiptStatusWrapper"), h(i, "class", "Amount"), h(m, "class", Z = `Status ${/*txnStatus*/
|
|
6156
|
+
e[21]}`), h(L, "class", "TxnIdText"), h(I, "class", "TxnId"), h(C, "class", "PaymentMethod"), h(D, "class", "PaymentTime"), h(r, "class", "ReceiptDetailsWrapper"), h(me, "class", "ReceiptButtonsWrapper"), h(Ee, "class", "DefaultButton");
|
|
6157
6157
|
},
|
|
6158
6158
|
m(E, U) {
|
|
6159
|
-
k(E, t, U), se && se.m(t, null), k(E, n, U), k(E, r, U), v(r, i), v(i, o), v(o, a), v(i, u), v(i, l), v(l, c), v(r, f), v(r, m), v(m, g), v(g, d), v(m, B), v(m, A), v(A, P), v(r, X), v(r, I), v(I, F), v(F, ue), v(I, q), v(I, L), v(L, Se), v(r, T), v(r, C), v(C, b), v(b, w), v(C, H), v(C, x), v(x, R), v(r, z), v(r,
|
|
6159
|
+
k(E, t, U), se && se.m(t, null), k(E, n, U), k(E, r, U), v(r, i), v(i, o), v(o, a), v(i, u), v(i, l), v(l, c), v(r, f), v(r, m), v(m, g), v(g, d), v(m, B), v(m, A), v(A, P), v(r, X), v(r, I), v(I, F), v(F, ue), v(I, q), v(I, L), v(L, Se), v(r, T), v(r, C), v(C, b), v(b, w), v(C, H), v(C, x), v(x, R), v(r, z), v(r, D), v(D, K), v(K, de), v(D, ce), v(D, ve), v(ve, ne), k(E, oe, U), k(E, me, U), ae && ae.m(me, null), k(E, Ce, U), k(E, Ee, U), ye.m(Ee, null), k(E, Xe, U), le && le.m(E, U), k(E, Ae, U), Le || (qe = [
|
|
6160
6160
|
it(
|
|
6161
6161
|
L,
|
|
6162
6162
|
"click",
|
|
@@ -6204,7 +6204,7 @@ function Qs(e) {
|
|
|
6204
6204
|
/*txnInfo*/
|
|
6205
6205
|
E[15].time
|
|
6206
6206
|
).format("MMM DD, YYYY, HH:mm:ss") + "") && V(ne, fe), /*displayedButtons*/
|
|
6207
|
-
E[12].length > 0 ? ae ? ae.p(E, U) : (ae = Qn(E), ae.c(), ae.m(me, null)) : ae && (ae.d(1), ae = null),
|
|
6207
|
+
E[12].length > 0 ? ae ? ae.p(E, U) : (ae = Qn(E), ae.c(), ae.m(me, null)) : ae && (ae.d(1), ae = null), De === (De = ht(E)) && ye ? ye.p(E, U) : (ye.d(1), ye = De(E), ye && (ye.c(), ye.m(Ee, null))), /*receiptFields*/
|
|
6208
6208
|
E[16].length ? le ? le.p(E, U) : (le = er(E), le.c(), le.m(Ae.parentNode, Ae)) : le && (le.d(1), le = null);
|
|
6209
6209
|
},
|
|
6210
6210
|
d(E) {
|
|
@@ -6720,7 +6720,7 @@ function ha(e, t, n) {
|
|
|
6720
6720
|
})(y || (y = {}));
|
|
6721
6721
|
const w = (p, [ie, _e]) => [
|
|
6722
6722
|
...p,
|
|
6723
|
-
...Array.isArray(ie) ? [...ie.map((
|
|
6723
|
+
...Array.isArray(ie) ? [...ie.map((Q) => [Q, _e])] : [[ie, _e]]
|
|
6724
6724
|
], H = new Map([
|
|
6725
6725
|
[["Unknown", 0], y.Unknown],
|
|
6726
6726
|
[["Text", 1], y.Text],
|
|
@@ -6741,7 +6741,7 @@ function ha(e, t, n) {
|
|
|
6741
6741
|
[["Html", 19], y.Html],
|
|
6742
6742
|
[["QR", 20], y.QRCode]
|
|
6743
6743
|
].reduce(w, []));
|
|
6744
|
-
let x, R = [], z,
|
|
6744
|
+
let x, R = [], z, D, K = [], te, de, ce = "", ve = window.navigator.userAgent, fe = !1;
|
|
6745
6745
|
const ne = {
|
|
6746
6746
|
promotions: {
|
|
6747
6747
|
event: "Cashier:goToPromotions",
|
|
@@ -6819,13 +6819,13 @@ function ha(e, t, n) {
|
|
|
6819
6819
|
if (p)
|
|
6820
6820
|
return fetch(p).then((ie) => ie.json()).then((ie) => {
|
|
6821
6821
|
Object.keys(ie).forEach((_e) => {
|
|
6822
|
-
|
|
6822
|
+
Dn(_e, ie[_e]);
|
|
6823
6823
|
});
|
|
6824
6824
|
}).catch(() => {
|
|
6825
6825
|
});
|
|
6826
6826
|
};
|
|
6827
|
-
Object.keys(
|
|
6828
|
-
|
|
6827
|
+
Object.keys(On).forEach((p) => {
|
|
6828
|
+
Dn(p, On[p]);
|
|
6829
6829
|
});
|
|
6830
6830
|
const Xe = () => {
|
|
6831
6831
|
window.postMessage({ type: "CloseCashierReceiptPage" }, window.location.href);
|
|
@@ -6846,31 +6846,31 @@ function ha(e, t, n) {
|
|
|
6846
6846
|
headers: ie,
|
|
6847
6847
|
body: JSON.stringify({ TransactionCode: m })
|
|
6848
6848
|
};
|
|
6849
|
-
n(11, Z = !0), fetch(p, _e).then((
|
|
6850
|
-
if (
|
|
6851
|
-
n(19, te =
|
|
6849
|
+
n(11, Z = !0), fetch(p, _e).then((Q) => Q.json()).then((Q) => {
|
|
6850
|
+
if (Q.ResponseCode !== b.Success) {
|
|
6851
|
+
n(19, te = Q.ResponseCode), n(20, de = u.toLowerCase() === "false" || !u), Ae();
|
|
6852
6852
|
return;
|
|
6853
6853
|
}
|
|
6854
6854
|
switch (n(15, x = {
|
|
6855
|
-
type:
|
|
6856
|
-
referenceId:
|
|
6857
|
-
status:
|
|
6858
|
-
message:
|
|
6859
|
-
amount:
|
|
6860
|
-
currency:
|
|
6861
|
-
time:
|
|
6862
|
-
}), n(16, R =
|
|
6855
|
+
type: Q.Transaction.Type,
|
|
6856
|
+
referenceId: Q.Transaction.Code,
|
|
6857
|
+
status: Q.Transaction.Status?.Status,
|
|
6858
|
+
message: Q.Transaction.Status?.Message,
|
|
6859
|
+
amount: Q.Transaction.Amounts[0]?.Amount,
|
|
6860
|
+
currency: Q.Transaction.Amounts[0]?.Currency,
|
|
6861
|
+
time: Q.Transaction.Status.Created
|
|
6862
|
+
}), n(16, R = Q.ReceiptInfo && Q.ReceiptInfo.ReceiptFields ? Q.ReceiptInfo.ReceiptFields.map((xe) => ({
|
|
6863
6863
|
type: H.get(xe.Type),
|
|
6864
6864
|
name: xe.Name,
|
|
6865
6865
|
description: xe.Description,
|
|
6866
6866
|
defaultValue: xe.DefaultValue,
|
|
6867
6867
|
useCopyButton: xe.UseCopyButton,
|
|
6868
6868
|
usePrintButton: xe.UsePrintButton
|
|
6869
|
-
})) : []),
|
|
6869
|
+
})) : []), Q.ReceiptInfo && Q.ReceiptInfo.ReceiptFields && !P && n(0, P = R[0].defaultValue), r(Cs(x.status, x.type), { values: { errorText: x.message } }), n(17, z = Gs(Number(x.amount), x.currency)), x.status) {
|
|
6870
6870
|
case "Voided":
|
|
6871
6871
|
case "Success":
|
|
6872
6872
|
if (oe(I || "casino, livecasino, tournaments"), n(21, ce = "success"), x.type === "Deposit") {
|
|
6873
|
-
const xe =
|
|
6873
|
+
const xe = Q.Transaction?.Flags?.NewDepositCustomer, gn = Q?.Transaction?.Payloads;
|
|
6874
6874
|
window.postMessage(
|
|
6875
6875
|
{
|
|
6876
6876
|
type: xe === "True" ? "FirstDeposit" : "ConfirmedDeposit",
|
|
@@ -6889,7 +6889,9 @@ function ha(e, t, n) {
|
|
|
6889
6889
|
userID: f,
|
|
6890
6890
|
amount: x.amount,
|
|
6891
6891
|
currency: x.currency,
|
|
6892
|
-
|
|
6892
|
+
transactionId: x.referenceId,
|
|
6893
|
+
method: P,
|
|
6894
|
+
isFirstDeposit: Q.Transaction?.Flags?.NewDepositCustomer === "True"
|
|
6893
6895
|
}
|
|
6894
6896
|
);
|
|
6895
6897
|
break;
|
|
@@ -6934,10 +6936,10 @@ function ha(e, t, n) {
|
|
|
6934
6936
|
};
|
|
6935
6937
|
let we, se;
|
|
6936
6938
|
const ae = async (p, ie = !0) => {
|
|
6937
|
-
const
|
|
6938
|
-
if (
|
|
6939
|
+
const Q = p.currentTarget.innerHTML;
|
|
6940
|
+
if (Q && navigator.clipboard && navigator.clipboard.writeText)
|
|
6939
6941
|
try {
|
|
6940
|
-
await navigator.clipboard.writeText(
|
|
6942
|
+
await navigator.clipboard.writeText(Q), ie && (n(23, we = !0), clearTimeout(se), se = setTimeout(
|
|
6941
6943
|
() => {
|
|
6942
6944
|
n(23, we = !1);
|
|
6943
6945
|
},
|
|
@@ -6948,7 +6950,7 @@ function ha(e, t, n) {
|
|
|
6948
6950
|
}
|
|
6949
6951
|
}, ht = () => {
|
|
6950
6952
|
L.length > 0 && (C = L.split(","));
|
|
6951
|
-
},
|
|
6953
|
+
}, De = (p) => ae(p), ye = (p) => qe(p.event);
|
|
6952
6954
|
function le(p) {
|
|
6953
6955
|
Tt[p ? "unshift" : "push"](() => {
|
|
6954
6956
|
K[K.length] = p, n(18, K);
|
|
@@ -6959,7 +6961,7 @@ function ha(e, t, n) {
|
|
|
6959
6961
|
};
|
|
6960
6962
|
function U(p) {
|
|
6961
6963
|
Tt[p ? "unshift" : "push"](() => {
|
|
6962
|
-
|
|
6964
|
+
D = p, n(10, D);
|
|
6963
6965
|
});
|
|
6964
6966
|
}
|
|
6965
6967
|
return e.$$set = (p) => {
|
|
@@ -6971,10 +6973,10 @@ function ha(e, t, n) {
|
|
|
6971
6973
|
6 && i && o && f && m && u && Le(), e.$$.dirty[0] & /*lang*/
|
|
6972
6974
|
8 && s && me(), e.$$.dirty[0] & /*lang, translationurl*/
|
|
6973
6975
|
24 && s && l && Ee(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
6974
|
-
1152 && d &&
|
|
6975
|
-
1280 && B &&
|
|
6976
|
+
1152 && d && D && Fs(D, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
6977
|
+
1280 && B && D && zs(D, B), e.$$.dirty[0] & /*customStylingContainer*/
|
|
6976
6978
|
1024 | e.$$.dirty[1] & /*mbsource*/
|
|
6977
|
-
32 && A &&
|
|
6979
|
+
32 && A && D && Ws(D, `${A}.Style`, X);
|
|
6978
6980
|
}, [
|
|
6979
6981
|
P,
|
|
6980
6982
|
i,
|
|
@@ -6986,7 +6988,7 @@ function ha(e, t, n) {
|
|
|
6986
6988
|
d,
|
|
6987
6989
|
B,
|
|
6988
6990
|
N,
|
|
6989
|
-
|
|
6991
|
+
D,
|
|
6990
6992
|
Z,
|
|
6991
6993
|
T,
|
|
6992
6994
|
b,
|
|
@@ -7021,7 +7023,7 @@ function ha(e, t, n) {
|
|
|
7021
7023
|
L,
|
|
7022
7024
|
be,
|
|
7023
7025
|
Se,
|
|
7024
|
-
|
|
7026
|
+
De,
|
|
7025
7027
|
ye,
|
|
7026
7028
|
le,
|
|
7027
7029
|
E,
|