tabexseriescomponents 0.2.766 → 0.2.768
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 +381 -493
- package/dist/index.esm.js +381 -493
- package/dist/index.umd.js +381 -493
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -3140,7 +3140,7 @@
|
|
|
3140
3140
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
3141
3141
|
}))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3142
3142
|
className: "".concat(productinfo_cssstyles.quantitybtn_text)
|
|
3143
|
-
}, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3143
|
+
}, parseFloat(addtocardpayloadobj.quantity).toFixed(2)), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3144
3144
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
3145
3145
|
onClick: function onClick() {
|
|
3146
3146
|
var _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41;
|
|
@@ -6477,7 +6477,7 @@
|
|
|
6477
6477
|
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; }
|
|
6478
6478
|
function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6479
6479
|
var Productinfo = function Productinfo(props) {
|
|
6480
|
-
var _css, _ref, _ref2, _ref3,
|
|
6480
|
+
var _css, _ref, _ref2, _ref3, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
6481
6481
|
var _useState = React.useState({}),
|
|
6482
6482
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
6483
6483
|
ProductInfoObj = _useState2[0],
|
|
@@ -6784,8 +6784,14 @@
|
|
|
6784
6784
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
6785
6785
|
}
|
|
6786
6786
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.quantitystepincrearse) != '') {
|
|
6787
|
-
var
|
|
6788
|
-
|
|
6787
|
+
var _authdetailsContext$i;
|
|
6788
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '66d6de1a1e04a') {
|
|
6789
|
+
var _fetchProductInfoQuer20;
|
|
6790
|
+
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.quantitystepincrearse);
|
|
6791
|
+
} else {
|
|
6792
|
+
var _fetchProductInfoQuer21;
|
|
6793
|
+
quantitystepincrearse = parseInt(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.quantitystepincrearse);
|
|
6794
|
+
}
|
|
6789
6795
|
}
|
|
6790
6796
|
tempaddtocardpayloadobj.quantity = quantitystepincrearse;
|
|
6791
6797
|
setaddtocardpayloadobj(_objectSpread$2w({}, tempaddtocardpayloadobj));
|
|
@@ -6991,15 +6997,15 @@
|
|
|
6991
6997
|
var forcetocheckoutvalue = forcetocheckout;
|
|
6992
6998
|
// alert(addtocardpayloadobj.quantity + 'sad');
|
|
6993
6999
|
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
6994
|
-
var
|
|
6995
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7000
|
+
var _fetchProductInfoQuer22;
|
|
7001
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.hasvariants) == 1) {
|
|
6996
7002
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
6997
7003
|
runfunc = true;
|
|
6998
7004
|
} else {
|
|
6999
|
-
var _authdetailsContext$
|
|
7005
|
+
var _authdetailsContext$i2;
|
|
7000
7006
|
// here
|
|
7001
7007
|
setvariantnotchosendisclaimer('This field is required');
|
|
7002
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7008
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
7003
7009
|
}
|
|
7004
7010
|
} else {
|
|
7005
7011
|
runfunc = true;
|
|
@@ -7008,16 +7014,16 @@
|
|
|
7008
7014
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
7009
7015
|
}
|
|
7010
7016
|
if (runfunc == true) {
|
|
7011
|
-
var
|
|
7017
|
+
var _fetchProductInfoQuer23, _fetchProductInfoQuer24;
|
|
7012
7018
|
var tempaddtocardpayloadobj = _objectSpread$2w({}, addtocardpayloadobj);
|
|
7013
|
-
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7014
|
-
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7019
|
+
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.isproductforcedtocheckout;
|
|
7020
|
+
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.vendorproviderid;
|
|
7015
7021
|
if (forcetocheckoutvalue != undefined) {
|
|
7016
7022
|
tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
7017
7023
|
}
|
|
7018
7024
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
7019
7025
|
if (Extrafieldvalidationresponse.status) {
|
|
7020
|
-
var
|
|
7026
|
+
var _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30;
|
|
7021
7027
|
// Pixel_EventsContext('AddToCart', {
|
|
7022
7028
|
// content_ids: [fetchProductInfoQueryContext?.data?.data?.productinfo?.productid],
|
|
7023
7029
|
// content_name: fetchProductInfoQueryContext?.data?.data?.productinfo?.name_en + ' - ' + fetchProductInfoQueryContext?.data?.data?.productinfo?.name_ar,
|
|
@@ -7028,17 +7034,17 @@
|
|
|
7028
7034
|
// quantity: addtocardpayloadobj.quantity,
|
|
7029
7035
|
// });
|
|
7030
7036
|
var finalprice = 0;
|
|
7031
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7037
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.hassale) == 1) {
|
|
7032
7038
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
7033
7039
|
} else {
|
|
7034
7040
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
7035
7041
|
}
|
|
7036
7042
|
Pixel_EventsContext('AddToCart', {
|
|
7037
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7038
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7039
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7043
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.productid],
|
|
7044
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.name_ar),
|
|
7045
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.sku,
|
|
7040
7046
|
content_type: 'product',
|
|
7041
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7047
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.currencyname_en,
|
|
7042
7048
|
value: finalprice,
|
|
7043
7049
|
quantity: addtocardpayloadobj.quantity
|
|
7044
7050
|
});
|
|
@@ -7047,12 +7053,12 @@
|
|
|
7047
7053
|
}
|
|
7048
7054
|
};
|
|
7049
7055
|
var validateextrafields = function validateextrafields() {
|
|
7050
|
-
var
|
|
7056
|
+
var _fetchProductInfoQuer31;
|
|
7051
7057
|
var tempaddtocardpayloadobj = _objectSpread$2w({}, addtocardpayloadobj);
|
|
7052
7058
|
var status = false;
|
|
7053
7059
|
var reason = '';
|
|
7054
7060
|
var missingitemsfound = [];
|
|
7055
|
-
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7061
|
+
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer31 === void 0 || (_fetchProductInfoQuer31 = _fetchProductInfoQuer31.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.productextrafields;
|
|
7056
7062
|
if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
|
|
7057
7063
|
status = true;
|
|
7058
7064
|
} else {
|
|
@@ -7092,9 +7098,9 @@
|
|
|
7092
7098
|
};
|
|
7093
7099
|
};
|
|
7094
7100
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
7095
|
-
var _authdetailsContext$
|
|
7101
|
+
var _authdetailsContext$i3;
|
|
7096
7102
|
var policyobj = {};
|
|
7097
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7103
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instpolicies) === null || _authdetailsContext$i3 === void 0 || _authdetailsContext$i3.forEach(function (item, index) {
|
|
7098
7104
|
if (item.policytype == policytype) {
|
|
7099
7105
|
policyobj = item;
|
|
7100
7106
|
}
|
|
@@ -7668,23 +7674,23 @@
|
|
|
7668
7674
|
}
|
|
7669
7675
|
}));
|
|
7670
7676
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
7671
|
-
var
|
|
7677
|
+
var _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35;
|
|
7672
7678
|
var price = 0;
|
|
7673
7679
|
var quantity = 0;
|
|
7674
7680
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
7675
7681
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
7676
7682
|
}
|
|
7677
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7683
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productquantityoptions) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.length) != 0) {
|
|
7678
7684
|
fetchProductInfoQueryContext.data.data.productinfo.productquantityoptions;
|
|
7679
7685
|
}
|
|
7680
7686
|
if (type == 'defaultprice') {
|
|
7681
7687
|
price = fetchProductInfoQueryContext.data.data.productinfo.defaultprice;
|
|
7682
7688
|
if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
|
|
7683
7689
|
if (variantindexcompleted != undefined) {
|
|
7684
|
-
var
|
|
7685
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7686
|
-
var
|
|
7687
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7690
|
+
var _fetchProductInfoQuer36;
|
|
7691
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.variants[variantindexcompleted]) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.variantprice) != undefined) {
|
|
7692
|
+
var _fetchProductInfoQuer37;
|
|
7693
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.variants[variantindexcompleted]) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.variantprice;
|
|
7688
7694
|
}
|
|
7689
7695
|
}
|
|
7690
7696
|
}
|
|
@@ -7692,10 +7698,10 @@
|
|
|
7692
7698
|
price = fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice;
|
|
7693
7699
|
if (fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1) {
|
|
7694
7700
|
if (variantindexcompleted != undefined) {
|
|
7695
|
-
var
|
|
7696
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7697
|
-
var
|
|
7698
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7701
|
+
var _fetchProductInfoQuer38;
|
|
7702
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.variants[variantindexcompleted]) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.variantsaleprice) != undefined) {
|
|
7703
|
+
var _fetchProductInfoQuer39;
|
|
7704
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.variants[variantindexcompleted]) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.variantsaleprice;
|
|
7699
7705
|
}
|
|
7700
7706
|
}
|
|
7701
7707
|
}
|
|
@@ -7730,7 +7736,7 @@
|
|
|
7730
7736
|
}
|
|
7731
7737
|
};
|
|
7732
7738
|
var getQuantityCondition = function getQuantityCondition() {
|
|
7733
|
-
var
|
|
7739
|
+
var _fetchProductInfoQuer40;
|
|
7734
7740
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7735
7741
|
"class": "col-lg-12 p-0",
|
|
7736
7742
|
style: {
|
|
@@ -7760,12 +7766,12 @@
|
|
|
7760
7766
|
height: 1,
|
|
7761
7767
|
background: sectionproperties.pricelisttitlecolor
|
|
7762
7768
|
}
|
|
7763
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7764
|
-
var
|
|
7769
|
+
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productquantityoptions) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.map(function (item, index) {
|
|
7770
|
+
var _fetchProductInfoQuer41;
|
|
7765
7771
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7766
7772
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
7767
7773
|
style: {
|
|
7768
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7774
|
+
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productquantityoptions) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.length) - 1 != index ? '1rem' : 0
|
|
7769
7775
|
}
|
|
7770
7776
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7771
7777
|
"class": "d-flex align-items-center",
|
|
@@ -7799,7 +7805,7 @@
|
|
|
7799
7805
|
})));
|
|
7800
7806
|
};
|
|
7801
7807
|
var StoreInfo = function StoreInfo(position) {
|
|
7802
|
-
var
|
|
7808
|
+
var _fetchProductInfoQuer42, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i8;
|
|
7803
7809
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7804
7810
|
"class": "row m-0 w-100"
|
|
7805
7811
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -7846,7 +7852,7 @@
|
|
|
7846
7852
|
style: {
|
|
7847
7853
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
7848
7854
|
}
|
|
7849
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7855
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productquantityoptions) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7850
7856
|
"class": "col-lg-12 p-0 mb-4"
|
|
7851
7857
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7852
7858
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -7874,8 +7880,8 @@
|
|
|
7874
7880
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7875
7881
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
7876
7882
|
onClick: function onClick() {
|
|
7877
|
-
var _authdetailsContext$
|
|
7878
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7883
|
+
var _authdetailsContext$i4;
|
|
7884
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.contactinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.email), '_self');
|
|
7879
7885
|
}
|
|
7880
7886
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7881
7887
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -7895,7 +7901,7 @@
|
|
|
7895
7901
|
style: {
|
|
7896
7902
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
7897
7903
|
}
|
|
7898
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7904
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.contactinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7899
7905
|
"class": "row m-0 w-100"
|
|
7900
7906
|
}, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7901
7907
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
@@ -7906,25 +7912,25 @@
|
|
|
7906
7912
|
}
|
|
7907
7913
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7908
7914
|
"class": "m-0 p-0"
|
|
7909
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7915
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.contactinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7910
7916
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
7911
7917
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7912
7918
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
7913
7919
|
onClick: function onClick() {
|
|
7914
|
-
var _authdetailsContext$
|
|
7915
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7920
|
+
var _authdetailsContext$i7;
|
|
7921
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.email), '_self');
|
|
7916
7922
|
}
|
|
7917
7923
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7918
7924
|
"class": "m-0 p-0"
|
|
7919
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7925
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7920
7926
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
7921
7927
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
7922
7928
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
7923
7929
|
onClick: function onClick() {
|
|
7924
|
-
var _authdetailsContext$
|
|
7925
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7926
|
-
var _authdetailsContext$
|
|
7927
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7930
|
+
var _authdetailsContext$i9;
|
|
7931
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.whatsappnumber) != null) {
|
|
7932
|
+
var _authdetailsContext$i10;
|
|
7933
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.whatsappnumber), '_blank');
|
|
7928
7934
|
}
|
|
7929
7935
|
}
|
|
7930
7936
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -8034,7 +8040,7 @@
|
|
|
8034
8040
|
style: {
|
|
8035
8041
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
8036
8042
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
8037
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8043
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.productinfo) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.product_videos) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer49 === void 0 || (_fetchProductInfoQuer49 = _fetchProductInfoQuer49.productinfo) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.product_videos) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.length) == 0 ? 'none' : 'flex'
|
|
8038
8044
|
}
|
|
8039
8045
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8040
8046
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -8096,12 +8102,12 @@
|
|
|
8096
8102
|
onClick: function onClick() {
|
|
8097
8103
|
settabname('refundpolicytab');
|
|
8098
8104
|
}
|
|
8099
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8105
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.product_videos) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8100
8106
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
8101
8107
|
onClick: function onClick() {
|
|
8102
8108
|
settabname('videostab');
|
|
8103
8109
|
}
|
|
8104
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8110
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.productinfo) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8105
8111
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
8106
8112
|
onClick: function onClick() {
|
|
8107
8113
|
settabname('reviewstab');
|
|
@@ -8155,12 +8161,12 @@
|
|
|
8155
8161
|
onClick: function onClick() {
|
|
8156
8162
|
settabname('refundpolicytab');
|
|
8157
8163
|
}
|
|
8158
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8164
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.product_videos) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8159
8165
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
8160
8166
|
onClick: function onClick() {
|
|
8161
8167
|
settabname('videostab');
|
|
8162
8168
|
}
|
|
8163
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8169
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer54 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.data) === null || _fetchProductInfoQuer54 === void 0 || (_fetchProductInfoQuer54 = _fetchProductInfoQuer54.productinfo) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
8164
8170
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
8165
8171
|
onClick: function onClick() {
|
|
8166
8172
|
settabname('reviewstab');
|
|
@@ -28684,8 +28690,266 @@
|
|
|
28684
28690
|
|
|
28685
28691
|
function ownKeys$1$(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; }
|
|
28686
28692
|
function _objectSpread$1$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1$(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28693
|
+
var FloatingIcons = function FloatingIcons(props) {
|
|
28694
|
+
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
28695
|
+
var _useState = React.useState(''),
|
|
28696
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
28697
|
+
sectionproperties = _useState2[0],
|
|
28698
|
+
setsectionproperties = _useState2[1];
|
|
28699
|
+
var langdetect = props.actions.langdetect;
|
|
28700
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
28701
|
+
var routingcountext = props.actions.routingcountext;
|
|
28702
|
+
React.useEffect(function () {
|
|
28703
|
+
if (props.sectionpropertiesprops != undefined) {
|
|
28704
|
+
setsectionproperties(_objectSpread$1$({}, props.sectionpropertiesprops));
|
|
28705
|
+
}
|
|
28706
|
+
}, [props.sectionpropertiesprops]);
|
|
28707
|
+
var header_cssstyles = {
|
|
28708
|
+
floatingwaicon: glamor.css({
|
|
28709
|
+
position: 'fixed',
|
|
28710
|
+
zIndex: 999999,
|
|
28711
|
+
transition: 'all 0.3s ease-out',
|
|
28712
|
+
bottom: sectionproperties.floatingwhatsapppositionfrombottom + 'px',
|
|
28713
|
+
right: langdetect == 'en' ? sectionproperties.floatingwhatsapppositionfromright + 'px' : '',
|
|
28714
|
+
left: langdetect == 'ar' ? sectionproperties.floatingwhatsapppositionfromright + 'px' : '',
|
|
28715
|
+
width: sectionproperties.floatingwhatsappiconwidth + 'px',
|
|
28716
|
+
height: sectionproperties.floatingwhatappiconheight + 'px',
|
|
28717
|
+
background: sectionproperties.floatingwhatappiconbgcolor,
|
|
28718
|
+
borderRadius: sectionproperties.floatingwhatsappiconborderradius + 'px',
|
|
28719
|
+
fontSize: sectionproperties.floatingwhatsappiconfontsize + 'px',
|
|
28720
|
+
color: sectionproperties.floatingwhatsappiconcolor,
|
|
28721
|
+
':hover': {
|
|
28722
|
+
color: sectionproperties.floatingwhatsappiconcoloronhover,
|
|
28723
|
+
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
28724
|
+
}
|
|
28725
|
+
}),
|
|
28726
|
+
waicon: glamor.css({
|
|
28727
|
+
color: sectionproperties.floatingwhatsappiconcolor,
|
|
28728
|
+
':hover': {
|
|
28729
|
+
color: sectionproperties.floatingwhatsappiconcoloronhover
|
|
28730
|
+
}
|
|
28731
|
+
}),
|
|
28732
|
+
fbfloatingicon: glamor.css({
|
|
28733
|
+
position: 'fixed',
|
|
28734
|
+
zIndex: 999999,
|
|
28735
|
+
transition: 'all 0.3s ease-out',
|
|
28736
|
+
bottom: sectionproperties.floatingfbfrombottom + 'px',
|
|
28737
|
+
width: sectionproperties.floatingfbiconwidth + 'px',
|
|
28738
|
+
height: sectionproperties.floatingfbiconheight + 'px',
|
|
28739
|
+
background: sectionproperties.floatingfbiconbgcolor,
|
|
28740
|
+
borderRadius: sectionproperties.floatingfbiconborderradius + 'px',
|
|
28741
|
+
fontSize: sectionproperties.floatingfbiconfontsize + 'px',
|
|
28742
|
+
color: sectionproperties.floatingfbiconiconcolor,
|
|
28743
|
+
':hover': {
|
|
28744
|
+
color: sectionproperties.floatingfbiconiconcoloronhover,
|
|
28745
|
+
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
28746
|
+
}
|
|
28747
|
+
}),
|
|
28748
|
+
fbfloatingiconen: glamor.css({
|
|
28749
|
+
right: sectionproperties.floatingfbfromright + 'px'
|
|
28750
|
+
}),
|
|
28751
|
+
fbfloatingiconar: glamor.css({
|
|
28752
|
+
left: sectionproperties.floatingfbfromright + 'px'
|
|
28753
|
+
}),
|
|
28754
|
+
instagramfloatingicon: glamor.css({
|
|
28755
|
+
position: 'fixed',
|
|
28756
|
+
zIndex: 999999,
|
|
28757
|
+
transition: 'all 0.3s ease-out',
|
|
28758
|
+
bottom: sectionproperties.floatinginstagramfrombottom + 'px',
|
|
28759
|
+
width: sectionproperties.floatinginstagramiconwidth + 'px',
|
|
28760
|
+
height: sectionproperties.floatinginstagramiconheight + 'px',
|
|
28761
|
+
background: sectionproperties.floatinginstagramiconbgcolor,
|
|
28762
|
+
borderRadius: sectionproperties.floatinginstagramiconborderradius + 'px',
|
|
28763
|
+
color: sectionproperties.floatinginstagramiconiconcolor,
|
|
28764
|
+
':hover': {
|
|
28765
|
+
color: sectionproperties.floatinginstagramiconiconcoloronhover,
|
|
28766
|
+
background: sectionproperties.floatinginstagramiconbgcoloronhover
|
|
28767
|
+
}
|
|
28768
|
+
}),
|
|
28769
|
+
instagramfloatingiconen: glamor.css({
|
|
28770
|
+
right: sectionproperties.floatinginstagramfromright + 'px'
|
|
28771
|
+
}),
|
|
28772
|
+
instagramfloatingiconar: glamor.css({
|
|
28773
|
+
left: sectionproperties.floatinginstagramfromright + 'px'
|
|
28774
|
+
}),
|
|
28775
|
+
tiktokfloatingicon: glamor.css({
|
|
28776
|
+
position: 'fixed',
|
|
28777
|
+
zIndex: 999999,
|
|
28778
|
+
transition: 'all 0.3s ease-out',
|
|
28779
|
+
bottom: sectionproperties.tiktokfloatingiconfrombottom + 'px',
|
|
28780
|
+
width: sectionproperties.tiktokfloatingiconiconwidth + 'px',
|
|
28781
|
+
height: sectionproperties.tiktokfloatingiconheight + 'px',
|
|
28782
|
+
background: sectionproperties.tiktokfloatingiconbgcolor,
|
|
28783
|
+
borderRadius: sectionproperties.tiktokfloatingiconborderradius + 'px',
|
|
28784
|
+
color: sectionproperties.tiktokfloatingiconcolor,
|
|
28785
|
+
':hover': {
|
|
28786
|
+
color: sectionproperties.tiktokfloatingiconcoloronhover,
|
|
28787
|
+
background: sectionproperties.tiktokfloatingiconbgcoloronhover
|
|
28788
|
+
}
|
|
28789
|
+
}),
|
|
28790
|
+
tiktokfloatingiconen: glamor.css({
|
|
28791
|
+
right: sectionproperties.tiktokfloatingiconfromright + 'px'
|
|
28792
|
+
}),
|
|
28793
|
+
tiktokfloatingiconar: glamor.css({
|
|
28794
|
+
left: sectionproperties.tiktokfloatingiconfromright + 'px'
|
|
28795
|
+
}),
|
|
28796
|
+
floatingbtn: glamor.css({
|
|
28797
|
+
position: 'fixed',
|
|
28798
|
+
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
28799
|
+
zIndex: 999999,
|
|
28800
|
+
transition: 'all 0.3s ease-out',
|
|
28801
|
+
width: sectionproperties.floatingbtnwidth + 'px',
|
|
28802
|
+
height: sectionproperties.floatingbtnheight + 'px',
|
|
28803
|
+
background: sectionproperties.floatingbtnbg,
|
|
28804
|
+
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
28805
|
+
color: sectionproperties.floatingbtncolor,
|
|
28806
|
+
borderRadius: sectionproperties.floatingbuttonborderradius + 'px',
|
|
28807
|
+
':hover': {
|
|
28808
|
+
color: sectionproperties.floatingbtncolorhover,
|
|
28809
|
+
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
28810
|
+
transitions: '.3s',
|
|
28811
|
+
cursor: 'pointer'
|
|
28812
|
+
}
|
|
28813
|
+
// '@media (max-width: 800px)': {
|
|
28814
|
+
// width: '50%',
|
|
28815
|
+
// },
|
|
28816
|
+
}),
|
|
28817
|
+
floatingbtnen: glamor.css({
|
|
28818
|
+
right: sectionproperties.floatingbtnfromright + 'px'
|
|
28819
|
+
}),
|
|
28820
|
+
floatingbtnar: glamor.css({
|
|
28821
|
+
left: sectionproperties.floatingbtnfromright + 'px'
|
|
28822
|
+
}),
|
|
28823
|
+
callbtn: glamor.css({
|
|
28824
|
+
position: 'fixed',
|
|
28825
|
+
zIndex: 999999,
|
|
28826
|
+
transition: 'all 0.3s ease-out',
|
|
28827
|
+
width: sectionproperties.callfloatingiconiconwidth + 'px',
|
|
28828
|
+
height: sectionproperties.callfloatingiconiconheight + 'px',
|
|
28829
|
+
background: sectionproperties.callfloatingbgcolor,
|
|
28830
|
+
borderRadius: sectionproperties.callfloatingiconiconborderradius + 'px',
|
|
28831
|
+
color: sectionproperties.callfloatingcolor,
|
|
28832
|
+
':hover': {
|
|
28833
|
+
color: sectionproperties.callfloatingcoloronhover,
|
|
28834
|
+
background: sectionproperties.callfloatingbgcoloronhover
|
|
28835
|
+
}
|
|
28836
|
+
}),
|
|
28837
|
+
callbtnen: glamor.css(_defineProperty__default["default"]({
|
|
28838
|
+
right: sectionproperties.callppositionfromright + 'px'
|
|
28839
|
+
}, "right", '20px')),
|
|
28840
|
+
callbtnar: glamor.css({
|
|
28841
|
+
left: sectionproperties.callppositionfromright + 'px'
|
|
28842
|
+
})
|
|
28843
|
+
};
|
|
28844
|
+
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessageen);
|
|
28845
|
+
var whatsappUrl_ar = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessagear);
|
|
28846
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28847
|
+
"class": '',
|
|
28848
|
+
style: {
|
|
28849
|
+
position: 'relative'
|
|
28850
|
+
}
|
|
28851
|
+
}, sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28852
|
+
"class": header_cssstyles.floatingwaicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
28853
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
28854
|
+
href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
|
|
28855
|
+
target: "_blank",
|
|
28856
|
+
rel: "noopener noreferrer",
|
|
28857
|
+
style: {},
|
|
28858
|
+
"class": header_cssstyles.waicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
28859
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
28860
|
+
size: sectionproperties.floatingwhatsappiconiconfontsize
|
|
28861
|
+
}), sectionproperties.floatingwhatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
28862
|
+
"class": langdetect == 'en' ? 'ml-1' : 'mr-1'
|
|
28863
|
+
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar))), sectionproperties.showfloatingfbbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28864
|
+
"class": langdetect == 'en' ? "".concat(header_cssstyles.fbfloatingicon, " ").concat(header_cssstyles.fbfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.fbfloatingicon, " ").concat(header_cssstyles.fbfloatingiconar) + ' allcentered cursor-pointer ',
|
|
28865
|
+
onClick: function onClick() {
|
|
28866
|
+
var _authdetailsContext$i3;
|
|
28867
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
|
|
28868
|
+
var _authdetailsContext$i4;
|
|
28869
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
|
|
28870
|
+
}
|
|
28871
|
+
}
|
|
28872
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
28873
|
+
size: sectionproperties.floatingfbiconiconsize
|
|
28874
|
+
})), sectionproperties.instagramfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28875
|
+
"class": langdetect == 'en' ? "".concat(header_cssstyles.instagramfloatingicon, " ").concat(header_cssstyles.instagramfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.instagramfloatingicon, " ").concat(header_cssstyles.instagramfloatingiconar) + ' allcentered cursor-pointer ',
|
|
28876
|
+
onClick: function onClick() {
|
|
28877
|
+
var _authdetailsContext$i5;
|
|
28878
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
28879
|
+
var _authdetailsContext$i6;
|
|
28880
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
28881
|
+
}
|
|
28882
|
+
}
|
|
28883
|
+
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
28884
|
+
size: sectionproperties.floatinginstagramiconiconsize
|
|
28885
|
+
})), sectionproperties.tiktonfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28886
|
+
"class": langdetect == 'en' ? "".concat(header_cssstyles.tiktokfloatingicon, " ").concat(header_cssstyles.tiktokfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.tiktokfloatingicon, " ").concat(header_cssstyles.tiktokfloatingiconar) + ' allcentered cursor-pointer ',
|
|
28887
|
+
onClick: function onClick() {
|
|
28888
|
+
var _authdetailsContext$i7;
|
|
28889
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
|
|
28890
|
+
var _authdetailsContext$i8;
|
|
28891
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink, '_blank');
|
|
28892
|
+
}
|
|
28893
|
+
}
|
|
28894
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
28895
|
+
size: sectionproperties.tiktokfloatingiconiconfontsize
|
|
28896
|
+
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28897
|
+
"class": langdetect == 'en' ? "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnar) + ' allcentered cursor-pointer ',
|
|
28898
|
+
style: {},
|
|
28899
|
+
onClick: function onClick() {
|
|
28900
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
28901
|
+
}
|
|
28902
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28903
|
+
"class": "m-0 p-0"
|
|
28904
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), sectionproperties.showfloatingbtn == 'Show when logged in' && authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28905
|
+
style: {
|
|
28906
|
+
position: 'fixed',
|
|
28907
|
+
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
28908
|
+
right: langdetect == 'en' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
28909
|
+
left: langdetect == 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
28910
|
+
zIndex: 2000,
|
|
28911
|
+
transition: 'all 0.3s ease-out',
|
|
28912
|
+
width: '100%'
|
|
28913
|
+
},
|
|
28914
|
+
"class": "text-end"
|
|
28915
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28916
|
+
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
28917
|
+
style: {},
|
|
28918
|
+
onClick: function onClick() {
|
|
28919
|
+
if (sectionproperties.btnlinktype == 'Website Link') {
|
|
28920
|
+
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
28921
|
+
} else {
|
|
28922
|
+
window.open(sectionproperties.floatingbtnlink, '_blank');
|
|
28923
|
+
|
|
28924
|
+
// routingcountext(sectionproperties.floatingbtnlink, true, '');
|
|
28925
|
+
}
|
|
28926
|
+
}
|
|
28927
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
28928
|
+
"class": "m-0 p-0"
|
|
28929
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfloatingcallbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
28930
|
+
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
28931
|
+
target: '_self',
|
|
28932
|
+
style: {
|
|
28933
|
+
position: 'fixed',
|
|
28934
|
+
bottom: sectionproperties.callppositionfrombottom + 'px',
|
|
28935
|
+
zIndex: 999999,
|
|
28936
|
+
transition: 'all 0.3s ease-out'
|
|
28937
|
+
},
|
|
28938
|
+
"class": langdetect == 'en' ? "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnen) + ' allcentered ' : "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnar) + ' allcentered '
|
|
28939
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
28940
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
28941
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
28942
|
+
size: sectionproperties.callfloatingiconfontsize,
|
|
28943
|
+
style: {
|
|
28944
|
+
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
28945
|
+
}
|
|
28946
|
+
}))));
|
|
28947
|
+
};
|
|
28948
|
+
|
|
28949
|
+
function ownKeys$1_(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; }
|
|
28950
|
+
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28687
28951
|
var ClassicHeader = function ClassicHeader(props) {
|
|
28688
|
-
var
|
|
28952
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _templatepropcontext$;
|
|
28689
28953
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
28690
28954
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
28691
28955
|
var setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
|
|
@@ -28720,7 +28984,7 @@
|
|
|
28720
28984
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
28721
28985
|
});
|
|
28722
28986
|
}
|
|
28723
|
-
setsectionproperties(_objectSpread$
|
|
28987
|
+
setsectionproperties(_objectSpread$1_({}, secpropobj));
|
|
28724
28988
|
}, [StatePagePropertiesContext]);
|
|
28725
28989
|
var _useState3 = React.useState([]),
|
|
28726
28990
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -28977,74 +29241,10 @@
|
|
|
28977
29241
|
sectionpropertiesprops: sectionproperties,
|
|
28978
29242
|
templateproperties_contextprops: templateproperties_context,
|
|
28979
29243
|
actions: actions
|
|
28980
|
-
}),
|
|
28981
|
-
|
|
28982
|
-
|
|
28983
|
-
|
|
28984
|
-
position: 'fixed',
|
|
28985
|
-
bottom: 10,
|
|
28986
|
-
right: 10,
|
|
28987
|
-
zIndex: 999999,
|
|
28988
|
-
transition: 'all 0.3s ease-out'
|
|
28989
|
-
}
|
|
28990
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
28991
|
-
style: {
|
|
28992
|
-
width: 40,
|
|
28993
|
-
height: 40,
|
|
28994
|
-
borderRadius: 100,
|
|
28995
|
-
background: '#25D366',
|
|
28996
|
-
cursor: 'pointer'
|
|
28997
|
-
}
|
|
28998
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
28999
|
-
"class": "h-100 allcentered"
|
|
29000
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
29001
|
-
size: 25,
|
|
29002
|
-
color: '#fff'
|
|
29003
|
-
})))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
29004
|
-
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
29005
|
-
target: '_blank',
|
|
29006
|
-
style: {
|
|
29007
|
-
position: 'fixed',
|
|
29008
|
-
bottom: 60,
|
|
29009
|
-
right: 10,
|
|
29010
|
-
zIndex: 999999,
|
|
29011
|
-
transition: 'all 0.3s ease-out'
|
|
29012
|
-
}
|
|
29013
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29014
|
-
style: {
|
|
29015
|
-
width: 40,
|
|
29016
|
-
height: 40,
|
|
29017
|
-
borderRadius: 100,
|
|
29018
|
-
background: '#000',
|
|
29019
|
-
cursor: 'pointer'
|
|
29020
|
-
}
|
|
29021
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
29022
|
-
"class": "h-100 allcentered"
|
|
29023
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlinePhone.AiOutlinePhone, {
|
|
29024
|
-
size: 25,
|
|
29025
|
-
color: '#fff',
|
|
29026
|
-
style: {
|
|
29027
|
-
transform: langdetect == 'en' ? 'scaleX(-1)' : 'scaleX(1)'
|
|
29028
|
-
}
|
|
29029
|
-
})))), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29030
|
-
style: {
|
|
29031
|
-
position: 'fixed',
|
|
29032
|
-
bottom: 15,
|
|
29033
|
-
right: 15,
|
|
29034
|
-
zIndex: 2000,
|
|
29035
|
-
transition: 'all 0.3s ease-out',
|
|
29036
|
-
width: '100%'
|
|
29037
|
-
},
|
|
29038
|
-
"class": "text-end"
|
|
29039
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29040
|
-
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
29041
|
-
style: {},
|
|
29042
|
-
onClick: function onClick() {
|
|
29043
|
-
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
29044
|
-
}
|
|
29045
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29046
|
-
"class": "m-0 p-0"
|
|
29047
|
-
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29244
|
+
}), /*#__PURE__*/React__default["default"].createElement(FloatingIcons, {
|
|
29245
|
+
sectionpropertiesprops: sectionproperties,
|
|
29246
|
+
actions: actions
|
|
29247
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29048
29248
|
"class": "row m-0",
|
|
29049
29249
|
style: {
|
|
29050
29250
|
width: sectionproperties.header_width + 'vw'
|
|
@@ -29350,24 +29550,16 @@
|
|
|
29350
29550
|
"class": ' d-flex align-items-center justify-content-center '
|
|
29351
29551
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29352
29552
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
29353
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
29354
|
-
|
|
29355
|
-
|
|
29356
|
-
maxWidth: '2.2vh',
|
|
29357
|
-
maxHeight: '2.2vh'
|
|
29358
|
-
}
|
|
29359
|
-
}), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
29553
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
29554
|
+
"class": "mx-2"
|
|
29555
|
+
}, sectionproperties.englishlanguagetext), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
29360
29556
|
"class": "ml-2 mr-2",
|
|
29361
29557
|
size: sectionproperties.language_container_fontsize
|
|
29362
29558
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29363
29559
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
29364
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
29365
|
-
|
|
29366
|
-
|
|
29367
|
-
maxWidth: '2.2vh',
|
|
29368
|
-
maxHeight: '2.2vh'
|
|
29369
|
-
}
|
|
29370
|
-
}), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
29560
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
29561
|
+
"class": "mx-2"
|
|
29562
|
+
}, sectionproperties.arabiclanguagetext), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
29371
29563
|
"class": "ml-2 mr-2",
|
|
29372
29564
|
size: sectionproperties.language_container_fontsize
|
|
29373
29565
|
})))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
@@ -29383,13 +29575,7 @@
|
|
|
29383
29575
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
29384
29576
|
textTransform: sectionproperties.dropdown_texttransform
|
|
29385
29577
|
}
|
|
29386
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
29387
|
-
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
29388
|
-
style: {
|
|
29389
|
-
maxWidth: '2vh',
|
|
29390
|
-
maxHeight: '2vh'
|
|
29391
|
-
}
|
|
29392
|
-
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
29578
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
29393
29579
|
"class": 'ml-2 mr-2'
|
|
29394
29580
|
}, 'لغة عربية')))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Divider, null), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
29395
29581
|
onClick: function onClick() {
|
|
@@ -29404,13 +29590,7 @@
|
|
|
29404
29590
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
29405
29591
|
textTransform: sectionproperties.dropdown_texttransform
|
|
29406
29592
|
}
|
|
29407
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
29408
|
-
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
29409
|
-
style: {
|
|
29410
|
-
maxWidth: '2vh',
|
|
29411
|
-
maxHeight: '2vh'
|
|
29412
|
-
}
|
|
29413
|
-
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
29593
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
29414
29594
|
"class": 'ml-2 mr-2'
|
|
29415
29595
|
}, 'English')))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29416
29596
|
"class": "col-lg-12 allcentered p-0"
|
|
@@ -29901,8 +30081,8 @@
|
|
|
29901
30081
|
var headerstyles$b = {"header_container":"CTAHeader-module_header_container__In9j3","topbar_item_container":"CTAHeader-module_topbar_item_container__yiKBc","badge_counter_header_notifications":"CTAHeader-module_badge_counter_header_notifications__LwrZ5","searchbar":"CTAHeader-module_searchbar__lDR8a","searchbaractive":"CTAHeader-module_searchbaractive__mPoEm"};
|
|
29902
30082
|
styleInject(css_248z$x);
|
|
29903
30083
|
|
|
29904
|
-
function ownKeys$
|
|
29905
|
-
function _objectSpread$
|
|
30084
|
+
function ownKeys$1Z(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; }
|
|
30085
|
+
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29906
30086
|
var CTAHeader = function CTAHeader(props) {
|
|
29907
30087
|
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i14, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i22;
|
|
29908
30088
|
var actions = props.actions;
|
|
@@ -29950,7 +30130,7 @@
|
|
|
29950
30130
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
29951
30131
|
});
|
|
29952
30132
|
}
|
|
29953
|
-
setsectionproperties(_objectSpread$
|
|
30133
|
+
setsectionproperties(_objectSpread$1Z({}, secpropobj));
|
|
29954
30134
|
}, [StatePagePropertiesContext]);
|
|
29955
30135
|
React.useEffect(function () {
|
|
29956
30136
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -31008,8 +31188,8 @@
|
|
|
31008
31188
|
var headerstyles$a = {"header_innercontainer":"Header_threesectionslogocentered-module_header_innercontainer__yjjgZ","navbar_item":"Header_threesectionslogocentered-module_navbar_item__YMaF8","navbar_item_text":"Header_threesectionslogocentered-module_navbar_item_text__0DPls","navbar_item_active":"Header_threesectionslogocentered-module_navbar_item_active__ladUm","searchbarcont":"Header_threesectionslogocentered-module_searchbarcont__9MNXO","badge_counter_header_notifications":"Header_threesectionslogocentered-module_badge_counter_header_notifications__qekYU","searchbar":"Header_threesectionslogocentered-module_searchbar__5KdKx","searchbaractive":"Header_threesectionslogocentered-module_searchbaractive__8Pp-9"};
|
|
31009
31189
|
styleInject(css_248z$w);
|
|
31010
31190
|
|
|
31011
|
-
function ownKeys$
|
|
31012
|
-
function _objectSpread$
|
|
31191
|
+
function ownKeys$1Y(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; }
|
|
31192
|
+
function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
31013
31193
|
var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
|
|
31014
31194
|
var _authdetailsContext$i3, _authdetailsContext$i10, _authdetailsContext$i12, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i14, _authdetailsContext$i15;
|
|
31015
31195
|
var _useState = React.useState(''),
|
|
@@ -31051,7 +31231,7 @@
|
|
|
31051
31231
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
31052
31232
|
});
|
|
31053
31233
|
}
|
|
31054
|
-
setsectionproperties(_objectSpread$
|
|
31234
|
+
setsectionproperties(_objectSpread$1Y({}, secpropobj));
|
|
31055
31235
|
}, [StatePagePropertiesContext]);
|
|
31056
31236
|
var _useState5 = React.useState([]),
|
|
31057
31237
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -32094,264 +32274,6 @@
|
|
|
32094
32274
|
var headerstyles$9 = {"headercontainer":"Simpleheader-module_headercontainer__H09AD","navbar":"Simpleheader-module_navbar__lLQ9F","header_cart":"Simpleheader-module_header_cart__GG895","header_badge":"Simpleheader-module_header_badge__cW4uV","nav__item":"Simpleheader-module_nav__item__txPCh","link":"Simpleheader-module_link__aI5DF","badge_counter_header_notifications":"Simpleheader-module_badge_counter_header_notifications__9NFCv","searchbar":"Simpleheader-module_searchbar__-iAVU","searchbaractive":"Simpleheader-module_searchbaractive__9RFRQ"};
|
|
32095
32275
|
styleInject(css_248z$v);
|
|
32096
32276
|
|
|
32097
|
-
function ownKeys$1Y(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; }
|
|
32098
|
-
function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32099
|
-
var FloatingIcons = function FloatingIcons(props) {
|
|
32100
|
-
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
32101
|
-
var _useState = React.useState(''),
|
|
32102
|
-
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
32103
|
-
sectionproperties = _useState2[0],
|
|
32104
|
-
setsectionproperties = _useState2[1];
|
|
32105
|
-
var langdetect = props.actions.langdetect;
|
|
32106
|
-
var authdetailsContext = props.actions.authdetailsContext;
|
|
32107
|
-
var routingcountext = props.actions.routingcountext;
|
|
32108
|
-
React.useEffect(function () {
|
|
32109
|
-
if (props.sectionpropertiesprops != undefined) {
|
|
32110
|
-
setsectionproperties(_objectSpread$1Y({}, props.sectionpropertiesprops));
|
|
32111
|
-
}
|
|
32112
|
-
}, [props.sectionpropertiesprops]);
|
|
32113
|
-
var header_cssstyles = {
|
|
32114
|
-
floatingwaicon: glamor.css({
|
|
32115
|
-
position: 'fixed',
|
|
32116
|
-
zIndex: 999999,
|
|
32117
|
-
transition: 'all 0.3s ease-out',
|
|
32118
|
-
bottom: sectionproperties.floatingwhatsapppositionfrombottom + 'px',
|
|
32119
|
-
right: langdetect == 'en' ? sectionproperties.floatingwhatsapppositionfromright + 'px' : '',
|
|
32120
|
-
left: langdetect == 'ar' ? sectionproperties.floatingwhatsapppositionfromright + 'px' : '',
|
|
32121
|
-
width: sectionproperties.floatingwhatsappiconwidth + 'px',
|
|
32122
|
-
height: sectionproperties.floatingwhatappiconheight + 'px',
|
|
32123
|
-
background: sectionproperties.floatingwhatappiconbgcolor,
|
|
32124
|
-
borderRadius: sectionproperties.floatingwhatsappiconborderradius + 'px',
|
|
32125
|
-
fontSize: sectionproperties.floatingwhatsappiconfontsize + 'px',
|
|
32126
|
-
color: sectionproperties.floatingwhatsappiconcolor,
|
|
32127
|
-
':hover': {
|
|
32128
|
-
color: sectionproperties.floatingwhatsappiconcoloronhover,
|
|
32129
|
-
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
32130
|
-
}
|
|
32131
|
-
}),
|
|
32132
|
-
waicon: glamor.css({
|
|
32133
|
-
color: sectionproperties.floatingwhatsappiconcolor,
|
|
32134
|
-
':hover': {
|
|
32135
|
-
color: sectionproperties.floatingwhatsappiconcoloronhover
|
|
32136
|
-
}
|
|
32137
|
-
}),
|
|
32138
|
-
fbfloatingicon: glamor.css({
|
|
32139
|
-
position: 'fixed',
|
|
32140
|
-
zIndex: 999999,
|
|
32141
|
-
transition: 'all 0.3s ease-out',
|
|
32142
|
-
bottom: sectionproperties.floatingfbfrombottom + 'px',
|
|
32143
|
-
width: sectionproperties.floatingfbiconwidth + 'px',
|
|
32144
|
-
height: sectionproperties.floatingfbiconheight + 'px',
|
|
32145
|
-
background: sectionproperties.floatingfbiconbgcolor,
|
|
32146
|
-
borderRadius: sectionproperties.floatingfbiconborderradius + 'px',
|
|
32147
|
-
fontSize: sectionproperties.floatingfbiconfontsize + 'px',
|
|
32148
|
-
color: sectionproperties.floatingfbiconiconcolor,
|
|
32149
|
-
':hover': {
|
|
32150
|
-
color: sectionproperties.floatingfbiconiconcoloronhover,
|
|
32151
|
-
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
32152
|
-
}
|
|
32153
|
-
}),
|
|
32154
|
-
fbfloatingiconen: glamor.css({
|
|
32155
|
-
right: sectionproperties.floatingfbfromright + 'px'
|
|
32156
|
-
}),
|
|
32157
|
-
fbfloatingiconar: glamor.css({
|
|
32158
|
-
left: sectionproperties.floatingfbfromright + 'px'
|
|
32159
|
-
}),
|
|
32160
|
-
instagramfloatingicon: glamor.css({
|
|
32161
|
-
position: 'fixed',
|
|
32162
|
-
zIndex: 999999,
|
|
32163
|
-
transition: 'all 0.3s ease-out',
|
|
32164
|
-
bottom: sectionproperties.floatinginstagramfrombottom + 'px',
|
|
32165
|
-
width: sectionproperties.floatinginstagramiconwidth + 'px',
|
|
32166
|
-
height: sectionproperties.floatinginstagramiconheight + 'px',
|
|
32167
|
-
background: sectionproperties.floatinginstagramiconbgcolor,
|
|
32168
|
-
borderRadius: sectionproperties.floatinginstagramiconborderradius + 'px',
|
|
32169
|
-
color: sectionproperties.floatinginstagramiconiconcolor,
|
|
32170
|
-
':hover': {
|
|
32171
|
-
color: sectionproperties.floatinginstagramiconiconcoloronhover,
|
|
32172
|
-
background: sectionproperties.floatinginstagramiconbgcoloronhover
|
|
32173
|
-
}
|
|
32174
|
-
}),
|
|
32175
|
-
instagramfloatingiconen: glamor.css({
|
|
32176
|
-
right: sectionproperties.floatinginstagramfromright + 'px'
|
|
32177
|
-
}),
|
|
32178
|
-
instagramfloatingiconar: glamor.css({
|
|
32179
|
-
left: sectionproperties.floatinginstagramfromright + 'px'
|
|
32180
|
-
}),
|
|
32181
|
-
tiktokfloatingicon: glamor.css({
|
|
32182
|
-
position: 'fixed',
|
|
32183
|
-
zIndex: 999999,
|
|
32184
|
-
transition: 'all 0.3s ease-out',
|
|
32185
|
-
bottom: sectionproperties.tiktokfloatingiconfrombottom + 'px',
|
|
32186
|
-
width: sectionproperties.tiktokfloatingiconiconwidth + 'px',
|
|
32187
|
-
height: sectionproperties.tiktokfloatingiconheight + 'px',
|
|
32188
|
-
background: sectionproperties.tiktokfloatingiconbgcolor,
|
|
32189
|
-
borderRadius: sectionproperties.tiktokfloatingiconborderradius + 'px',
|
|
32190
|
-
color: sectionproperties.tiktokfloatingiconcolor,
|
|
32191
|
-
':hover': {
|
|
32192
|
-
color: sectionproperties.tiktokfloatingiconcoloronhover,
|
|
32193
|
-
background: sectionproperties.tiktokfloatingiconbgcoloronhover
|
|
32194
|
-
}
|
|
32195
|
-
}),
|
|
32196
|
-
tiktokfloatingiconen: glamor.css({
|
|
32197
|
-
right: sectionproperties.tiktokfloatingiconfromright + 'px'
|
|
32198
|
-
}),
|
|
32199
|
-
tiktokfloatingiconar: glamor.css({
|
|
32200
|
-
left: sectionproperties.tiktokfloatingiconfromright + 'px'
|
|
32201
|
-
}),
|
|
32202
|
-
floatingbtn: glamor.css({
|
|
32203
|
-
position: 'fixed',
|
|
32204
|
-
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
32205
|
-
zIndex: 999999,
|
|
32206
|
-
transition: 'all 0.3s ease-out',
|
|
32207
|
-
width: sectionproperties.floatingbtnwidth + 'px',
|
|
32208
|
-
height: sectionproperties.floatingbtnheight + 'px',
|
|
32209
|
-
background: sectionproperties.floatingbtnbg,
|
|
32210
|
-
fontSize: sectionproperties.floatingbtnfontsize + 'px',
|
|
32211
|
-
color: sectionproperties.floatingbtncolor,
|
|
32212
|
-
borderRadius: sectionproperties.floatingbuttonborderradius + 'px',
|
|
32213
|
-
':hover': {
|
|
32214
|
-
color: sectionproperties.floatingbtncolorhover,
|
|
32215
|
-
backgroundColor: sectionproperties.floatingbtnbghover,
|
|
32216
|
-
transitions: '.3s',
|
|
32217
|
-
cursor: 'pointer'
|
|
32218
|
-
}
|
|
32219
|
-
// '@media (max-width: 800px)': {
|
|
32220
|
-
// width: '50%',
|
|
32221
|
-
// },
|
|
32222
|
-
}),
|
|
32223
|
-
floatingbtnen: glamor.css({
|
|
32224
|
-
right: sectionproperties.floatingbtnfromright + 'px'
|
|
32225
|
-
}),
|
|
32226
|
-
floatingbtnar: glamor.css({
|
|
32227
|
-
left: sectionproperties.floatingbtnfromright + 'px'
|
|
32228
|
-
}),
|
|
32229
|
-
callbtn: glamor.css({
|
|
32230
|
-
position: 'fixed',
|
|
32231
|
-
zIndex: 999999,
|
|
32232
|
-
transition: 'all 0.3s ease-out',
|
|
32233
|
-
width: sectionproperties.callfloatingiconiconwidth + 'px',
|
|
32234
|
-
height: sectionproperties.callfloatingiconiconheight + 'px',
|
|
32235
|
-
background: sectionproperties.callfloatingbgcolor,
|
|
32236
|
-
borderRadius: sectionproperties.callfloatingiconiconborderradius + 'px',
|
|
32237
|
-
color: sectionproperties.callfloatingcolor,
|
|
32238
|
-
':hover': {
|
|
32239
|
-
color: sectionproperties.callfloatingcoloronhover,
|
|
32240
|
-
background: sectionproperties.callfloatingbgcoloronhover
|
|
32241
|
-
}
|
|
32242
|
-
}),
|
|
32243
|
-
callbtnen: glamor.css(_defineProperty__default["default"]({
|
|
32244
|
-
right: sectionproperties.callppositionfromright + 'px'
|
|
32245
|
-
}, "right", '20px')),
|
|
32246
|
-
callbtnar: glamor.css({
|
|
32247
|
-
left: sectionproperties.callppositionfromright + 'px'
|
|
32248
|
-
})
|
|
32249
|
-
};
|
|
32250
|
-
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessageen);
|
|
32251
|
-
var whatsappUrl_ar = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessagear);
|
|
32252
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32253
|
-
"class": '',
|
|
32254
|
-
style: {
|
|
32255
|
-
position: 'relative'
|
|
32256
|
-
}
|
|
32257
|
-
}, sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32258
|
-
"class": header_cssstyles.floatingwaicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
32259
|
-
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
32260
|
-
href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
|
|
32261
|
-
target: "_blank",
|
|
32262
|
-
rel: "noopener noreferrer",
|
|
32263
|
-
style: {},
|
|
32264
|
-
"class": header_cssstyles.waicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
32265
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
32266
|
-
size: sectionproperties.floatingwhatsappiconiconfontsize
|
|
32267
|
-
}), sectionproperties.floatingwhatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
32268
|
-
"class": langdetect == 'en' ? 'ml-1' : 'mr-1'
|
|
32269
|
-
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar))), sectionproperties.showfloatingfbbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32270
|
-
"class": langdetect == 'en' ? "".concat(header_cssstyles.fbfloatingicon, " ").concat(header_cssstyles.fbfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.fbfloatingicon, " ").concat(header_cssstyles.fbfloatingiconar) + ' allcentered cursor-pointer ',
|
|
32271
|
-
onClick: function onClick() {
|
|
32272
|
-
var _authdetailsContext$i3;
|
|
32273
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
|
|
32274
|
-
var _authdetailsContext$i4;
|
|
32275
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
|
|
32276
|
-
}
|
|
32277
|
-
}
|
|
32278
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
32279
|
-
size: sectionproperties.floatingfbiconiconsize
|
|
32280
|
-
})), sectionproperties.instagramfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32281
|
-
"class": langdetect == 'en' ? "".concat(header_cssstyles.instagramfloatingicon, " ").concat(header_cssstyles.instagramfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.instagramfloatingicon, " ").concat(header_cssstyles.instagramfloatingiconar) + ' allcentered cursor-pointer ',
|
|
32282
|
-
onClick: function onClick() {
|
|
32283
|
-
var _authdetailsContext$i5;
|
|
32284
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
32285
|
-
var _authdetailsContext$i6;
|
|
32286
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
|
|
32287
|
-
}
|
|
32288
|
-
}
|
|
32289
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
32290
|
-
size: sectionproperties.floatinginstagramiconiconsize
|
|
32291
|
-
})), sectionproperties.tiktonfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32292
|
-
"class": langdetect == 'en' ? "".concat(header_cssstyles.tiktokfloatingicon, " ").concat(header_cssstyles.tiktokfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.tiktokfloatingicon, " ").concat(header_cssstyles.tiktokfloatingiconar) + ' allcentered cursor-pointer ',
|
|
32293
|
-
onClick: function onClick() {
|
|
32294
|
-
var _authdetailsContext$i7;
|
|
32295
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
|
|
32296
|
-
var _authdetailsContext$i8;
|
|
32297
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instagramlink, '_blank');
|
|
32298
|
-
}
|
|
32299
|
-
}
|
|
32300
|
-
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
32301
|
-
size: sectionproperties.tiktokfloatingiconiconfontsize
|
|
32302
|
-
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32303
|
-
"class": langdetect == 'en' ? "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnar) + ' allcentered cursor-pointer ',
|
|
32304
|
-
style: {},
|
|
32305
|
-
onClick: function onClick() {
|
|
32306
|
-
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
32307
|
-
}
|
|
32308
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32309
|
-
"class": "m-0 p-0"
|
|
32310
|
-
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), sectionproperties.showfloatingbtn == 'Show when logged in' && authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32311
|
-
style: {
|
|
32312
|
-
position: 'fixed',
|
|
32313
|
-
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
32314
|
-
right: langdetect == 'en' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
32315
|
-
left: langdetect == 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
32316
|
-
zIndex: 2000,
|
|
32317
|
-
transition: 'all 0.3s ease-out',
|
|
32318
|
-
width: '100%'
|
|
32319
|
-
},
|
|
32320
|
-
"class": "text-end"
|
|
32321
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32322
|
-
"class": header_cssstyles.floatingbtn + ' allcentered ',
|
|
32323
|
-
style: {},
|
|
32324
|
-
onClick: function onClick() {
|
|
32325
|
-
if (sectionproperties.btnlinktype == 'Website Link') {
|
|
32326
|
-
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
32327
|
-
} else {
|
|
32328
|
-
window.open(sectionproperties.floatingbtnlink, '_blank');
|
|
32329
|
-
|
|
32330
|
-
// routingcountext(sectionproperties.floatingbtnlink, true, '');
|
|
32331
|
-
}
|
|
32332
|
-
}
|
|
32333
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
32334
|
-
"class": "m-0 p-0"
|
|
32335
|
-
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar))), sectionproperties.showfloatingcallbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("a", {
|
|
32336
|
-
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
32337
|
-
target: '_self',
|
|
32338
|
-
style: {
|
|
32339
|
-
position: 'fixed',
|
|
32340
|
-
bottom: sectionproperties.callppositionfrombottom + 'px',
|
|
32341
|
-
zIndex: 999999,
|
|
32342
|
-
transition: 'all 0.3s ease-out'
|
|
32343
|
-
},
|
|
32344
|
-
"class": langdetect == 'en' ? "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnen) + ' allcentered ' : "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnar) + ' allcentered '
|
|
32345
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
32346
|
-
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
32347
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
32348
|
-
size: sectionproperties.callfloatingiconfontsize,
|
|
32349
|
-
style: {
|
|
32350
|
-
transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
|
|
32351
|
-
}
|
|
32352
|
-
}))));
|
|
32353
|
-
};
|
|
32354
|
-
|
|
32355
32277
|
function ownKeys$1X(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; }
|
|
32356
32278
|
function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32357
32279
|
var Simpleheader = function Simpleheader(props) {
|
|
@@ -32583,9 +32505,17 @@
|
|
|
32583
32505
|
':hover': {
|
|
32584
32506
|
color: sectionproperties.searchbariconcoloronhover
|
|
32585
32507
|
}
|
|
32586
|
-
})), "
|
|
32508
|
+
})), "currencycont", glamor.css({
|
|
32509
|
+
fontSize: 13,
|
|
32510
|
+
color: sectionproperties.searchbaricon_color,
|
|
32511
|
+
cursor: 'pointer',
|
|
32512
|
+
transition: '.3s',
|
|
32513
|
+
':hover': {
|
|
32514
|
+
color: sectionproperties.searchbariconcoloronhover
|
|
32515
|
+
}
|
|
32516
|
+
})), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_header_cssstyles, "search_wrap", glamor.css({
|
|
32587
32517
|
background: sectionproperties.searchbarcontinput_bgcolor
|
|
32588
|
-
})),
|
|
32518
|
+
})), "search_form", glamor.css({
|
|
32589
32519
|
':after': {
|
|
32590
32520
|
backgroundColor: sectionproperties.searchbarcontinput_borderBottomcolor
|
|
32591
32521
|
}
|
|
@@ -33078,11 +33008,11 @@
|
|
|
33078
33008
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
33079
33009
|
"class": ' d-flex align-items-center justify-content-center '
|
|
33080
33010
|
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33081
|
-
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
33011
|
+
"class": header_cssstyles.currencycont + ' row m-0 w-100 d-flex align-items-center '
|
|
33082
33012
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33083
33013
|
"class": "m-0 p-0 mr-2 ml-2"
|
|
33084
33014
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33085
|
-
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
33015
|
+
"class": header_cssstyles.currencycont + ' row m-0 w-100 d-flex align-items-center '
|
|
33086
33016
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
33087
33017
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
33088
33018
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.instcurrencies) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.map(function (item, index) {
|
|
@@ -36853,7 +36783,7 @@
|
|
|
36853
36783
|
transition: '.3s ease-in-out'
|
|
36854
36784
|
},
|
|
36855
36785
|
':hover .navbar_nav': {
|
|
36856
|
-
backgroundColor: sectionproperties.uppersection_bgcolor,
|
|
36786
|
+
backgroundColor: sectionproperties.lowersection_bgcolortransparent == 'Transparent' ? sectionproperties.uppersection_bgcolor : '',
|
|
36857
36787
|
transition: '.3s ease-in-out'
|
|
36858
36788
|
}
|
|
36859
36789
|
})
|
|
@@ -64387,35 +64317,27 @@
|
|
|
64387
64317
|
paddingRight: langdetect == 'en' ? sectionproperties.paddinghorizontalresponsive + 'px' : sectionproperties.paddinghorizontalresponsive + 'px'
|
|
64388
64318
|
}
|
|
64389
64319
|
}),
|
|
64390
|
-
|
|
64391
|
-
|
|
64392
|
-
|
|
64393
|
-
|
|
64394
|
-
|
|
64320
|
+
sectiontitle: glamor.css({
|
|
64321
|
+
fontSize: sectionproperties.countdowntitlefontsize + 'px',
|
|
64322
|
+
fontWeight: sectionproperties.countdowntitlefontweight,
|
|
64323
|
+
color: sectionproperties.countdowntitlecolor,
|
|
64324
|
+
'@media (max-width: 800px)': {
|
|
64325
|
+
fontSize: '15px'
|
|
64395
64326
|
}
|
|
64396
64327
|
}),
|
|
64397
|
-
|
|
64398
|
-
|
|
64399
|
-
|
|
64400
|
-
|
|
64401
|
-
|
|
64402
|
-
|
|
64403
|
-
|
|
64404
|
-
line_right: glamor.css({
|
|
64405
|
-
height: '1px',
|
|
64406
|
-
position: 'relative',
|
|
64407
|
-
flex: '1 1 auto',
|
|
64408
|
-
minWidth: '10%',
|
|
64409
|
-
background: sectionproperties.linebgcolor
|
|
64328
|
+
timewrapper: glamor.css({
|
|
64329
|
+
color: sectionproperties.timercolor,
|
|
64330
|
+
fontSize: sectionproperties.timerfontisze + 'px',
|
|
64331
|
+
fontWeight: 600,
|
|
64332
|
+
'@media (max-width: 800px)': {
|
|
64333
|
+
fontSize: '16px'
|
|
64334
|
+
}
|
|
64410
64335
|
}),
|
|
64411
|
-
|
|
64412
|
-
|
|
64413
|
-
|
|
64414
|
-
|
|
64415
|
-
|
|
64416
|
-
'@media (max-width: 1024px)': {
|
|
64417
|
-
paddingLeft: sectionproperties.sectiontitlepaddinghorizontalresponsive + 'rem',
|
|
64418
|
-
paddingRight: sectionproperties.sectiontitlepaddinghorizontalresponsive + 'rem'
|
|
64336
|
+
daywrapper: glamor.css({
|
|
64337
|
+
fontSize: '14px',
|
|
64338
|
+
fontWeight: 400,
|
|
64339
|
+
'@media (max-width: 800px)': {
|
|
64340
|
+
fontSize: '12px'
|
|
64419
64341
|
}
|
|
64420
64342
|
})
|
|
64421
64343
|
};
|
|
@@ -64435,13 +64357,7 @@
|
|
|
64435
64357
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64436
64358
|
"class": "col-7 col-md-12 d-flex align-items-center justify-content-start justify-content-md-center mb-md-3 "
|
|
64437
64359
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
64438
|
-
"class":
|
|
64439
|
-
style: {
|
|
64440
|
-
// fontSize: sectionproperties.timerfontisze+'px',
|
|
64441
|
-
fontSize: sectionproperties.countdowntitlefontsize + 'px',
|
|
64442
|
-
fontWeight: sectionproperties.countdowntitlefontweight,
|
|
64443
|
-
color: sectionproperties.countdowntitlecolor
|
|
64444
|
-
}
|
|
64360
|
+
"class": section_cssstyles.sectiontitle + ' m-0 p-0 text-start text-md-center '
|
|
64445
64361
|
}, langdetect == 'en' ? sectionproperties.countdowntitleen : sectionproperties.countdowntitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64446
64362
|
"class": "col-5 col-md-12 d-flex flex-row allcentered"
|
|
64447
64363
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -64457,21 +64373,14 @@
|
|
|
64457
64373
|
_ref.elapsedTime;
|
|
64458
64374
|
_ref.color;
|
|
64459
64375
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
64460
|
-
|
|
64461
|
-
color: sectionproperties.timercolor,
|
|
64462
|
-
fontSize: sectionproperties.timerfontisze + 'px',
|
|
64463
|
-
fontWeight: 600
|
|
64464
|
-
},
|
|
64465
|
-
"class": "allcentered"
|
|
64376
|
+
"class": section_cssstyles.timewrapper + ' allcentered '
|
|
64466
64377
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64467
64378
|
className: "time-wrapper allcentered flex-column"
|
|
64468
64379
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64469
64380
|
className: "time"
|
|
64470
64381
|
}, days), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64471
|
-
|
|
64472
|
-
|
|
64473
|
-
fontWeight: 400
|
|
64474
|
-
}
|
|
64382
|
+
"class": section_cssstyles.daywrapper,
|
|
64383
|
+
style: {}
|
|
64475
64384
|
}, langdetect == 'en' ? 'Days' : 'يوم')));
|
|
64476
64385
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64477
64386
|
className: " allcentered"
|
|
@@ -64486,21 +64395,14 @@
|
|
|
64486
64395
|
_ref2.elapsedTime;
|
|
64487
64396
|
_ref2.color;
|
|
64488
64397
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
64489
|
-
|
|
64490
|
-
color: sectionproperties.timercolor,
|
|
64491
|
-
fontSize: sectionproperties.timerfontisze + 'px',
|
|
64492
|
-
fontWeight: 600
|
|
64493
|
-
},
|
|
64494
|
-
"class": "allcentered"
|
|
64398
|
+
"class": section_cssstyles.timewrapper + ' allcentered '
|
|
64495
64399
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64496
64400
|
className: "time-wrapper allcentered flex-column"
|
|
64497
64401
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64498
64402
|
className: "time"
|
|
64499
64403
|
}, hours), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64500
|
-
|
|
64501
|
-
|
|
64502
|
-
fontWeight: 400
|
|
64503
|
-
}
|
|
64404
|
+
"class": section_cssstyles.daywrapper,
|
|
64405
|
+
style: {}
|
|
64504
64406
|
}, langdetect == 'en' ? 'Hours' : 'ساعة')));
|
|
64505
64407
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64506
64408
|
className: "allcentered"
|
|
@@ -64515,21 +64417,14 @@
|
|
|
64515
64417
|
_ref3.elapsedTime;
|
|
64516
64418
|
_ref3.color;
|
|
64517
64419
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
64518
|
-
|
|
64519
|
-
color: sectionproperties.timercolor,
|
|
64520
|
-
fontSize: sectionproperties.timerfontisze + 'px',
|
|
64521
|
-
fontWeight: 600
|
|
64522
|
-
},
|
|
64523
|
-
"class": "allcentered"
|
|
64420
|
+
"class": section_cssstyles.timewrapper + ' allcentered '
|
|
64524
64421
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64525
64422
|
className: "time-wrapper allcentered flex-column"
|
|
64526
64423
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64527
64424
|
className: "time"
|
|
64528
64425
|
}, minutes), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64529
|
-
|
|
64530
|
-
|
|
64531
|
-
fontWeight: 400
|
|
64532
|
-
}
|
|
64426
|
+
"class": section_cssstyles.daywrapper,
|
|
64427
|
+
style: {}
|
|
64533
64428
|
}, langdetect == 'en' ? 'Minutes' : 'دقيقة')));
|
|
64534
64429
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64535
64430
|
className: "allcentered"
|
|
@@ -64544,21 +64439,14 @@
|
|
|
64544
64439
|
_ref4.elapsedTime;
|
|
64545
64440
|
_ref4.color;
|
|
64546
64441
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
64547
|
-
|
|
64548
|
-
color: sectionproperties.timercolor,
|
|
64549
|
-
fontSize: sectionproperties.timerfontisze + 'px',
|
|
64550
|
-
fontWeight: 600
|
|
64551
|
-
},
|
|
64552
|
-
"class": "allcentered"
|
|
64442
|
+
"class": section_cssstyles.timewrapper + ' allcentered '
|
|
64553
64443
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64554
64444
|
className: "time-wrapper allcentered flex-column"
|
|
64555
64445
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64556
64446
|
className: "time"
|
|
64557
64447
|
}, seconds), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
64558
|
-
|
|
64559
|
-
|
|
64560
|
-
fontWeight: 400
|
|
64561
|
-
}
|
|
64448
|
+
"class": section_cssstyles.daywrapper,
|
|
64449
|
+
style: {}
|
|
64562
64450
|
}, langdetect == 'en' ? 'Seconds' : 'ثانية')));
|
|
64563
64451
|
}))))));
|
|
64564
64452
|
};
|