tabexseriescomponents 0.2.1391 → 0.2.1394
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 +195 -119
- package/dist/index.esm.js +195 -119
- package/dist/index.umd.js +195 -119
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -297,6 +297,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
297
297
|
_this.state = {
|
|
298
298
|
lang: {
|
|
299
299
|
en: (_en = {
|
|
300
|
+
newest: 'Newest',
|
|
300
301
|
compare: 'Compare',
|
|
301
302
|
sortby: 'Sort by',
|
|
302
303
|
maximum: 'Maximum Quantity',
|
|
@@ -374,6 +375,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
374
375
|
orsignupwith: 'Or Sign up with'
|
|
375
376
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "price", 'Price'), "relatedproducts", 'Related products'), "qty", 'QTY'), "emptyshoppingcart", 'Your shopping cart is empty'), "shopnow", 'Shop now'), "total", 'Total'), "otherinformation", 'Other information'), "productname", 'Product name'), "quantity", 'Quantity'), "orderid", 'Order ID'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "numberofproducts", 'Number of products'), "checkyourorder", 'Check your order'), "search", 'Search'), "searchproducts", 'Search for products...'), "choosecity", 'Choose city'), "choosestategov", 'Choose state/governorate'), "choosecountry", 'Choose country'), "giftcarddicountcode", 'Gift Card Or Discount Code...'), "nosearchresults", 'No search results'), "sale", 'Sale'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "nofavoriteproducts", 'Your wishlist is empty'), "loggedoutsuccess", 'Logged out successfully'), "addedtocartsuccess", 'Cart is updated successfully'), "promocodeapplied", 'Promo code is applied.'), "promocoderemoved", 'Promo code is removed'), "countryandstateupdatedsuccess", 'Country and state are updated successfully'), "orderaddedsuccess", 'Order is added successfully'), "addedtowishlist", 'Added to your favourites'), "productrmovedfromwishlist", 'Removed from your favourites'), "fillthemissingfields", 'Please complete the missing fields'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "passwordsdontmatch", "Passwords don't match"), "loggedinsuccess", 'Logged in successfully'), "subtotal", 'Sub total'), "discount", 'Discount'), "outofzone", 'Out of zone'), "total", 'Total'), "cod", 'Cash on Delivery'), "cardondelivery", 'Credit Card On Delivery'), "onlinepayment", 'Online Payment'), "paymentcardinformation", 'Payment Card Information'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "shippingfees", 'Shipping fees'), "shippingaddress", 'Shipping address'), "cardnumber", 'Card number'), "year", 'Year'), "month", 'Month'), "cvv", 'CVV'), "nameoncard", 'Name On Card'), "country", 'Country'), "addressdetails", 'ِAddress details'), "stategov", 'State/Governorate'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "city", 'City'), "paymentmethod", 'Payment method'), "productimage", 'Product image'), "orderdetails", 'Order details'), "orderinvoice", 'Order invoice'), "promocodediscount", 'Promo code discount'), "address", 'Address'), "update", 'Update'), "phonenumber", 'Mobile number'), "completerequiredfields", 'Please complete all required fields'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "name", 'Name'), "email", 'Email'), "password", 'Password'), "confirmpassword", 'Confirm password'), "showmore", 'Show more'), "showless", 'Show less'), "contactdetails", 'Contact Information'), "asaguest", 'As A Guest'), "choosecountryfirst", 'Please choose country first'), "security", 'Security'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_en, "personalinformation", 'Personal Information'), "contactus", 'Contact us'), "slogan", 'Your website & mobile application in one place'), "recent", 'Recent'), "oldest", 'Oldest'), "pricehightolow", 'High to low'), "pricelowtohigh", 'Low to High'), "pleasecompleteaddressmissingfields", 'Please complete the missing address fields'), "instock", 'In Stock')),
|
|
376
377
|
ar: (_ar = {
|
|
378
|
+
newest: 'الاحدث',
|
|
377
379
|
compare: 'قارن',
|
|
378
380
|
sortby: 'ترتيب حسب',
|
|
379
381
|
maximum: 'اقصى كمية',
|
|
@@ -3153,6 +3155,11 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
3153
3155
|
}
|
|
3154
3156
|
setdefaultpricing(price);
|
|
3155
3157
|
}, [variantindexcompleted]);
|
|
3158
|
+
var toNumber = function toNumber(value) {
|
|
3159
|
+
if (value == null || value === '') return 0;
|
|
3160
|
+
var number = Number(String(value).replace(/,/g, ''));
|
|
3161
|
+
return isNaN(number) ? 0 : number;
|
|
3162
|
+
};
|
|
3156
3163
|
var SaleCounterPill = function SaleCounterPill() {
|
|
3157
3164
|
var _fetchProductInfoQuer2, _fetchProductInfoQuer3;
|
|
3158
3165
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3174,7 +3181,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
3174
3181
|
color: sectionproperties.counterValueColor,
|
|
3175
3182
|
fontWeight: sectionproperties.counterValueFontWeight
|
|
3176
3183
|
}
|
|
3177
|
-
},
|
|
3184
|
+
}, sectionproperties.removedecimals != 'With Decimals' ? toNumber(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - toNumber(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted)).toFixed(2) : parseFloat(Math.round(parseInt(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseInt(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted)))).toFixed(0), ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3178
3185
|
style: {
|
|
3179
3186
|
background: sectionproperties.pillbgcolor,
|
|
3180
3187
|
width: 'fit-content',
|
|
@@ -11661,7 +11668,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
11661
11668
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
11662
11669
|
return parseFloat(Number(price).toFixed(2));
|
|
11663
11670
|
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
11664
|
-
return Math.floor(price).toLocaleString();
|
|
11671
|
+
// return Math.floor(price).toLocaleString();
|
|
11672
|
+
return Number(price).toLocaleString('en-US', {
|
|
11673
|
+
minimumFractionDigits: 0,
|
|
11674
|
+
maximumFractionDigits: 2
|
|
11675
|
+
});
|
|
11676
|
+
} else if (sectionproperties.removedecimals == 'Separated With Comma') {
|
|
11677
|
+
return Number(price).toLocaleString('en-US', {
|
|
11678
|
+
minimumFractionDigits: 0,
|
|
11679
|
+
maximumFractionDigits: 2
|
|
11680
|
+
});
|
|
11665
11681
|
} else {
|
|
11666
11682
|
return price;
|
|
11667
11683
|
}
|
|
@@ -16251,7 +16267,7 @@ styleInject(css_248z$G);
|
|
|
16251
16267
|
function ownKeys$2x(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; }
|
|
16252
16268
|
function _objectSpread$2x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2x(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16253
16269
|
var Checkout = function Checkout(props) {
|
|
16254
|
-
var _fetchTabexCountriesQ2, _css,
|
|
16270
|
+
var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue74, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue75, _authdetailsContext$i15, _fetchcustomercartQue76, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _fetchcustomercartQue77, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _fetchcustomercartQue83, _fetchcustomercartQue84, _fetchcustomercartQue85, _fetchcustomercartQue86, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _fetchcustomercartQue87, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _fetchcustomercartQue89, _authdetailsContext$i47, _fetchcustomercartQue91, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _fetchcustomercartQue93, _authdetailsContext$i54, _authdetailsContext$i55, _fetchcustomercartQue95, _fetchcustomercartQue97, _fetchcustomercartQue99, _authdetailsContext$i56, _fetchcustomercartQue101, _authdetailsContext$i57, _fetchcustomercartQue103, _authdetailsContext$i58, _fetchcustomercartQue105, _authdetailsContext$i59, _fetchcustomercartQue107, _authdetailsContext$i60, _fetchcustomercartQue109, _authdetailsContext$i61, _fetchcustomercartQue111, _authdetailsContext$i62, _fetchcustomercartQue113, _authdetailsContext$i63, _authdetailsContext$i64, _fetchcustomercartQue115, _fetchcustomercartQue116;
|
|
16255
16271
|
var _useState = React.useState(null),
|
|
16256
16272
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
16257
16273
|
_useState2[0];
|
|
@@ -16854,7 +16870,7 @@ var Checkout = function Checkout(props) {
|
|
|
16854
16870
|
return isloading;
|
|
16855
16871
|
};
|
|
16856
16872
|
var Mycart = function Mycart() {
|
|
16857
|
-
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i8, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55,
|
|
16873
|
+
var _fetchcustomercartQue39, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _authdetailsContext$i8, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _authdetailsContext$i9, _fetchcustomercartQue68, _fetchcustomercartQue69, _fetchcustomercartQue70, _fetchcustomercartQue71, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i11, _fetchcustomercartQue72, _authdetailsContext$i12, _fetchcustomercartQue73;
|
|
16858
16874
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16859
16875
|
className: "row m-0 w-100 mb-md-3"
|
|
16860
16876
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -16993,33 +17009,51 @@ var Checkout = function Checkout(props) {
|
|
|
16993
17009
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
16994
17010
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16995
17011
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
16996
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() :
|
|
17012
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.finalprice).toLocaleString('en-US', {
|
|
17013
|
+
minimumFractionDigits: 0,
|
|
17014
|
+
maximumFractionDigits: 2
|
|
17015
|
+
}) : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), item.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16997
17016
|
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
16998
17017
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16999
17018
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
17000
17019
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17001
17020
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
17002
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() :
|
|
17021
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.finalprice).toLocaleString('en-US', {
|
|
17022
|
+
minimumFractionDigits: 0,
|
|
17023
|
+
maximumFractionDigits: 2
|
|
17024
|
+
}) : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17003
17025
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
17004
17026
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17005
17027
|
className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-left '
|
|
17006
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.defaultprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.defaultprice).toLocaleString() :
|
|
17028
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.defaultprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.defaultprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.productinfo.defaultprice).toLocaleString('en-US', {
|
|
17029
|
+
minimumFractionDigits: 0,
|
|
17030
|
+
maximumFractionDigits: 2
|
|
17031
|
+
}) : parseFloat(item.productinfo.defaultprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))), item.productinfo.hasvariants == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17007
17032
|
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
17008
17033
|
}, item.productinfo.variantinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17009
17034
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
17010
17035
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17011
17036
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
17012
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() :
|
|
17037
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar, ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.productinfo.variantinfo.variantprice).toLocaleString('en-US', {
|
|
17038
|
+
minimumFractionDigits: 0,
|
|
17039
|
+
maximumFractionDigits: 2
|
|
17040
|
+
}) : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2))), item.productinfo.variantinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17013
17041
|
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
17014
17042
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17015
17043
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
17016
17044
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17017
17045
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
17018
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantsaleprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantsaleprice).toLocaleString() :
|
|
17046
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantsaleprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantsaleprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.productinfo.variantinfo.variantsaleprice).toLocaleString('en-US', {
|
|
17047
|
+
minimumFractionDigits: 0,
|
|
17048
|
+
maximumFractionDigits: 2
|
|
17049
|
+
}) : parseFloat(item.productinfo.variantinfo.variantsaleprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17019
17050
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
17020
17051
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17021
17052
|
className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
|
|
17022
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() :
|
|
17053
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.productinfo.variantinfo.variantprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.productinfo.variantinfo.variantprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(item.productinfo.variantinfo.variantprice).toLocaleString('en-US', {
|
|
17054
|
+
minimumFractionDigits: 0,
|
|
17055
|
+
maximumFractionDigits: 2
|
|
17056
|
+
}) : parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))))));
|
|
17023
17057
|
}
|
|
17024
17058
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17025
17059
|
"class": "".concat(checkoutstyles.innersection) + ' row m-0 w-100 p-3 '
|
|
@@ -17123,10 +17157,13 @@ var Checkout = function Checkout(props) {
|
|
|
17123
17157
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
17124
17158
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17125
17159
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
17126
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.customercart.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.totalprice).toLocaleString() :
|
|
17160
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.customercart.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.totalprice).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.customercart.totalprice).toLocaleString('en-US', {
|
|
17161
|
+
minimumFractionDigits: 0,
|
|
17162
|
+
maximumFractionDigits: 2
|
|
17163
|
+
}) : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.customercart) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.genpayments) === null || _fetchcustomercartQue55 === void 0 ? void 0 : _fetchcustomercartQue55.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17127
17164
|
className: "row m-0 w-100"
|
|
17128
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17129
|
-
var
|
|
17165
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.customercart) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.genpayments) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.map(function (item, index) {
|
|
17166
|
+
var _fetchcustomercartQue57;
|
|
17130
17167
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17131
17168
|
"class": "col-lg-12 p-0"
|
|
17132
17169
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -17145,8 +17182,8 @@ var Checkout = function Checkout(props) {
|
|
|
17145
17182
|
style: {
|
|
17146
17183
|
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
17147
17184
|
}
|
|
17148
|
-
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', parseFloat(item.value).toFixed(2), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect == 'en' ? authdetailsContext.currencyname_en : '', ' ', parseFloat((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17149
|
-
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17185
|
+
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', parseFloat(item.value).toFixed(2), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "% (", langdetect == 'en' ? authdetailsContext.currencyname_en : '', ' ', parseFloat((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.customercart) === null || _fetchcustomercartQue57 === void 0 ? void 0 : _fetchcustomercartQue57.totalprice) * (item.value / 100)).toFixed(2), ' ', langdetect == 'ar' ? authdetailsContext.currencyname_ar : '', ")")))));
|
|
17186
|
+
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.customercart) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17150
17187
|
className: "row m-0 w-100"
|
|
17151
17188
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17152
17189
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -17159,7 +17196,7 @@ var Checkout = function Checkout(props) {
|
|
|
17159
17196
|
style: {
|
|
17160
17197
|
color: 'red'
|
|
17161
17198
|
}
|
|
17162
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17199
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.customercart) === null || _fetchcustomercartQue59 === void 0 ? void 0 : _fetchcustomercartQue59.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue61 === void 0 || (_fetchcustomercartQue61 = _fetchcustomercartQue61.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : _fetchcustomercartQue61.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17163
17200
|
className: "col-lg-12 p-0 mb-1"
|
|
17164
17201
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17165
17202
|
className: "row m-0 w-100"
|
|
@@ -17171,7 +17208,7 @@ var Checkout = function Checkout(props) {
|
|
|
17171
17208
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
17172
17209
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17173
17210
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-left '
|
|
17174
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17211
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue62 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue62 === void 0 || (_fetchcustomercartQue62 = _fetchcustomercartQue62.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 || (_fetchcustomercartQue63 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : _fetchcustomercartQue63.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17175
17212
|
className: "col-lg-12 p-0"
|
|
17176
17213
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17177
17214
|
className: "row m-0 w-100"
|
|
@@ -17179,11 +17216,11 @@ var Checkout = function Checkout(props) {
|
|
|
17179
17216
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
17180
17217
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17181
17218
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
17182
|
-
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17219
|
+
}, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17183
17220
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
17184
17221
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17185
17222
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
17186
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17223
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue67 !== void 0 && (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) !== null && _fetchcustomercartQue67 !== void 0 && _fetchcustomercartQue67.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17187
17224
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
17188
17225
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17189
17226
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -17222,7 +17259,10 @@ var Checkout = function Checkout(props) {
|
|
|
17222
17259
|
textTransform: sectionproperties.total_texttransform,
|
|
17223
17260
|
color: sectionproperties.total_color
|
|
17224
17261
|
}
|
|
17225
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17262
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.totalpriceafterdiscount).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.totalpriceafterdiscount).toLocaleString() : sectionproperties.removedecimals == 'Separated With Comma' ? Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.totalpriceafterdiscount).toLocaleString('en-US', {
|
|
17263
|
+
minimumFractionDigits: 0,
|
|
17264
|
+
maximumFractionDigits: 2
|
|
17265
|
+
}) : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17226
17266
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
17227
17267
|
style: {
|
|
17228
17268
|
background: '#eee',
|
|
@@ -17269,7 +17309,7 @@ var Checkout = function Checkout(props) {
|
|
|
17269
17309
|
width: "20px",
|
|
17270
17310
|
height: "20px",
|
|
17271
17311
|
duration: "1s"
|
|
17272
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17312
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.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$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
17273
17313
|
className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
|
|
17274
17314
|
onClick: function onClick() {
|
|
17275
17315
|
if (sectionproperties.showpaymentfooter == 'Hide') {
|
|
@@ -17283,7 +17323,7 @@ var Checkout = function Checkout(props) {
|
|
|
17283
17323
|
width: "20px",
|
|
17284
17324
|
height: "20px",
|
|
17285
17325
|
duration: "1s"
|
|
17286
|
-
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17326
|
+
}), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17287
17327
|
className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
|
|
17288
17328
|
style: {
|
|
17289
17329
|
marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
|
|
@@ -17329,7 +17369,7 @@ var Checkout = function Checkout(props) {
|
|
|
17329
17369
|
t_b: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_b,
|
|
17330
17370
|
t_m: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_m,
|
|
17331
17371
|
lang: langdetect,
|
|
17332
|
-
amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17372
|
+
amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.customercart) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.totalprice
|
|
17333
17373
|
}), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17334
17374
|
className: "col-lg-12 p-0"
|
|
17335
17375
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -17461,7 +17501,7 @@ var Checkout = function Checkout(props) {
|
|
|
17461
17501
|
}, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17462
17502
|
type: 'text',
|
|
17463
17503
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17464
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17504
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.name,
|
|
17465
17505
|
onChange: function onChange(event) {
|
|
17466
17506
|
cartinfoupdater('name', event.target.value);
|
|
17467
17507
|
},
|
|
@@ -17481,7 +17521,7 @@ var Checkout = function Checkout(props) {
|
|
|
17481
17521
|
}, "*")), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17482
17522
|
type: 'text',
|
|
17483
17523
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17484
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17524
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.mobile,
|
|
17485
17525
|
onChange: function onChange(event) {
|
|
17486
17526
|
var onlyNumbers = event.target.value.replace(/\D/g, ''); // remove non-digits
|
|
17487
17527
|
cartinfoupdater('mobile', onlyNumbers);
|
|
@@ -17511,7 +17551,7 @@ var Checkout = function Checkout(props) {
|
|
|
17511
17551
|
}, langdetect == 'en' ? 'Optional' : 'اختياري'), ' '), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17512
17552
|
type: 'text',
|
|
17513
17553
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17514
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17554
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.email,
|
|
17515
17555
|
onChange: function onChange(event) {
|
|
17516
17556
|
cartinfoupdater('email', event.target.value);
|
|
17517
17557
|
},
|
|
@@ -17564,8 +17604,8 @@ var Checkout = function Checkout(props) {
|
|
|
17564
17604
|
return option.id;
|
|
17565
17605
|
},
|
|
17566
17606
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
17567
|
-
var
|
|
17568
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17607
|
+
var _fetchcustomercartQue78;
|
|
17608
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.countryid);
|
|
17569
17609
|
}),
|
|
17570
17610
|
onChange: function onChange(option) {
|
|
17571
17611
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2x({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -17619,12 +17659,12 @@ var Checkout = function Checkout(props) {
|
|
|
17619
17659
|
return option.id;
|
|
17620
17660
|
},
|
|
17621
17661
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
17622
|
-
var
|
|
17623
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17662
|
+
var _fetchcustomercartQue79;
|
|
17663
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.stateid);
|
|
17624
17664
|
}),
|
|
17625
17665
|
onChange: function onChange(option) {
|
|
17626
|
-
var
|
|
17627
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17666
|
+
var _fetchcustomercartQue80;
|
|
17667
|
+
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.countryid.length) != 0) {
|
|
17628
17668
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2x({}, FetchTabexStatesPayloadobjContext);
|
|
17629
17669
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
17630
17670
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -17676,13 +17716,13 @@ var Checkout = function Checkout(props) {
|
|
|
17676
17716
|
return option.id;
|
|
17677
17717
|
},
|
|
17678
17718
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
17679
|
-
var
|
|
17680
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17719
|
+
var _fetchcustomercartQue81;
|
|
17720
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.customercart.cityid);
|
|
17681
17721
|
}),
|
|
17682
17722
|
onChange: function onChange(option) {
|
|
17683
|
-
var
|
|
17723
|
+
var _fetchcustomercartQue82;
|
|
17684
17724
|
cartinfoupdater('cityid', option.id);
|
|
17685
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17725
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.customercart) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.zonenotes) != null) {
|
|
17686
17726
|
setshowpopup(true);
|
|
17687
17727
|
}
|
|
17688
17728
|
},
|
|
@@ -17701,7 +17741,7 @@ var Checkout = function Checkout(props) {
|
|
|
17701
17741
|
}, "*")), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
17702
17742
|
type: 'text',
|
|
17703
17743
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17704
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17744
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.address,
|
|
17705
17745
|
onChange: function onChange(event) {
|
|
17706
17746
|
cartinfoupdater('address', event.target.value);
|
|
17707
17747
|
},
|
|
@@ -17716,7 +17756,7 @@ var Checkout = function Checkout(props) {
|
|
|
17716
17756
|
}, langdetect == 'en' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
17717
17757
|
type: 'text',
|
|
17718
17758
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17719
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17759
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.notes,
|
|
17720
17760
|
onChange: function onChange(event) {
|
|
17721
17761
|
cartinfoupdater('notes', event.target.value);
|
|
17722
17762
|
},
|
|
@@ -17731,7 +17771,7 @@ var Checkout = function Checkout(props) {
|
|
|
17731
17771
|
}, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
17732
17772
|
type: 'number',
|
|
17733
17773
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
17734
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17774
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue85 === void 0 || (_fetchcustomercartQue85 = _fetchcustomercartQue85.customercart) === null || _fetchcustomercartQue85 === void 0 ? void 0 : _fetchcustomercartQue85.aff_code,
|
|
17735
17775
|
onChange: function onChange(event) {
|
|
17736
17776
|
cartinfoupdater('aff_code', event.target.value);
|
|
17737
17777
|
},
|
|
@@ -17765,7 +17805,7 @@ var Checkout = function Checkout(props) {
|
|
|
17765
17805
|
onChange: function onChange(event) {
|
|
17766
17806
|
cartinfoupdater('shippingmethod_id', event.target.value);
|
|
17767
17807
|
},
|
|
17768
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
17808
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue86 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.data) === null || _fetchcustomercartQue86 === void 0 || (_fetchcustomercartQue86 = _fetchcustomercartQue86.customercart) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.shippingmethod_id
|
|
17769
17809
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
17770
17810
|
value: null
|
|
17771
17811
|
}, langdetect == 'en' ? 'Choose Shipping Method' : 'الشحن اخنر طريقة'), shippingmethods === null || shippingmethods === void 0 ? void 0 : shippingmethods.map(function (item, index) {
|
|
@@ -18060,10 +18100,10 @@ var Checkout = function Checkout(props) {
|
|
|
18060
18100
|
id: 'codcheckbox',
|
|
18061
18101
|
type: "checkbox",
|
|
18062
18102
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18063
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18103
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 || (_fetchcustomercartQue87 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue87 === void 0 ? void 0 : _fetchcustomercartQue87.customercart.paymentmethod) == 'cod' ? true : false,
|
|
18064
18104
|
onChange: function onChange() {
|
|
18065
|
-
var
|
|
18066
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18105
|
+
var _fetchcustomercartQue88;
|
|
18106
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.customercart.paymentmethod) != 'cod') {
|
|
18067
18107
|
cartinfoupdater('paymentmethod', 'cod');
|
|
18068
18108
|
setinstapaychosen(false);
|
|
18069
18109
|
setcashchosen(true);
|
|
@@ -18106,10 +18146,10 @@ var Checkout = function Checkout(props) {
|
|
|
18106
18146
|
id: 'codcheckbox',
|
|
18107
18147
|
type: "checkbox",
|
|
18108
18148
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18109
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18149
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.customercart.paymentmethod) == 'instapay' ? true : false,
|
|
18110
18150
|
onChange: function onChange() {
|
|
18111
|
-
var
|
|
18112
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18151
|
+
var _fetchcustomercartQue90;
|
|
18152
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.customercart.paymentmethod) != 'instapay') {
|
|
18113
18153
|
cartinfoupdater('paymentmethod', 'instapay');
|
|
18114
18154
|
setinstapaychosen(true);
|
|
18115
18155
|
// alert('1');
|
|
@@ -18137,10 +18177,10 @@ var Checkout = function Checkout(props) {
|
|
|
18137
18177
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18138
18178
|
type: "checkbox",
|
|
18139
18179
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18140
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18180
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.customercart.paymentmethod) == 'cardondelivery' ? true : false,
|
|
18141
18181
|
onChange: function onChange() {
|
|
18142
|
-
var
|
|
18143
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18182
|
+
var _fetchcustomercartQue92;
|
|
18183
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.customercart.paymentmethod) != 'cardondelivery') {
|
|
18144
18184
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
18145
18185
|
setinstapaychosen(false);
|
|
18146
18186
|
setcashchosen(false);
|
|
@@ -18171,10 +18211,10 @@ var Checkout = function Checkout(props) {
|
|
|
18171
18211
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18172
18212
|
type: "checkbox",
|
|
18173
18213
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18174
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18214
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.customercart.paymentmethod) == 'onlinepayment' ? true : false,
|
|
18175
18215
|
onChange: function onChange() {
|
|
18176
|
-
var
|
|
18177
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18216
|
+
var _fetchcustomercartQue94;
|
|
18217
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.customercart.paymentmethod) != 'onlinepayment') {
|
|
18178
18218
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
18179
18219
|
setinstapaychosen(false);
|
|
18180
18220
|
setcashchosen(false);
|
|
@@ -18204,10 +18244,10 @@ var Checkout = function Checkout(props) {
|
|
|
18204
18244
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18205
18245
|
type: "checkbox",
|
|
18206
18246
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18207
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18247
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.customercart.paymentmethod) == 'valU' ? true : false,
|
|
18208
18248
|
onChange: function onChange() {
|
|
18209
|
-
var
|
|
18210
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18249
|
+
var _fetchcustomercartQue96;
|
|
18250
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.paymentmethod) != 'valU') {
|
|
18211
18251
|
cartinfoupdater('paymentmethod', 'valU');
|
|
18212
18252
|
setinstapaychosen(false);
|
|
18213
18253
|
}
|
|
@@ -18226,10 +18266,10 @@ var Checkout = function Checkout(props) {
|
|
|
18226
18266
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18227
18267
|
type: "checkbox",
|
|
18228
18268
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18229
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18269
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 || (_fetchcustomercartQue97 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue97 === void 0 ? void 0 : _fetchcustomercartQue97.customercart.paymentmethod) == 'Mylo' ? true : false,
|
|
18230
18270
|
onChange: function onChange() {
|
|
18231
|
-
var
|
|
18232
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18271
|
+
var _fetchcustomercartQue98;
|
|
18272
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue98 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue98 === void 0 || (_fetchcustomercartQue98 = _fetchcustomercartQue98.data) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.customercart.paymentmethod) != 'Mylo') {
|
|
18233
18273
|
cartinfoupdater('paymentmethod', 'Mylo');
|
|
18234
18274
|
setinstapaychosen(false);
|
|
18235
18275
|
}
|
|
@@ -18248,10 +18288,10 @@ var Checkout = function Checkout(props) {
|
|
|
18248
18288
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18249
18289
|
type: "checkbox",
|
|
18250
18290
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18251
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18291
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue99 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue99 === void 0 || (_fetchcustomercartQue99 = _fetchcustomercartQue99.data) === null || _fetchcustomercartQue99 === void 0 ? void 0 : _fetchcustomercartQue99.customercart.paymentmethod) == 'mobilewallet' ? true : false,
|
|
18252
18292
|
onChange: function onChange() {
|
|
18253
|
-
var
|
|
18254
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18293
|
+
var _fetchcustomercartQue100;
|
|
18294
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue100 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue100 === void 0 || (_fetchcustomercartQue100 = _fetchcustomercartQue100.data) === null || _fetchcustomercartQue100 === void 0 ? void 0 : _fetchcustomercartQue100.customercart.paymentmethod) != 'mobilewallet') {
|
|
18255
18295
|
cartinfoupdater('paymentmethod', 'mobilewallet');
|
|
18256
18296
|
setinstapaychosen(false);
|
|
18257
18297
|
}
|
|
@@ -18270,10 +18310,10 @@ var Checkout = function Checkout(props) {
|
|
|
18270
18310
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18271
18311
|
type: "checkbox",
|
|
18272
18312
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18273
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18313
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue101 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue101 === void 0 || (_fetchcustomercartQue101 = _fetchcustomercartQue101.data) === null || _fetchcustomercartQue101 === void 0 || (_fetchcustomercartQue101 = _fetchcustomercartQue101.customercart) === null || _fetchcustomercartQue101 === void 0 ? void 0 : _fetchcustomercartQue101.paymentmethod) == 'forsa' ? true : false,
|
|
18274
18314
|
onChange: function onChange() {
|
|
18275
|
-
var
|
|
18276
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18315
|
+
var _fetchcustomercartQue102;
|
|
18316
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue102 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue102 === void 0 || (_fetchcustomercartQue102 = _fetchcustomercartQue102.data) === null || _fetchcustomercartQue102 === void 0 || (_fetchcustomercartQue102 = _fetchcustomercartQue102.customercart) === null || _fetchcustomercartQue102 === void 0 ? void 0 : _fetchcustomercartQue102.paymentmethod) != 'forsa') {
|
|
18277
18317
|
cartinfoupdater('paymentmethod', 'forsa');
|
|
18278
18318
|
setinstapaychosen(false);
|
|
18279
18319
|
}
|
|
@@ -18292,10 +18332,10 @@ var Checkout = function Checkout(props) {
|
|
|
18292
18332
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18293
18333
|
type: "checkbox",
|
|
18294
18334
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18295
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18335
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue103 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue103 === void 0 || (_fetchcustomercartQue103 = _fetchcustomercartQue103.data) === null || _fetchcustomercartQue103 === void 0 || (_fetchcustomercartQue103 = _fetchcustomercartQue103.customercart) === null || _fetchcustomercartQue103 === void 0 ? void 0 : _fetchcustomercartQue103.paymentmethod) == 'Souhoola' ? true : false,
|
|
18296
18336
|
onChange: function onChange() {
|
|
18297
|
-
var
|
|
18298
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18337
|
+
var _fetchcustomercartQue104;
|
|
18338
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue104 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue104 === void 0 || (_fetchcustomercartQue104 = _fetchcustomercartQue104.data) === null || _fetchcustomercartQue104 === void 0 || (_fetchcustomercartQue104 = _fetchcustomercartQue104.customercart) === null || _fetchcustomercartQue104 === void 0 ? void 0 : _fetchcustomercartQue104.paymentmethod) != 'Souhoola') {
|
|
18299
18339
|
cartinfoupdater('paymentmethod', 'Souhoola');
|
|
18300
18340
|
setinstapaychosen(false);
|
|
18301
18341
|
}
|
|
@@ -18314,10 +18354,10 @@ var Checkout = function Checkout(props) {
|
|
|
18314
18354
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18315
18355
|
type: "checkbox",
|
|
18316
18356
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18317
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18357
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue105 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue105 === void 0 || (_fetchcustomercartQue105 = _fetchcustomercartQue105.data) === null || _fetchcustomercartQue105 === void 0 || (_fetchcustomercartQue105 = _fetchcustomercartQue105.customercart) === null || _fetchcustomercartQue105 === void 0 ? void 0 : _fetchcustomercartQue105.paymentmethod) == 'paypal' ? true : false,
|
|
18318
18358
|
onChange: function onChange() {
|
|
18319
|
-
var
|
|
18320
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18359
|
+
var _fetchcustomercartQue106;
|
|
18360
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue106 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue106 === void 0 || (_fetchcustomercartQue106 = _fetchcustomercartQue106.data) === null || _fetchcustomercartQue106 === void 0 || (_fetchcustomercartQue106 = _fetchcustomercartQue106.customercart) === null || _fetchcustomercartQue106 === void 0 ? void 0 : _fetchcustomercartQue106.paymentmethod) != 'paypal') {
|
|
18321
18361
|
cartinfoupdater('paymentmethod', 'paypal');
|
|
18322
18362
|
setinstapaychosen(false);
|
|
18323
18363
|
}
|
|
@@ -18336,10 +18376,10 @@ var Checkout = function Checkout(props) {
|
|
|
18336
18376
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18337
18377
|
type: "checkbox",
|
|
18338
18378
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18339
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18379
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue107 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue107 === void 0 || (_fetchcustomercartQue107 = _fetchcustomercartQue107.data) === null || _fetchcustomercartQue107 === void 0 || (_fetchcustomercartQue107 = _fetchcustomercartQue107.customercart) === null || _fetchcustomercartQue107 === void 0 ? void 0 : _fetchcustomercartQue107.paymentmethod) == 'bankinstallments' ? true : false,
|
|
18340
18380
|
onChange: function onChange() {
|
|
18341
|
-
var
|
|
18342
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18381
|
+
var _fetchcustomercartQue108;
|
|
18382
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue108 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue108 === void 0 || (_fetchcustomercartQue108 = _fetchcustomercartQue108.data) === null || _fetchcustomercartQue108 === void 0 || (_fetchcustomercartQue108 = _fetchcustomercartQue108.customercart) === null || _fetchcustomercartQue108 === void 0 ? void 0 : _fetchcustomercartQue108.paymentmethod) != 'bankinstallments') {
|
|
18343
18383
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
18344
18384
|
setinstapaychosen(false);
|
|
18345
18385
|
}
|
|
@@ -18358,10 +18398,10 @@ var Checkout = function Checkout(props) {
|
|
|
18358
18398
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18359
18399
|
type: "checkbox",
|
|
18360
18400
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18361
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18401
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue109 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue109 === void 0 || (_fetchcustomercartQue109 = _fetchcustomercartQue109.data) === null || _fetchcustomercartQue109 === void 0 || (_fetchcustomercartQue109 = _fetchcustomercartQue109.customercart) === null || _fetchcustomercartQue109 === void 0 ? void 0 : _fetchcustomercartQue109.paymentmethod) == 'Aman' ? true : false,
|
|
18362
18402
|
onChange: function onChange() {
|
|
18363
|
-
var
|
|
18364
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18403
|
+
var _fetchcustomercartQue110;
|
|
18404
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue110 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue110 === void 0 || (_fetchcustomercartQue110 = _fetchcustomercartQue110.data) === null || _fetchcustomercartQue110 === void 0 || (_fetchcustomercartQue110 = _fetchcustomercartQue110.customercart) === null || _fetchcustomercartQue110 === void 0 ? void 0 : _fetchcustomercartQue110.paymentmethod) != 'Aman') {
|
|
18365
18405
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
18366
18406
|
setinstapaychosen(false);
|
|
18367
18407
|
}
|
|
@@ -18380,10 +18420,10 @@ var Checkout = function Checkout(props) {
|
|
|
18380
18420
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18381
18421
|
type: "checkbox",
|
|
18382
18422
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18383
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18423
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue111 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue111 === void 0 || (_fetchcustomercartQue111 = _fetchcustomercartQue111.data) === null || _fetchcustomercartQue111 === void 0 || (_fetchcustomercartQue111 = _fetchcustomercartQue111.customercart) === null || _fetchcustomercartQue111 === void 0 ? void 0 : _fetchcustomercartQue111.paymentmethod) == 'Tamara' ? true : false,
|
|
18384
18424
|
onChange: function onChange() {
|
|
18385
|
-
var
|
|
18386
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18425
|
+
var _fetchcustomercartQue112;
|
|
18426
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue112 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue112 === void 0 || (_fetchcustomercartQue112 = _fetchcustomercartQue112.data) === null || _fetchcustomercartQue112 === void 0 || (_fetchcustomercartQue112 = _fetchcustomercartQue112.customercart) === null || _fetchcustomercartQue112 === void 0 ? void 0 : _fetchcustomercartQue112.paymentmethod) != 'Tamara') {
|
|
18387
18427
|
cartinfoupdater('paymentmethod', 'Tamara');
|
|
18388
18428
|
setinstapaychosen(false);
|
|
18389
18429
|
}
|
|
@@ -18402,10 +18442,10 @@ var Checkout = function Checkout(props) {
|
|
|
18402
18442
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
18403
18443
|
type: "checkbox",
|
|
18404
18444
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
18405
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18445
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue113 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue113 === void 0 || (_fetchcustomercartQue113 = _fetchcustomercartQue113.data) === null || _fetchcustomercartQue113 === void 0 ? void 0 : _fetchcustomercartQue113.customercart.paymentmethod) == 'Tabby' ? true : false,
|
|
18406
18446
|
onChange: function onChange() {
|
|
18407
|
-
var
|
|
18408
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18447
|
+
var _fetchcustomercartQue114;
|
|
18448
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue114 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue114 === void 0 || (_fetchcustomercartQue114 = _fetchcustomercartQue114.data) === null || _fetchcustomercartQue114 === void 0 ? void 0 : _fetchcustomercartQue114.customercart.paymentmethod) != 'Tabby') {
|
|
18409
18449
|
cartinfoupdater('paymentmethod', 'Tabby');
|
|
18410
18450
|
setinstapaychosen(false);
|
|
18411
18451
|
}
|
|
@@ -18443,7 +18483,7 @@ var Checkout = function Checkout(props) {
|
|
|
18443
18483
|
color: '#000'
|
|
18444
18484
|
}
|
|
18445
18485
|
// dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar }}
|
|
18446
|
-
}, langdetect == 'en' ? 'To confirm your order, please transfer a 30% deposit of the order value to [number].' : 'لتأكيد الطلب برجاء تحويل 30% deposit من قيمه الطلب على الرقم'))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18486
|
+
}, langdetect == 'en' ? 'To confirm your order, please transfer a 30% deposit of the order value to [number].' : 'لتأكيد الطلب برجاء تحويل 30% deposit من قيمه الطلب على الرقم'))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue115 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue115 === void 0 || (_fetchcustomercartQue115 = _fetchcustomercartQue115.data) === null || _fetchcustomercartQue115 === void 0 ? void 0 : _fetchcustomercartQue115.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18447
18487
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
18448
18488
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18449
18489
|
style: {
|
|
@@ -18583,7 +18623,7 @@ var Checkout = function Checkout(props) {
|
|
|
18583
18623
|
color: '#000',
|
|
18584
18624
|
textAlign: 'center'
|
|
18585
18625
|
}
|
|
18586
|
-
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
18626
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue116 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue116 === void 0 || (_fetchcustomercartQue116 = _fetchcustomercartQue116.data) === null || _fetchcustomercartQue116 === void 0 || (_fetchcustomercartQue116 = _fetchcustomercartQue116.customercart) === null || _fetchcustomercartQue116 === void 0 ? void 0 : _fetchcustomercartQue116.zonenotes)))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
18587
18627
|
};
|
|
18588
18628
|
|
|
18589
18629
|
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; }
|
|
@@ -21141,7 +21181,7 @@ styleInject(css_248z$E);
|
|
|
21141
21181
|
function ownKeys$2q(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; }
|
|
21142
21182
|
function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
21143
21183
|
var CartSlider = function CartSlider(props) {
|
|
21144
|
-
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue1, _fetchcustomercartQue10, _authdetailsContext$i4, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15;
|
|
21184
|
+
var _authdetailsContext$i, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue1, _fetchcustomercartQue10, _authdetailsContext$i4, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16;
|
|
21145
21185
|
var lang = props.actions.lang;
|
|
21146
21186
|
var langdetect = props.actions.langdetect;
|
|
21147
21187
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -21947,7 +21987,13 @@ var CartSlider = function CartSlider(props) {
|
|
|
21947
21987
|
textTransform: sectionproperties.total_texttransform,
|
|
21948
21988
|
color: sectionproperties.total_color
|
|
21949
21989
|
}
|
|
21950
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ?
|
|
21990
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue11 === void 0 || (_fetchcustomercartQue11 = _fetchcustomercartQue11.customercart) === null || _fetchcustomercartQue11 === void 0 ? void 0 : _fetchcustomercartQue11.totalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue12 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.data) === null || _fetchcustomercartQue12 === void 0 || (_fetchcustomercartQue12 = _fetchcustomercartQue12.customercart) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.totalprice).toLocaleString('en-US', {
|
|
21991
|
+
minimumFractionDigits: 0,
|
|
21992
|
+
maximumFractionDigits: 2
|
|
21993
|
+
}) : sectionproperties.removedecimals == 'Separated With Comma' ? Number(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue13 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.data) === null || _fetchcustomercartQue13 === void 0 || (_fetchcustomercartQue13 = _fetchcustomercartQue13.customercart) === null || _fetchcustomercartQue13 === void 0 ? void 0 : _fetchcustomercartQue13.totalprice).toLocaleString('en-US', {
|
|
21994
|
+
minimumFractionDigits: 0,
|
|
21995
|
+
maximumFractionDigits: 2
|
|
21996
|
+
}) : parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue14 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.data) === null || _fetchcustomercartQue14 === void 0 || (_fetchcustomercartQue14 = _fetchcustomercartQue14.customercart) === null || _fetchcustomercartQue14 === void 0 ? void 0 : _fetchcustomercartQue14.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21951
21997
|
"class": "col-lg-12 mt-1 d-flex align-items-center justify-content-start p-0"
|
|
21952
21998
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
21953
21999
|
"class": "m-0 p-0",
|
|
@@ -21956,7 +22002,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
21956
22002
|
fontSize: '13px',
|
|
21957
22003
|
fontWeight: 500
|
|
21958
22004
|
}
|
|
21959
|
-
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
22005
|
+
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar)), !AddtoCartMutationContext.isLoading && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue15 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.data) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.customercart) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.cartitems) === null || _fetchcustomercartQue15 === void 0 ? void 0 : _fetchcustomercartQue15.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
21960
22006
|
className: "col-lg-12 p-0 mt-4 d-flex flex-column align-items-center justify-content-center"
|
|
21961
22007
|
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
21962
22008
|
className: " ".concat(cart_cssstyles.cart_btn) + ' mb-2 d-flex align-items-center justify-content-center ',
|
|
@@ -21977,7 +22023,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
21977
22023
|
t_b: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_b,
|
|
21978
22024
|
t_m: authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.t_m,
|
|
21979
22025
|
lang: langdetect,
|
|
21980
|
-
amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
22026
|
+
amount: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue16 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue16 === void 0 || (_fetchcustomercartQue16 = _fetchcustomercartQue16.data) === null || _fetchcustomercartQue16 === void 0 || (_fetchcustomercartQue16 = _fetchcustomercartQue16.customercart) === null || _fetchcustomercartQue16 === void 0 ? void 0 : _fetchcustomercartQue16.totalprice,
|
|
21981
22027
|
divid: 'cartslider'
|
|
21982
22028
|
}), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
21983
22029
|
className: " ".concat(cart_cssstyles.checkoutbtn),
|
|
@@ -22924,7 +22970,7 @@ var Filter$1 = function Filter(props) {
|
|
|
22924
22970
|
payloadvalue: 'sortdates',
|
|
22925
22971
|
name: lang.dates,
|
|
22926
22972
|
filterarray: [{
|
|
22927
|
-
name: lang.
|
|
22973
|
+
name: lang.newest,
|
|
22928
22974
|
value: 'recent',
|
|
22929
22975
|
isfilterselected: false
|
|
22930
22976
|
}, {
|
|
@@ -26707,15 +26753,23 @@ var CardsSection = function CardsSection(props) {
|
|
|
26707
26753
|
cardobj.productmainimage = arrayItem.productinfo.productmainimage;
|
|
26708
26754
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
26709
26755
|
cardobj.defaultprice = parseFloat(Number(arrayItem.productinfo.defaultprice).toFixed(2));
|
|
26710
|
-
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
26711
|
-
cardobj.defaultprice = Math.floor(arrayItem.productinfo.defaultprice).toLocaleString();
|
|
26756
|
+
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' || sectionproperties.removedecimals == 'Separated With Comma') {
|
|
26757
|
+
// cardobj.defaultprice = Math.floor(arrayItem.productinfo.defaultprice).toLocaleString();
|
|
26758
|
+
cardobj.defaultprice = Number(arrayItem.productinfo.defaultprice).toLocaleString('en-US', {
|
|
26759
|
+
minimumFractionDigits: 0,
|
|
26760
|
+
maximumFractionDigits: 2
|
|
26761
|
+
});
|
|
26712
26762
|
} else {
|
|
26713
26763
|
cardobj.defaultprice = arrayItem.productinfo.defaultprice;
|
|
26714
26764
|
}
|
|
26715
26765
|
if (sectionproperties.removedecimals == 'Without Decimals') {
|
|
26716
26766
|
cardobj.defaultsaleprice = parseFloat(Number(arrayItem.productinfo.defaultsaleprice).toFixed(2));
|
|
26717
|
-
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma') {
|
|
26718
|
-
cardobj.defaultsaleprice = Math.floor(arrayItem.productinfo.defaultsaleprice).toLocaleString();
|
|
26767
|
+
} else if (sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' || sectionproperties.removedecimals == 'Separated With Comma') {
|
|
26768
|
+
// cardobj.defaultsaleprice = Math.floor(arrayItem.productinfo.defaultsaleprice).toLocaleString();
|
|
26769
|
+
cardobj.defaultsaleprice = Number(arrayItem.productinfo.defaultsaleprice).toLocaleString('en-US', {
|
|
26770
|
+
minimumFractionDigits: 0,
|
|
26771
|
+
maximumFractionDigits: 2
|
|
26772
|
+
});
|
|
26719
26773
|
} else {
|
|
26720
26774
|
cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
|
|
26721
26775
|
}
|
|
@@ -56787,7 +56841,7 @@ var Footer3 = function Footer3(props) {
|
|
|
56787
56841
|
function ownKeys$1I(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; }
|
|
56788
56842
|
function _objectSpread$1I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1I(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
56789
56843
|
var Footer4 = function Footer4(props) {
|
|
56790
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i0, _authdetailsContext$i11, _authdetailsContext$
|
|
56844
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i0, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
56791
56845
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
56792
56846
|
var lang = props.actions.lang;
|
|
56793
56847
|
var langdetect = props.actions.langdetect;
|
|
@@ -56886,6 +56940,21 @@ var Footer4 = function Footer4(props) {
|
|
|
56886
56940
|
borderColor: sectionproperties.instgrambtnTextcoloronhover
|
|
56887
56941
|
}
|
|
56888
56942
|
}),
|
|
56943
|
+
tiktokbtn: glamor.css({
|
|
56944
|
+
cursor: 'pointer',
|
|
56945
|
+
background: sectionproperties.tiktokbtnbgColor,
|
|
56946
|
+
width: sectionproperties.tiktokbtnWidth + 'px',
|
|
56947
|
+
height: sectionproperties.tiktokbtnHeight + 'px',
|
|
56948
|
+
borderRadius: sectionproperties.tiktokbtn_borderRadius + 'px',
|
|
56949
|
+
color: sectionproperties.tiktokbtnTextcolor,
|
|
56950
|
+
border: sectionproperties.tiktokbtnborderwidth + 'px solid ' + sectionproperties.tiktokbtnbordercolor,
|
|
56951
|
+
transition: '.3s',
|
|
56952
|
+
':hover': {
|
|
56953
|
+
background: sectionproperties.tiktokbtnbgColoronhover,
|
|
56954
|
+
color: sectionproperties.tiktokbtnTextcoloronhover,
|
|
56955
|
+
borderColor: sectionproperties.tiktokbtnTextcoloronhover
|
|
56956
|
+
}
|
|
56957
|
+
}),
|
|
56889
56958
|
footersubtitlestyles: glamor.css({
|
|
56890
56959
|
textTransform: sectionproperties.footertitle_texttransform,
|
|
56891
56960
|
fontSize: sectionproperties.footertitle__fontsize + 'px',
|
|
@@ -57123,14 +57192,17 @@ var Footer4 = function Footer4(props) {
|
|
|
57123
57192
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57124
57193
|
className: "col-xl-6 col-lg-6 col-md-6 col-sm-12 d-flex flex-row align-items-center justify-content-start justify-content-sm-center p-0 mb-sm-2"
|
|
57125
57194
|
}, sectionproperties.generaltext_fontSize != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57126
|
-
"class":
|
|
57195
|
+
"class": ' m-0 p-0 wordbreak mr-2 mr-sm-3 '
|
|
57196
|
+
// class={langdetect == 'en' ? ' m-0 p-0 wordbreak mr-2 mr-sm-3 ' : ' m-0 p-0 wordbreak ml-2 ml-sm-3 '}
|
|
57197
|
+
,
|
|
57127
57198
|
style: {
|
|
57128
57199
|
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
57129
57200
|
color: sectionproperties.generaltext_fontColor,
|
|
57130
|
-
fontWeight: sectionproperties.generaltext_fontWeight
|
|
57201
|
+
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
57202
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
57131
57203
|
}
|
|
57132
57204
|
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar), sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.facebooklink) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57133
|
-
className:
|
|
57205
|
+
className: "".concat(footerStyles.facebook_btn) + ' allcentered mx-2 ',
|
|
57134
57206
|
onClick: function onClick() {
|
|
57135
57207
|
var _authdetailsContext$i8;
|
|
57136
57208
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.facebooklink) != null) {
|
|
@@ -57143,7 +57215,7 @@ var Footer4 = function Footer4(props) {
|
|
|
57143
57215
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
57144
57216
|
size: sectionproperties.facebkbtnniconfontsize
|
|
57145
57217
|
}))), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57146
|
-
className:
|
|
57218
|
+
className: "".concat(footerStyles.instgram_btn) + ' allcentered mx-2',
|
|
57147
57219
|
onClick: function onClick() {
|
|
57148
57220
|
var _authdetailsContext$i1;
|
|
57149
57221
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instagramlink) != null) {
|
|
@@ -57155,41 +57227,45 @@ var Footer4 = function Footer4(props) {
|
|
|
57155
57227
|
className: "h-100 allcentered"
|
|
57156
57228
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
57157
57229
|
size: sectionproperties.instgrambtniconfontsize
|
|
57158
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.
|
|
57159
|
-
className:
|
|
57230
|
+
}))), sectionproperties.showtelegrambtn == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.telegramlink) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57231
|
+
className: "".concat(footerStyles.facebook_btn) + ' allcentered mx-2 ',
|
|
57160
57232
|
onClick: function onClick() {
|
|
57161
|
-
|
|
57162
|
-
|
|
57163
|
-
|
|
57164
|
-
|
|
57165
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaPinterestP.FaPinterestP, {
|
|
57166
|
-
size: sectionproperties.instgrambtniconfontsize
|
|
57167
|
-
}))), sectionproperties.showtelegrambtn == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.telegramlink) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57168
|
-
className: langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.facebook_btn) + ' allcentered ml-3 ml-sm-4 ',
|
|
57169
|
-
onClick: function onClick() {
|
|
57170
|
-
var _authdetailsContext$i13;
|
|
57171
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.telegramlink) != null) {
|
|
57172
|
-
var _authdetailsContext$i14;
|
|
57173
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.telegramlink, '_blank');
|
|
57233
|
+
var _authdetailsContext$i12;
|
|
57234
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.telegramlink) != null) {
|
|
57235
|
+
var _authdetailsContext$i13;
|
|
57236
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.telegramlink, '_blank');
|
|
57174
57237
|
}
|
|
57175
57238
|
}
|
|
57176
57239
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
57177
57240
|
className: "h-100 allcentered"
|
|
57178
57241
|
}, /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
|
|
57179
57242
|
size: sectionproperties.facebkbtnniconfontsize
|
|
57180
|
-
}))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57181
|
-
className:
|
|
57243
|
+
}))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57244
|
+
className: "".concat(footerStyles.youtube_btn) + ' allcentered mx-2 ',
|
|
57182
57245
|
onClick: function onClick() {
|
|
57183
|
-
var _authdetailsContext$
|
|
57184
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57185
|
-
var _authdetailsContext$
|
|
57186
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57246
|
+
var _authdetailsContext$i15;
|
|
57247
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber) != null) {
|
|
57248
|
+
var _authdetailsContext$i16;
|
|
57249
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber), '_blank');
|
|
57187
57250
|
}
|
|
57188
57251
|
}
|
|
57189
57252
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
57190
57253
|
className: "h-100 allcentered"
|
|
57191
57254
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
57192
57255
|
size: sectionproperties.youtubebtniconfontsize
|
|
57256
|
+
}))), sectionproperties.tiktokshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57257
|
+
className: "".concat(footerStyles.tiktokbtn) + ' allcentered mx-2 ',
|
|
57258
|
+
onClick: function onClick() {
|
|
57259
|
+
var _authdetailsContext$i17;
|
|
57260
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.tiktoklink) != null) {
|
|
57261
|
+
var _authdetailsContext$i18;
|
|
57262
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.tiktoklink, '_blank');
|
|
57263
|
+
}
|
|
57264
|
+
}
|
|
57265
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
57266
|
+
className: "h-100 allcentered"
|
|
57267
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
57268
|
+
size: sectionproperties.tiktokbtniconfontsize
|
|
57193
57269
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57194
57270
|
className: "col-xl-6 col-lg-6 col-md-6 col-sm-12 d-flex flex-row align-items-center justify-content-end p-0 mb-sm-2"
|
|
57195
57271
|
}, sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|