tabexseriescomponents 0.2.1186 → 0.2.1189
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/index.cjs.js +90 -79
- package/dist/index.esm.js +90 -79
- package/dist/index.umd.js +90 -79
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -13821,7 +13821,7 @@ styleInject(css_248z$G);
|
|
|
13821
13821
|
function ownKeys$2w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13822
13822
|
function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13823
13823
|
var Checkout = function Checkout(props) {
|
|
13824
|
-
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$
|
|
13824
|
+
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i11, _authdetailsContext$i12, _fetchcustomercartQue73, _authdetailsContext$i13, _fetchcustomercartQue74, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _fetchcustomercartQue75, _authdetailsContext$i19, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _fetchcustomercartQue85, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _fetchcustomercartQue87, _authdetailsContext$i35, _fetchcustomercartQue89, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _fetchcustomercartQue91, _authdetailsContext$i39, _fetchcustomercartQue93, _fetchcustomercartQue95, _authdetailsContext$i40, _fetchcustomercartQue97, _authdetailsContext$i41, _fetchcustomercartQue99, _authdetailsContext$i42, _fetchcustomercartQue101, _authdetailsContext$i43, _fetchcustomercartQue103, _authdetailsContext$i44, _fetchcustomercartQue105, _authdetailsContext$i45, _fetchcustomercartQue107, _authdetailsContext$i46, _fetchcustomercartQue109, _authdetailsContext$i47, _fetchcustomercartQue111, _fetchcustomercartQue112;
|
|
13825
13825
|
var _useState = React.useState(null),
|
|
13826
13826
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
13827
13827
|
_useState2[0];
|
|
@@ -13830,6 +13830,10 @@ var Checkout = function Checkout(props) {
|
|
|
13830
13830
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
13831
13831
|
showpopup = _useState4[0],
|
|
13832
13832
|
setshowpopup = _useState4[1];
|
|
13833
|
+
var _useState5 = React.useState(false),
|
|
13834
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
13835
|
+
checkboxisChecked = _useState6[0],
|
|
13836
|
+
setcheckboxisChecked = _useState6[1];
|
|
13833
13837
|
var langdetect = props.actions.langdetect;
|
|
13834
13838
|
var lang = props.actions.lang;
|
|
13835
13839
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
@@ -13852,42 +13856,42 @@ var Checkout = function Checkout(props) {
|
|
|
13852
13856
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
13853
13857
|
var NotificationManager = props.actions.NotificationManager;
|
|
13854
13858
|
var queryClient = props.actions.queryClient;
|
|
13855
|
-
var _useState5 = React.useState(''),
|
|
13856
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
13857
|
-
sectionproperties = _useState6[0],
|
|
13858
|
-
setsectionproperties = _useState6[1];
|
|
13859
13859
|
var _useState7 = React.useState(''),
|
|
13860
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2)
|
|
13861
|
-
_useState8[0]
|
|
13862
|
-
|
|
13863
|
-
var _useState9 = React.useState(
|
|
13864
|
-
_useState0 = _slicedToArray__default["default"](_useState9, 2)
|
|
13865
|
-
|
|
13866
|
-
|
|
13867
|
-
var _useState1 = React.useState(
|
|
13868
|
-
_useState10 = _slicedToArray__default["default"](_useState1, 2)
|
|
13869
|
-
_useState10[0]
|
|
13870
|
-
_useState10[1];
|
|
13860
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
13861
|
+
sectionproperties = _useState8[0],
|
|
13862
|
+
setsectionproperties = _useState8[1];
|
|
13863
|
+
var _useState9 = React.useState(''),
|
|
13864
|
+
_useState0 = _slicedToArray__default["default"](_useState9, 2);
|
|
13865
|
+
_useState0[0];
|
|
13866
|
+
var setCurrentPageId = _useState0[1];
|
|
13867
|
+
var _useState1 = React.useState(0),
|
|
13868
|
+
_useState10 = _slicedToArray__default["default"](_useState1, 2),
|
|
13869
|
+
insthasaffiliate = _useState10[0],
|
|
13870
|
+
setinsthasaffiliate = _useState10[1];
|
|
13871
13871
|
var _useState11 = React.useState(false),
|
|
13872
13872
|
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
13873
13873
|
_useState12[0];
|
|
13874
13874
|
_useState12[1];
|
|
13875
|
-
var _useState13 = React.useState(
|
|
13876
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2)
|
|
13877
|
-
|
|
13878
|
-
|
|
13875
|
+
var _useState13 = React.useState(false),
|
|
13876
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2);
|
|
13877
|
+
_useState14[0];
|
|
13878
|
+
_useState14[1];
|
|
13879
13879
|
var _useState15 = React.useState([]),
|
|
13880
13880
|
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
13881
|
-
|
|
13882
|
-
|
|
13883
|
-
var _useState17 = React.useState(
|
|
13881
|
+
shippingmethods = _useState16[0],
|
|
13882
|
+
setshippingmethods = _useState16[1];
|
|
13883
|
+
var _useState17 = React.useState([]),
|
|
13884
13884
|
_useState18 = _slicedToArray__default["default"](_useState17, 2),
|
|
13885
|
-
|
|
13886
|
-
|
|
13885
|
+
orderextrafeilds = _useState18[0],
|
|
13886
|
+
setorderextrafeilds = _useState18[1];
|
|
13887
13887
|
var _useState19 = React.useState(false),
|
|
13888
13888
|
_useState20 = _slicedToArray__default["default"](_useState19, 2),
|
|
13889
|
-
|
|
13890
|
-
|
|
13889
|
+
instapaychosen = _useState20[0],
|
|
13890
|
+
setinstapaychosen = _useState20[1];
|
|
13891
|
+
var _useState21 = React.useState(false),
|
|
13892
|
+
_useState22 = _slicedToArray__default["default"](_useState21, 2),
|
|
13893
|
+
cashchosen = _useState22[0],
|
|
13894
|
+
setcashchosen = _useState22[1];
|
|
13891
13895
|
React.useEffect(function () {
|
|
13892
13896
|
var _templatepropcontext$;
|
|
13893
13897
|
var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
|
|
@@ -14429,7 +14433,7 @@ var Checkout = function Checkout(props) {
|
|
|
14429
14433
|
return isloading;
|
|
14430
14434
|
};
|
|
14431
14435
|
var Mycart = function Mycart() {
|
|
14432
|
-
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i6, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i7, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _authdetailsContext$i8, _fetchcustomercartQue70, _authdetailsContext$
|
|
14436
|
+
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i6, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i7, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i1, _fetchcustomercartQue70, _authdetailsContext$i10, _fetchcustomercartQue71;
|
|
14433
14437
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14434
14438
|
className: "row m-0 w-100 mb-md-3"
|
|
14435
14439
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -14788,7 +14792,14 @@ var Checkout = function Checkout(props) {
|
|
|
14788
14792
|
background: '#eee',
|
|
14789
14793
|
borderRadius: 10
|
|
14790
14794
|
}
|
|
14791
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
14795
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '66b4a0338cb14' && /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14796
|
+
type: "checkbox",
|
|
14797
|
+
className: "mx-2 mt-2 mb-auto",
|
|
14798
|
+
checked: checkboxisChecked,
|
|
14799
|
+
onChange: function onChange(e) {
|
|
14800
|
+
return setcheckboxisChecked(e.target.checked);
|
|
14801
|
+
}
|
|
14802
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14792
14803
|
"class": "m-0 p-0",
|
|
14793
14804
|
style: {
|
|
14794
14805
|
color: sectionproperties.slideshowText1ContentColor,
|
|
@@ -14803,21 +14814,26 @@ var Checkout = function Checkout(props) {
|
|
|
14803
14814
|
style: {
|
|
14804
14815
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
14805
14816
|
}
|
|
14806
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14817
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
14807
14818
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
14808
14819
|
onClick: function onClick() {
|
|
14820
|
+
var _authdetailsContext$i0;
|
|
14821
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '66b4a0338cb14') {
|
|
14822
|
+
if (!checkboxisChecked) return;
|
|
14823
|
+
}
|
|
14809
14824
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
14810
14825
|
cartinfoupdater('paymentmethod', 'cod');
|
|
14811
14826
|
}
|
|
14812
14827
|
addorderfuncrunner();
|
|
14813
14828
|
},
|
|
14814
|
-
disabled: ischeckoutbuttonloading() == true ? true : false
|
|
14829
|
+
disabled: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '66b4a0338cb14' ? ischeckoutbuttonloading() || !checkboxisChecked : ischeckoutbuttonloading() == true ? true : false
|
|
14830
|
+
// disabled={}
|
|
14815
14831
|
}, ischeckoutbuttonloading() && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
14816
14832
|
color: "#fff",
|
|
14817
14833
|
width: "20px",
|
|
14818
14834
|
height: "20px",
|
|
14819
14835
|
duration: "1s"
|
|
14820
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14836
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
14821
14837
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
14822
14838
|
onClick: function onClick() {
|
|
14823
14839
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -14934,7 +14950,7 @@ var Checkout = function Checkout(props) {
|
|
|
14934
14950
|
}
|
|
14935
14951
|
}, /*#__PURE__*/React__default["default"].createElement(BiPhone.BiPhone, null)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14936
14952
|
className: "m-0 p-0 wordbreak"
|
|
14937
|
-
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14953
|
+
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14938
14954
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
14939
14955
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14940
14956
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -14998,7 +15014,7 @@ var Checkout = function Checkout(props) {
|
|
|
14998
15014
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14999
15015
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
15000
15016
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15001
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15017
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
15002
15018
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15003
15019
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
15004
15020
|
}, lang.name, /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
@@ -15018,7 +15034,7 @@ var Checkout = function Checkout(props) {
|
|
|
15018
15034
|
boxShadow: 'none'
|
|
15019
15035
|
}
|
|
15020
15036
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15021
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15037
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
15022
15038
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15023
15039
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
15024
15040
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف', ' ', /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
@@ -15042,16 +15058,16 @@ var Checkout = function Checkout(props) {
|
|
|
15042
15058
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15043
15059
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
15044
15060
|
style: {
|
|
15045
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15061
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
15046
15062
|
}
|
|
15047
15063
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15048
15064
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
15049
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15065
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
15050
15066
|
"class": "mx-2",
|
|
15051
15067
|
style: {
|
|
15052
15068
|
color: 'var(--danger)'
|
|
15053
15069
|
}
|
|
15054
|
-
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15070
|
+
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
15055
15071
|
"class": "mx-2",
|
|
15056
15072
|
style: {
|
|
15057
15073
|
fontSize: 13
|
|
@@ -15129,7 +15145,7 @@ var Checkout = function Checkout(props) {
|
|
|
15129
15145
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
15130
15146
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15131
15147
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
15132
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15148
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
15133
15149
|
"class": "mx-2",
|
|
15134
15150
|
style: {
|
|
15135
15151
|
color: 'var(--danger)'
|
|
@@ -15337,7 +15353,7 @@ var Checkout = function Checkout(props) {
|
|
|
15337
15353
|
// events mart
|
|
15338
15354
|
|
|
15339
15355
|
if (item.title_en == 'Event Date') {
|
|
15340
|
-
var _authdetailsContext$
|
|
15356
|
+
var _authdetailsContext$i22, _authdetailsContext$i23;
|
|
15341
15357
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15342
15358
|
className: "col-lg-6 col-md-12 mb-3"
|
|
15343
15359
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -15366,12 +15382,12 @@ var Checkout = function Checkout(props) {
|
|
|
15366
15382
|
// }}
|
|
15367
15383
|
,
|
|
15368
15384
|
onChange: function onChange(event) {
|
|
15369
|
-
var _authdetailsContext$
|
|
15370
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15385
|
+
var _authdetailsContext$i20;
|
|
15386
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.contactinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.instid) == '66b4a0338cb14') {
|
|
15371
15387
|
var selectedDate = event.target.value;
|
|
15372
15388
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
15373
|
-
var _authdetailsContext$
|
|
15374
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15389
|
+
var _authdetailsContext$i21;
|
|
15390
|
+
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.contactinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
|
|
15375
15391
|
if (minDate && selectedDate < minDate) {
|
|
15376
15392
|
// alert(`Please select a date on or after ${minDate}`);
|
|
15377
15393
|
return;
|
|
@@ -15389,11 +15405,11 @@ var Checkout = function Checkout(props) {
|
|
|
15389
15405
|
style: {
|
|
15390
15406
|
boxShadow: 'none'
|
|
15391
15407
|
},
|
|
15392
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15393
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15408
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
15409
|
+
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
|
|
15394
15410
|
}));
|
|
15395
15411
|
} else {
|
|
15396
|
-
var _authdetailsContext$
|
|
15412
|
+
var _authdetailsContext$i26, _authdetailsContext$i27;
|
|
15397
15413
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15398
15414
|
className: "col-lg-6 col-md-12 mb-3"
|
|
15399
15415
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -15414,12 +15430,12 @@ var Checkout = function Checkout(props) {
|
|
|
15414
15430
|
// }}
|
|
15415
15431
|
,
|
|
15416
15432
|
onChange: function onChange(event) {
|
|
15417
|
-
var _authdetailsContext$
|
|
15418
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15433
|
+
var _authdetailsContext$i24;
|
|
15434
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.contactinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.instid) == '66b4a0338cb14') {
|
|
15419
15435
|
var selectedDate = event.target.value;
|
|
15420
15436
|
if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
|
|
15421
|
-
var _authdetailsContext$
|
|
15422
|
-
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15437
|
+
var _authdetailsContext$i25;
|
|
15438
|
+
var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
|
|
15423
15439
|
if (minDate && selectedDate < minDate) {
|
|
15424
15440
|
// alert(`Please select a date on or after ${minDate}`);
|
|
15425
15441
|
return;
|
|
@@ -15437,8 +15453,8 @@ var Checkout = function Checkout(props) {
|
|
|
15437
15453
|
style: {
|
|
15438
15454
|
boxShadow: 'none'
|
|
15439
15455
|
},
|
|
15440
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15441
|
-
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15456
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
15457
|
+
.toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
|
|
15442
15458
|
}));
|
|
15443
15459
|
}
|
|
15444
15460
|
}
|
|
@@ -15479,12 +15495,7 @@ var Checkout = function Checkout(props) {
|
|
|
15479
15495
|
style: {
|
|
15480
15496
|
color: 'var(--danger)'
|
|
15481
15497
|
}
|
|
15482
|
-
}, "*")), /*#__PURE__*/React__default["default"].createElement("
|
|
15483
|
-
style: {
|
|
15484
|
-
fontSize: 13,
|
|
15485
|
-
fontWeight: 300
|
|
15486
|
-
}
|
|
15487
|
-
}, langdetect == 'en' ? 'Note: You can only select a date starting 10 days from today. Earlier dates are not allowed.' : 'ملاحظة: يمكنك اختيار تاريخ يبدأ بعد 10 أيام من اليوم فقط. لا يُسمح باختيار تواريخ أقدم.')), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
15498
|
+
}, "*"))), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
15488
15499
|
type: 'text',
|
|
15489
15500
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
15490
15501
|
value: item.value,
|
|
@@ -15597,15 +15608,15 @@ var Checkout = function Checkout(props) {
|
|
|
15597
15608
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15598
15609
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
15599
15610
|
}, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15600
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15611
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
15601
15612
|
style: {
|
|
15602
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15613
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
|
|
15603
15614
|
borderRadius: 15
|
|
15604
15615
|
}
|
|
15605
15616
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15606
15617
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
15607
15618
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15608
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15619
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
|
|
15609
15620
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15610
15621
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
15611
15622
|
"for": "codcheckbox"
|
|
@@ -15632,21 +15643,21 @@ var Checkout = function Checkout(props) {
|
|
|
15632
15643
|
style: {
|
|
15633
15644
|
color: sectionproperties.checkbox_color
|
|
15634
15645
|
}
|
|
15635
|
-
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15646
|
+
}, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15636
15647
|
"class": "col-3 text-end p-0"
|
|
15637
15648
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
15638
15649
|
src: 'https://tabex-co.com/storage/StaticImages/cod.png',
|
|
15639
15650
|
"class": checkoutstyles.codimage + ' mx-2 '
|
|
15640
15651
|
})))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15641
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15652
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
15642
15653
|
style: {
|
|
15643
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15654
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
|
|
15644
15655
|
borderRadius: 15
|
|
15645
15656
|
}
|
|
15646
15657
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15647
15658
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
15648
15659
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15649
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15660
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
|
|
15650
15661
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15651
15662
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
|
|
15652
15663
|
"for": "codcheckbox"
|
|
@@ -15673,7 +15684,7 @@ var Checkout = function Checkout(props) {
|
|
|
15673
15684
|
style: {
|
|
15674
15685
|
color: sectionproperties.checkbox_color
|
|
15675
15686
|
}
|
|
15676
|
-
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15687
|
+
}, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15677
15688
|
"class": "col-3 text-end p-0"
|
|
15678
15689
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
15679
15690
|
src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
|
|
@@ -15705,15 +15716,15 @@ var Checkout = function Checkout(props) {
|
|
|
15705
15716
|
/*#__PURE__*/
|
|
15706
15717
|
// <div className=""
|
|
15707
15718
|
React__default["default"].createElement("div", {
|
|
15708
|
-
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15719
|
+
className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
|
|
15709
15720
|
style: {
|
|
15710
|
-
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15721
|
+
border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
|
|
15711
15722
|
borderRadius: 15
|
|
15712
15723
|
}
|
|
15713
15724
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15714
15725
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
15715
15726
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15716
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15727
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
|
|
15717
15728
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15718
15729
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
15719
15730
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -15735,7 +15746,7 @@ var Checkout = function Checkout(props) {
|
|
|
15735
15746
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
15736
15747
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15737
15748
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15738
|
-
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15749
|
+
}, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15739
15750
|
"class": "col-3 text-end p-0"
|
|
15740
15751
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
15741
15752
|
src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
|
|
@@ -15784,7 +15795,7 @@ var Checkout = function Checkout(props) {
|
|
|
15784
15795
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
15785
15796
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15786
15797
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15787
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15798
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15788
15799
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15789
15800
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15790
15801
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -15806,7 +15817,7 @@ var Checkout = function Checkout(props) {
|
|
|
15806
15817
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
15807
15818
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15808
15819
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15809
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15820
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15810
15821
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15811
15822
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15812
15823
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -15828,7 +15839,7 @@ var Checkout = function Checkout(props) {
|
|
|
15828
15839
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
15829
15840
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15830
15841
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15831
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15842
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15832
15843
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15833
15844
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15834
15845
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -15850,7 +15861,7 @@ var Checkout = function Checkout(props) {
|
|
|
15850
15861
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
15851
15862
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15852
15863
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
15853
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15864
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15854
15865
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15855
15866
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15856
15867
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -15872,7 +15883,7 @@ var Checkout = function Checkout(props) {
|
|
|
15872
15883
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
15873
15884
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15874
15885
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15875
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15886
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15876
15887
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15877
15888
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15878
15889
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -15894,7 +15905,7 @@ var Checkout = function Checkout(props) {
|
|
|
15894
15905
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
15895
15906
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15896
15907
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15897
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15908
|
+
}, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15898
15909
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15899
15910
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15900
15911
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -15916,7 +15927,7 @@ var Checkout = function Checkout(props) {
|
|
|
15916
15927
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
15917
15928
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15918
15929
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
15919
|
-
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15930
|
+
}, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15920
15931
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
15921
15932
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
15922
15933
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
@@ -15948,7 +15959,7 @@ var Checkout = function Checkout(props) {
|
|
|
15948
15959
|
dangerouslySetInnerHTML: {
|
|
15949
15960
|
__html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
|
|
15950
15961
|
}
|
|
15951
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
15962
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '696fa922c1d13' && cashchosen == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15952
15963
|
"class": "col-12 px-3 px-md-2 my-3"
|
|
15953
15964
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15954
15965
|
"class": ' pb-0 pl-md-2 pr-md-2 ',
|