mainstack-payments 1.0.20 → 1.0.21
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/build/mainstack-payments.js +243 -232
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as h, jsxs as $, Fragment as
|
|
1
|
+
import { jsx as h, jsxs as $, Fragment as wt } from "react/jsx-runtime";
|
|
2
2
|
import { Colors as ct, InfoIcon as Ks, Paragraph as dv, CountrySelect as M1, NotificationsFilledIcon as Go, LockIcon as O1, customSnackbar as Pt, SnackbarType as $t, CancelFilledIcon as wu, Button as qs, Loader as R1, ExpandMoreIcon as Wa, ClickTooltip as xp, DiscountIcon as I1, PhoneNumberInput as D1, MainstackProvider as B1, CustomSnackbarContainer as N1 } from "mainstack-design-system";
|
|
3
3
|
import * as R from "react";
|
|
4
4
|
import _e, { forwardRef as pn, useContext as et, createContext as tn, useLayoutEffect as ki, useEffect as de, useState as ae, useRef as Se, useMemo as at, useCallback as fe, useReducer as L1, useInsertionEffect as Td, createElement as fv, useId as eo, cloneElement as Zs, Children as pv, isValidElement as bl, memo as j1, useSyncExternalStore as z1, PureComponent as V1, useImperativeHandle as U1 } from "react";
|
|
@@ -49,7 +49,7 @@ var K1 = /* @__PURE__ */ function() {
|
|
|
49
49
|
return r.parentNode && r.parentNode.removeChild(r);
|
|
50
50
|
}), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
|
|
51
51
|
}, e;
|
|
52
|
-
}(),
|
|
52
|
+
}(), Et = "-ms-", Ys = "-moz-", $e = "-webkit-", _d = "comm", kd = "rule", Pd = "decl", q1 = "@import", mv = "@keyframes", Z1 = "@layer", Y1 = Math.abs, Sl = String.fromCharCode, X1 = Object.assign;
|
|
53
53
|
function J1(e, t) {
|
|
54
54
|
return xt(e, 0) ^ 45 ? (((t << 2 ^ xt(e, 0)) << 2 ^ xt(e, 1)) << 2 ^ xt(e, 2)) << 2 ^ xt(e, 3) : 0;
|
|
55
55
|
}
|
|
@@ -462,24 +462,24 @@ function wv(e, t) {
|
|
|
462
462
|
case 4810:
|
|
463
463
|
case 6968:
|
|
464
464
|
case 2756:
|
|
465
|
-
return $e + e + Ys + e +
|
|
465
|
+
return $e + e + Ys + e + Et + e + e;
|
|
466
466
|
case 6828:
|
|
467
467
|
case 4268:
|
|
468
|
-
return $e + e +
|
|
468
|
+
return $e + e + Et + e + e;
|
|
469
469
|
case 6165:
|
|
470
|
-
return $e + e +
|
|
470
|
+
return $e + e + Et + "flex-" + e + e;
|
|
471
471
|
case 5187:
|
|
472
|
-
return $e + e + Fe(e, /(\w+).+(:[^]+)/, $e + "box-$1$2" +
|
|
472
|
+
return $e + e + Fe(e, /(\w+).+(:[^]+)/, $e + "box-$1$2" + Et + "flex-$1$2") + e;
|
|
473
473
|
case 5443:
|
|
474
|
-
return $e + e +
|
|
474
|
+
return $e + e + Et + "flex-item-" + Fe(e, /flex-|-self/, "") + e;
|
|
475
475
|
case 4675:
|
|
476
|
-
return $e + e +
|
|
476
|
+
return $e + e + Et + "flex-line-pack" + Fe(e, /align-content|flex-|-self/, "") + e;
|
|
477
477
|
case 5548:
|
|
478
|
-
return $e + e +
|
|
478
|
+
return $e + e + Et + Fe(e, "shrink", "negative") + e;
|
|
479
479
|
case 5292:
|
|
480
|
-
return $e + e +
|
|
480
|
+
return $e + e + Et + Fe(e, "basis", "preferred-size") + e;
|
|
481
481
|
case 6060:
|
|
482
|
-
return $e + "box-" + Fe(e, "-grow", "") + $e + e +
|
|
482
|
+
return $e + "box-" + Fe(e, "-grow", "") + $e + e + Et + Fe(e, "grow", "positive") + e;
|
|
483
483
|
case 4554:
|
|
484
484
|
return $e + Fe(e, /([^-])(transform)/g, "$1" + $e + "$2") + e;
|
|
485
485
|
case 6187:
|
|
@@ -488,7 +488,7 @@ function wv(e, t) {
|
|
|
488
488
|
case 3959:
|
|
489
489
|
return Fe(e, /(image-set\([^]*)/, $e + "$1$`$1");
|
|
490
490
|
case 4968:
|
|
491
|
-
return Fe(Fe(e, /(.+:)(flex-)?(.*)/, $e + "box-pack:$3" +
|
|
491
|
+
return Fe(Fe(e, /(.+:)(flex-)?(.*)/, $e + "box-pack:$3" + Et + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + $e + e + e;
|
|
492
492
|
case 4095:
|
|
493
493
|
case 3583:
|
|
494
494
|
case 4068:
|
|
@@ -525,19 +525,19 @@ function wv(e, t) {
|
|
|
525
525
|
case 107:
|
|
526
526
|
return Fe(e, ":", ":" + $e) + e;
|
|
527
527
|
case 101:
|
|
528
|
-
return Fe(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + $e + (xt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + $e + "$2$3$1" +
|
|
528
|
+
return Fe(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + $e + (xt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + $e + "$2$3$1" + Et + "$2box$3") + e;
|
|
529
529
|
}
|
|
530
530
|
break;
|
|
531
531
|
case 5936:
|
|
532
532
|
switch (xt(e, t + 11)) {
|
|
533
533
|
case 114:
|
|
534
|
-
return $e + e +
|
|
534
|
+
return $e + e + Et + Fe(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
535
535
|
case 108:
|
|
536
|
-
return $e + e +
|
|
536
|
+
return $e + e + Et + Fe(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
537
537
|
case 45:
|
|
538
|
-
return $e + e +
|
|
538
|
+
return $e + e + Et + Fe(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
539
539
|
}
|
|
540
|
-
return $e + e +
|
|
540
|
+
return $e + e + Et + e + e;
|
|
541
541
|
}
|
|
542
542
|
return e;
|
|
543
543
|
}
|
|
@@ -566,7 +566,7 @@ var wS = function(t, n, r, a) {
|
|
|
566
566
|
}), Ao(t, {
|
|
567
567
|
props: [Fe(o, /:(plac\w+)/, ":" + Ys + "$1")]
|
|
568
568
|
}), Ao(t, {
|
|
569
|
-
props: [Fe(o, /:(plac\w+)/,
|
|
569
|
+
props: [Fe(o, /:(plac\w+)/, Et + "input-$1")]
|
|
570
570
|
})], a);
|
|
571
571
|
}
|
|
572
572
|
return "";
|
|
@@ -1986,7 +1986,7 @@ function y2(e, t, n) {
|
|
|
1986
1986
|
return Array.isArray(t) ? s : s[0];
|
|
1987
1987
|
};
|
|
1988
1988
|
}
|
|
1989
|
-
var
|
|
1989
|
+
var Le = (...e) => e.filter(Boolean).join(" ");
|
|
1990
1990
|
function b2() {
|
|
1991
1991
|
return process.env.NODE_ENV !== "production";
|
|
1992
1992
|
}
|
|
@@ -2262,12 +2262,12 @@ Js.exports;
|
|
|
2262
2262
|
lo(y, k, _t);
|
|
2263
2263
|
return;
|
|
2264
2264
|
}
|
|
2265
|
-
var
|
|
2265
|
+
var Ct = Ie ? Ie(be, Ge, k + "", y, w, Ue) : void 0, Xn = Ct === void 0;
|
|
2266
2266
|
if (Xn) {
|
|
2267
2267
|
var va = ma(Ge), ya = !va && mn(Ge), xo = !va && !ya && yo(Ge);
|
|
2268
|
-
|
|
2268
|
+
Ct = Ge, va || ya || xo ? ma(be) ? Ct = be : up(be) ? Ct = uc(be) : ya ? (Xn = !1, Ct = cc(Ge, !0)) : xo ? (Xn = !1, Ct = po(Ge, !0)) : Ct = [] : Xi(Ge) || Zn(Ge) ? (Ct = be, Zn(be) ? Ct = Ji(be) : (!gn(be) || ga(be)) && (Ct = hc(Ge))) : Xn = !1;
|
|
2269
2269
|
}
|
|
2270
|
-
Xn && (Ue.set(Ge,
|
|
2270
|
+
Xn && (Ue.set(Ge, Ct), Ce(Ct, Ge, z, Ie, Ue), Ue.delete(Ge)), lo(y, k, Ct);
|
|
2271
2271
|
}
|
|
2272
2272
|
function Re(y, w) {
|
|
2273
2273
|
return fa(bc(y, w, So), y + "");
|
|
@@ -7953,7 +7953,7 @@ function $5() {
|
|
|
7953
7953
|
});
|
|
7954
7954
|
}
|
|
7955
7955
|
var xe = $5();
|
|
7956
|
-
function
|
|
7956
|
+
function je(e) {
|
|
7957
7957
|
return pn(e);
|
|
7958
7958
|
}
|
|
7959
7959
|
function F5(e = {}) {
|
|
@@ -12637,7 +12637,7 @@ var zm = {
|
|
|
12637
12637
|
/* @__PURE__ */ h("circle", { fill: "none", strokeMiterlimit: "10", cx: "12", cy: "12", r: "11.25" })
|
|
12638
12638
|
] }),
|
|
12639
12639
|
viewBox: "0 0 24 24"
|
|
12640
|
-
}, hn =
|
|
12640
|
+
}, hn = je((e, t) => {
|
|
12641
12641
|
const {
|
|
12642
12642
|
as: n,
|
|
12643
12643
|
viewBox: r,
|
|
@@ -12647,7 +12647,7 @@ var zm = {
|
|
|
12647
12647
|
className: s,
|
|
12648
12648
|
__css: l,
|
|
12649
12649
|
...c
|
|
12650
|
-
} = e, u =
|
|
12650
|
+
} = e, u = Le("chakra-icon", s), d = Vn("Icon", e), f = {
|
|
12651
12651
|
w: "1em",
|
|
12652
12652
|
h: "1em",
|
|
12653
12653
|
display: "inline-block",
|
|
@@ -12702,7 +12702,7 @@ var c4 = Dd({
|
|
|
12702
12702
|
"100%": {
|
|
12703
12703
|
transform: "rotate(360deg)"
|
|
12704
12704
|
}
|
|
12705
|
-
}), Sf =
|
|
12705
|
+
}), Sf = je((e, t) => {
|
|
12706
12706
|
const n = Vn("Spinner", e), {
|
|
12707
12707
|
label: r = "Loading...",
|
|
12708
12708
|
thickness: a = "2px",
|
|
@@ -12710,7 +12710,7 @@ var c4 = Dd({
|
|
|
12710
12710
|
emptyColor: i = "transparent",
|
|
12711
12711
|
className: s,
|
|
12712
12712
|
...l
|
|
12713
|
-
} = rn(e), c =
|
|
12713
|
+
} = rn(e), c = Le("chakra-spinner", s), u = {
|
|
12714
12714
|
display: "inline-block",
|
|
12715
12715
|
borderColor: "currentColor",
|
|
12716
12716
|
borderStyle: "solid",
|
|
@@ -12754,7 +12754,7 @@ function f4(e) {
|
|
|
12754
12754
|
function p4(e) {
|
|
12755
12755
|
return Py[e].icon;
|
|
12756
12756
|
}
|
|
12757
|
-
var $y =
|
|
12757
|
+
var $y = je(
|
|
12758
12758
|
function(t, n) {
|
|
12759
12759
|
const r = wf(), { status: a } = xf(), o = {
|
|
12760
12760
|
display: "inline",
|
|
@@ -12766,7 +12766,7 @@ var $y = Le(
|
|
|
12766
12766
|
ref: n,
|
|
12767
12767
|
"data-status": a,
|
|
12768
12768
|
...t,
|
|
12769
|
-
className:
|
|
12769
|
+
className: Le("chakra-alert__desc", t.className),
|
|
12770
12770
|
__css: o
|
|
12771
12771
|
}
|
|
12772
12772
|
);
|
|
@@ -12781,14 +12781,14 @@ function Fy(e) {
|
|
|
12781
12781
|
display: "inherit",
|
|
12782
12782
|
"data-status": t,
|
|
12783
12783
|
...e,
|
|
12784
|
-
className:
|
|
12784
|
+
className: Le("chakra-alert__icon", e.className),
|
|
12785
12785
|
__css: a,
|
|
12786
12786
|
children: e.children || /* @__PURE__ */ h(n, { h: "100%", w: "100%" })
|
|
12787
12787
|
}
|
|
12788
12788
|
);
|
|
12789
12789
|
}
|
|
12790
12790
|
Fy.displayName = "AlertIcon";
|
|
12791
|
-
var My =
|
|
12791
|
+
var My = je(
|
|
12792
12792
|
function(t, n) {
|
|
12793
12793
|
const r = wf(), { status: a } = xf();
|
|
12794
12794
|
return /* @__PURE__ */ h(
|
|
@@ -12797,14 +12797,14 @@ var My = Le(
|
|
|
12797
12797
|
ref: n,
|
|
12798
12798
|
"data-status": a,
|
|
12799
12799
|
...t,
|
|
12800
|
-
className:
|
|
12800
|
+
className: Le("chakra-alert__title", t.className),
|
|
12801
12801
|
__css: r.title
|
|
12802
12802
|
}
|
|
12803
12803
|
);
|
|
12804
12804
|
}
|
|
12805
12805
|
);
|
|
12806
12806
|
My.displayName = "AlertTitle";
|
|
12807
|
-
var Oy =
|
|
12807
|
+
var Oy = je(function(t, n) {
|
|
12808
12808
|
var r;
|
|
12809
12809
|
const { status: a = "info", addRole: o = !0, ...i } = rn(t), s = (r = t.colorScheme) != null ? r : f4(a), l = Ri("Alert", { ...t, colorScheme: s }), c = {
|
|
12810
12810
|
width: "100%",
|
|
@@ -12821,7 +12821,7 @@ var Oy = Le(function(t, n) {
|
|
|
12821
12821
|
role: o ? "alert" : void 0,
|
|
12822
12822
|
ref: n,
|
|
12823
12823
|
...i,
|
|
12824
|
-
className:
|
|
12824
|
+
className: Le("chakra-alert", t.className),
|
|
12825
12825
|
__css: c
|
|
12826
12826
|
}
|
|
12827
12827
|
) }) });
|
|
@@ -12836,7 +12836,7 @@ function h4(e) {
|
|
|
12836
12836
|
}
|
|
12837
12837
|
) });
|
|
12838
12838
|
}
|
|
12839
|
-
var Cf =
|
|
12839
|
+
var Cf = je(
|
|
12840
12840
|
function(t, n) {
|
|
12841
12841
|
const r = Vn("CloseButton", t), { children: a, isDisabled: o, __css: i, ...s } = rn(t), l = {
|
|
12842
12842
|
outline: 0,
|
|
@@ -13250,7 +13250,7 @@ var Br = {
|
|
|
13250
13250
|
{
|
|
13251
13251
|
ref: t,
|
|
13252
13252
|
...d,
|
|
13253
|
-
className:
|
|
13253
|
+
className: Le("chakra-collapse", l),
|
|
13254
13254
|
style: {
|
|
13255
13255
|
overflow: "hidden",
|
|
13256
13256
|
display: "block",
|
|
@@ -13302,7 +13302,7 @@ var k4 = {
|
|
|
13302
13302
|
hr.div,
|
|
13303
13303
|
{
|
|
13304
13304
|
ref: n,
|
|
13305
|
-
className:
|
|
13305
|
+
className: Le("chakra-fade", o),
|
|
13306
13306
|
custom: f,
|
|
13307
13307
|
...Ry,
|
|
13308
13308
|
animate: u,
|
|
@@ -13351,7 +13351,7 @@ var $4 = {
|
|
|
13351
13351
|
hr.div,
|
|
13352
13352
|
{
|
|
13353
13353
|
ref: n,
|
|
13354
|
-
className:
|
|
13354
|
+
className: Le("chakra-offset-slide", s),
|
|
13355
13355
|
...Iy,
|
|
13356
13356
|
animate: p,
|
|
13357
13357
|
custom: g,
|
|
@@ -13421,7 +13421,7 @@ var M4 = {
|
|
|
13421
13421
|
hr.div,
|
|
13422
13422
|
{
|
|
13423
13423
|
ref: n,
|
|
13424
|
-
className:
|
|
13424
|
+
className: Le("chakra-offset-slide", i),
|
|
13425
13425
|
custom: m,
|
|
13426
13426
|
...Vo,
|
|
13427
13427
|
animate: g,
|
|
@@ -13483,7 +13483,7 @@ var Wm = {
|
|
|
13483
13483
|
...f,
|
|
13484
13484
|
ref: n,
|
|
13485
13485
|
initial: "exit",
|
|
13486
|
-
className:
|
|
13486
|
+
className: Le("chakra-slide", s),
|
|
13487
13487
|
animate: v,
|
|
13488
13488
|
exit: "exit",
|
|
13489
13489
|
custom: S,
|
|
@@ -13494,12 +13494,12 @@ var Wm = {
|
|
|
13494
13494
|
) });
|
|
13495
13495
|
});
|
|
13496
13496
|
Dy.displayName = "Slide";
|
|
13497
|
-
var By =
|
|
13497
|
+
var By = je(function(t, n) {
|
|
13498
13498
|
const { htmlWidth: r, htmlHeight: a, alt: o, ...i } = t;
|
|
13499
13499
|
return /* @__PURE__ */ h("img", { width: r, height: a, ref: n, alt: o, ...i });
|
|
13500
13500
|
});
|
|
13501
13501
|
By.displayName = "NativeImage";
|
|
13502
|
-
var dl =
|
|
13502
|
+
var dl = je((e, t) => /* @__PURE__ */ h(xe.img, { ref: t, as: By, className: "chakra-image", ...e }));
|
|
13503
13503
|
function I4(e) {
|
|
13504
13504
|
return pv.toArray(e).filter(
|
|
13505
13505
|
(t) => bl(t)
|
|
@@ -13519,7 +13519,7 @@ function Yu(e) {
|
|
|
13519
13519
|
const { children: t, className: n, ...r } = e, a = bl(t) ? Zs(t, {
|
|
13520
13520
|
"aria-hidden": !0,
|
|
13521
13521
|
focusable: !1
|
|
13522
|
-
}) : t, o =
|
|
13522
|
+
}) : t, o = Le("chakra-button__icon", n);
|
|
13523
13523
|
return /* @__PURE__ */ h(
|
|
13524
13524
|
xe.span,
|
|
13525
13525
|
{
|
|
@@ -13542,7 +13542,7 @@ function Xu(e) {
|
|
|
13542
13542
|
className: o,
|
|
13543
13543
|
__css: i,
|
|
13544
13544
|
...s
|
|
13545
|
-
} = e, l =
|
|
13545
|
+
} = e, l = Le("chakra-button__spinner", o), c = n === "start" ? "marginEnd" : "marginStart", u = at(
|
|
13546
13546
|
() => ({
|
|
13547
13547
|
display: "flex",
|
|
13548
13548
|
alignItems: "center",
|
|
@@ -13557,7 +13557,7 @@ function Xu(e) {
|
|
|
13557
13557
|
return /* @__PURE__ */ h(xe.div, { className: l, ...s, __css: u, children: a });
|
|
13558
13558
|
}
|
|
13559
13559
|
Xu.displayName = "ButtonSpinner";
|
|
13560
|
-
var Ef =
|
|
13560
|
+
var Ef = je((e, t) => {
|
|
13561
13561
|
const n = D4(), r = Vn("Button", { ...n, ...e }), {
|
|
13562
13562
|
isDisabled: a = n == null ? void 0 : n.isDisabled,
|
|
13563
13563
|
isLoading: o,
|
|
@@ -13598,7 +13598,7 @@ var Ef = Le((e, t) => {
|
|
|
13598
13598
|
"data-active": yn(i),
|
|
13599
13599
|
"data-loading": yn(o),
|
|
13600
13600
|
__css: x,
|
|
13601
|
-
className:
|
|
13601
|
+
className: Le("chakra-button", m),
|
|
13602
13602
|
...S,
|
|
13603
13603
|
disabled: a || o,
|
|
13604
13604
|
children: [
|
|
@@ -13630,7 +13630,7 @@ var Ef = Le((e, t) => {
|
|
|
13630
13630
|
Ef.displayName = "Button";
|
|
13631
13631
|
function Hm(e) {
|
|
13632
13632
|
const { leftIcon: t, rightIcon: n, children: r, iconSpacing: a } = e;
|
|
13633
|
-
return /* @__PURE__ */ $(
|
|
13633
|
+
return /* @__PURE__ */ $(wt, { children: [
|
|
13634
13634
|
t && /* @__PURE__ */ h(Yu, { marginEnd: a, children: t }),
|
|
13635
13635
|
r,
|
|
13636
13636
|
n && /* @__PURE__ */ h(Yu, { marginStart: a, children: n })
|
|
@@ -13736,13 +13736,13 @@ function z4(e) {
|
|
|
13736
13736
|
getRequiredIndicatorProps: F
|
|
13737
13737
|
};
|
|
13738
13738
|
}
|
|
13739
|
-
var Uo =
|
|
13739
|
+
var Uo = je(
|
|
13740
13740
|
function(t, n) {
|
|
13741
13741
|
const r = Ri("Form", t), a = rn(t), {
|
|
13742
13742
|
getRootProps: o,
|
|
13743
13743
|
htmlProps: i,
|
|
13744
13744
|
...s
|
|
13745
|
-
} = z4(a), l =
|
|
13745
|
+
} = z4(a), l = Le("chakra-form-control", t.className);
|
|
13746
13746
|
return /* @__PURE__ */ h(j4, { value: s, children: /* @__PURE__ */ h(N4, { value: r, children: /* @__PURE__ */ h(
|
|
13747
13747
|
xe.div,
|
|
13748
13748
|
{
|
|
@@ -13754,9 +13754,9 @@ var Uo = Le(
|
|
|
13754
13754
|
}
|
|
13755
13755
|
);
|
|
13756
13756
|
Uo.displayName = "FormControl";
|
|
13757
|
-
var V4 =
|
|
13757
|
+
var V4 = je(
|
|
13758
13758
|
function(t, n) {
|
|
13759
|
-
const r = Ny(), a = L4(), o =
|
|
13759
|
+
const r = Ny(), a = L4(), o = Le("chakra-form__helper-text", t.className);
|
|
13760
13760
|
return /* @__PURE__ */ h(
|
|
13761
13761
|
xe.div,
|
|
13762
13762
|
{
|
|
@@ -15395,9 +15395,9 @@ function ni(e = {}) {
|
|
|
15395
15395
|
var [PF, PD] = nn({
|
|
15396
15396
|
name: "InputGroupStylesContext",
|
|
15397
15397
|
errorMessage: `useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "<InputGroup />" `
|
|
15398
|
-
}), bb =
|
|
15398
|
+
}), bb = je(
|
|
15399
15399
|
function(t, n) {
|
|
15400
|
-
const r = Ri("Input", t), { children: a, className: o, ...i } = rn(t), s =
|
|
15400
|
+
const r = Ri("Input", t), { children: a, className: o, ...i } = rn(t), s = Le("chakra-input__group", o), l = {}, c = I4(a), u = r.field;
|
|
15401
15401
|
c.forEach((f) => {
|
|
15402
15402
|
var p, g;
|
|
15403
15403
|
r && (u && f.type.id === "InputLeftElement" && (l.paddingStart = (p = u.height) != null ? p : u.h), u && f.type.id === "InputRightElement" && (l.paddingEnd = (g = u.height) != null ? g : u.h), f.type.id === "InputRightAddon" && (l.borderEndRadius = 0), f.type.id === "InputLeftAddon" && (l.borderStartRadius = 0));
|
|
@@ -15432,8 +15432,8 @@ var [PF, PD] = nn({
|
|
|
15432
15432
|
}
|
|
15433
15433
|
);
|
|
15434
15434
|
bb.displayName = "InputGroup";
|
|
15435
|
-
var Ll =
|
|
15436
|
-
const { htmlSize: r, ...a } = t, o = Ri("Input", a), i = rn(a), s = U4(i), l =
|
|
15435
|
+
var Ll = je(function(t, n) {
|
|
15436
|
+
const { htmlSize: r, ...a } = t, o = Ri("Input", a), i = rn(a), s = U4(i), l = Le("chakra-input", t.className);
|
|
15437
15437
|
return /* @__PURE__ */ h(
|
|
15438
15438
|
xe.input,
|
|
15439
15439
|
{
|
|
@@ -15447,7 +15447,7 @@ var Ll = Le(function(t, n) {
|
|
|
15447
15447
|
});
|
|
15448
15448
|
Ll.displayName = "Input";
|
|
15449
15449
|
Ll.id = "Input";
|
|
15450
|
-
var Sb =
|
|
15450
|
+
var Sb = je(function(t, n) {
|
|
15451
15451
|
const r = Vn("Link", t), { className: a, isExternal: o, ...i } = rn(t);
|
|
15452
15452
|
return /* @__PURE__ */ h(
|
|
15453
15453
|
xe.a,
|
|
@@ -15455,14 +15455,14 @@ var Sb = Le(function(t, n) {
|
|
|
15455
15455
|
target: o ? "_blank" : void 0,
|
|
15456
15456
|
rel: o ? "noopener" : void 0,
|
|
15457
15457
|
ref: n,
|
|
15458
|
-
className:
|
|
15458
|
+
className: Le("chakra-link", a),
|
|
15459
15459
|
...i,
|
|
15460
15460
|
__css: r
|
|
15461
15461
|
}
|
|
15462
15462
|
);
|
|
15463
15463
|
});
|
|
15464
15464
|
Sb.displayName = "Link";
|
|
15465
|
-
var Bf =
|
|
15465
|
+
var Bf = je(function(t, n) {
|
|
15466
15466
|
const {
|
|
15467
15467
|
templateAreas: r,
|
|
15468
15468
|
gap: a,
|
|
@@ -15496,7 +15496,7 @@ Bf.displayName = "Grid";
|
|
|
15496
15496
|
function $F(e, t) {
|
|
15497
15497
|
return Array.isArray(e) ? e.map((n) => n === null ? null : t(n)) : dn(e) ? Object.keys(e).reduce((n, r) => (n[r] = t(e[r]), n), {}) : e != null ? t(e) : null;
|
|
15498
15498
|
}
|
|
15499
|
-
var ke =
|
|
15499
|
+
var ke = je(function(t, n) {
|
|
15500
15500
|
const r = Vn("Text", t), { className: a, align: o, decoration: i, casing: s, ...l } = rn(t), c = Zd({
|
|
15501
15501
|
textAlign: t.align,
|
|
15502
15502
|
textDecoration: t.decoration,
|
|
@@ -15506,7 +15506,7 @@ var ke = Le(function(t, n) {
|
|
|
15506
15506
|
xe.p,
|
|
15507
15507
|
{
|
|
15508
15508
|
ref: n,
|
|
15509
|
-
className:
|
|
15509
|
+
className: Le("chakra-text", t.className),
|
|
15510
15510
|
...c,
|
|
15511
15511
|
...l,
|
|
15512
15512
|
__css: r
|
|
@@ -15520,7 +15520,7 @@ function cg(e) {
|
|
|
15520
15520
|
(t) => t === "auto" ? "auto" : `span ${t}/span ${t}`
|
|
15521
15521
|
);
|
|
15522
15522
|
}
|
|
15523
|
-
var ad =
|
|
15523
|
+
var ad = je(function(t, n) {
|
|
15524
15524
|
const {
|
|
15525
15525
|
area: r,
|
|
15526
15526
|
colSpan: a,
|
|
@@ -15542,13 +15542,13 @@ var ad = Le(function(t, n) {
|
|
|
15542
15542
|
return /* @__PURE__ */ h(xe.div, { ref: n, __css: d, ...u });
|
|
15543
15543
|
});
|
|
15544
15544
|
ad.displayName = "GridItem";
|
|
15545
|
-
var od =
|
|
15545
|
+
var od = je(function(t, n) {
|
|
15546
15546
|
const r = Vn("Heading", t), { className: a, ...o } = rn(t);
|
|
15547
15547
|
return /* @__PURE__ */ h(
|
|
15548
15548
|
xe.h2,
|
|
15549
15549
|
{
|
|
15550
15550
|
ref: n,
|
|
15551
|
-
className:
|
|
15551
|
+
className: Le("chakra-heading", t.className),
|
|
15552
15552
|
...o,
|
|
15553
15553
|
__css: r
|
|
15554
15554
|
}
|
|
@@ -15557,7 +15557,7 @@ var od = Le(function(t, n) {
|
|
|
15557
15557
|
od.displayName = "Heading";
|
|
15558
15558
|
var Ee = xe("div");
|
|
15559
15559
|
Ee.displayName = "Box";
|
|
15560
|
-
var xb =
|
|
15560
|
+
var xb = je(function(t, n) {
|
|
15561
15561
|
const { size: r, centerContent: a = !0, ...o } = t;
|
|
15562
15562
|
return /* @__PURE__ */ h(
|
|
15563
15563
|
Ee,
|
|
@@ -15574,12 +15574,12 @@ var xb = Le(function(t, n) {
|
|
|
15574
15574
|
);
|
|
15575
15575
|
});
|
|
15576
15576
|
xb.displayName = "Square";
|
|
15577
|
-
var FF =
|
|
15577
|
+
var FF = je(function(t, n) {
|
|
15578
15578
|
const { size: r, ...a } = t;
|
|
15579
15579
|
return /* @__PURE__ */ h(xb, { size: r, ref: n, borderRadius: "9999px", ...a });
|
|
15580
15580
|
});
|
|
15581
15581
|
FF.displayName = "Circle";
|
|
15582
|
-
var id =
|
|
15582
|
+
var id = je(function(t, n) {
|
|
15583
15583
|
const {
|
|
15584
15584
|
borderLeftWidth: r,
|
|
15585
15585
|
borderBottomWidth: a,
|
|
@@ -15618,12 +15618,12 @@ var id = Le(function(t, n) {
|
|
|
15618
15618
|
...m[f],
|
|
15619
15619
|
...p
|
|
15620
15620
|
},
|
|
15621
|
-
className:
|
|
15621
|
+
className: Le("chakra-divider", d)
|
|
15622
15622
|
}
|
|
15623
15623
|
);
|
|
15624
15624
|
});
|
|
15625
15625
|
id.displayName = "Divider";
|
|
15626
|
-
var ue =
|
|
15626
|
+
var ue = je(function(t, n) {
|
|
15627
15627
|
const { direction: r, align: a, justify: o, wrap: i, basis: s, grow: l, shrink: c, ...u } = t, d = {
|
|
15628
15628
|
display: "flex",
|
|
15629
15629
|
flexDirection: r,
|
|
@@ -16269,7 +16269,7 @@ function Fb(e) {
|
|
|
16269
16269
|
}
|
|
16270
16270
|
);
|
|
16271
16271
|
}
|
|
16272
|
-
var Mb =
|
|
16272
|
+
var Mb = je(
|
|
16273
16273
|
(e, t) => {
|
|
16274
16274
|
const {
|
|
16275
16275
|
className: n,
|
|
@@ -16277,7 +16277,7 @@ var Mb = Le(
|
|
|
16277
16277
|
containerProps: a,
|
|
16278
16278
|
motionProps: o,
|
|
16279
16279
|
...i
|
|
16280
|
-
} = e, { getDialogProps: s, getDialogContainerProps: l } = dr(), c = s(i, t), u = l(a), d =
|
|
16280
|
+
} = e, { getDialogProps: s, getDialogContainerProps: l } = dr(), c = s(i, t), u = l(a), d = Le("chakra-modal__content", n), f = Zr(), p = {
|
|
16281
16281
|
display: "flex",
|
|
16282
16282
|
flexDirection: "column",
|
|
16283
16283
|
position: "relative",
|
|
@@ -16345,7 +16345,7 @@ function _9(e) {
|
|
|
16345
16345
|
}
|
|
16346
16346
|
) });
|
|
16347
16347
|
}
|
|
16348
|
-
var k9 = xe(Dy), Ob =
|
|
16348
|
+
var k9 = xe(Dy), Ob = je(
|
|
16349
16349
|
(e, t) => {
|
|
16350
16350
|
const {
|
|
16351
16351
|
className: n,
|
|
@@ -16353,7 +16353,7 @@ var k9 = xe(Dy), Ob = Le(
|
|
|
16353
16353
|
motionProps: a,
|
|
16354
16354
|
containerProps: o,
|
|
16355
16355
|
...i
|
|
16356
|
-
} = e, { getDialogProps: s, getDialogContainerProps: l, isOpen: c } = dr(), u = s(i, t), d = l(o), f =
|
|
16356
|
+
} = e, { getDialogProps: s, getDialogContainerProps: l, isOpen: c } = dr(), u = s(i, t), d = l(o), f = Le("chakra-modal__content", n), p = Zr(), g = {
|
|
16357
16357
|
display: "flex",
|
|
16358
16358
|
flexDirection: "column",
|
|
16359
16359
|
position: "relative",
|
|
@@ -16392,9 +16392,9 @@ var k9 = xe(Dy), Ob = Le(
|
|
|
16392
16392
|
}
|
|
16393
16393
|
);
|
|
16394
16394
|
Ob.displayName = "DrawerContent";
|
|
16395
|
-
var Rb =
|
|
16395
|
+
var Rb = je(
|
|
16396
16396
|
(e, t) => {
|
|
16397
|
-
const { className: n, ...r } = e, a =
|
|
16397
|
+
const { className: n, ...r } = e, a = Le("chakra-modal__footer", n), i = {
|
|
16398
16398
|
display: "flex",
|
|
16399
16399
|
alignItems: "center",
|
|
16400
16400
|
justifyContent: "flex-end",
|
|
@@ -16412,11 +16412,11 @@ var Rb = Le(
|
|
|
16412
16412
|
}
|
|
16413
16413
|
);
|
|
16414
16414
|
Rb.displayName = "ModalFooter";
|
|
16415
|
-
var Lf =
|
|
16415
|
+
var Lf = je(
|
|
16416
16416
|
(e, t) => {
|
|
16417
16417
|
const { className: n, ...r } = e, { headerId: a, setHeaderMounted: o } = dr();
|
|
16418
16418
|
de(() => (o(!0), () => o(!1)), [o]);
|
|
16419
|
-
const i =
|
|
16419
|
+
const i = Le("chakra-modal__header", n), l = {
|
|
16420
16420
|
flex: 0,
|
|
16421
16421
|
...Zr().header
|
|
16422
16422
|
};
|
|
@@ -16433,9 +16433,9 @@ var Lf = Le(
|
|
|
16433
16433
|
}
|
|
16434
16434
|
);
|
|
16435
16435
|
Lf.displayName = "ModalHeader";
|
|
16436
|
-
var P9 = xe(hr.div), jf =
|
|
16436
|
+
var P9 = xe(hr.div), jf = je(
|
|
16437
16437
|
(e, t) => {
|
|
16438
|
-
const { className: n, transition: r, motionProps: a, ...o } = e, i =
|
|
16438
|
+
const { className: n, transition: r, motionProps: a, ...o } = e, i = Le("chakra-modal__overlay", n), l = {
|
|
16439
16439
|
pos: "fixed",
|
|
16440
16440
|
left: "0",
|
|
16441
16441
|
top: "0",
|
|
@@ -16456,10 +16456,10 @@ var P9 = xe(hr.div), jf = Le(
|
|
|
16456
16456
|
}
|
|
16457
16457
|
);
|
|
16458
16458
|
jf.displayName = "ModalOverlay";
|
|
16459
|
-
var zf =
|
|
16459
|
+
var zf = je((e, t) => {
|
|
16460
16460
|
const { className: n, ...r } = e, { bodyId: a, setBodyMounted: o } = dr();
|
|
16461
16461
|
de(() => (o(!0), () => o(!1)), [o]);
|
|
16462
|
-
const i =
|
|
16462
|
+
const i = Le("chakra-modal__body", n), s = Zr();
|
|
16463
16463
|
return /* @__PURE__ */ h(
|
|
16464
16464
|
xe.div,
|
|
16465
16465
|
{
|
|
@@ -16472,9 +16472,9 @@ var zf = Le((e, t) => {
|
|
|
16472
16472
|
);
|
|
16473
16473
|
});
|
|
16474
16474
|
zf.displayName = "ModalBody";
|
|
16475
|
-
var Ib =
|
|
16475
|
+
var Ib = je(
|
|
16476
16476
|
(e, t) => {
|
|
16477
|
-
const { onClick: n, className: r, ...a } = e, { onClose: o } = dr(), i =
|
|
16477
|
+
const { onClick: n, className: r, ...a } = e, { onClose: o } = dr(), i = Le("chakra-modal__close-btn", r), s = Zr();
|
|
16478
16478
|
return /* @__PURE__ */ h(
|
|
16479
16479
|
Cf,
|
|
16480
16480
|
{
|
|
@@ -16526,7 +16526,7 @@ var M9 = xe("div", {
|
|
|
16526
16526
|
borderColor: ud.reference,
|
|
16527
16527
|
background: ud.reference
|
|
16528
16528
|
}
|
|
16529
|
-
}), dd =
|
|
16529
|
+
}), dd = je((e, t) => {
|
|
16530
16530
|
const n = {
|
|
16531
16531
|
...e,
|
|
16532
16532
|
fadeDuration: typeof e.fadeDuration == "number" ? e.fadeDuration : 0.4,
|
|
@@ -16543,7 +16543,7 @@ var M9 = xe("div", {
|
|
|
16543
16543
|
} = rn(n), [p, g] = v2("colors", [
|
|
16544
16544
|
o,
|
|
16545
16545
|
i
|
|
16546
|
-
]), m = F9(s), v =
|
|
16546
|
+
]), m = F9(s), v = Le("chakra-skeleton", u), S = {
|
|
16547
16547
|
...p && { [cd.variable]: p },
|
|
16548
16548
|
...g && { [ud.variable]: g }
|
|
16549
16549
|
};
|
|
@@ -21875,7 +21875,7 @@ const iv = /* @__PURE__ */ new Map([
|
|
|
21875
21875
|
borderRadius: "64px",
|
|
21876
21876
|
...n,
|
|
21877
21877
|
children: [
|
|
21878
|
-
/* @__PURE__ */ h(
|
|
21878
|
+
/* @__PURE__ */ h(wt, { children: e }),
|
|
21879
21879
|
t && /* @__PURE__ */ h(Ee, { position: "absolute", right: "6px", children: t })
|
|
21880
21880
|
]
|
|
21881
21881
|
}
|
|
@@ -22039,7 +22039,7 @@ const iv = /* @__PURE__ */ new Map([
|
|
|
22039
22039
|
return me(), window.addEventListener("resize", me), () => {
|
|
22040
22040
|
window.removeEventListener("resize", me);
|
|
22041
22041
|
};
|
|
22042
|
-
}, []), /* @__PURE__ */ h(
|
|
22042
|
+
}, []), /* @__PURE__ */ h(wt, { children: i && /* @__PURE__ */ h(Ee, { position: "relative", children: a ? /* @__PURE__ */ h(wt, {}) : /* @__PURE__ */ h(Si, { in: o, animateOpacity: !0, children: /* @__PURE__ */ $(
|
|
22043
22043
|
Ee,
|
|
22044
22044
|
{
|
|
22045
22045
|
ref: J,
|
|
@@ -26371,7 +26371,7 @@ const iv = /* @__PURE__ */ new Map([
|
|
|
26371
26371
|
)[0]) == null ? void 0 : a.currency.code;
|
|
26372
26372
|
}
|
|
26373
26373
|
});
|
|
26374
|
-
var
|
|
26374
|
+
var Ne = /* @__PURE__ */ ((e) => (e.GHS = "GHS", e.NGN = "NGN", e.KES = "KES", e.UGX = "UGX", e.USD = "USD", e.GBP = "GBP", e.EUR = "EUR", e.BGN = "BGN", e.CZK = "CZK", e.DKK = "DKK", e.HUF = "HUF", e.PLN = "PLN", e.RON = "RON", e.SEK = "SEK", e.CAD = "CAD", e))(Ne || {});
|
|
26375
26375
|
const lv = "Payment Completed", nD = ({
|
|
26376
26376
|
src: e,
|
|
26377
26377
|
isOpen: t,
|
|
@@ -26532,7 +26532,7 @@ const lv = "Payment Completed", nD = ({
|
|
|
26532
26532
|
maxHeight: { lg: "95vh", base: "80vh" },
|
|
26533
26533
|
fontFamily: "Bricolage Grotesque",
|
|
26534
26534
|
children: [
|
|
26535
|
-
r && /* @__PURE__ */ $(
|
|
26535
|
+
r && /* @__PURE__ */ $(wt, { children: [
|
|
26536
26536
|
/* @__PURE__ */ h(Ib, {}),
|
|
26537
26537
|
/* @__PURE__ */ h(
|
|
26538
26538
|
Lf,
|
|
@@ -26555,7 +26555,7 @@ const lv = "Payment Completed", nD = ({
|
|
|
26555
26555
|
onClose: t
|
|
26556
26556
|
}) => {
|
|
26557
26557
|
const [n] = Gr("(min-width: 768px)");
|
|
26558
|
-
return /* @__PURE__ */ h(
|
|
26558
|
+
return /* @__PURE__ */ h(wt, { children: n ? /* @__PURE__ */ $(
|
|
26559
26559
|
Nf,
|
|
26560
26560
|
{
|
|
26561
26561
|
isCentered: !0,
|
|
@@ -26733,7 +26733,7 @@ const lv = "Payment Completed", nD = ({
|
|
|
26733
26733
|
cursor: "pointer",
|
|
26734
26734
|
textAlign: "left",
|
|
26735
26735
|
...n,
|
|
26736
|
-
children: t ? /* @__PURE__ */ h(ue, { justifyContent: "center", children: /* @__PURE__ */ h(R1, { width: "20px", height: "20px" }) }) : /* @__PURE__ */ h(
|
|
26736
|
+
children: t ? /* @__PURE__ */ h(ue, { justifyContent: "center", children: /* @__PURE__ */ h(R1, { width: "20px", height: "20px" }) }) : /* @__PURE__ */ h(wt, { children: e })
|
|
26737
26737
|
}
|
|
26738
26738
|
), sD = ({
|
|
26739
26739
|
currency: e,
|
|
@@ -26856,7 +26856,7 @@ const lv = "Payment Completed", nD = ({
|
|
|
26856
26856
|
const b = await r.validateForm();
|
|
26857
26857
|
Object.keys(b).length > 0 || f == null || f.show();
|
|
26858
26858
|
};
|
|
26859
|
-
return /* @__PURE__ */ h(
|
|
26859
|
+
return /* @__PURE__ */ h(wt, { children: f && ((g == null ? void 0 : g.applePay) || (g == null ? void 0 : g.googlePay)) && /* @__PURE__ */ $(wt, { children: [
|
|
26860
26860
|
(g == null ? void 0 : g.applePay) && /* @__PURE__ */ h(_i, { onClick: x, disabled: v, children: /* @__PURE__ */ $(
|
|
26861
26861
|
ue,
|
|
26862
26862
|
{
|
|
@@ -26990,7 +26990,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
|
|
|
26990
26990
|
value: 0,
|
|
26991
26991
|
isFullDiscount: !1
|
|
26992
26992
|
}));
|
|
26993
|
-
}, B = (H) => H > 0 ? n ===
|
|
26993
|
+
}, B = (H) => H > 0 ? n === Ne.NGN ? `+ ${n} ${H}` : `+ ${H * 100} cents` : "", G = ({ children: H, ...ne }) => /* @__PURE__ */ h(
|
|
26994
26994
|
ke,
|
|
26995
26995
|
{
|
|
26996
26996
|
color: "#111215",
|
|
@@ -27002,22 +27002,28 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
|
|
|
27002
27002
|
children: H
|
|
27003
27003
|
}
|
|
27004
27004
|
);
|
|
27005
|
-
return /* @__PURE__ */
|
|
27005
|
+
return /* @__PURE__ */ h(
|
|
27006
27006
|
Ee,
|
|
27007
27007
|
{
|
|
27008
|
-
p: { base: "16px", lg: "
|
|
27009
|
-
borderRadius: m ? "16px" : { base: "16px", lg: "16px 0 0 16px" },
|
|
27008
|
+
p: m ? "16px" : { base: "16px", lg: "32px" },
|
|
27010
27009
|
style: { ...e },
|
|
27011
27010
|
zIndex: 10,
|
|
27012
27011
|
py: { base: "16px", lg: "48px" },
|
|
27013
|
-
|
|
27012
|
+
position: m ? "static" : { base: "static", lg: "fixed" },
|
|
27013
|
+
children: /* @__PURE__ */ $(Ee, { maxWidth: "356px", mx: "auto", children: [
|
|
27014
27014
|
/* @__PURE__ */ $(
|
|
27015
27015
|
Ee,
|
|
27016
27016
|
{
|
|
27017
27017
|
textAlign: m ? "center" : { base: "center", lg: "left" },
|
|
27018
27018
|
children: [
|
|
27019
|
-
g.totalAmountPlusFees <= 0 ? /* @__PURE__ */ h(
|
|
27020
|
-
a ? /* @__PURE__ */ h(
|
|
27019
|
+
g.totalAmountPlusFees <= 0 ? /* @__PURE__ */ h(wt, {}) : typeof t == "string" ? /* @__PURE__ */ h(G, { color: "#7D879B", children: t }) : /* @__PURE__ */ h(wt, { children: t }),
|
|
27020
|
+
a ? /* @__PURE__ */ h(
|
|
27021
|
+
dd,
|
|
27022
|
+
{
|
|
27023
|
+
height: "20px",
|
|
27024
|
+
width: m ? "100%" : { base: "100%", lg: "100px" }
|
|
27025
|
+
}
|
|
27026
|
+
) : /* @__PURE__ */ h(
|
|
27021
27027
|
G,
|
|
27022
27028
|
{
|
|
27023
27029
|
as: "h6",
|
|
@@ -27118,7 +27124,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
|
|
|
27118
27124
|
On(r)
|
|
27119
27125
|
] })
|
|
27120
27126
|
] }),
|
|
27121
|
-
!(o != null && o.isFullDiscount) && /* @__PURE__ */ $(
|
|
27127
|
+
!(o != null && o.isFullDiscount) && /* @__PURE__ */ $(wt, { children: [
|
|
27122
27128
|
" ",
|
|
27123
27129
|
f.localTaxFees > 0 && f.shouldApplyTax && /* @__PURE__ */ $(ue, { width: "100%", justifyContent: "space-between", children: [
|
|
27124
27130
|
/* @__PURE__ */ h(ue, { alignItems: "center", children: /* @__PURE__ */ $(G, { fontWeight: 400, mr: "8px", children: [
|
|
@@ -27231,7 +27237,8 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
|
|
|
27231
27237
|
gap: "12px",
|
|
27232
27238
|
bg: "white",
|
|
27233
27239
|
border: "1px solid #E8EBF2",
|
|
27234
|
-
|
|
27240
|
+
pr: "6px",
|
|
27241
|
+
py: "5px",
|
|
27235
27242
|
pl: "12px",
|
|
27236
27243
|
borderRadius: "12px",
|
|
27237
27244
|
children: [
|
|
@@ -27267,14 +27274,16 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
|
|
|
27267
27274
|
bgColor: "#F2F4F7",
|
|
27268
27275
|
py: "8px",
|
|
27269
27276
|
px: "14px",
|
|
27270
|
-
lineHeight: "
|
|
27277
|
+
lineHeight: "20px",
|
|
27271
27278
|
fontSize: "12px",
|
|
27272
|
-
letterSpacing: "-0.
|
|
27279
|
+
letterSpacing: "-0.4px",
|
|
27273
27280
|
fontWeight: 500,
|
|
27274
27281
|
color: "#111215",
|
|
27275
27282
|
onClick: P,
|
|
27276
27283
|
isLoading: d,
|
|
27277
27284
|
disabled: l === "",
|
|
27285
|
+
outlineOffset: "0px",
|
|
27286
|
+
height: "auto",
|
|
27278
27287
|
children: "Apply"
|
|
27279
27288
|
}
|
|
27280
27289
|
)
|
|
@@ -27311,7 +27320,7 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
|
|
|
27311
27320
|
] })
|
|
27312
27321
|
] })
|
|
27313
27322
|
] })
|
|
27314
|
-
]
|
|
27323
|
+
] })
|
|
27315
27324
|
}
|
|
27316
27325
|
);
|
|
27317
27326
|
}, dD = ({
|
|
@@ -27324,115 +27333,117 @@ const Su = (e) => Math.round((e + Number.EPSILON) * 100) / 100, On = (e) => {
|
|
|
27324
27333
|
errors: i,
|
|
27325
27334
|
setFieldValue: s,
|
|
27326
27335
|
proceedButton: l
|
|
27327
|
-
}) => /* @__PURE__ */ $(
|
|
27328
|
-
|
|
27329
|
-
|
|
27330
|
-
|
|
27331
|
-
id: "fullname",
|
|
27332
|
-
label: "Your name",
|
|
27333
|
-
name: "fullname",
|
|
27334
|
-
onChange: (c) => s("fullname", c.target.value),
|
|
27335
|
-
value: o == null ? void 0 : o.fullname,
|
|
27336
|
-
placeholder: "Full name",
|
|
27337
|
-
type: "text",
|
|
27338
|
-
error: !!(i != null && i.fullname),
|
|
27339
|
-
errorMessage: i == null ? void 0 : i.fullname,
|
|
27340
|
-
fontFamily: "inherit"
|
|
27341
|
-
}
|
|
27342
|
-
),
|
|
27343
|
-
n && /* @__PURE__ */ h(
|
|
27344
|
-
oi,
|
|
27345
|
-
{
|
|
27346
|
-
id: "email",
|
|
27347
|
-
label: "Email address",
|
|
27348
|
-
name: "email",
|
|
27349
|
-
onChange: (c) => s("email", c.target.value),
|
|
27350
|
-
value: o == null ? void 0 : o.email,
|
|
27351
|
-
placeholder: "Email address",
|
|
27352
|
-
type: "email",
|
|
27353
|
-
error: !!(i != null && i.email),
|
|
27354
|
-
errorMessage: i == null ? void 0 : i.email,
|
|
27355
|
-
fontFamily: "inherit"
|
|
27356
|
-
}
|
|
27357
|
-
),
|
|
27358
|
-
r && /* @__PURE__ */ $(Ee, { position: "relative", zIndex: "9", children: [
|
|
27359
|
-
/* @__PURE__ */ h(
|
|
27360
|
-
D1,
|
|
27336
|
+
}) => /* @__PURE__ */ $(wt, { children: [
|
|
27337
|
+
/* @__PURE__ */ $(ue, { flexDirection: "column", gap: "20px", children: [
|
|
27338
|
+
t && /* @__PURE__ */ h(
|
|
27339
|
+
oi,
|
|
27361
27340
|
{
|
|
27362
|
-
|
|
27363
|
-
|
|
27364
|
-
|
|
27365
|
-
|
|
27366
|
-
|
|
27367
|
-
|
|
27368
|
-
|
|
27369
|
-
|
|
27370
|
-
|
|
27371
|
-
fontSize: "14px",
|
|
27372
|
-
lineHeight: "28px",
|
|
27373
|
-
letterSpacing: "-0.2px",
|
|
27374
|
-
fontWeight: 600,
|
|
27375
|
-
mb: "10px",
|
|
27376
|
-
mt: "0",
|
|
27377
|
-
color: "#111215",
|
|
27378
|
-
textAlign: "left",
|
|
27379
|
-
children: "Phone Number (optional)"
|
|
27380
|
-
}
|
|
27381
|
-
),
|
|
27382
|
-
subtext: /* @__PURE__ */ $(
|
|
27383
|
-
ke,
|
|
27384
|
-
{
|
|
27385
|
-
as: "span",
|
|
27386
|
-
display: "block",
|
|
27387
|
-
fontSize: "12px",
|
|
27388
|
-
lineHeight: "22px",
|
|
27389
|
-
letterSpacing: "-0.2px",
|
|
27390
|
-
color: "#7D879B",
|
|
27391
|
-
fontWeight: 400,
|
|
27392
|
-
children: [
|
|
27393
|
-
"By entering your phone number, you agree to",
|
|
27394
|
-
" ",
|
|
27395
|
-
/* @__PURE__ */ $(
|
|
27396
|
-
Sb,
|
|
27397
|
-
{
|
|
27398
|
-
href: "https://www.mainstack.co/company/privacy",
|
|
27399
|
-
target: "__blank",
|
|
27400
|
-
children: [
|
|
27401
|
-
/* @__PURE__ */ h(
|
|
27402
|
-
"span",
|
|
27403
|
-
{
|
|
27404
|
-
style: { textDecoration: "underline" },
|
|
27405
|
-
children: "Mainstack's SMS Terms of Service"
|
|
27406
|
-
}
|
|
27407
|
-
),
|
|
27408
|
-
" ",
|
|
27409
|
-
"and",
|
|
27410
|
-
" ",
|
|
27411
|
-
/* @__PURE__ */ h("span", { style: { textDecoration: "underline" }, children: "Privacy Policy" })
|
|
27412
|
-
]
|
|
27413
|
-
}
|
|
27414
|
-
),
|
|
27415
|
-
". Mainstack will share your phone number with the seller of this product(s) or service(s). Message and data rates may apply."
|
|
27416
|
-
]
|
|
27417
|
-
}
|
|
27418
|
-
),
|
|
27341
|
+
id: "fullname",
|
|
27342
|
+
label: "Your name",
|
|
27343
|
+
name: "fullname",
|
|
27344
|
+
onChange: (c) => s("fullname", c.target.value),
|
|
27345
|
+
value: o == null ? void 0 : o.fullname,
|
|
27346
|
+
placeholder: "Full name",
|
|
27347
|
+
type: "text",
|
|
27348
|
+
error: !!(i != null && i.fullname),
|
|
27349
|
+
errorMessage: i == null ? void 0 : i.fullname,
|
|
27419
27350
|
fontFamily: "inherit"
|
|
27420
27351
|
}
|
|
27421
27352
|
),
|
|
27422
|
-
|
|
27423
|
-
|
|
27353
|
+
n && /* @__PURE__ */ h(
|
|
27354
|
+
oi,
|
|
27355
|
+
{
|
|
27356
|
+
id: "email",
|
|
27357
|
+
label: "Email address",
|
|
27358
|
+
name: "email",
|
|
27359
|
+
onChange: (c) => s("email", c.target.value),
|
|
27360
|
+
value: o == null ? void 0 : o.email,
|
|
27361
|
+
placeholder: "Email address",
|
|
27362
|
+
type: "email",
|
|
27363
|
+
error: !!(i != null && i.email),
|
|
27364
|
+
errorMessage: i == null ? void 0 : i.email,
|
|
27365
|
+
fontFamily: "inherit"
|
|
27366
|
+
}
|
|
27367
|
+
),
|
|
27368
|
+
r && /* @__PURE__ */ $(Ee, { position: "relative", zIndex: "9", children: [
|
|
27424
27369
|
/* @__PURE__ */ h(
|
|
27425
|
-
|
|
27370
|
+
D1,
|
|
27426
27371
|
{
|
|
27427
|
-
|
|
27428
|
-
|
|
27429
|
-
|
|
27430
|
-
|
|
27372
|
+
value: o == null ? void 0 : o.phone,
|
|
27373
|
+
onChange: (c) => {
|
|
27374
|
+
s("phone", c);
|
|
27375
|
+
},
|
|
27376
|
+
placeholder: "",
|
|
27377
|
+
label: /* @__PURE__ */ h(
|
|
27378
|
+
ke,
|
|
27379
|
+
{
|
|
27380
|
+
as: "label",
|
|
27381
|
+
fontSize: "14px",
|
|
27382
|
+
lineHeight: "28px",
|
|
27383
|
+
letterSpacing: "-0.2px",
|
|
27384
|
+
fontWeight: 600,
|
|
27385
|
+
mb: "10px",
|
|
27386
|
+
mt: "0",
|
|
27387
|
+
color: "#111215",
|
|
27388
|
+
textAlign: "left",
|
|
27389
|
+
children: "Phone Number (optional)"
|
|
27390
|
+
}
|
|
27391
|
+
),
|
|
27392
|
+
subtext: /* @__PURE__ */ $(
|
|
27393
|
+
ke,
|
|
27394
|
+
{
|
|
27395
|
+
as: "span",
|
|
27396
|
+
display: "block",
|
|
27397
|
+
fontSize: "12px",
|
|
27398
|
+
lineHeight: "22px",
|
|
27399
|
+
letterSpacing: "-0.2px",
|
|
27400
|
+
color: "#7D879B",
|
|
27401
|
+
fontWeight: 400,
|
|
27402
|
+
children: [
|
|
27403
|
+
"By entering your phone number, you agree to",
|
|
27404
|
+
" ",
|
|
27405
|
+
/* @__PURE__ */ $(
|
|
27406
|
+
Sb,
|
|
27407
|
+
{
|
|
27408
|
+
href: "https://www.mainstack.co/company/privacy",
|
|
27409
|
+
target: "__blank",
|
|
27410
|
+
children: [
|
|
27411
|
+
/* @__PURE__ */ h(
|
|
27412
|
+
"span",
|
|
27413
|
+
{
|
|
27414
|
+
style: { textDecoration: "underline" },
|
|
27415
|
+
children: "Mainstack's SMS Terms of Service"
|
|
27416
|
+
}
|
|
27417
|
+
),
|
|
27418
|
+
" ",
|
|
27419
|
+
"and",
|
|
27420
|
+
" ",
|
|
27421
|
+
/* @__PURE__ */ h("span", { style: { textDecoration: "underline" }, children: "Privacy Policy" })
|
|
27422
|
+
]
|
|
27423
|
+
}
|
|
27424
|
+
),
|
|
27425
|
+
". Mainstack will share your phone number with the seller of this product(s) or service(s). Message and data rates may apply."
|
|
27426
|
+
]
|
|
27427
|
+
}
|
|
27428
|
+
),
|
|
27429
|
+
fontFamily: "inherit"
|
|
27431
27430
|
}
|
|
27432
|
-
)
|
|
27433
|
-
|
|
27431
|
+
),
|
|
27432
|
+
!!(i != null && i.phone) && /* @__PURE__ */ $(ue, { alignItems: "center", gap: "6px", mt: "4px", children: [
|
|
27433
|
+
/* @__PURE__ */ h(Ks, { color: ct.red500 }),
|
|
27434
|
+
/* @__PURE__ */ h(
|
|
27435
|
+
dv,
|
|
27436
|
+
{
|
|
27437
|
+
color: ct.red500,
|
|
27438
|
+
size: "xxs",
|
|
27439
|
+
fontFamily: "inherit",
|
|
27440
|
+
children: i == null ? void 0 : i.phone
|
|
27441
|
+
}
|
|
27442
|
+
)
|
|
27443
|
+
] })
|
|
27444
|
+
] }),
|
|
27445
|
+
a
|
|
27434
27446
|
] }),
|
|
27435
|
-
a,
|
|
27436
27447
|
l
|
|
27437
27448
|
] });
|
|
27438
27449
|
function fD({ Request: e }) {
|
|
@@ -27984,7 +27995,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
27984
27995
|
FooterElement: p,
|
|
27985
27996
|
height: g
|
|
27986
27997
|
}, m) => {
|
|
27987
|
-
var vo, gn, Yn, Xi, yo, Ji, bo, Qi, es, So, ts, y, w, k, z, Ce, Ie, Ue, be, Ge, _t,
|
|
27998
|
+
var vo, gn, Yn, Xi, yo, Ji, bo, Qi, es, So, ts, y, w, k, z, Ce, Ie, Ue, be, Ge, _t, Ct, Xn, va, ya, xo, dp, fp, pp, hp, mp, gp, vp, yp, bp;
|
|
27988
27999
|
const {
|
|
27989
28000
|
currency: v,
|
|
27990
28001
|
amount: S,
|
|
@@ -28078,7 +28089,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28078
28089
|
data: Gn,
|
|
28079
28090
|
refetch: ec,
|
|
28080
28091
|
isLoading: tc
|
|
28081
|
-
} = sM(ve == null ? void 0 : ve.reference, Z), [nc, an] = ae(!1), [rc, on] = ae(!1), ao = ![
|
|
28092
|
+
} = sM(ve == null ? void 0 : ve.reference, Z), [nc, an] = ae(!1), [rc, on] = ae(!1), ao = ![Ne.NGN, Ne.GHS, Ne.KES].includes(
|
|
28082
28093
|
v
|
|
28083
28094
|
) && rc, oo = (K) => K === "United States" ? "United States of America" : K === "United Kingdom" ? "United Kingdom of Great Britain and Northern Ireland" : K, Y = UR({
|
|
28084
28095
|
initialValues: {
|
|
@@ -28164,9 +28175,9 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28164
28175
|
Y.setFieldValue(K, Te);
|
|
28165
28176
|
}
|
|
28166
28177
|
}));
|
|
28167
|
-
const Wn = cD((yo = Y.values) == null ? void 0 : yo.zipCode), Hn = q ? !1 : v !== (It == null ? void 0 : It.currency), io = Y.values.country !== "" ? aa((Ji = Y == null ? void 0 : Y.values) == null ? void 0 : Ji.country) : It == null ? void 0 : It.currency, so = aa(e == null ? void 0 : e.merchantCountry), ac = [
|
|
28178
|
+
const Wn = cD((yo = Y.values) == null ? void 0 : yo.zipCode), Hn = q ? !1 : v !== (It == null ? void 0 : It.currency), io = Y.values.country !== "" ? aa((Ji = Y == null ? void 0 : Y.values) == null ? void 0 : Ji.country) : It == null ? void 0 : It.currency, so = aa(e == null ? void 0 : e.merchantCountry), ac = [Ne.USD, Ne.GBP, Ne.CAD, Ne.NGN].includes(
|
|
28168
28179
|
so
|
|
28169
|
-
) && so === v, Kn = q ? !1 : !(ac && so === io), oc = io !== v, ic = [
|
|
28180
|
+
) && so === v, Kn = q ? !1 : !(ac && so === io), oc = io !== v, ic = [Ne.USD, Ne.GBP, Ne.CAD].includes(
|
|
28170
28181
|
e == null ? void 0 : e.merchantCountry
|
|
28171
28182
|
) && (e == null ? void 0 : e.merchantCountry) === io, Gi = J ? q ? !1 : oc && ic : Kn, { data: oe, isLoading: Wi } = oM(
|
|
28172
28183
|
{
|
|
@@ -28186,7 +28197,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28186
28197
|
Z
|
|
28187
28198
|
), lo = (ts = (So = (es = oe == null ? void 0 : oe.payload) == null ? void 0 : es.tax_calculation) == null ? void 0 : So.breakdown[0]) == null ? void 0 : ts.percentage_decimal, co = ((w = (y = oe == null ? void 0 : oe.payload) == null ? void 0 : y.tax_calculation) == null ? void 0 : w.local_tax) ?? 0, la = ((z = (k = oe == null ? void 0 : oe.payload) == null ? void 0 : k.tax_calculation) == null ? void 0 : z.dollar_tax) ?? 0, uo = ((Ce = oe == null ? void 0 : oe.payload) == null ? void 0 : Ce.local_amount) ?? 0, fo = ((Ie = oe == null ? void 0 : oe.payload) == null ? void 0 : Ie.local_transaction_fee) ?? 0, ca = ((Ue = oe == null ? void 0 : oe.payload) == null ? void 0 : Ue.currency_switching_fee) ?? 0, vr = ((be = oe == null ? void 0 : oe.payload) == null ? void 0 : be.local_currency_switching_fee) ?? 0, Hi = ((Ge = oe == null ? void 0 : oe.payload) == null ? void 0 : Ge.dollar_currency_switching_fee) ?? 0, yr = parseFloat(uo) + parseFloat(fo) + parseFloat(co) + (Hn ? Number(vr) : 0), Ht = at(() => {
|
|
28188
28199
|
var K;
|
|
28189
|
-
return v ===
|
|
28200
|
+
return v === Ne.UGX ? Math.ceil(yr) * 100 : Math.round(
|
|
28190
28201
|
yr * ((K = oe == null ? void 0 : oe.payload) != null && K.is_zero_decimal_currency ? 1 : 100)
|
|
28191
28202
|
);
|
|
28192
28203
|
}, [
|
|
@@ -28201,7 +28212,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28201
28212
|
(Number(fo) + Number(Hn ? vr : 0)).toFixed(2)
|
|
28202
28213
|
).toString(), Re = {
|
|
28203
28214
|
...e.metadata,
|
|
28204
|
-
phone_number: (
|
|
28215
|
+
phone_number: (Ct = Y.values) == null ? void 0 : Ct.phone,
|
|
28205
28216
|
reference: we,
|
|
28206
28217
|
email: Y.values.email,
|
|
28207
28218
|
name: (Xn = Y.values) == null ? void 0 : Xn.fullname,
|
|
@@ -28247,7 +28258,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28247
28258
|
case xu.indexOf(v) > -1:
|
|
28248
28259
|
K = he, qn = "GB_ACCOUNT";
|
|
28249
28260
|
break;
|
|
28250
|
-
case v ===
|
|
28261
|
+
case v === Ne.CAD:
|
|
28251
28262
|
K = U, qn = "CA_ACCOUNT";
|
|
28252
28263
|
break;
|
|
28253
28264
|
default:
|
|
@@ -28262,7 +28273,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28262
28273
|
]);
|
|
28263
28274
|
de(() => {
|
|
28264
28275
|
// isFree
|
|
28265
|
-
v !==
|
|
28276
|
+
v !== Ne.NGN && v !== Ne.GHS && v !== Ne.KES ? Ot(!0) : Ot(!1);
|
|
28266
28277
|
}, [v]);
|
|
28267
28278
|
const uc = () => {
|
|
28268
28279
|
const K = ml();
|
|
@@ -28314,9 +28325,9 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28314
28325
|
}, [dc, fc] = ae(!1), ua = async (K) => {
|
|
28315
28326
|
Y.setErrors({});
|
|
28316
28327
|
const Te = [
|
|
28317
|
-
|
|
28318
|
-
|
|
28319
|
-
|
|
28328
|
+
Ne.NGN,
|
|
28329
|
+
Ne.GHS,
|
|
28330
|
+
Ne.KES
|
|
28320
28331
|
].includes(v);
|
|
28321
28332
|
if (K.preventDefault(), Ht === 0 || N != null && N.isFullDiscount) {
|
|
28322
28333
|
Y.submitForm();
|
|
@@ -28357,7 +28368,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28357
28368
|
} catch {
|
|
28358
28369
|
Pt("Failed to complete transaction", $t.error), Y.setSubmitting(!1), an(!1);
|
|
28359
28370
|
}
|
|
28360
|
-
}, da = Se(null), gc = (mp = da == null ? void 0 : da.current) == null ? void 0 : mp.offsetWidth, mo = v ===
|
|
28371
|
+
}, da = Se(null), gc = (mp = da == null ? void 0 : da.current) == null ? void 0 : mp.offsetWidth, mo = v === Ne.USD && M !== "ips" && tt > 0, vc = [
|
|
28361
28372
|
{
|
|
28362
28373
|
name: "visa",
|
|
28363
28374
|
src: "https://res.cloudinary.com/mainstack-co/image/upload/v1743682005/payment_lib/visa.png"
|
|
@@ -28391,25 +28402,25 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28391
28402
|
} = ni({ defaultIsOpen: !1 }), mn = [
|
|
28392
28403
|
{
|
|
28393
28404
|
name: "Bank Transfer or USSD",
|
|
28394
|
-
currency:
|
|
28405
|
+
currency: Ne.NGN,
|
|
28395
28406
|
payment_mode: "transfer"
|
|
28396
28407
|
},
|
|
28397
28408
|
{
|
|
28398
28409
|
name: "MoMo or Bank Transfer",
|
|
28399
|
-
currency:
|
|
28410
|
+
currency: Ne.GHS,
|
|
28400
28411
|
payment_mode: "mobile_money"
|
|
28401
28412
|
},
|
|
28402
28413
|
{
|
|
28403
28414
|
name: "MPESA or Airtel Money",
|
|
28404
|
-
currency:
|
|
28415
|
+
currency: Ne.KES,
|
|
28405
28416
|
payment_mode: "mobile_money"
|
|
28406
28417
|
}
|
|
28407
28418
|
].find(
|
|
28408
28419
|
(K) => K.currency === v
|
|
28409
|
-
), ga = !ao && jt("crypto") && G && mo || [
|
|
28420
|
+
), ga = !ao && jt("crypto") && G && mo || [Ne.NGN, Ne.GHS, Ne.KES].includes(
|
|
28410
28421
|
v
|
|
28411
28422
|
) && !ao && M !== "ips";
|
|
28412
|
-
return /* @__PURE__ */ h(
|
|
28423
|
+
return /* @__PURE__ */ h(wt, { children: /* @__PURE__ */ $(
|
|
28413
28424
|
Bf,
|
|
28414
28425
|
{
|
|
28415
28426
|
py: (b == null ? void 0 : b.padding) ?? "0px",
|
|
@@ -28433,12 +28444,12 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28433
28444
|
colSpan: Q || V ? 12 : { base: 12, lg: 5 },
|
|
28434
28445
|
height: "100%",
|
|
28435
28446
|
bg: ct.gray25,
|
|
28447
|
+
borderRadius: V ? "16px" : { base: "16px", lg: "16px 0 0 16px" },
|
|
28436
28448
|
children: /* @__PURE__ */ h(
|
|
28437
28449
|
uD,
|
|
28438
28450
|
{
|
|
28439
28451
|
itemsList: j,
|
|
28440
28452
|
styles: {
|
|
28441
|
-
position: V ? "static" : { lg: "fixed" },
|
|
28442
28453
|
width: V ? "auto" : { lg: `${gc}px` }
|
|
28443
28454
|
},
|
|
28444
28455
|
summaryTitle: t ?? (Re == null ? void 0 : Re.productName),
|
|
@@ -28485,13 +28496,12 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28485
28496
|
overflowY: "auto",
|
|
28486
28497
|
height: "90vh",
|
|
28487
28498
|
children: /* @__PURE__ */ $(Ee, { width: "560px", children: [
|
|
28488
|
-
/* @__PURE__ */ h(
|
|
28499
|
+
/* @__PURE__ */ h(wt, { children: f }),
|
|
28489
28500
|
/* @__PURE__ */ $(NR, { value: Y, children: [
|
|
28490
|
-
/* @__PURE__ */ h("form", { onSubmit: Y.handleSubmit, children: s ?? /* @__PURE__ */ $(Ee, { children: [
|
|
28501
|
+
/* @__PURE__ */ h("form", { onSubmit: Y.handleSubmit, children: s ?? /* @__PURE__ */ $(Ee, { borderBottom: "1px solid #E8EBF2", py: "20px", children: [
|
|
28491
28502
|
/* @__PURE__ */ $(
|
|
28492
28503
|
ue,
|
|
28493
28504
|
{
|
|
28494
|
-
py: "20px",
|
|
28495
28505
|
justifyContent: "space-between",
|
|
28496
28506
|
alignItems: "center",
|
|
28497
28507
|
cursor: "pointer",
|
|
@@ -28501,7 +28511,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28501
28511
|
opacity: pa ? 1 : 0.6,
|
|
28502
28512
|
transition: "opacity 0.2s",
|
|
28503
28513
|
children: [
|
|
28504
|
-
bl(n) ? /* @__PURE__ */ h(
|
|
28514
|
+
bl(n) ? /* @__PURE__ */ h(wt, { children: n }) : /* @__PURE__ */ $(Ee, { children: [
|
|
28505
28515
|
/* @__PURE__ */ h(
|
|
28506
28516
|
ke,
|
|
28507
28517
|
{
|
|
@@ -28536,7 +28546,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28536
28546
|
]
|
|
28537
28547
|
}
|
|
28538
28548
|
),
|
|
28539
|
-
/* @__PURE__ */ h(Si, { in: pa, children: /* @__PURE__ */ h(Ee, { transition: "all 0.2s", children: /* @__PURE__ */ h(
|
|
28549
|
+
/* @__PURE__ */ h(Si, { in: pa, children: /* @__PURE__ */ h(Ee, { transition: "all 0.2s", mt: "20px", children: /* @__PURE__ */ h(
|
|
28540
28550
|
dD,
|
|
28541
28551
|
{
|
|
28542
28552
|
title: n,
|
|
@@ -28554,7 +28564,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28554
28564
|
proceedButton: /* @__PURE__ */ $(
|
|
28555
28565
|
ue,
|
|
28556
28566
|
{
|
|
28557
|
-
mt: "
|
|
28567
|
+
mt: "16px",
|
|
28558
28568
|
gap: "10px",
|
|
28559
28569
|
flexDirection: { base: "column", md: "row" },
|
|
28560
28570
|
width: "100%",
|
|
@@ -28648,6 +28658,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28648
28658
|
fontSize: "14px",
|
|
28649
28659
|
lineHeight: "28px",
|
|
28650
28660
|
letterSpacing: "-0.2px",
|
|
28661
|
+
textAlign: "left",
|
|
28651
28662
|
children: "Secure options to complete your purchase"
|
|
28652
28663
|
}
|
|
28653
28664
|
)
|
|
@@ -28664,9 +28675,9 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28664
28675
|
}
|
|
28665
28676
|
),
|
|
28666
28677
|
/* @__PURE__ */ h(Si, { in: Zn, children: /* @__PURE__ */ $(Ee, { transition: "all 0.2s", pb: "200px", children: [
|
|
28667
|
-
/* @__PURE__ */ h(ue, { gap: "12px", children: (jt("wallet") || !(N != null && N.isFullDiscount)) && /* @__PURE__ */ $(
|
|
28678
|
+
/* @__PURE__ */ h(ue, { gap: "12px", children: (jt("wallet") || !(N != null && N.isFullDiscount)) && /* @__PURE__ */ $(wt, { children: [
|
|
28668
28679
|
" ",
|
|
28669
|
-
D && v !==
|
|
28680
|
+
D && v !== Ne.NGN && v !== Ne.GHS && v !== Ne.KES && /* @__PURE__ */ h(
|
|
28670
28681
|
Ws,
|
|
28671
28682
|
{
|
|
28672
28683
|
stripe: po,
|
|
@@ -28729,7 +28740,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28729
28740
|
)
|
|
28730
28741
|
] }),
|
|
28731
28742
|
/* @__PURE__ */ $(ue, { alignItems: "center", gap: "12px", children: [
|
|
28732
|
-
/* @__PURE__ */ h(
|
|
28743
|
+
!V && /* @__PURE__ */ h(
|
|
28733
28744
|
ue,
|
|
28734
28745
|
{
|
|
28735
28746
|
alignItems: "center",
|
|
@@ -28778,7 +28789,7 @@ const pD = (e) => /* @__PURE__ */ $(hn, { viewBox: "0 0 32 32", ...e, fill: "non
|
|
|
28778
28789
|
showPayment: st,
|
|
28779
28790
|
showCheckoutForm: ot,
|
|
28780
28791
|
onCancel: ho,
|
|
28781
|
-
btn_color: b == null ? void 0 : b.theme_color,
|
|
28792
|
+
btn_color: (b == null ? void 0 : b.theme_color) ?? "#111215",
|
|
28782
28793
|
onPaymentComplete: u,
|
|
28783
28794
|
Request: Z,
|
|
28784
28795
|
paymentModel: M,
|