@alma/widgets 4.0.9 → 4.0.11
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/dist/widgets-wc.umd.js +2 -2
- package/dist/widgets-wc.umd.js.map +1 -0
- package/dist/widgets.css +1 -1
- package/dist/widgets.js +102 -103
- package/dist/widgets.js.map +1 -1
- package/dist/widgets.min.css +1 -1
- package/dist/widgets.umd.js +2 -2
- package/dist/widgets.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/widgets.js
CHANGED
|
@@ -566,7 +566,7 @@ function Zt(e, t, n) {
|
|
|
566
566
|
}
|
|
567
567
|
return a.__N || a.__;
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function X(e, t) {
|
|
570
570
|
var n = qe(Pe++, 3);
|
|
571
571
|
!j.__s && Bn(n.__H, t) && (n.__ = e, n.u = t, $.__H.__h.push(n));
|
|
572
572
|
}
|
|
@@ -707,7 +707,7 @@ function Un(e, t) {
|
|
|
707
707
|
var n = t(), a = Q({ t: { __: n, u: t } }), r = a[0].t, i = a[1];
|
|
708
708
|
return it(function() {
|
|
709
709
|
r.__ = n, r.u = t, Qt(r) && i({ t: r });
|
|
710
|
-
}, [e, n, t]),
|
|
710
|
+
}, [e, n, t]), X(function() {
|
|
711
711
|
return Qt(r) && i({ t: r }), e(function() {
|
|
712
712
|
Qt(r) && i({ t: r });
|
|
713
713
|
});
|
|
@@ -955,7 +955,7 @@ w.diffed = function(e) {
|
|
|
955
955
|
};
|
|
956
956
|
var Gr = { ReactCurrentDispatcher: { current: { readContext: function(e) {
|
|
957
957
|
return qn.__n[e.__c].props.value;
|
|
958
|
-
}, useCallback: _t, useContext: St, useDebugValue: kn, useDeferredValue: Gn, useEffect:
|
|
958
|
+
}, useCallback: _t, useContext: St, useDebugValue: kn, useDeferredValue: Gn, useEffect: X, useId: Fn, useImperativeHandle: Dn, useInsertionEffect: Wn, useLayoutEffect: it, useMemo: De, useReducer: Zt, useRef: ke, useState: Q, useSyncExternalStore: Un, useTransition: zn } } }, wo = "18.3.1";
|
|
959
959
|
function zr(e) {
|
|
960
960
|
return de.bind(null, e);
|
|
961
961
|
}
|
|
@@ -981,7 +981,7 @@ var Zr = function(e, t) {
|
|
|
981
981
|
return e(t);
|
|
982
982
|
}, Xr = function(e, t) {
|
|
983
983
|
return e(t);
|
|
984
|
-
}, Kr = pe, Jr = Tt, f = { useState: Q, useId: Fn, useReducer: Zt, useEffect:
|
|
984
|
+
}, Kr = pe, Jr = Tt, f = { useState: Q, useId: Fn, useReducer: Zt, useEffect: X, useLayoutEffect: it, useInsertionEffect: Wn, useTransition: zn, useDeferredValue: Gn, useSyncExternalStore: Un, startTransition: $n, useRef: ke, useImperativeHandle: Dn, useMemo: De, useCallback: _t, useContext: St, useDebugValue: kn, version: "18.3.1", Children: At, render: Vn, hydrate: $r, unmountComponentAtNode: Zn, createPortal: Br, createElement: de, createContext: yt, createFactory: zr, cloneElement: Vr, createRef: Cr, Fragment: pe, isValidElement: Tt, isElement: Jr, isFragment: Wr, isMemo: jr, findDOMNode: qr, Component: Ee, PureComponent: vt, memo: jn, forwardRef: Lr, flushSync: Xr, unstable_batchedUpdates: Zr, StrictMode: Kr, Suspense: mt, SuspenseList: Ye, lazy: Fr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Gr };
|
|
985
985
|
const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
986
986
|
__proto__: null,
|
|
987
987
|
Children: At,
|
|
@@ -1017,7 +1017,7 @@ const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1017
1017
|
useContext: St,
|
|
1018
1018
|
useDebugValue: kn,
|
|
1019
1019
|
useDeferredValue: Gn,
|
|
1020
|
-
useEffect:
|
|
1020
|
+
useEffect: X,
|
|
1021
1021
|
useErrorBoundary: fo,
|
|
1022
1022
|
useId: Fn,
|
|
1023
1023
|
useImperativeHandle: Dn,
|
|
@@ -5068,7 +5068,7 @@ const nl = {
|
|
|
5068
5068
|
),
|
|
5069
5069
|
0
|
|
5070
5070
|
).toString().replace("-", "A"), ml = (e) => Date.now() - e >= 36e5;
|
|
5071
|
-
var fl = { BUILD_VERSION: "v4.0.
|
|
5071
|
+
var fl = { BUILD_VERSION: "v4.0.11" };
|
|
5072
5072
|
const dl = () => ({
|
|
5073
5073
|
setCache: (i, o) => {
|
|
5074
5074
|
const s = Date.now();
|
|
@@ -5128,7 +5128,7 @@ const hl = (e, t) => e.eligible && t ? e.purchase_amount >= (t == null ? void 0
|
|
|
5128
5128
|
}) : e.filter(
|
|
5129
5129
|
(n) => !(n.installments_count === 1 && n.deferred_days === 0 && n.deferred_months === 0)
|
|
5130
5130
|
);
|
|
5131
|
-
var _l = { BUILD_VERSION: "v4.0.
|
|
5131
|
+
var _l = { BUILD_VERSION: "v4.0.11" };
|
|
5132
5132
|
const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
|
|
5133
5133
|
var E, N;
|
|
5134
5134
|
const [o, s] = Q([]), [l, u] = Q(ue.PENDING), { getCache: m, setCache: c, createKey: d, clearCache: p } = dl(), g = d({
|
|
@@ -5143,7 +5143,7 @@ const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
|
|
|
5143
5143
|
deferred_days: y == null ? void 0 : y.deferredDays,
|
|
5144
5144
|
deferred_months: y == null ? void 0 : y.deferredMonths
|
|
5145
5145
|
}));
|
|
5146
|
-
return
|
|
5146
|
+
return X(() => {
|
|
5147
5147
|
if (l === ue.PENDING) {
|
|
5148
5148
|
let y = null;
|
|
5149
5149
|
r && (y = {
|
|
@@ -5416,7 +5416,7 @@ const D = /* @__PURE__ */ Mt(Qn), oe = D.oneOfType([D.string, D.number]), Di = {
|
|
|
5416
5416
|
monochrome: D.bool,
|
|
5417
5417
|
resolution: oe,
|
|
5418
5418
|
type: Object.keys(Di)
|
|
5419
|
-
}, ua = Dl, { type:
|
|
5419
|
+
}, ua = Dl, { type: Jm } = ua, kl = Lt(ua, ["type"]), Fl = Ne({
|
|
5420
5420
|
minAspectRatio: D.string,
|
|
5421
5421
|
maxAspectRatio: D.string,
|
|
5422
5422
|
minDeviceAspectRatio: D.string,
|
|
@@ -5452,24 +5452,24 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
|
|
|
5452
5452
|
}), zl(t);
|
|
5453
5453
|
}, jl = yt(void 0), Vl = (e) => e.query || Wl(e), Ya = (e) => e ? Object.keys(e).reduce((n, a) => (n[Li(a)] = e[a], n), {}) : void 0, ki = () => {
|
|
5454
5454
|
const e = ke(!1);
|
|
5455
|
-
return
|
|
5455
|
+
return X(() => {
|
|
5456
5456
|
e.current = !0;
|
|
5457
5457
|
}, []), e.current;
|
|
5458
5458
|
}, ql = (e) => {
|
|
5459
5459
|
const t = St(jl), n = () => Ya(e) || Ya(t), [a, r] = Q(n);
|
|
5460
|
-
return
|
|
5460
|
+
return X(() => {
|
|
5461
5461
|
const i = n();
|
|
5462
5462
|
Rl(a, i) || r(i);
|
|
5463
5463
|
}, [e, t]), a;
|
|
5464
5464
|
}, Zl = (e) => {
|
|
5465
5465
|
const t = () => Vl(e), [n, a] = Q(t);
|
|
5466
|
-
return
|
|
5466
|
+
return X(() => {
|
|
5467
5467
|
const r = t();
|
|
5468
5468
|
n !== r && a(r);
|
|
5469
5469
|
}, [e]), n;
|
|
5470
5470
|
}, Xl = (e, t) => {
|
|
5471
5471
|
const n = () => wl(e, t || {}, !!t), [a, r] = Q(n), i = ki();
|
|
5472
|
-
return
|
|
5472
|
+
return X(() => {
|
|
5473
5473
|
if (i) {
|
|
5474
5474
|
const o = n();
|
|
5475
5475
|
return r(o), () => {
|
|
@@ -5479,7 +5479,7 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
|
|
|
5479
5479
|
}, [e, t]), a;
|
|
5480
5480
|
}, Kl = (e) => {
|
|
5481
5481
|
const [t, n] = Q(e.matches);
|
|
5482
|
-
return
|
|
5482
|
+
return X(() => {
|
|
5483
5483
|
const a = (r) => {
|
|
5484
5484
|
n(r.matches);
|
|
5485
5485
|
};
|
|
@@ -5492,8 +5492,8 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
|
|
|
5492
5492
|
if (!r)
|
|
5493
5493
|
throw new Error("Invalid or missing MediaQuery!");
|
|
5494
5494
|
const i = Xl(r, a), o = Kl(i);
|
|
5495
|
-
return ki(),
|
|
5496
|
-
}, [o]),
|
|
5495
|
+
return ki(), X(() => {
|
|
5496
|
+
}, [o]), X(() => () => {
|
|
5497
5497
|
i && i.dispose();
|
|
5498
5498
|
}, []), o;
|
|
5499
5499
|
};
|
|
@@ -6043,8 +6043,8 @@ $u.default.subscribe(ju);
|
|
|
6043
6043
|
}, h.setContentRef = function(S) {
|
|
6044
6044
|
h.content = S, h.props.contentRef && h.props.contentRef(S);
|
|
6045
6045
|
}, h.afterClose = function() {
|
|
6046
|
-
var S = h.props,
|
|
6047
|
-
O && v.remove(q.body, O), V && v.remove(q.getElementsByTagName("html")[0], V), ne && U > 0 && (U -= 1, U === 0 && p.show(
|
|
6046
|
+
var S = h.props, K = S.appElement, ne = S.ariaHideApp, V = S.htmlOpenClassName, O = S.bodyOpenClassName, B = S.parentSelector, q = B && B().ownerDocument || document;
|
|
6047
|
+
O && v.remove(q.body, O), V && v.remove(q.getElementsByTagName("html")[0], V), ne && U > 0 && (U -= 1, U === 0 && p.show(K)), h.props.shouldFocusAfterRender && (h.props.shouldReturnFocusAfterClose ? (u.returnFocus(h.props.preventScroll), u.teardownScopedFocus()) : u.popWithoutFocus()), h.props.onAfterClose && h.props.onAfterClose(), E.default.deregister(h);
|
|
6048
6048
|
}, h.open = function() {
|
|
6049
6049
|
h.beforeOpen(), h.state.afterOpen && h.state.beforeClose ? (clearTimeout(h.closeTimer), h.setState({ beforeClose: !1 })) : (h.props.shouldFocusAfterRender && (u.setupScopedFocus(h.node), u.markForFocusLater()), h.setState({ isOpen: !0 }, function() {
|
|
6050
6050
|
h.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -6090,16 +6090,16 @@ $u.default.subscribe(ju);
|
|
|
6090
6090
|
return !h.state.isOpen && !h.state.beforeClose;
|
|
6091
6091
|
}, h.contentHasFocus = function() {
|
|
6092
6092
|
return document.activeElement === h.content || h.content.contains(document.activeElement);
|
|
6093
|
-
}, h.buildClassName = function(S,
|
|
6094
|
-
var ne = (typeof
|
|
6093
|
+
}, h.buildClassName = function(S, K) {
|
|
6094
|
+
var ne = (typeof K == "undefined" ? "undefined" : a(K)) === "object" ? K : {
|
|
6095
6095
|
base: F[S],
|
|
6096
6096
|
afterOpen: F[S] + "--after-open",
|
|
6097
6097
|
beforeClose: F[S] + "--before-close"
|
|
6098
6098
|
}, V = ne.base;
|
|
6099
|
-
return h.state.afterOpen && (V = V + " " + ne.afterOpen), h.state.beforeClose && (V = V + " " + ne.beforeClose), typeof
|
|
6100
|
-
}, h.attributesFromObject = function(S,
|
|
6101
|
-
return Object.keys(
|
|
6102
|
-
return ne[S + "-" + V] =
|
|
6099
|
+
return h.state.afterOpen && (V = V + " " + ne.afterOpen), h.state.beforeClose && (V = V + " " + ne.beforeClose), typeof K == "string" && K ? V + " " + K : V;
|
|
6100
|
+
}, h.attributesFromObject = function(S, K) {
|
|
6101
|
+
return Object.keys(K).reduce(function(ne, V) {
|
|
6102
|
+
return ne[S + "-" + V] = K[V], ne;
|
|
6103
6103
|
}, {});
|
|
6104
6104
|
}, h.state = {
|
|
6105
6105
|
afterOpen: !1,
|
|
@@ -6124,14 +6124,14 @@ $u.default.subscribe(ju);
|
|
|
6124
6124
|
}, {
|
|
6125
6125
|
key: "beforeOpen",
|
|
6126
6126
|
value: function() {
|
|
6127
|
-
var h = this.props, S = h.appElement,
|
|
6128
|
-
V && v.add(B.body, V), ne && v.add(B.getElementsByTagName("html")[0], ne),
|
|
6127
|
+
var h = this.props, S = h.appElement, K = h.ariaHideApp, ne = h.htmlOpenClassName, V = h.bodyOpenClassName, O = h.parentSelector, B = O && O().ownerDocument || document;
|
|
6128
|
+
V && v.add(B.body, V), ne && v.add(B.getElementsByTagName("html")[0], ne), K && (U += 1, p.hide(S)), E.default.register(this);
|
|
6129
6129
|
}
|
|
6130
6130
|
// Don't steal focus from inner elements
|
|
6131
6131
|
}, {
|
|
6132
6132
|
key: "render",
|
|
6133
6133
|
value: function() {
|
|
6134
|
-
var h = this.props, S = h.id,
|
|
6134
|
+
var h = this.props, S = h.id, K = h.className, ne = h.overlayClassName, V = h.defaultStyles, O = h.children, B = K ? {} : V.content, q = ne ? {} : V.overlay;
|
|
6135
6135
|
if (this.shouldBeClosed())
|
|
6136
6136
|
return null;
|
|
6137
6137
|
var me = {
|
|
@@ -6144,7 +6144,7 @@ $u.default.subscribe(ju);
|
|
|
6144
6144
|
id: S,
|
|
6145
6145
|
ref: this.setContentRef,
|
|
6146
6146
|
style: n({}, B, this.props.style.content),
|
|
6147
|
-
className: this.buildClassName("content",
|
|
6147
|
+
className: this.buildClassName("content", K),
|
|
6148
6148
|
tabIndex: "-1",
|
|
6149
6149
|
onKeyDown: this.handleKeyDown,
|
|
6150
6150
|
onMouseDown: this.handleContentOnMouseDown,
|
|
@@ -6527,14 +6527,14 @@ function uc({ color: e = "#fff", className: t }) {
|
|
|
6527
6527
|
)
|
|
6528
6528
|
);
|
|
6529
6529
|
}
|
|
6530
|
-
const cc = "
|
|
6530
|
+
const cc = "_modal_n41z8_1", mc = "_content_n41z8_19", fc = "_contentScrollable_n41z8_25", dc = "_overlay_n41z8_31", pc = "_header_n41z8_44", hc = "_closeButton_n41z8_53", Xe = {
|
|
6531
6531
|
modal: cc,
|
|
6532
6532
|
content: mc,
|
|
6533
6533
|
contentScrollable: fc,
|
|
6534
6534
|
overlay: dc,
|
|
6535
6535
|
header: pc,
|
|
6536
6536
|
closeButton: hc
|
|
6537
|
-
}, ae = "alma-eligibility-modal",
|
|
6537
|
+
}, ae = "alma-eligibility-modal", Z = {
|
|
6538
6538
|
desktopModal: `${ae}-desktop-modal`,
|
|
6539
6539
|
mobileModal: `${ae}-mobile-modal`,
|
|
6540
6540
|
leftSide: `${ae}-left-side`,
|
|
@@ -6591,7 +6591,7 @@ const cc = "_modal_1u882_1", mc = "_content_1u882_19", fc = "_contentScrollable_
|
|
|
6591
6591
|
{
|
|
6592
6592
|
type: "button",
|
|
6593
6593
|
onClick: n,
|
|
6594
|
-
className: R(Xe.closeButton,
|
|
6594
|
+
className: R(Xe.closeButton, Z.closeButton),
|
|
6595
6595
|
"data-testid": "modal-close-button",
|
|
6596
6596
|
"aria-label": u.formatMessage({
|
|
6597
6597
|
id: "accessibility.close-button.aria-label",
|
|
@@ -6602,7 +6602,7 @@ const cc = "_modal_1u882_1", mc = "_content_1u882_19", fc = "_contentScrollable_
|
|
|
6602
6602
|
)),
|
|
6603
6603
|
/* @__PURE__ */ f.createElement("div", { className: R(Xe.content, r, { [Xe.contentScrollable]: i }) }, e)
|
|
6604
6604
|
);
|
|
6605
|
-
}, yc = "
|
|
6605
|
+
}, yc = "_skipLinks_ki0vu_2", _c = "_skipLinksList_ki0vu_10", vc = "_skipLinkItem_ki0vu_16", bc = "_skipLink_ki0vu_2", Bt = {
|
|
6606
6606
|
skipLinks: yc,
|
|
6607
6607
|
skipLinksList: _c,
|
|
6608
6608
|
skipLinkItem: vc,
|
|
@@ -6908,15 +6908,15 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
6908
6908
|
{ days: e.deferred_days }
|
|
6909
6909
|
)
|
|
6910
6910
|
}
|
|
6911
|
-
) : `${e.installments_count}x`, Rc = "
|
|
6911
|
+
) : `${e.installments_count}x`, Rc = "_buttons_1oh6v_1", Lc = "_active_1oh6v_56", Hc = "_textButton_1oh6v_62", ln = {
|
|
6912
6912
|
buttons: Rc,
|
|
6913
6913
|
active: Lc,
|
|
6914
6914
|
textButton: Hc
|
|
6915
6915
|
}, Dc = ({ eligibilityPlans: e, currentPlanIndex: t, setCurrentPlanIndex: n, id: a }) => {
|
|
6916
6916
|
const r = he(), i = ke([]), o = ke(!1);
|
|
6917
|
-
|
|
6917
|
+
X(() => {
|
|
6918
6918
|
i.current = i.current.slice(0, e.length);
|
|
6919
|
-
}, [e.length]),
|
|
6919
|
+
}, [e.length]), X(() => {
|
|
6920
6920
|
var l;
|
|
6921
6921
|
o.current && i.current[t] && ((l = i.current[t]) == null || l.focus(), o.current = !1);
|
|
6922
6922
|
}, [t]);
|
|
@@ -6933,7 +6933,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
6933
6933
|
"div",
|
|
6934
6934
|
{
|
|
6935
6935
|
id: a,
|
|
6936
|
-
className: R(ln.buttons,
|
|
6936
|
+
className: R(ln.buttons, Z.eligibilityOptions),
|
|
6937
6937
|
role: "group",
|
|
6938
6938
|
"aria-labelledby": "payment-plans-title"
|
|
6939
6939
|
},
|
|
@@ -6943,7 +6943,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
6943
6943
|
type: "button",
|
|
6944
6944
|
key: `p${l.installments_count}x-d+${l.deferred_days}-m+${l.deferred_months}`,
|
|
6945
6945
|
className: R({
|
|
6946
|
-
[R(ln.active,
|
|
6946
|
+
[R(ln.active, Z.activeOption)]: u === t
|
|
6947
6947
|
}),
|
|
6948
6948
|
onClick: () => n(u),
|
|
6949
6949
|
onKeyDown: (m) => {
|
|
@@ -6980,7 +6980,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
6980
6980
|
month: "long",
|
|
6981
6981
|
year: "numeric"
|
|
6982
6982
|
}
|
|
6983
|
-
)), /* @__PURE__ */ f.createElement("div", { className: R({ [lt.bold]: t === 0 }) }, /* @__PURE__ */ f.createElement(Te, { value: e.total_amount / 100, style: "currency", currency: "EUR" }))), zc = "
|
|
6983
|
+
)), /* @__PURE__ */ f.createElement("div", { className: R({ [lt.bold]: t === 0 }) }, /* @__PURE__ */ f.createElement(Te, { value: e.total_amount / 100, style: "currency", currency: "EUR" }))), zc = "_container_1jhi6_1", Wc = "_total_1jhi6_18", jc = "_creditInfo_1jhi6_25", Vc = "_creditInfoTitle_1jhi6_36", qc = "_fees_1jhi6_40", Zc = "_creditCost_1jhi6_50", Xc = "_creditInfoLegalText_1jhi6_54", Ue = {
|
|
6984
6984
|
container: zc,
|
|
6985
6985
|
total: Wc,
|
|
6986
6986
|
creditInfo: jc,
|
|
@@ -7008,11 +7008,11 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7008
7008
|
)), /* @__PURE__ */ f.createElement(
|
|
7009
7009
|
"div",
|
|
7010
7010
|
{
|
|
7011
|
-
className: R(Ue.container,
|
|
7011
|
+
className: R(Ue.container, Z.summary),
|
|
7012
7012
|
"data-testid": "modal-summary"
|
|
7013
7013
|
},
|
|
7014
|
-
/* @__PURE__ */ f.createElement("p", { className: R(Ue.total,
|
|
7015
|
-
/* @__PURE__ */ f.createElement("p", { className: R(Ue.fees,
|
|
7014
|
+
/* @__PURE__ */ f.createElement("p", { className: R(Ue.total, Z.scheduleTotal) }, /* @__PURE__ */ f.createElement(L, { tagName: "span", id: "installments.total-amount", defaultMessage: "Total" }), /* @__PURE__ */ f.createElement(Te, { value: n || 0, style: "currency", currency: "EUR" })),
|
|
7015
|
+
/* @__PURE__ */ f.createElement("p", { className: R(Ue.fees, Z.scheduleCredit) }, o ? /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
|
|
7016
7016
|
L,
|
|
7017
7017
|
{
|
|
7018
7018
|
id: "credit-features.total-credit-cost",
|
|
@@ -7093,7 +7093,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7093
7093
|
/* @__PURE__ */ f.createElement("div", { id: "payment-schedule-description" }, /* @__PURE__ */ f.createElement(
|
|
7094
7094
|
"ul",
|
|
7095
7095
|
{
|
|
7096
|
-
className: R(un.schedule,
|
|
7096
|
+
className: R(un.schedule, Z.scheduleDetails),
|
|
7097
7097
|
"data-testid": "modal-installments-element"
|
|
7098
7098
|
},
|
|
7099
7099
|
((e == null ? void 0 : e.payment_plan) || []).map((n, a) => /* @__PURE__ */ f.createElement("li", { key: n.due_date * 1e3, className: un.scheduleItem }, /* @__PURE__ */ f.createElement(Gc, { installment: n, index: a })))
|
|
@@ -7287,11 +7287,11 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7287
7287
|
"div",
|
|
7288
7288
|
{
|
|
7289
7289
|
"data-testid": "card-logos",
|
|
7290
|
-
className: R(fr.cardContainer,
|
|
7290
|
+
className: R(fr.cardContainer, Z.cardContainer)
|
|
7291
7291
|
},
|
|
7292
7292
|
t.map((n) => /* @__PURE__ */ f.createElement("div", { key: n, className: fr.card, "data-testid": `card-logo-${n}` }, n === "cb" && /* @__PURE__ */ f.createElement(nm, null), n === "amex" && /* @__PURE__ */ f.createElement(tm, null), n === "mastercard" && /* @__PURE__ */ f.createElement(am, null), n === "visa" && /* @__PURE__ */ f.createElement(rm, null)))
|
|
7293
7293
|
);
|
|
7294
|
-
}, om = "
|
|
7294
|
+
}, om = "_list_u16f0_1", sm = "_listItem_u16f0_16", lm = "_bullet_u16f0_24", Re = {
|
|
7295
7295
|
list: om,
|
|
7296
7296
|
listItem: sm,
|
|
7297
7297
|
bullet: lm
|
|
@@ -7301,7 +7301,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7301
7301
|
"div",
|
|
7302
7302
|
{
|
|
7303
7303
|
id: t,
|
|
7304
|
-
className: R(Re.list,
|
|
7304
|
+
className: R(Re.list, Z.info),
|
|
7305
7305
|
"data-testid": "modal-info-element",
|
|
7306
7306
|
role: "region",
|
|
7307
7307
|
"aria-labelledby": "payment-info-title",
|
|
@@ -7316,7 +7316,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7316
7316
|
}
|
|
7317
7317
|
)),
|
|
7318
7318
|
" ",
|
|
7319
|
-
/* @__PURE__ */ f.createElement("ol", { className: Re.listContainer, id: "payment-info-description" }, /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet,
|
|
7319
|
+
/* @__PURE__ */ f.createElement("ol", { className: Re.listContainer, id: "payment-info-description" }, /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet, Z.bullet) }, "1"), /* @__PURE__ */ f.createElement("div", { className: Z.infoMessage }, e ? /* @__PURE__ */ f.createElement(
|
|
7320
7320
|
L,
|
|
7321
7321
|
{
|
|
7322
7322
|
id: "eligibility-modal.p1x-bullet-1",
|
|
@@ -7330,7 +7330,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7330
7330
|
defaultMessage: "Choisissez <strong>Alma</strong> au moment du paiement.",
|
|
7331
7331
|
values: { strong: Ke }
|
|
7332
7332
|
}
|
|
7333
|
-
))), /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet,
|
|
7333
|
+
))), /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet, Z.bullet) }, "2"), /* @__PURE__ */ f.createElement("div", { className: Z.infoMessage }, e ? /* @__PURE__ */ f.createElement(
|
|
7334
7334
|
L,
|
|
7335
7335
|
{
|
|
7336
7336
|
id: "eligibility-modal.p1x-bullet-2",
|
|
@@ -7344,7 +7344,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7344
7344
|
defaultMessage: "Laissez-vous guider et validez votre paiement en <strong>2 minutes.</strong>",
|
|
7345
7345
|
values: { strong: Ke }
|
|
7346
7346
|
}
|
|
7347
|
-
))), /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet,
|
|
7347
|
+
))), /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet, Z.bullet) }, "3"), /* @__PURE__ */ f.createElement("div", { className: Z.infoMessage }, e ? /* @__PURE__ */ f.createElement(
|
|
7348
7348
|
L,
|
|
7349
7349
|
{
|
|
7350
7350
|
id: "eligibility-modal.p1x-bullet-3",
|
|
@@ -7360,7 +7360,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7360
7360
|
}
|
|
7361
7361
|
))))
|
|
7362
7362
|
)
|
|
7363
|
-
), um = "
|
|
7363
|
+
), um = "_title_b7zxp_1", cm = {
|
|
7364
7364
|
title: um
|
|
7365
7365
|
}, Ji = ({
|
|
7366
7366
|
isSomePlanDeferred: e,
|
|
@@ -7369,7 +7369,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7369
7369
|
"h2",
|
|
7370
7370
|
{
|
|
7371
7371
|
id: "modal-title",
|
|
7372
|
-
className: R(cm.title,
|
|
7372
|
+
className: R(cm.title, Z.title),
|
|
7373
7373
|
"data-testid": "modal-title-element"
|
|
7374
7374
|
},
|
|
7375
7375
|
e && /* @__PURE__ */ f.createElement(
|
|
@@ -7401,15 +7401,15 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7401
7401
|
}, hm = ({ children: e, isSomePlanDeferred: t, cards: n, isCurrentPlanP1X: a }) => /* @__PURE__ */ f.createElement(
|
|
7402
7402
|
"div",
|
|
7403
7403
|
{
|
|
7404
|
-
className: R(ut.container,
|
|
7404
|
+
className: R(ut.container, Z.desktopModal),
|
|
7405
7405
|
"data-testid": "modal-container",
|
|
7406
7406
|
role: "dialog",
|
|
7407
7407
|
"aria-modal": "true",
|
|
7408
7408
|
"aria-labelledby": "modal-title"
|
|
7409
7409
|
},
|
|
7410
|
-
/* @__PURE__ */ f.createElement("aside", { className: R([ut.block, ut.left,
|
|
7411
|
-
/* @__PURE__ */ f.createElement("div", { className: R(ut.block,
|
|
7412
|
-
), gm = "
|
|
7410
|
+
/* @__PURE__ */ f.createElement("aside", { className: R([ut.block, ut.left, Z.leftSide]) }, /* @__PURE__ */ f.createElement(Ji, { isSomePlanDeferred: t, isCurrentPlanP1X: a }), /* @__PURE__ */ f.createElement(Ki, { id: "payment-info", isCurrentPlanP1X: a }), n && /* @__PURE__ */ f.createElement(Xi, { cards: n }), /* @__PURE__ */ f.createElement(aa, { className: ut.logo, width: "75" })),
|
|
7411
|
+
/* @__PURE__ */ f.createElement("div", { className: R(ut.block, Z.rightSide) }, e)
|
|
7412
|
+
), gm = "_noEligibility_3lnq8_1", ym = "_loader_3lnq8_9", _m = "_scheduleArea_3lnq8_16", vm = "_verticalLine_3lnq8_20", $t = {
|
|
7413
7413
|
noEligibility: gm,
|
|
7414
7414
|
loader: ym,
|
|
7415
7415
|
scheduleArea: _m,
|
|
@@ -7420,7 +7420,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7420
7420
|
}, xm = ({ children: e, isSomePlanDeferred: t, cards: n, isCurrentPlanP1X: a }) => /* @__PURE__ */ f.createElement(
|
|
7421
7421
|
"div",
|
|
7422
7422
|
{
|
|
7423
|
-
className: R(dr.container,
|
|
7423
|
+
className: R(dr.container, Z.mobileModal),
|
|
7424
7424
|
"data-testid": "modal-container",
|
|
7425
7425
|
role: "dialog",
|
|
7426
7426
|
"aria-modal": "true",
|
|
@@ -7543,7 +7543,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7543
7543
|
}, []), r = _t(() => {
|
|
7544
7544
|
n.current && (clearTimeout(n.current), n.current = null), t("");
|
|
7545
7545
|
}, []);
|
|
7546
|
-
return
|
|
7546
|
+
return X(
|
|
7547
7547
|
() => () => {
|
|
7548
7548
|
n.current && clearTimeout(n.current);
|
|
7549
7549
|
},
|
|
@@ -7560,7 +7560,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7560
7560
|
transitionDelay: a
|
|
7561
7561
|
}) => {
|
|
7562
7562
|
const r = he(), { announce: i } = Qi();
|
|
7563
|
-
|
|
7563
|
+
X(() => {
|
|
7564
7564
|
if (e === ue.SUCCESS && !t && n > 1 && // If transitionDelay is -1, animation is disabled, so no need to announce instructions
|
|
7565
7565
|
a !== -1) {
|
|
7566
7566
|
const s = r.formatMessage({
|
|
@@ -7574,7 +7574,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7574
7574
|
}, [e, t, n, r, i, a]);
|
|
7575
7575
|
}, wm = (e, t) => {
|
|
7576
7576
|
const [n, a] = Q(0), [r, i] = Q(!0), [o, s] = Q(1), l = typeof window != "undefined" && window.matchMedia && window.matchMedia("(prefers-reduced-motion: reduce)").matches, u = t < 0 ? -1 : Math.max(t, 1e3);
|
|
7577
|
-
return
|
|
7577
|
+
return X(() => {
|
|
7578
7578
|
let m, c = !0;
|
|
7579
7579
|
if (!(u === -1 || l))
|
|
7580
7580
|
return e.length !== 0 && (!e.includes(n) && r && a(e[0]), o === e.length + 1 && i(!1), m = setTimeout(() => {
|
|
@@ -7619,23 +7619,22 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7619
7619
|
paymentInfo: `${$e}-payment-info`,
|
|
7620
7620
|
activeOption: `${$e}-active-option`,
|
|
7621
7621
|
knowMoreAction: `${$e}-know-more-action`
|
|
7622
|
-
}, Om = "
|
|
7622
|
+
}, Om = "_widgetContainer_1dfil_1", Pm = "_primaryContainer_1dfil_13", Rm = "_paymentPlans_1dfil_19", Lm = "_planButton_1dfil_29", Hm = "_monochrome_1dfil_81", Dm = "_notEligible_1dfil_87", km = "_active_1dfil_101", Fm = "_hideBorder_1dfil_116", Bm = "_infoContainer_1dfil_120", Um = "_info_1dfil_120", $m = "_announceText_1dfil_135", Gm = "_pending_1dfil_156", zm = "_clickable_1dfil_160", Wm = "_knowMore_1dfil_173", J = {
|
|
7623
7623
|
widgetContainer: Om,
|
|
7624
7624
|
primaryContainer: Pm,
|
|
7625
7625
|
paymentPlans: Rm,
|
|
7626
|
-
|
|
7627
|
-
|
|
7628
|
-
|
|
7629
|
-
|
|
7630
|
-
|
|
7631
|
-
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
|
-
}, Vm = 5500, qm = ({
|
|
7626
|
+
planButton: Lm,
|
|
7627
|
+
monochrome: Hm,
|
|
7628
|
+
notEligible: Dm,
|
|
7629
|
+
active: km,
|
|
7630
|
+
hideBorder: Fm,
|
|
7631
|
+
infoContainer: Bm,
|
|
7632
|
+
info: Um,
|
|
7633
|
+
announceText: $m,
|
|
7634
|
+
pending: Gm,
|
|
7635
|
+
clickable: zm,
|
|
7636
|
+
knowMore: Wm
|
|
7637
|
+
}, jm = 5500, Vm = ({
|
|
7639
7638
|
apiData: e,
|
|
7640
7639
|
configPlans: t,
|
|
7641
7640
|
hideIfNotEligible: n,
|
|
@@ -7669,10 +7668,10 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7669
7668
|
[]
|
|
7670
7669
|
),
|
|
7671
7670
|
[p]
|
|
7672
|
-
), Y = De(() => _ && !u ? -1 : u != null ? u :
|
|
7673
|
-
|
|
7671
|
+
), Y = De(() => _ && !u ? -1 : u != null ? u : jm, [u, _]), { current: U, onHover: we, onLeave: I } = wm(ee, Y), A = ke([]);
|
|
7672
|
+
X(() => {
|
|
7674
7673
|
A.current = A.current.slice(0, p.length);
|
|
7675
|
-
}, [p.length]),
|
|
7674
|
+
}, [p.length]), X(() => {
|
|
7676
7675
|
if (p[U] && g === ue.SUCCESS) {
|
|
7677
7676
|
const O = p[U], B = mr(O, d), q = d.formatMessage(
|
|
7678
7677
|
{
|
|
@@ -7683,7 +7682,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7683
7682
|
);
|
|
7684
7683
|
y(q, 1e3);
|
|
7685
7684
|
}
|
|
7686
|
-
}, [U, d, g, y]),
|
|
7685
|
+
}, [U, d, g, y]), X(() => {
|
|
7687
7686
|
g === ue.SUCCESS && _ && (we(b), I());
|
|
7688
7687
|
}, [g]), Mm({
|
|
7689
7688
|
status: g,
|
|
@@ -7705,7 +7704,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7705
7704
|
} else if (me = q - 1, me < 0) return;
|
|
7706
7705
|
const te = ee[me];
|
|
7707
7706
|
F(!0), we(te), (Pt = A.current[te]) == null || Pt.focus();
|
|
7708
|
-
},
|
|
7707
|
+
}, K = (O) => {
|
|
7709
7708
|
var q;
|
|
7710
7709
|
const B = O === "first" ? ee[0] : ee[ee.length - 1];
|
|
7711
7710
|
F(!0), we(B), (q = A.current[B]) == null || q.focus();
|
|
@@ -7714,7 +7713,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7714
7713
|
return B === -1 ? 0 : B;
|
|
7715
7714
|
};
|
|
7716
7715
|
if (g === ue.PENDING)
|
|
7717
|
-
return /* @__PURE__ */ f.createElement("div", { className: R(
|
|
7716
|
+
return /* @__PURE__ */ f.createElement("div", { className: R(J.widgetContainer, J.pending) }, /* @__PURE__ */ f.createElement(Im, null));
|
|
7718
7717
|
if (n && v.length === 0 || p.length === 0 || g === ue.FAILED)
|
|
7719
7718
|
return null;
|
|
7720
7719
|
const V = (O) => {
|
|
@@ -7729,10 +7728,10 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7729
7728
|
defaultMessage: "Sélection des options de paiement Alma"
|
|
7730
7729
|
}),
|
|
7731
7730
|
className: R(
|
|
7732
|
-
|
|
7731
|
+
J.widgetContainer,
|
|
7733
7732
|
{
|
|
7734
|
-
[
|
|
7735
|
-
[
|
|
7733
|
+
[J.hideBorder]: m,
|
|
7734
|
+
[J.monochrome]: a
|
|
7736
7735
|
},
|
|
7737
7736
|
Le.container
|
|
7738
7737
|
),
|
|
@@ -7742,7 +7741,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7742
7741
|
"section",
|
|
7743
7742
|
{
|
|
7744
7743
|
"aria-labelledby": "payment-plans-title",
|
|
7745
|
-
className: R(
|
|
7744
|
+
className: R(J.primaryContainer, Le.eligibilityLine)
|
|
7746
7745
|
},
|
|
7747
7746
|
/* @__PURE__ */ f.createElement("h2", { id: "payment-plans-title", className: "sr-only" }, d.formatMessage({
|
|
7748
7747
|
id: "accessibility.payment-plans.section-title",
|
|
@@ -7757,9 +7756,9 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7757
7756
|
(O.key === "Enter" || O.key === " ") && (O.preventDefault(), V(O));
|
|
7758
7757
|
},
|
|
7759
7758
|
className: R(
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
{ [
|
|
7759
|
+
J.knowMore,
|
|
7760
|
+
J.clickable,
|
|
7761
|
+
{ [J.monochrome]: a },
|
|
7763
7762
|
Le.knowMoreAction
|
|
7764
7763
|
),
|
|
7765
7764
|
"aria-label": d.formatMessage({
|
|
@@ -7773,7 +7772,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7773
7772
|
aa,
|
|
7774
7773
|
{
|
|
7775
7774
|
"data-testid": "Alma-Logo",
|
|
7776
|
-
className:
|
|
7775
|
+
className: J.logo,
|
|
7777
7776
|
color: a ? "var(--off-black)" : void 0
|
|
7778
7777
|
}
|
|
7779
7778
|
)
|
|
@@ -7781,7 +7780,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7781
7780
|
/* @__PURE__ */ f.createElement(
|
|
7782
7781
|
"div",
|
|
7783
7782
|
{
|
|
7784
|
-
className: R(
|
|
7783
|
+
className: R(J.paymentPlans, Le.eligibilityOptions),
|
|
7785
7784
|
role: "listbox",
|
|
7786
7785
|
"aria-label": d.formatMessage({
|
|
7787
7786
|
id: "accessibility.payment-options.listbox.aria-label",
|
|
@@ -7802,15 +7801,15 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7802
7801
|
onTouchEnd: h,
|
|
7803
7802
|
onFocus: me ? () => W(B) : void 0,
|
|
7804
7803
|
onKeyDown: (te) => {
|
|
7805
|
-
me && (te.key === "ArrowLeft" ? (te.preventDefault(), S("prev", B)) : te.key === "ArrowRight" ? (te.preventDefault(), S("next", B)) : te.key === "Home" ? (te.preventDefault(),
|
|
7804
|
+
me && (te.key === "ArrowLeft" ? (te.preventDefault(), S("prev", B)) : te.key === "ArrowRight" ? (te.preventDefault(), S("next", B)) : te.key === "Home" ? (te.preventDefault(), K("first")) : te.key === "End" && (te.preventDefault(), K("last")));
|
|
7806
7805
|
},
|
|
7807
7806
|
onClick: (te) => {
|
|
7808
7807
|
te.stopPropagation(), me && (we(B), v.length > 0 && M());
|
|
7809
7808
|
},
|
|
7810
|
-
className: R(
|
|
7811
|
-
[R(
|
|
7812
|
-
[
|
|
7813
|
-
[R(
|
|
7809
|
+
className: R(J.planButton, {
|
|
7810
|
+
[R(J.active, Le.activeOption)]: q,
|
|
7811
|
+
[J.monochrome]: a && q,
|
|
7812
|
+
[R(J.notEligible, Le.notEligibleOption)]: !me
|
|
7814
7813
|
}),
|
|
7815
7814
|
role: "option",
|
|
7816
7815
|
"aria-selected": q,
|
|
@@ -7835,16 +7834,16 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7835
7834
|
})
|
|
7836
7835
|
)
|
|
7837
7836
|
),
|
|
7838
|
-
/* @__PURE__ */ f.createElement("aside", { "aria-labelledby": "payment-info-title", className:
|
|
7837
|
+
/* @__PURE__ */ f.createElement("aside", { "aria-labelledby": "payment-info-title", className: J.infoContainer }, /* @__PURE__ */ f.createElement("h3", { id: "payment-info-title", className: "sr-only" }, d.formatMessage({
|
|
7839
7838
|
id: "accessibility.payment-info.section-title",
|
|
7840
7839
|
defaultMessage: "Informations sur le plan de paiement sélectionné"
|
|
7841
7840
|
})), /* @__PURE__ */ f.createElement(
|
|
7842
7841
|
"div",
|
|
7843
7842
|
{
|
|
7844
7843
|
className: R(
|
|
7845
|
-
|
|
7844
|
+
J.info,
|
|
7846
7845
|
{
|
|
7847
|
-
[R(
|
|
7846
|
+
[R(J.notEligible, Le.notEligibleOption)]: p[U] && !p[U].eligible
|
|
7848
7847
|
},
|
|
7849
7848
|
Le.paymentInfo
|
|
7850
7849
|
),
|
|
@@ -7861,8 +7860,8 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7861
7860
|
status: g,
|
|
7862
7861
|
cards: o
|
|
7863
7862
|
}
|
|
7864
|
-
), /* @__PURE__ */ f.createElement("div", { role: "alert", "aria-live": "assertive", className:
|
|
7865
|
-
}, Je = /* @__PURE__ */ new Map(),
|
|
7863
|
+
), /* @__PURE__ */ f.createElement("div", { role: "alert", "aria-live": "assertive", className: J.announceText }, N));
|
|
7864
|
+
}, Je = /* @__PURE__ */ new Map(), qm = (e, t, n) => {
|
|
7866
7865
|
var r;
|
|
7867
7866
|
const a = document.querySelector(n.container);
|
|
7868
7867
|
if (a) {
|
|
@@ -7888,7 +7887,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7888
7887
|
const _ = wa(a);
|
|
7889
7888
|
_.render(
|
|
7890
7889
|
/* @__PURE__ */ f.createElement(ja, { locale: g }, /* @__PURE__ */ f.createElement(
|
|
7891
|
-
|
|
7890
|
+
Vm,
|
|
7892
7891
|
{
|
|
7893
7892
|
apiData: e,
|
|
7894
7893
|
configPlans: o,
|
|
@@ -7945,13 +7944,13 @@ const wc = "_openModalInfo_a4893_1", Nc = {
|
|
|
7945
7944
|
close: p
|
|
7946
7945
|
};
|
|
7947
7946
|
}
|
|
7948
|
-
},
|
|
7949
|
-
add: (t, n) =>
|
|
7947
|
+
}, Zm = (e) => ({
|
|
7948
|
+
add: (t, n) => qm(e, t, n)
|
|
7950
7949
|
});
|
|
7951
|
-
var
|
|
7950
|
+
var Xm = /* @__PURE__ */ ((e) => (e.LIVE = "https://api.getalma.eu", e.TEST = "https://api.sandbox.getalma.eu", e))(Xm || {}), pr;
|
|
7952
7951
|
((e) => {
|
|
7953
7952
|
function t(n, a) {
|
|
7954
|
-
return
|
|
7953
|
+
return Zm({ domain: a, merchantId: n });
|
|
7955
7954
|
}
|
|
7956
7955
|
e.initialize = t, e.PaymentPlans = pt.PaymentPlans, e.Modal = pt.Modal;
|
|
7957
7956
|
})(pr || (pr = {}));
|
|
@@ -7960,7 +7959,7 @@ var hr;
|
|
|
7960
7959
|
e.priceToCents = ao, e.priceFromCents = fe, e.formatCents = ro;
|
|
7961
7960
|
})(hr || (hr = {}));
|
|
7962
7961
|
export {
|
|
7963
|
-
|
|
7962
|
+
Xm as ApiMode,
|
|
7964
7963
|
hr as Utils,
|
|
7965
7964
|
pr as Widgets
|
|
7966
7965
|
};
|