tabexseriescomponents 0.2.1266 → 0.2.1269
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 +449 -422
- package/dist/index.esm.js +449 -422
- package/dist/index.umd.js +449 -422
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2106,7 +2106,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2106
2106
|
}
|
|
2107
2107
|
}))));
|
|
2108
2108
|
})))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && sectionproperties.sizeguideposition == 'Besides Variants' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2109
|
-
"class": "col-3 text-end"
|
|
2109
|
+
"class": "col-3 text-end p-0"
|
|
2110
2110
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2111
2111
|
"class": formstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
2112
2112
|
onClick: function onClick() {
|
|
@@ -7635,7 +7635,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7635
7635
|
function ownKeys$2C(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; }
|
|
7636
7636
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7637
7637
|
var Productinfo = function Productinfo(props) {
|
|
7638
|
-
var _css,
|
|
7638
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i35, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i36, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i46, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i47, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i48, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51;
|
|
7639
7639
|
var _useState = React.useState({}),
|
|
7640
7640
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7641
7641
|
ProductInfoObj = _useState2[0],
|
|
@@ -7943,32 +7943,33 @@ var Productinfo = function Productinfo(props) {
|
|
|
7943
7943
|
// }, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data, props, props.actions]);
|
|
7944
7944
|
React.useEffect(function () {
|
|
7945
7945
|
if (Object.keys(ProductInfoObj).length != 0 && !isloaded) {
|
|
7946
|
-
var _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19;
|
|
7946
|
+
var _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20;
|
|
7947
7947
|
variantchecker();
|
|
7948
7948
|
Pixel_EventsContext('productview', {
|
|
7949
7949
|
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.name_en,
|
|
7950
7950
|
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.name_ar,
|
|
7951
7951
|
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer0 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.data) === null || _fetchProductInfoQuer0 === void 0 || (_fetchProductInfoQuer0 = _fetchProductInfoQuer0.productinfo) === null || _fetchProductInfoQuer0 === void 0 ? void 0 : _fetchProductInfoQuer0.productid,
|
|
7952
|
-
|
|
7952
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer1 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.data) === null || _fetchProductInfoQuer1 === void 0 || (_fetchProductInfoQuer1 = _fetchProductInfoQuer1.productinfo) === null || _fetchProductInfoQuer1 === void 0 ? void 0 : _fetchProductInfoQuer1.defaultprice,
|
|
7953
|
+
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.sku,
|
|
7953
7954
|
currency: 'EGP'
|
|
7954
7955
|
});
|
|
7955
7956
|
Pixel_EventsContext('ViewContent', {
|
|
7956
|
-
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7957
|
-
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7958
|
-
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7959
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7957
|
+
name_en: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.name_en,
|
|
7958
|
+
name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.name_ar,
|
|
7959
|
+
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.productid,
|
|
7960
|
+
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.sku,
|
|
7960
7961
|
currency: 'EGP'
|
|
7961
7962
|
});
|
|
7962
7963
|
Pixel_EventsContext('view_item', {
|
|
7963
7964
|
ecommerce: {
|
|
7964
7965
|
currency: 'EGP',
|
|
7965
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7966
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.defaultprice,
|
|
7966
7967
|
items: [{
|
|
7967
|
-
item_id: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7968
|
-
item_name: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7969
|
-
item_name_ar: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7970
|
-
sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7971
|
-
price: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7968
|
+
item_id: 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.productid,
|
|
7969
|
+
item_name: 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.name_en,
|
|
7970
|
+
item_name_ar: 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.name_ar,
|
|
7971
|
+
sku: 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.sku,
|
|
7972
|
+
price: 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.defaultprice
|
|
7972
7973
|
}]
|
|
7973
7974
|
}
|
|
7974
7975
|
});
|
|
@@ -8017,18 +8018,18 @@ var Productinfo = function Productinfo(props) {
|
|
|
8017
8018
|
return fullPath;
|
|
8018
8019
|
};
|
|
8019
8020
|
React.useEffect(function () {
|
|
8020
|
-
var
|
|
8021
|
+
var _fetchProductInfoQuer21, _fetchProductInfoQuer22;
|
|
8021
8022
|
// if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
8022
|
-
if (isProductPageLoading == false && Object.keys(fetchProductInfoQueryContext) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8023
|
-
var
|
|
8024
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8025
|
-
var
|
|
8023
|
+
if (isProductPageLoading == false && Object.keys(fetchProductInfoQueryContext) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.productinfo) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.productinfo) != null && ikimagecredcontext != undefined) {
|
|
8024
|
+
var _fetchProductInfoQuer23;
|
|
8025
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.productinfo) != null) {
|
|
8026
|
+
var _fetchProductInfoQuer24, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35;
|
|
8026
8027
|
var tempproductimagesarray = [];
|
|
8027
8028
|
var sizeguideimagetemp = [];
|
|
8028
8029
|
var tempproductpdfsarray = [];
|
|
8029
|
-
if (Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8030
|
-
var
|
|
8031
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8030
|
+
if (Array.isArray(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.productimages)) {
|
|
8031
|
+
var _fetchProductInfoQuer25;
|
|
8032
|
+
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 || _fetchProductInfoQuer25.productimages.forEach(function (arrayItem, arrayindex) {
|
|
8032
8033
|
var imagepath = arrayItem.path;
|
|
8033
8034
|
|
|
8034
8035
|
// var sizeguideimagearrayobj = {
|
|
@@ -8082,14 +8083,14 @@ var Productinfo = function Productinfo(props) {
|
|
|
8082
8083
|
variantchecker();
|
|
8083
8084
|
var quantitystepincrearse = 1;
|
|
8084
8085
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
8085
|
-
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8086
|
+
tempaddtocardpayloadobj.productid = 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;
|
|
8086
8087
|
// setaddtocardpayloadobj({ ...tempaddtocardpayloadobj });
|
|
8087
|
-
setRelatedProductsTagid(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8088
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8089
|
-
var
|
|
8088
|
+
setRelatedProductsTagid(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.maintagid);
|
|
8089
|
+
if ((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.maintagid) != null && (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 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.maintagid) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.length) != 0) {
|
|
8090
|
+
var _fetchProductInfoQuer30;
|
|
8090
8091
|
GeneralAPIMutationContext.mutate({
|
|
8091
8092
|
endpointurl: '/FetchRelatedProducts',
|
|
8092
|
-
tagid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8093
|
+
tagid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer30 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.data) === null || _fetchProductInfoQuer30 === void 0 || (_fetchProductInfoQuer30 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.maintagid,
|
|
8093
8094
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
8094
8095
|
if (data.data.status) {
|
|
8095
8096
|
setRelatedproducts(data.data.productsrelated);
|
|
@@ -8097,19 +8098,19 @@ var Productinfo = function Productinfo(props) {
|
|
|
8097
8098
|
}
|
|
8098
8099
|
});
|
|
8099
8100
|
}
|
|
8100
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8101
|
+
if ((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.item_type) == 'package list') {
|
|
8101
8102
|
tempaddtocardpayloadobj.item_type = 'package list';
|
|
8102
8103
|
} else {
|
|
8103
8104
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
8104
8105
|
}
|
|
8105
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
8106
|
+
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.quantitystepincrearse) != 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.quantitystepincrearse) != null && (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.quantitystepincrearse) != 1 && (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 ? void 0 : _fetchProductInfoQuer35.quantitystepincrearse) != '') {
|
|
8106
8107
|
var _authdetailsContext$i4;
|
|
8107
8108
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d6de1a1e04a') {
|
|
8108
|
-
var _fetchProductInfoQuer35;
|
|
8109
|
-
quantitystepincrearse = parseFloat(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 ? void 0 : _fetchProductInfoQuer35.quantitystepincrearse);
|
|
8110
|
-
} else {
|
|
8111
8109
|
var _fetchProductInfoQuer36;
|
|
8112
|
-
quantitystepincrearse =
|
|
8110
|
+
quantitystepincrearse = parseFloat(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 ? void 0 : _fetchProductInfoQuer36.quantitystepincrearse);
|
|
8111
|
+
} else {
|
|
8112
|
+
var _fetchProductInfoQuer37;
|
|
8113
|
+
quantitystepincrearse = parseInt(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 ? void 0 : _fetchProductInfoQuer37.quantitystepincrearse);
|
|
8113
8114
|
}
|
|
8114
8115
|
// quantitystepincrearse = parseFloat(fetchProductInfoQueryContext?.data?.data?.productinfo?.quantitystepincrearse);
|
|
8115
8116
|
}
|
|
@@ -9554,8 +9555,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9554
9555
|
});
|
|
9555
9556
|
}
|
|
9556
9557
|
if (variantnotmatch.length == 0 && isvariant == true) {
|
|
9557
|
-
var
|
|
9558
|
-
var variantobj = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9558
|
+
var _fetchProductInfoQuer38;
|
|
9559
|
+
var variantobj = 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 ? void 0 : _fetchProductInfoQuer38.variants[ProductVariantIndex];
|
|
9559
9560
|
var variantid = '';
|
|
9560
9561
|
if (variantobj == undefined) {
|
|
9561
9562
|
setisoutofstock(false);
|
|
@@ -9600,8 +9601,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9600
9601
|
var forcetocheckoutvalue = forcetocheckout;
|
|
9601
9602
|
// alert(addtocardpayloadobj.quantity + 'sad');
|
|
9602
9603
|
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
9603
|
-
var
|
|
9604
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9604
|
+
var _fetchProductInfoQuer39;
|
|
9605
|
+
if ((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 ? void 0 : _fetchProductInfoQuer39.hasvariants) == 1) {
|
|
9605
9606
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9606
9607
|
runfunc = true;
|
|
9607
9608
|
} else {
|
|
@@ -9617,28 +9618,28 @@ var Productinfo = function Productinfo(props) {
|
|
|
9617
9618
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
9618
9619
|
}
|
|
9619
9620
|
if (runfunc == true) {
|
|
9620
|
-
var
|
|
9621
|
+
var _fetchProductInfoQuer40, _fetchProductInfoQuer41;
|
|
9621
9622
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
9622
|
-
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9623
|
-
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9623
|
+
tempaddtocardpayloadobj.isproductforcedtocheckout = 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 ? void 0 : _fetchProductInfoQuer40.isproductforcedtocheckout;
|
|
9624
|
+
tempaddtocardpayloadobj.vendorid = 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 ? void 0 : _fetchProductInfoQuer41.vendorproviderid;
|
|
9624
9625
|
if (forcetocheckoutvalue != undefined) {
|
|
9625
9626
|
tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
9626
9627
|
}
|
|
9627
9628
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
9628
9629
|
if (Extrafieldvalidationresponse.status) {
|
|
9629
|
-
var
|
|
9630
|
+
var _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47;
|
|
9630
9631
|
var finalprice = 0;
|
|
9631
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9632
|
+
if ((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 ? void 0 : _fetchProductInfoQuer42.hassale) == 1) {
|
|
9632
9633
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
9633
9634
|
} else {
|
|
9634
9635
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
9635
9636
|
}
|
|
9636
9637
|
Pixel_EventsContext('AddToCart', {
|
|
9637
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9638
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9639
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9638
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer43 === void 0 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.productid],
|
|
9639
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer44 === void 0 || (_fetchProductInfoQuer44 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : _fetchProductInfoQuer44.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer45 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.data) === null || _fetchProductInfoQuer45 === void 0 || (_fetchProductInfoQuer45 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.name_ar),
|
|
9640
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer46 === void 0 || (_fetchProductInfoQuer46 = _fetchProductInfoQuer46.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.sku,
|
|
9640
9641
|
content_type: 'product',
|
|
9641
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9642
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 || (_fetchProductInfoQuer47 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : _fetchProductInfoQuer47.currencyname_en,
|
|
9642
9643
|
value: finalprice,
|
|
9643
9644
|
quantity: addtocardpayloadobj.quantity
|
|
9644
9645
|
});
|
|
@@ -9647,12 +9648,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
9647
9648
|
}
|
|
9648
9649
|
};
|
|
9649
9650
|
var validateextrafields = function validateextrafields() {
|
|
9650
|
-
var
|
|
9651
|
+
var _fetchProductInfoQuer48;
|
|
9651
9652
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
9652
9653
|
var status = false;
|
|
9653
9654
|
var reason = '';
|
|
9654
9655
|
var missingitemsfound = [];
|
|
9655
|
-
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9656
|
+
var extrafields = 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 ? void 0 : _fetchProductInfoQuer48.productextrafields;
|
|
9656
9657
|
if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
|
|
9657
9658
|
status = true;
|
|
9658
9659
|
} else {
|
|
@@ -9771,9 +9772,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9771
9772
|
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9772
9773
|
}, Relatedproducts.map(function (item, index) {
|
|
9773
9774
|
if (item.productinfo != null) {
|
|
9774
|
-
var
|
|
9775
|
-
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9776
|
-
var
|
|
9775
|
+
var _fetchProductInfoQuer49;
|
|
9776
|
+
if (item.productid != (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.productid)) {
|
|
9777
|
+
var _fetchProductInfoQuer50, _fetchProductInfoQuer51;
|
|
9777
9778
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9778
9779
|
className: "col-lg-12 mb-3 px-1",
|
|
9779
9780
|
onClick: function onClick() {
|
|
@@ -9823,7 +9824,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9823
9824
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
9824
9825
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9825
9826
|
"class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
|
|
9826
|
-
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9827
|
+
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.currencyname_ar, ' '))))));
|
|
9827
9828
|
}
|
|
9828
9829
|
}
|
|
9829
9830
|
}))))));
|
|
@@ -9850,28 +9851,28 @@ var Productinfo = function Productinfo(props) {
|
|
|
9850
9851
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
9851
9852
|
}
|
|
9852
9853
|
if (runfunc == true) {
|
|
9853
|
-
var
|
|
9854
|
+
var _fetchProductInfoQuer52, _fetchProductInfoQuer53;
|
|
9854
9855
|
// var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
|
|
9855
|
-
addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9856
|
-
addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9856
|
+
addtocartobjparam.isproductforcedtocheckout = 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.isproductforcedtocheckout;
|
|
9857
|
+
addtocartobjparam.vendorid = 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 ? void 0 : _fetchProductInfoQuer53.vendorproviderid;
|
|
9857
9858
|
if (forcetocheckoutvalue != undefined) {
|
|
9858
9859
|
addtocartobjparam.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
9859
9860
|
}
|
|
9860
9861
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
9861
9862
|
if (Extrafieldvalidationresponse.status) {
|
|
9862
|
-
var
|
|
9863
|
+
var _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59;
|
|
9863
9864
|
var finalprice = 0;
|
|
9864
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9865
|
+
if ((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.hassale) == 1) {
|
|
9865
9866
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
9866
9867
|
} else {
|
|
9867
9868
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
9868
9869
|
}
|
|
9869
9870
|
Pixel_EventsContext('AddToCart', {
|
|
9870
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9871
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9872
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9871
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer55 === void 0 || (_fetchProductInfoQuer55 = _fetchProductInfoQuer55.productinfo) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : _fetchProductInfoQuer55.productid],
|
|
9872
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer56 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.data) === null || _fetchProductInfoQuer56 === void 0 || (_fetchProductInfoQuer56 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : _fetchProductInfoQuer56.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer57 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.data) === null || _fetchProductInfoQuer57 === void 0 || (_fetchProductInfoQuer57 = _fetchProductInfoQuer57.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.name_ar),
|
|
9873
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer58 === void 0 || (_fetchProductInfoQuer58 = _fetchProductInfoQuer58.productinfo) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : _fetchProductInfoQuer58.sku,
|
|
9873
9874
|
content_type: 'product',
|
|
9874
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
9875
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.currencyname_en,
|
|
9875
9876
|
value: finalprice,
|
|
9876
9877
|
quantity: addtocardpayloadobj.quantity
|
|
9877
9878
|
});
|
|
@@ -10461,16 +10462,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
10461
10462
|
}
|
|
10462
10463
|
};
|
|
10463
10464
|
var get_product_extras_price = function get_product_extras_price() {
|
|
10464
|
-
var
|
|
10465
|
+
var _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
10465
10466
|
var totalprice_extras_price = 0;
|
|
10466
|
-
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10467
|
+
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.productinfo) != undefined && fetchcustomercartQueryContext != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : fetchcustomercartQueryContext.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.data) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.cartitems) != undefined) {
|
|
10467
10468
|
var _fetchcustomercartQue4;
|
|
10468
10469
|
var extras_for_product = [];
|
|
10469
10470
|
fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.customercart) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.cartitems;
|
|
10470
10471
|
product_prod_extras_array === null || product_prod_extras_array === void 0 || product_prod_extras_array.forEach(function (cartitem_in, cartindex_in) {
|
|
10471
10472
|
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
10472
|
-
var
|
|
10473
|
-
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10473
|
+
var _fetchProductInfoQuer62;
|
|
10474
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.productid)) {
|
|
10474
10475
|
extras_for_product.push(cartitem_in);
|
|
10475
10476
|
}
|
|
10476
10477
|
}
|
|
@@ -10483,37 +10484,37 @@ var Productinfo = function Productinfo(props) {
|
|
|
10483
10484
|
return parseFloat(totalprice_extras_price);
|
|
10484
10485
|
};
|
|
10485
10486
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
10486
|
-
var
|
|
10487
|
+
var _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66;
|
|
10487
10488
|
var price = 0;
|
|
10488
10489
|
var quantity = 0;
|
|
10489
10490
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
10490
10491
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
10491
10492
|
}
|
|
10492
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10493
|
-
var
|
|
10494
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10493
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.productquantityoptions) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.productquantityoptions) != null && Array.isArray(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.productquantityoptions) && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer66 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.data) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productinfo) === null || _fetchProductInfoQuer66 === void 0 || (_fetchProductInfoQuer66 = _fetchProductInfoQuer66.productquantityoptions) === null || _fetchProductInfoQuer66 === void 0 ? void 0 : _fetchProductInfoQuer66.length) != 0) {
|
|
10494
|
+
var _fetchProductInfoQuer67;
|
|
10495
|
+
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer67 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.data) === null || _fetchProductInfoQuer67 === void 0 || (_fetchProductInfoQuer67 = _fetchProductInfoQuer67.productinfo) === null || _fetchProductInfoQuer67 === void 0 ? void 0 : _fetchProductInfoQuer67.productquantityoptions;
|
|
10495
10496
|
}
|
|
10496
10497
|
if (type == 'defaultprice') {
|
|
10497
|
-
var
|
|
10498
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10499
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10498
|
+
var _fetchProductInfoQuer68, _fetchProductInfoQuer69;
|
|
10499
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer68 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.data) === null || _fetchProductInfoQuer68 === void 0 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productinfo) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.defaultprice;
|
|
10500
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer69 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.data) === null || _fetchProductInfoQuer69 === void 0 || (_fetchProductInfoQuer69 = _fetchProductInfoQuer69.productinfo) === null || _fetchProductInfoQuer69 === void 0 ? void 0 : _fetchProductInfoQuer69.hasvariants) == 1) {
|
|
10500
10501
|
if (variantindexcompleted != undefined) {
|
|
10501
|
-
var
|
|
10502
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10503
|
-
var
|
|
10504
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10502
|
+
var _fetchProductInfoQuer70;
|
|
10503
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer70 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.data) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.productinfo) === null || _fetchProductInfoQuer70 === void 0 || (_fetchProductInfoQuer70 = _fetchProductInfoQuer70.variants[variantindexcompleted]) === null || _fetchProductInfoQuer70 === void 0 ? void 0 : _fetchProductInfoQuer70.variantprice) != undefined) {
|
|
10504
|
+
var _fetchProductInfoQuer71;
|
|
10505
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.variants[variantindexcompleted]) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.variantprice;
|
|
10505
10506
|
}
|
|
10506
10507
|
}
|
|
10507
10508
|
}
|
|
10508
10509
|
} else if (type == 'defaultsaleprice') {
|
|
10509
|
-
var
|
|
10510
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10511
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10510
|
+
var _fetchProductInfoQuer72, _fetchProductInfoQuer73;
|
|
10511
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.defaultsaleprice;
|
|
10512
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer73 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.data) === null || _fetchProductInfoQuer73 === void 0 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.productinfo) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.hasvariants) == 1) {
|
|
10512
10513
|
if (variantindexcompleted != undefined) {
|
|
10513
|
-
var
|
|
10514
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10515
|
-
var
|
|
10516
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10514
|
+
var _fetchProductInfoQuer74;
|
|
10515
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer74 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.data) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.productinfo) === null || _fetchProductInfoQuer74 === void 0 || (_fetchProductInfoQuer74 = _fetchProductInfoQuer74.variants[variantindexcompleted]) === null || _fetchProductInfoQuer74 === void 0 ? void 0 : _fetchProductInfoQuer74.variantsaleprice) != undefined) {
|
|
10516
|
+
var _fetchProductInfoQuer75;
|
|
10517
|
+
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer75 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.data) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.productinfo) === null || _fetchProductInfoQuer75 === void 0 || (_fetchProductInfoQuer75 = _fetchProductInfoQuer75.variants[variantindexcompleted]) === null || _fetchProductInfoQuer75 === void 0 ? void 0 : _fetchProductInfoQuer75.variantsaleprice;
|
|
10517
10518
|
}
|
|
10518
10519
|
}
|
|
10519
10520
|
}
|
|
@@ -10612,7 +10613,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10612
10613
|
// }
|
|
10613
10614
|
// };
|
|
10614
10615
|
var getQuantityCondition = function getQuantityCondition() {
|
|
10615
|
-
var
|
|
10616
|
+
var _fetchProductInfoQuer76;
|
|
10616
10617
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10617
10618
|
"class": "col-lg-12 p-0",
|
|
10618
10619
|
style: {
|
|
@@ -10642,12 +10643,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
10642
10643
|
height: 1,
|
|
10643
10644
|
background: sectionproperties.pricelisttitlecolor
|
|
10644
10645
|
}
|
|
10645
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10646
|
-
var
|
|
10646
|
+
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer76 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.data) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productinfo) === null || _fetchProductInfoQuer76 === void 0 || (_fetchProductInfoQuer76 = _fetchProductInfoQuer76.productquantityoptions) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.map(function (item, index) {
|
|
10647
|
+
var _fetchProductInfoQuer77;
|
|
10647
10648
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10648
10649
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
10649
10650
|
style: {
|
|
10650
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10651
|
+
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer77 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.data) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productinfo) === null || _fetchProductInfoQuer77 === void 0 || (_fetchProductInfoQuer77 = _fetchProductInfoQuer77.productquantityoptions) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.length) - 1 != index ? '1rem' : 0
|
|
10651
10652
|
}
|
|
10652
10653
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10653
10654
|
"class": "d-flex align-items-center",
|
|
@@ -10681,7 +10682,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10681
10682
|
})));
|
|
10682
10683
|
};
|
|
10683
10684
|
var StoreInfo = function StoreInfo(position) {
|
|
10684
|
-
var
|
|
10685
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i29, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i30, _authdetailsContext$i32;
|
|
10685
10686
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10686
10687
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10687
10688
|
style: {
|
|
@@ -10732,7 +10733,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10732
10733
|
style: {
|
|
10733
10734
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10734
10735
|
}
|
|
10735
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10736
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productquantityoptions) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10736
10737
|
"class": "col-lg-12 p-0 mb-4"
|
|
10737
10738
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10738
10739
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -10933,7 +10934,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10933
10934
|
lang: langdetect,
|
|
10934
10935
|
amount: getprice_discountpriceprops('defaultprice', 0, variantindexcompleted),
|
|
10935
10936
|
divid: 'prodinfo'
|
|
10936
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10937
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.item_type) == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
|
|
10937
10938
|
actions: (_ref = {
|
|
10938
10939
|
product_prod_extras_array: product_prod_extras_array,
|
|
10939
10940
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
@@ -10947,7 +10948,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10947
10948
|
lang: lang,
|
|
10948
10949
|
srcfromprops: props.srcfromprops
|
|
10949
10950
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10950
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10951
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
10951
10952
|
actions: (_ref2 = {
|
|
10952
10953
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10953
10954
|
setisoutofstock: setisoutofstock,
|
|
@@ -10957,7 +10958,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10957
10958
|
lang: lang,
|
|
10958
10959
|
srcfromprops: props.srcfromprops
|
|
10959
10960
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
10960
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10961
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
10961
10962
|
actions: (_ref3 = {
|
|
10962
10963
|
isOptionInStock: isOptionInStock,
|
|
10963
10964
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10969,7 +10970,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10969
10970
|
lang: lang,
|
|
10970
10971
|
srcfromprops: props.srcfromprops
|
|
10971
10972
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10972
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10973
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.productinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.item_type) == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
10973
10974
|
actions: (_ref4 = {
|
|
10974
10975
|
product_prod_extras_array: product_prod_extras_array,
|
|
10975
10976
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
@@ -10988,7 +10989,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10988
10989
|
style: {
|
|
10989
10990
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
10990
10991
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
10991
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10992
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.product_videos) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.length) != 0 ? 'flex' : (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.product_videos) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.length) == 0 ? 'none' : 'flex'
|
|
10992
10993
|
}
|
|
10993
10994
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10994
10995
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -11050,12 +11051,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11050
11051
|
onClick: function onClick() {
|
|
11051
11052
|
settabname('refundpolicytab');
|
|
11052
11053
|
}
|
|
11053
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11054
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.product_videos) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11054
11055
|
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
11055
11056
|
onClick: function onClick() {
|
|
11056
11057
|
settabname('videostab');
|
|
11057
11058
|
}
|
|
11058
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11059
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11059
11060
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11060
11061
|
onClick: function onClick() {
|
|
11061
11062
|
settabname('reviewstab');
|
|
@@ -11109,12 +11110,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11109
11110
|
onClick: function onClick() {
|
|
11110
11111
|
settabname('refundpolicytab');
|
|
11111
11112
|
}
|
|
11112
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11113
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.product_videos) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11113
11114
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
11114
11115
|
onClick: function onClick() {
|
|
11115
11116
|
settabname('videostab');
|
|
11116
11117
|
}
|
|
11117
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11118
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11118
11119
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11119
11120
|
onClick: function onClick() {
|
|
11120
11121
|
settabname('reviewstab');
|
|
@@ -11248,12 +11249,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11248
11249
|
onClick: function onClick() {
|
|
11249
11250
|
settabname('refundpolicytab');
|
|
11250
11251
|
}
|
|
11251
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11252
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.product_videos) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11252
11253
|
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
11253
11254
|
onClick: function onClick() {
|
|
11254
11255
|
settabname('videostab');
|
|
11255
11256
|
}
|
|
11256
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11257
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11257
11258
|
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11258
11259
|
onClick: function onClick() {
|
|
11259
11260
|
settabname('reviewstab');
|
|
@@ -11274,7 +11275,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11274
11275
|
color: sectionproperties.prodCatColor
|
|
11275
11276
|
},
|
|
11276
11277
|
dangerouslySetInnerHTML: {
|
|
11277
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11278
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer97 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.productinfo) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.short_description_ar
|
|
11278
11279
|
}
|
|
11279
11280
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11280
11281
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -11416,7 +11417,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11416
11417
|
color: sectionproperties.prodCatColor
|
|
11417
11418
|
},
|
|
11418
11419
|
dangerouslySetInnerHTML: {
|
|
11419
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11420
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.short_description_ar
|
|
11420
11421
|
}
|
|
11421
11422
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11422
11423
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -11548,7 +11549,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11548
11549
|
color: '#000000'
|
|
11549
11550
|
},
|
|
11550
11551
|
dangerouslySetInnerHTML: {
|
|
11551
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11552
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.description_ar
|
|
11552
11553
|
}
|
|
11553
11554
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11554
11555
|
"class": "col-lg-12 p-0"
|
|
@@ -11559,7 +11560,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11559
11560
|
color: sectionproperties.prodCatColor
|
|
11560
11561
|
},
|
|
11561
11562
|
dangerouslySetInnerHTML: {
|
|
11562
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11563
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer104 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.short_description_ar
|
|
11563
11564
|
}
|
|
11564
11565
|
}))
|
|
11565
11566
|
// <DescriptionContent
|
|
@@ -26201,7 +26202,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
26201
26202
|
item.tabexsectioninfo.sectioncompname == 'Categorycard_withtext' ? 'scrollmenuclassnameitemCategorycard_withtext' :
|
|
26202
26203
|
// : item.tabexsectioninfo.sectioncompname == 'Productcard_animatedbuttons'
|
|
26203
26204
|
// ? 'scrollmenuclassnameitemProductcard_animatedbuttons'
|
|
26204
|
-
item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants'
|
|
26205
|
+
// item.tabexsectioninfo.sectioncompname == 'Productcard_with_variants'
|
|
26206
|
+
// ? 'scrollmenuclassnameitemProductcard_with_variants'
|
|
26207
|
+
// :
|
|
26208
|
+
item.tabexsectioninfo.sectioncompname == 'Productcarddefault' ? 'scrollmenuclassnameitemProductcarddefault' :
|
|
26205
26209
|
// : item.tabexsectioninfo.sectioncompname == 'Simpleproductcard'
|
|
26206
26210
|
// ? 'scrollmenuclassnameitemSimpleproductcard'
|
|
26207
26211
|
item.tabexsectioninfo.sectioncompname == 'Categorycard_with_trianglebg' ? 'scrollmenuclassnameitemCategorycard_with_trianglebg' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_textonhover' ? 'scrollmenuclassnameitemProductcard_with_textonhover' : item.tabexsectioninfo.sectioncompname == 'Categorycard_slidebgscaled' ? 'scrollmenuclassnameitemCategorycard_slidebgscaled' : item.tabexsectioninfo.sectioncompname == 'Productccard_with_imageontopleft' ? 'scrollmenuclassnameitemProductccard_with_imageontopleft' : item.tabexsectioninfo.sectioncompname == 'Productcard_with_zoominonhover' ? 'scrollmenuclassnameitemProductcard_with_zoominonhover' : item.tabexsectioninfo.sectioncompname == 'Horizontalcard' ? 'scrollmenuclassnameitemProductcard_Horizontalcard' : item.tabexsectioninfo.sectioncompname == 'Categorycard_fullimage' ? 'scrollmenuclassnameitemCategorycard_fullimage' :
|
|
@@ -37118,11 +37122,9 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37118
37122
|
setChoosenindex(index);
|
|
37119
37123
|
}
|
|
37120
37124
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37121
|
-
className: ' row m-0 p-0 mb-4 '
|
|
37125
|
+
className: ' row m-0 p-0 mb-4 px-3 '
|
|
37122
37126
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37123
|
-
className:
|
|
37124
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37125
|
-
className: "col-10 p-0 text-start"
|
|
37127
|
+
className: "col-10 d-flex justify-content-start align-items-center p-0"
|
|
37126
37128
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37127
37129
|
style: {
|
|
37128
37130
|
width: '50px',
|
|
@@ -37140,7 +37142,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37140
37142
|
border: '1px solid #ccc'
|
|
37141
37143
|
}
|
|
37142
37144
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37143
|
-
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 mx-
|
|
37145
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 mx-3 '
|
|
37144
37146
|
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37145
37147
|
className: "col-lg-2 col-md-2 col-sm-2 p-0 text-end"
|
|
37146
37148
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
@@ -37163,7 +37165,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37163
37165
|
}
|
|
37164
37166
|
}));
|
|
37165
37167
|
}
|
|
37166
|
-
})))))
|
|
37168
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
37167
37169
|
className: "p-0"
|
|
37168
37170
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37169
37171
|
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex px-4"
|
|
@@ -37175,11 +37177,9 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37175
37177
|
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
37176
37178
|
uuid: pindex
|
|
37177
37179
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37178
|
-
className: ' row m-0 p-0 mb-2 mb-3'
|
|
37179
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37180
|
-
className: ' row m-0 w-100 px-4 '
|
|
37180
|
+
className: ' row m-0 p-0 mb-2 mb-3 px-4'
|
|
37181
37181
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37182
|
-
className: "col-10
|
|
37182
|
+
className: "col-10 d-flex justify-content-start align-items-center p-0"
|
|
37183
37183
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37184
37184
|
style: {
|
|
37185
37185
|
width: '50px',
|
|
@@ -37197,7 +37197,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37197
37197
|
border: '1px solid #ccc'
|
|
37198
37198
|
}
|
|
37199
37199
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37200
|
-
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 mx-
|
|
37200
|
+
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 mx-3 '
|
|
37201
37201
|
}, langdetect == 'en' ? pitem.title_en : pitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37202
37202
|
className: "col-lg-2 col-md-2 col-sm-2 p-0 text-end"
|
|
37203
37203
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
@@ -37220,7 +37220,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37220
37220
|
}
|
|
37221
37221
|
}));
|
|
37222
37222
|
}
|
|
37223
|
-
})))))
|
|
37223
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
37224
37224
|
className: "p-0"
|
|
37225
37225
|
}, pitem.collections.length != 0 && pitem.collections.map(function (collitem, collindex) {
|
|
37226
37226
|
if (collitem.isshowntocustomers == 1) {
|
|
@@ -37229,7 +37229,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37229
37229
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37230
37230
|
className: ' row m-0 w-100 px-5 '
|
|
37231
37231
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37232
|
-
className: "col-10
|
|
37232
|
+
className: "col-10 d-flex justify-content-start align-items-center p-0",
|
|
37233
37233
|
onClick: function onClick() {
|
|
37234
37234
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
37235
37235
|
props.setmenuactive(false);
|
|
@@ -41331,7 +41331,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
41331
41331
|
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; }
|
|
41332
41332
|
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; }
|
|
41333
41333
|
var Modernheader = function Modernheader(props) {
|
|
41334
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$
|
|
41334
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i6, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
41335
41335
|
var _useState = React.useState(''),
|
|
41336
41336
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
41337
41337
|
sectionproperties = _useState2[0],
|
|
@@ -41366,6 +41366,10 @@ var Modernheader = function Modernheader(props) {
|
|
|
41366
41366
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
41367
41367
|
inqmenushowabout = _useState8[0],
|
|
41368
41368
|
setinqmenushowabout = _useState8[1];
|
|
41369
|
+
var _useState9 = React.useState(false),
|
|
41370
|
+
_useState0 = _slicedToArray__default["default"](_useState9, 2),
|
|
41371
|
+
menuactive = _useState0[0],
|
|
41372
|
+
setmenuactive = _useState0[1];
|
|
41369
41373
|
React.useEffect(function () {
|
|
41370
41374
|
var secpropobj = {};
|
|
41371
41375
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41469,17 +41473,30 @@ var Modernheader = function Modernheader(props) {
|
|
|
41469
41473
|
borderColor: sectionproperties.userBtnTextcoloronhover
|
|
41470
41474
|
}
|
|
41471
41475
|
}),
|
|
41476
|
+
user_btntext: glamor.css({
|
|
41477
|
+
color: sectionproperties.userBtniconcolor,
|
|
41478
|
+
fontSize: sectionproperties.userbtn_logintextFontSize + 'px',
|
|
41479
|
+
cursor: 'pointer',
|
|
41480
|
+
transition: '.3s',
|
|
41481
|
+
textTransform: sectionproperties.userBtnTexttransform,
|
|
41482
|
+
fontWeight: sectionproperties.userBtnTextfontweight,
|
|
41483
|
+
':hover': {
|
|
41484
|
+
color: sectionproperties.userBtnTextcoloronhover
|
|
41485
|
+
}
|
|
41486
|
+
}),
|
|
41472
41487
|
loggedinusername: glamor.css({
|
|
41473
41488
|
fontWeight: sectionproperties.userBtnTextfontweight,
|
|
41474
|
-
textTransform: sectionproperties.userBtnTexttransform,
|
|
41489
|
+
// textTransform: sectionproperties.userBtnTexttransform,
|
|
41475
41490
|
color: sectionproperties.userBtnTextcolor,
|
|
41476
41491
|
fontSize: sectionproperties.userBtntextfontsize + 'px',
|
|
41477
41492
|
lineHeight: sectionproperties.userBtntextfontsize + 'px',
|
|
41478
41493
|
transition: '.3s'
|
|
41479
41494
|
}),
|
|
41480
41495
|
loggedinuserbtn: glamor.css({
|
|
41481
|
-
width: sectionproperties.
|
|
41482
|
-
height: sectionproperties.
|
|
41496
|
+
width: sectionproperties.userBtnWidth == 0 ? 'auto' : sectionproperties.userBtnWidth + 'px',
|
|
41497
|
+
height: sectionproperties.userBtnHeight + 'px',
|
|
41498
|
+
// width: sectionproperties.loggedinuserbtn_width + 'px',
|
|
41499
|
+
// height: sectionproperties.loggedinuserbtn_height + 'px',
|
|
41483
41500
|
border: sectionproperties.userlogginbtnborderwidth + 'px solid ' + sectionproperties.userlogginbtnbordercolor,
|
|
41484
41501
|
borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
|
|
41485
41502
|
background: sectionproperties.userBtnbgColor_loggedin,
|
|
@@ -41588,7 +41605,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41588
41605
|
textAlign: 'center',
|
|
41589
41606
|
width: sectionproperties.searchbaricon_width + 'px',
|
|
41590
41607
|
height: sectionproperties.searchbaricon_height + 'px',
|
|
41591
|
-
borderRadius: sectionproperties.
|
|
41608
|
+
borderRadius: sectionproperties.searchbaricon_borderRadius + 'px',
|
|
41592
41609
|
color: sectionproperties.searchbaricon_color,
|
|
41593
41610
|
backgroundColor: sectionproperties.searchbaricon_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbaricon_bgcolor
|
|
41594
41611
|
}),
|
|
@@ -41664,6 +41681,21 @@ var Modernheader = function Modernheader(props) {
|
|
|
41664
41681
|
backgroundColor: sectionproperties.lowersection_bgcolortransparent == 'Transparent' ? sectionproperties.uppersection_bgcolor : '',
|
|
41665
41682
|
transition: '.3s ease-in-out'
|
|
41666
41683
|
}
|
|
41684
|
+
}),
|
|
41685
|
+
menuiconn: glamor.css({
|
|
41686
|
+
backgroundColor: sectionproperties.menuiconbgcolor,
|
|
41687
|
+
width: sectionproperties.menuiconwidth,
|
|
41688
|
+
height: sectionproperties.menuiconheight,
|
|
41689
|
+
marginRight: langdetect == 'en' ? 30 : 0,
|
|
41690
|
+
marginLeft: langdetect == 'en' ? 0 : 30,
|
|
41691
|
+
borderRadius: 100,
|
|
41692
|
+
color: sectionproperties.menuiconcolor,
|
|
41693
|
+
':hover': {
|
|
41694
|
+
transition: '.3s',
|
|
41695
|
+
cursor: 'pointer',
|
|
41696
|
+
backgroundColor: sectionproperties.menuiconbgcoloronhover,
|
|
41697
|
+
color: sectionproperties.menuiconcoloronhover
|
|
41698
|
+
}
|
|
41667
41699
|
})
|
|
41668
41700
|
};
|
|
41669
41701
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -41723,7 +41755,19 @@ var Modernheader = function Modernheader(props) {
|
|
|
41723
41755
|
}, /*#__PURE__*/React__default["default"].createElement(MdArrowBack.MdArrowBack, {
|
|
41724
41756
|
color: sectionproperties.searchbaricon_color,
|
|
41725
41757
|
size: 35
|
|
41726
|
-
}))), sectionproperties.
|
|
41758
|
+
}))), sectionproperties.showmenuicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41759
|
+
style: {},
|
|
41760
|
+
"class": header_cssstyles.menuiconn + ' allcentered ',
|
|
41761
|
+
onClick: function onClick() {
|
|
41762
|
+
if (menuactive == true) {
|
|
41763
|
+
setmenuactive(false);
|
|
41764
|
+
} else {
|
|
41765
|
+
setmenuactive(true);
|
|
41766
|
+
}
|
|
41767
|
+
}
|
|
41768
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMenu.FiMenu, {
|
|
41769
|
+
size: sectionproperties.menuiconfontsize
|
|
41770
|
+
})), sectionproperties.searchbartype == 'Full Width' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41727
41771
|
"class": header_cssstyles.searchbarcont
|
|
41728
41772
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
41729
41773
|
type: "text",
|
|
@@ -41766,20 +41810,20 @@ var Modernheader = function Modernheader(props) {
|
|
|
41766
41810
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41767
41811
|
"class": "m-0 p-0 mr-2 ml-2",
|
|
41768
41812
|
style: {
|
|
41769
|
-
color: sectionproperties.
|
|
41813
|
+
color: sectionproperties.cartBtnbgColor,
|
|
41770
41814
|
fontSize: 16
|
|
41771
41815
|
}
|
|
41772
41816
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
41773
|
-
color: sectionproperties.
|
|
41817
|
+
color: sectionproperties.searchbaricon_color
|
|
41774
41818
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41775
41819
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
41776
41820
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41777
41821
|
"class": "m-0 p-0 ml-2 mr-2",
|
|
41778
41822
|
style: {
|
|
41779
|
-
color: sectionproperties.
|
|
41823
|
+
color: sectionproperties.searchbaricon_color
|
|
41780
41824
|
}
|
|
41781
41825
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
41782
|
-
color: sectionproperties.
|
|
41826
|
+
color: sectionproperties.searchbaricon_color
|
|
41783
41827
|
})))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.map(function (item, index) {
|
|
41784
41828
|
var _authdetailsContext$i5;
|
|
41785
41829
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
@@ -41833,44 +41877,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41833
41877
|
marginRight: langdetect == 'en' ? '30px' : 0,
|
|
41834
41878
|
marginLeft: langdetect == 'en' ? 0 : '30px'
|
|
41835
41879
|
}
|
|
41836
|
-
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null,
|
|
41837
|
-
"class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
41838
|
-
sytle: {
|
|
41839
|
-
position: 'relative'
|
|
41840
|
-
},
|
|
41841
|
-
onClick: function onClick() {
|
|
41842
|
-
routingcountext(StaticPagesLinksContext.Login);
|
|
41843
|
-
}
|
|
41844
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) == '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41845
|
-
"class": "allcentered",
|
|
41846
|
-
style: {
|
|
41847
|
-
width: sectionproperties.userBtniconfontsize + 'px',
|
|
41848
|
-
height: sectionproperties.userBtniconfontsize + 'px'
|
|
41849
|
-
}
|
|
41850
|
-
}, /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
41851
|
-
fill: sectionproperties.userBtniconcolor,
|
|
41852
|
-
viewBox: "0 0 32 32",
|
|
41853
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
41854
|
-
}, /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41855
|
-
id: "SVGRepo_bgCarrier",
|
|
41856
|
-
"stroke-width": "0"
|
|
41857
|
-
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41858
|
-
id: "SVGRepo_tracerCarrier",
|
|
41859
|
-
"stroke-linecap": "round",
|
|
41860
|
-
"stroke-linejoin": "round"
|
|
41861
|
-
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41862
|
-
id: "SVGRepo_iconCarrier"
|
|
41863
|
-
}, /*#__PURE__*/React__default["default"].createElement("title", null), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
41864
|
-
id: "about"
|
|
41865
|
-
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41866
|
-
d: "M16,16A7,7,0,1,0,9,9,7,7,0,0,0,16,16ZM16,4a5,5,0,1,1-5,5A5,5,0,0,1,16,4Z"
|
|
41867
|
-
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
41868
|
-
d: "M17,18H15A11,11,0,0,0,4,29a1,1,0,0,0,1,1H27a1,1,0,0,0,1-1A11,11,0,0,0,17,18ZM6.06,28A9,9,0,0,1,15,20h2a9,9,0,0,1,8.94,8Z"
|
|
41869
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) != '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
41870
|
-
"class": ' h-100 d-flex align-items-center '
|
|
41871
|
-
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, {
|
|
41872
|
-
size: sectionproperties.userBtnTextfontsize
|
|
41873
|
-
}))), !authdetailsContext.loggedin && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '694aa4a9e7d8e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41880
|
+
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41874
41881
|
className: "flex-row d-flex allcentered"
|
|
41875
41882
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41876
41883
|
"class": " ".concat(header_cssstyles.user_btn) + ' d-flex align-items-center justify-content-center ',
|
|
@@ -41884,12 +41891,9 @@ var Modernheader = function Modernheader(props) {
|
|
|
41884
41891
|
"class": ' h-100 d-flex align-items-center '
|
|
41885
41892
|
}, /*#__PURE__*/React__default["default"].createElement(BiUser.BiUser, {
|
|
41886
41893
|
size: sectionproperties.userBtnTextfontsize
|
|
41887
|
-
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41888
|
-
|
|
41889
|
-
|
|
41890
|
-
},
|
|
41891
|
-
"class": "mx-2"
|
|
41892
|
-
}, langdetect == 'en' ? 'LOGIN' : 'تسجيل الدخول')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41894
|
+
}))), sectionproperties.userbtn_logintextFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
41895
|
+
"class": " ".concat(header_cssstyles.user_btntext) + ' mx-2 '
|
|
41896
|
+
}, langdetect == 'en' ? 'LOGIN/register' : 'تسجيل الدخول')), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41893
41897
|
"class": header_cssstyles.userBtnLoggedinContainer + ' allcentered ',
|
|
41894
41898
|
sytle: {
|
|
41895
41899
|
position: 'relative'
|
|
@@ -41914,7 +41918,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
41914
41918
|
fontWeight: 400
|
|
41915
41919
|
}
|
|
41916
41920
|
}, lang.hello, langdetect == 'en' ? ',' : '،'), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41917
|
-
"class": header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow ',
|
|
41921
|
+
"class": header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow text-capitalize ',
|
|
41918
41922
|
style: {
|
|
41919
41923
|
maxWidth: '120px'
|
|
41920
41924
|
}
|
|
@@ -42024,7 +42028,10 @@ var Modernheader = function Modernheader(props) {
|
|
|
42024
42028
|
style: {
|
|
42025
42029
|
position: 'relative'
|
|
42026
42030
|
}
|
|
42027
|
-
},
|
|
42031
|
+
}, sectionproperties.carticonstyle != "I'll use my own SVG" &&
|
|
42032
|
+
/*#__PURE__*/
|
|
42033
|
+
// {authdetailsContext?.instinfo?.instid != '69ce49ee861df' && (
|
|
42034
|
+
React__default["default"].createElement("i", {
|
|
42028
42035
|
"class": ' allcentered '
|
|
42029
42036
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
42030
42037
|
"class": "",
|
|
@@ -42045,43 +42052,22 @@ var Modernheader = function Modernheader(props) {
|
|
|
42045
42052
|
size: sectionproperties.cartBtn_iconFontSize
|
|
42046
42053
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
42047
42054
|
size: sectionproperties.cartBtn_iconFontSize
|
|
42048
|
-
})),
|
|
42055
|
+
})), sectionproperties.carticonstyle == "I'll use my own SVG" && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42049
42056
|
"class": "h-100 allcentered ",
|
|
42050
42057
|
style: {
|
|
42051
42058
|
width: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
42052
42059
|
height: sectionproperties.cartBtn_iconFontSize + 'px'
|
|
42060
|
+
},
|
|
42061
|
+
dangerouslySetInnerHTML: {
|
|
42062
|
+
__html: sectionproperties.cartsvg
|
|
42053
42063
|
}
|
|
42054
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
42055
|
-
viewBox: "0 0 24 24",
|
|
42056
|
-
fill: "none",
|
|
42057
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
42058
|
-
}, /*#__PURE__*/React__default["default"].createElement("g", {
|
|
42059
|
-
id: "SVGRepo_bgCarrier",
|
|
42060
|
-
"stroke-width": "0"
|
|
42061
|
-
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
42062
|
-
id: "SVGRepo_tracerCarrier",
|
|
42063
|
-
"stroke-linecap": "round",
|
|
42064
|
-
"stroke-linejoin": "round"
|
|
42065
|
-
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
42066
|
-
id: "SVGRepo_iconCarrier"
|
|
42067
|
-
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
42068
|
-
d: "M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",
|
|
42069
|
-
stroke: sectionproperties.cart_iconcolor,
|
|
42070
|
-
"stroke-width": "1.5"
|
|
42071
|
-
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
42072
|
-
d: "M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",
|
|
42073
|
-
stroke: sectionproperties.cart_iconcolor,
|
|
42074
|
-
"stroke-width": "1.5"
|
|
42075
|
-
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
42076
|
-
d: "M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",
|
|
42077
|
-
fill: sectionproperties.cart_iconcolor
|
|
42078
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42064
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42079
42065
|
className: "".concat(headerstyles$g.badge_counter_header_notifications, " ").concat(header_cssstyles.badge_counter_header_notifications) + ' d-flex justify-content-center text-center ',
|
|
42080
42066
|
style: {
|
|
42081
42067
|
top: sectionproperties.cartbadgetop + 'px',
|
|
42082
42068
|
right: sectionproperties.cartbadgeright + 'px'
|
|
42083
42069
|
}
|
|
42084
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42070
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != null ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) >= 10 ? '+9' : fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42085
42071
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
42086
42072
|
}, /*#__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", {
|
|
42087
42073
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
@@ -42119,29 +42105,29 @@ var Modernheader = function Modernheader(props) {
|
|
|
42119
42105
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
42120
42106
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
42121
42107
|
"class": "ml-2 mr-2"
|
|
42122
|
-
}, "English"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42108
|
+
}, "English"))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) != '69ce49ee861df' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42123
42109
|
"class": langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'
|
|
42124
42110
|
}, /*#__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", {
|
|
42125
42111
|
"class": "".concat(headerstyles$g.header_menu) + ' allcentered '
|
|
42126
42112
|
}, langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42127
42113
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
42128
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42114
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
42129
42115
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
42130
42116
|
style: {
|
|
42131
42117
|
maxWidth: '2.5vh',
|
|
42132
42118
|
maxHeight: '2.5vh'
|
|
42133
42119
|
}
|
|
42134
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42120
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42135
42121
|
"class": "m-0 p-0"
|
|
42136
42122
|
}, "\u0639")), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42137
42123
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-1s00 d-flex align-items-center '
|
|
42138
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42124
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
42139
42125
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
42140
42126
|
style: {
|
|
42141
42127
|
maxWidth: '2.5vh',
|
|
42142
42128
|
maxHeight: '2.5vh'
|
|
42143
42129
|
}
|
|
42144
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42130
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) != '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42145
42131
|
"class": "m-0 p-0"
|
|
42146
42132
|
}, "En")))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
42147
42133
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
@@ -42152,7 +42138,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
42152
42138
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
42153
42139
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42154
42140
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
42155
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42141
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
42156
42142
|
src: 'https://tabex-co.com/storage/StaticImages/egyptflag.png',
|
|
42157
42143
|
style: {
|
|
42158
42144
|
maxWidth: '2vh',
|
|
@@ -42169,7 +42155,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
42169
42155
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
42170
42156
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42171
42157
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
42172
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42158
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
42173
42159
|
src: 'https://tabex-co.com/storage/StaticImages/usflag.png',
|
|
42174
42160
|
style: {
|
|
42175
42161
|
maxWidth: '2vh',
|
|
@@ -42196,8 +42182,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
42196
42182
|
}
|
|
42197
42183
|
}, /*#__PURE__*/React__default["default"].createElement("ul", null, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
42198
42184
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
42199
|
-
var _authdetailsContext$
|
|
42200
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
42185
|
+
var _authdetailsContext$i14;
|
|
42186
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instid) != '68c69dcc53e94') {
|
|
42201
42187
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42202
42188
|
"class": "cursor-pointer",
|
|
42203
42189
|
onClick: function onClick() {
|
|
@@ -42421,7 +42407,71 @@ var Modernheader = function Modernheader(props) {
|
|
|
42421
42407
|
actions: actions,
|
|
42422
42408
|
sectionpropertiesprops: sectionproperties,
|
|
42423
42409
|
srcfromprops: 'StylishHeader'
|
|
42424
|
-
})))))))
|
|
42410
|
+
}))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
42411
|
+
show: menuactive,
|
|
42412
|
+
onHide: function onHide() {
|
|
42413
|
+
setmenuactive(false);
|
|
42414
|
+
},
|
|
42415
|
+
placement: langdetect == 'en' ? 'start' : 'end',
|
|
42416
|
+
scroll: true,
|
|
42417
|
+
style: {
|
|
42418
|
+
width: '30%',
|
|
42419
|
+
background: 'white'
|
|
42420
|
+
},
|
|
42421
|
+
backdrop: true
|
|
42422
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42423
|
+
className: "row m-0 w-100 mb-4",
|
|
42424
|
+
style: {
|
|
42425
|
+
borderBottom: '1px solid #eee'
|
|
42426
|
+
}
|
|
42427
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42428
|
+
className: 'col-12 allcentered py-3'
|
|
42429
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
42430
|
+
className: "m-0 p-0",
|
|
42431
|
+
style: {
|
|
42432
|
+
textTransform: 'uppercase',
|
|
42433
|
+
fontWeight: 500,
|
|
42434
|
+
fontSize: '15px',
|
|
42435
|
+
transition: '.3s',
|
|
42436
|
+
color: '#05233D'
|
|
42437
|
+
}
|
|
42438
|
+
}, langdetect == 'en' ? 'PRODUCTS & SERVICES' : 'منتجاتنا و خدماتنا'))), langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42439
|
+
"class": "allcentered",
|
|
42440
|
+
style: {
|
|
42441
|
+
position: 'absolute',
|
|
42442
|
+
right: -34,
|
|
42443
|
+
top: 5,
|
|
42444
|
+
width: 30,
|
|
42445
|
+
height: 30,
|
|
42446
|
+
background: '#000'
|
|
42447
|
+
},
|
|
42448
|
+
onClick: function onClick() {
|
|
42449
|
+
setopenmenuCanvas(false);
|
|
42450
|
+
}
|
|
42451
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
42452
|
+
color: '#fff',
|
|
42453
|
+
size: 16
|
|
42454
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
42455
|
+
"class": "allcentered",
|
|
42456
|
+
style: {
|
|
42457
|
+
position: 'absolute',
|
|
42458
|
+
left: -34,
|
|
42459
|
+
top: 5,
|
|
42460
|
+
width: 30,
|
|
42461
|
+
height: 30,
|
|
42462
|
+
background: '#000'
|
|
42463
|
+
},
|
|
42464
|
+
onClick: function onClick() {
|
|
42465
|
+
setmenuactive(false);
|
|
42466
|
+
}
|
|
42467
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
42468
|
+
color: '#fff',
|
|
42469
|
+
size: 16
|
|
42470
|
+
})))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Body, null, /*#__PURE__*/React__default["default"].createElement(SubheaderDropdown, {
|
|
42471
|
+
sectionpropertiesprops: sectionproperties,
|
|
42472
|
+
actions: actions,
|
|
42473
|
+
setmenuactive: setmenuactive
|
|
42474
|
+
}))));
|
|
42425
42475
|
};
|
|
42426
42476
|
|
|
42427
42477
|
function ownKeys$1W(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; }
|
|
@@ -56814,7 +56864,7 @@ var Footer7 = function Footer7(props) {
|
|
|
56814
56864
|
function ownKeys$1D(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; }
|
|
56815
56865
|
function _objectSpread$1D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
56816
56866
|
var Footer8 = function Footer8(props) {
|
|
56817
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i32, _authdetailsContext$i35, _authdetailsContext$i38, _authdetailsContext$i41, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i47, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8,
|
|
56867
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i22, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i32, _authdetailsContext$i35, _authdetailsContext$i38, _authdetailsContext$i41, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i47, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i48, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i52, _authdetailsContext$i55, _authdetailsContext$i58, _authdetailsContext$i61, _authdetailsContext$i64, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _authdetailsContext$i67, _logoarrayofobjects$5, _logoarrayofobjects$6, _templatepropcontext$2, _templatepropcontext$3, _fetchCategoriesQuery, _fetchCategoriesQuery2, _authdetailsContext$i69, _authdetailsContext$i70, _authdetailsContext$i73, _authdetailsContext$i76, _authdetailsContext$i79, _authdetailsContext$i82, _authdetailsContext$i84, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18;
|
|
56818
56868
|
var _useState = React.useState(''),
|
|
56819
56869
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
56820
56870
|
sectionproperties = _useState2[0],
|
|
@@ -57547,7 +57597,7 @@ var Footer8 = function Footer8(props) {
|
|
|
57547
57597
|
marginRight: langdetect == 'en' ? '20px' : 0,
|
|
57548
57598
|
marginLeft: langdetect == 'ar' ? '20px' : 0
|
|
57549
57599
|
}
|
|
57550
|
-
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar)), sectionproperties.showhidesubpages == 'Show' && sectionproperties.showfavorites
|
|
57600
|
+
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar)), sectionproperties.showhidesubpages == 'Show' && sectionproperties.showfavorites == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57551
57601
|
"class": "scrollhorizontalcard d-md-flex justify-content-md-start w-md-100"
|
|
57552
57602
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57553
57603
|
"class": "".concat(footerStyles.subPages) + ' wordbreak ',
|
|
@@ -57647,7 +57697,7 @@ var Footer8 = function Footer8(props) {
|
|
|
57647
57697
|
"class": "allcentered"
|
|
57648
57698
|
}, /*#__PURE__*/React__default["default"].createElement(FiUser.FiUser, {
|
|
57649
57699
|
size: 18
|
|
57650
|
-
})), langdetect == 'en' ? 'Account' : 'حسابي'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57700
|
+
})), langdetect == 'en' ? 'Account' : 'حسابي'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.instid) == '67b1bb900a541' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57651
57701
|
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 '
|
|
57652
57702
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57653
57703
|
"class": "row m-0 w-100 px-1025-1 pb-3 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3",
|
|
@@ -57707,7 +57757,7 @@ var Footer8 = function Footer8(props) {
|
|
|
57707
57757
|
marginBottom: 0,
|
|
57708
57758
|
fontWeight: 500
|
|
57709
57759
|
}
|
|
57710
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57760
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.address_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57711
57761
|
"class": "col-lg-12 p-0 text-start"
|
|
57712
57762
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57713
57763
|
"class": "".concat(footerStyles.iconTextStyle),
|
|
@@ -57855,8 +57905,8 @@ var Footer8 = function Footer8(props) {
|
|
|
57855
57905
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
57856
57906
|
"class": "".concat(footerStyles.iconTextStyle) + ' cursor-pointer ',
|
|
57857
57907
|
onClick: function onClick() {
|
|
57858
|
-
var _authdetailsContext$
|
|
57859
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57908
|
+
var _authdetailsContext$i51;
|
|
57909
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 || (_authdetailsContext$i51 = _authdetailsContext$i51.contactinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.email), '_self');
|
|
57860
57910
|
}
|
|
57861
57911
|
}, "contact@advisor-firm.com")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57862
57912
|
"class": "col-lg-12 p-0 allcentered",
|
|
@@ -57892,61 +57942,61 @@ var Footer8 = function Footer8(props) {
|
|
|
57892
57942
|
"class": "row m-0 w-100"
|
|
57893
57943
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57894
57944
|
className: "col-lg-12 p-0 d-flex flex-row"
|
|
57895
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57945
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57896
57946
|
"class": langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mr-2 ' : "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-2 ',
|
|
57897
57947
|
onClick: function onClick() {
|
|
57898
|
-
var _authdetailsContext$
|
|
57899
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57900
|
-
var _authdetailsContext$
|
|
57901
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57948
|
+
var _authdetailsContext$i53;
|
|
57949
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.facebooklink) != null) {
|
|
57950
|
+
var _authdetailsContext$i54;
|
|
57951
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.facebooklink, '_blank');
|
|
57902
57952
|
}
|
|
57903
57953
|
}
|
|
57904
57954
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
57905
57955
|
size: sectionproperties.facebkbtnniconfontsize
|
|
57906
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57956
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57907
57957
|
"class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2',
|
|
57908
57958
|
onClick: function onClick() {
|
|
57909
|
-
var _authdetailsContext$
|
|
57910
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57911
|
-
var _authdetailsContext$
|
|
57912
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57959
|
+
var _authdetailsContext$i56;
|
|
57960
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.linkedinlink) != null) {
|
|
57961
|
+
var _authdetailsContext$i57;
|
|
57962
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.linkedinlink, '_blank');
|
|
57913
57963
|
}
|
|
57914
57964
|
}
|
|
57915
57965
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
57916
57966
|
size: sectionproperties.linkedinbtniconfontsize
|
|
57917
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57967
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57918
57968
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
57919
57969
|
onClick: function onClick() {
|
|
57920
|
-
var _authdetailsContext$
|
|
57921
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57922
|
-
var _authdetailsContext$
|
|
57923
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57970
|
+
var _authdetailsContext$i59;
|
|
57971
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.instagramlink) != null) {
|
|
57972
|
+
var _authdetailsContext$i60;
|
|
57973
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.instagramlink, '_blank');
|
|
57924
57974
|
}
|
|
57925
57975
|
}
|
|
57926
57976
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
57927
57977
|
size: sectionproperties.instgrambtniconfontsize
|
|
57928
57978
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57929
57979
|
className: "col-lg-12 p-0 d-flex flex-row mt-3"
|
|
57930
|
-
}, sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57980
|
+
}, sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57931
57981
|
"class": langdetect == 'en' ? " ".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.tiktokbtn) + ' d-flex align-items-center justify-content-center ml-2'
|
|
57932
57982
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
57933
57983
|
,
|
|
57934
57984
|
onClick: function onClick() {
|
|
57935
|
-
var _authdetailsContext$
|
|
57936
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57937
|
-
var _authdetailsContext$
|
|
57938
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57985
|
+
var _authdetailsContext$i62;
|
|
57986
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.tiktoklink) != null) {
|
|
57987
|
+
var _authdetailsContext$i63;
|
|
57988
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.tiktoklink, '_blank');
|
|
57939
57989
|
}
|
|
57940
57990
|
}
|
|
57941
57991
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
57942
57992
|
size: sectionproperties.tiktokbtniconfontsize
|
|
57943
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57993
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
57944
57994
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
57945
57995
|
onClick: function onClick() {
|
|
57946
|
-
var _authdetailsContext$
|
|
57947
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57948
|
-
var _authdetailsContext$
|
|
57949
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
57996
|
+
var _authdetailsContext$i65;
|
|
57997
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.youtubelink) != null) {
|
|
57998
|
+
var _authdetailsContext$i66;
|
|
57999
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.youtubelink, '_blank');
|
|
57950
58000
|
}
|
|
57951
58001
|
}
|
|
57952
58002
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube$1.AiFillYoutube, {
|
|
@@ -58009,7 +58059,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58009
58059
|
style: {
|
|
58010
58060
|
color: '#818181'
|
|
58011
58061
|
}
|
|
58012
|
-
}, "\u062D\u0642\u0648\u0642 \u0627\u0644\u0646\u0634\u0631 \u0645\u062D\u0641\u0648\u0638\u0629 \xA9 2025 \u0645\u0624\u0633\u0633\u0629 \u0627\u0644\u0645\u0633\u062A\u0634\u0627\u0631"))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58062
|
+
}, "\u062D\u0642\u0648\u0642 \u0627\u0644\u0646\u0634\u0631 \u0645\u062D\u0641\u0648\u0638\u0629 \xA9 2025 \u0645\u0624\u0633\u0633\u0629 \u0627\u0644\u0645\u0633\u062A\u0634\u0627\u0631"))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.instid) == '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58013
58063
|
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 '
|
|
58014
58064
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58015
58065
|
"class": "row m-0 w-100 px-1025-1 pb-3 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3",
|
|
@@ -58229,8 +58279,8 @@ var Footer8 = function Footer8(props) {
|
|
|
58229
58279
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58230
58280
|
"class": "".concat(footerStyles.iconTextStylepagename) + ' col-lg-12 p-0 d-flex flex-row mt-3 align-items-center ',
|
|
58231
58281
|
onClick: function onClick() {
|
|
58232
|
-
var _authdetailsContext$
|
|
58233
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58282
|
+
var _authdetailsContext$i68;
|
|
58283
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i68 = authdetailsContext.instinfo) === null || _authdetailsContext$i68 === void 0 || (_authdetailsContext$i68 = _authdetailsContext$i68.contactinfo) === null || _authdetailsContext$i68 === void 0 ? void 0 : _authdetailsContext$i68.email), '_self');
|
|
58234
58284
|
}
|
|
58235
58285
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
58236
58286
|
"class": ' fa fa-at mr-2 ml-2 '
|
|
@@ -58239,7 +58289,7 @@ var Footer8 = function Footer8(props) {
|
|
|
58239
58289
|
style: {
|
|
58240
58290
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
58241
58291
|
}
|
|
58242
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58292
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 || (_authdetailsContext$i69 = _authdetailsContext$i69.contactinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.email)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58243
58293
|
"class": "col-lg-12 p-0 text-start mb-2 mt-1"
|
|
58244
58294
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
58245
58295
|
"class": "".concat(footerStyles.textStyles)
|
|
@@ -58249,69 +58299,69 @@ var Footer8 = function Footer8(props) {
|
|
|
58249
58299
|
"class": "row m-0 w-100"
|
|
58250
58300
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58251
58301
|
className: "col-lg-12 p-0 d-flex flex-row"
|
|
58252
|
-
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58302
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58253
58303
|
"class": langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mr-2 ' : "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-2 ',
|
|
58254
58304
|
onClick: function onClick() {
|
|
58255
|
-
var _authdetailsContext$
|
|
58256
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58257
|
-
var _authdetailsContext$
|
|
58258
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58305
|
+
var _authdetailsContext$i71;
|
|
58306
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.facebooklink) != null) {
|
|
58307
|
+
var _authdetailsContext$i72;
|
|
58308
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i72 = authdetailsContext.instinfo) === null || _authdetailsContext$i72 === void 0 ? void 0 : _authdetailsContext$i72.facebooklink, '_blank');
|
|
58259
58309
|
}
|
|
58260
58310
|
}
|
|
58261
58311
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
58262
58312
|
size: sectionproperties.facebkbtnniconfontsize
|
|
58263
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58313
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i73 = authdetailsContext.instinfo) === null || _authdetailsContext$i73 === void 0 ? void 0 : _authdetailsContext$i73.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58264
58314
|
"class": "".concat(footerStyles.youtube_btn, " ").concat(footerStyles.linkedinbtn) + ' d-flex align-items-center justify-content-center ml-2 mr-2'
|
|
58265
58315
|
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
58266
58316
|
,
|
|
58267
58317
|
onClick: function onClick() {
|
|
58268
|
-
var _authdetailsContext$
|
|
58269
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58270
|
-
var _authdetailsContext$
|
|
58271
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58318
|
+
var _authdetailsContext$i74;
|
|
58319
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i74 = authdetailsContext.instinfo) === null || _authdetailsContext$i74 === void 0 ? void 0 : _authdetailsContext$i74.linkedinlink) != null) {
|
|
58320
|
+
var _authdetailsContext$i75;
|
|
58321
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i75 = authdetailsContext.instinfo) === null || _authdetailsContext$i75 === void 0 ? void 0 : _authdetailsContext$i75.linkedinlink, '_blank');
|
|
58272
58322
|
}
|
|
58273
58323
|
}
|
|
58274
58324
|
}, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
|
|
58275
58325
|
size: sectionproperties.instgrambtniconfontsize
|
|
58276
|
-
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58326
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i76 = authdetailsContext.instinfo) === null || _authdetailsContext$i76 === void 0 ? void 0 : _authdetailsContext$i76.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58277
58327
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58278
58328
|
onClick: function onClick() {
|
|
58279
|
-
var _authdetailsContext$
|
|
58280
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58281
|
-
var _authdetailsContext$
|
|
58282
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58329
|
+
var _authdetailsContext$i77;
|
|
58330
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i77 = authdetailsContext.instinfo) === null || _authdetailsContext$i77 === void 0 ? void 0 : _authdetailsContext$i77.instagramlink) != null) {
|
|
58331
|
+
var _authdetailsContext$i78;
|
|
58332
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i78 = authdetailsContext.instinfo) === null || _authdetailsContext$i78 === void 0 ? void 0 : _authdetailsContext$i78.instagramlink, '_blank');
|
|
58283
58333
|
}
|
|
58284
58334
|
}
|
|
58285
58335
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
58286
58336
|
size: sectionproperties.instgrambtniconfontsize
|
|
58287
58337
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58288
58338
|
className: "col-lg-12 p-0 d-flex flex-row mt-3"
|
|
58289
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58339
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i79 = authdetailsContext.instinfo) === null || _authdetailsContext$i79 === void 0 ? void 0 : _authdetailsContext$i79.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58290
58340
|
"class": langdetect == 'en' ? "".concat(footerStyles.youtube_btnnnn) + ' d-flex align-items-center justify-content-center mr-2' : "".concat(footerStyles.youtube_btnnnn) + ' d-flex align-items-center justify-content-center ml-2',
|
|
58291
58341
|
onClick: function onClick() {
|
|
58292
|
-
var _authdetailsContext$
|
|
58293
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58294
|
-
var _authdetailsContext$
|
|
58295
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58342
|
+
var _authdetailsContext$i80;
|
|
58343
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i80 = authdetailsContext.instinfo) === null || _authdetailsContext$i80 === void 0 ? void 0 : _authdetailsContext$i80.youtubelink) != null) {
|
|
58344
|
+
var _authdetailsContext$i81;
|
|
58345
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i81 = authdetailsContext.instinfo) === null || _authdetailsContext$i81 === void 0 ? void 0 : _authdetailsContext$i81.youtubelink, '_blank');
|
|
58296
58346
|
}
|
|
58297
58347
|
}
|
|
58298
58348
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube$1.AiFillYoutube, {
|
|
58299
58349
|
size: sectionproperties.youtubebtniconfontsize
|
|
58300
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58350
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i82 = authdetailsContext.instinfo) === null || _authdetailsContext$i82 === void 0 || (_authdetailsContext$i82 = _authdetailsContext$i82.contactinfo) === null || _authdetailsContext$i82 === void 0 ? void 0 : _authdetailsContext$i82.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58301
58351
|
"class": "".concat(footerStyles.mailbtn) + ' d-flex align-items-center justify-content-center mr-2 ml-2',
|
|
58302
58352
|
onClick: function onClick() {
|
|
58303
|
-
var _authdetailsContext$
|
|
58304
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58353
|
+
var _authdetailsContext$i83;
|
|
58354
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i83 = authdetailsContext.instinfo) === null || _authdetailsContext$i83 === void 0 || (_authdetailsContext$i83 = _authdetailsContext$i83.contactinfo) === null || _authdetailsContext$i83 === void 0 ? void 0 : _authdetailsContext$i83.email), '_self');
|
|
58305
58355
|
}
|
|
58306
58356
|
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineMail.AiOutlineMail, {
|
|
58307
58357
|
size: sectionproperties.youtubebtniconfontsize
|
|
58308
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58358
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i84 = authdetailsContext.instinfo) === null || _authdetailsContext$i84 === void 0 ? void 0 : _authdetailsContext$i84.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
58309
58359
|
"class": "".concat(footerStyles.youtube_btn, " ") + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
58310
58360
|
onClick: function onClick() {
|
|
58311
|
-
var _authdetailsContext$
|
|
58312
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58313
|
-
var _authdetailsContext$
|
|
58314
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
58361
|
+
var _authdetailsContext$i85;
|
|
58362
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i85 = authdetailsContext.instinfo) === null || _authdetailsContext$i85 === void 0 ? void 0 : _authdetailsContext$i85.whatsappnumber) != null) {
|
|
58363
|
+
var _authdetailsContext$i86;
|
|
58364
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i86 = authdetailsContext.instinfo) === null || _authdetailsContext$i86 === void 0 ? void 0 : _authdetailsContext$i86.whatsappnumber), '_blank');
|
|
58315
58365
|
}
|
|
58316
58366
|
}
|
|
58317
58367
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
@@ -82223,7 +82273,7 @@ var ThreeSectionsWithSlideshow = function ThreeSectionsWithSlideshow(props) {
|
|
|
82223
82273
|
className: "row m-0 w-100"
|
|
82224
82274
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
82225
82275
|
"class": ' col-lg-8 mb-md-3 p-md-0 '
|
|
82226
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.
|
|
82276
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide, _extends__default["default"]({}, Slideshowsettings, {
|
|
82227
82277
|
transitionDuration: 1500,
|
|
82228
82278
|
duration: 1500,
|
|
82229
82279
|
arrow: true,
|
|
@@ -92899,6 +92949,7 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
92899
92949
|
function ownKeys$e(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; }
|
|
92900
92950
|
function _objectSpread$e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$e(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
92901
92951
|
var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
92952
|
+
var _css, _css2, _css3;
|
|
92902
92953
|
var _useState = React.useState(''),
|
|
92903
92954
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
92904
92955
|
sectionproperties = _useState2[0],
|
|
@@ -92967,16 +93018,6 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
92967
93018
|
height: sectionproperties.variantcontainer_height + 'vh',
|
|
92968
93019
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
|
|
92969
93020
|
}),
|
|
92970
|
-
productcard_imgcontainer: glamor.css({
|
|
92971
|
-
height: sectionproperties.image_height + 'px',
|
|
92972
|
-
background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
92973
|
-
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
92974
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
92975
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
92976
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
92977
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
92978
|
-
transition: '.3s'
|
|
92979
|
-
}),
|
|
92980
93021
|
productNameStyles: glamor.css({
|
|
92981
93022
|
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
92982
93023
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
@@ -93021,11 +93062,11 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93021
93062
|
position: 'absolute',
|
|
93022
93063
|
left: 0,
|
|
93023
93064
|
right: 0,
|
|
93024
|
-
bottom: '
|
|
93065
|
+
bottom: '20px',
|
|
93025
93066
|
opacity: 1,
|
|
93026
93067
|
margin: 'auto',
|
|
93027
93068
|
transition: 'all, 0.3s',
|
|
93028
|
-
width: sectionproperties.cartBtnWidth + '
|
|
93069
|
+
width: sectionproperties.cartBtnWidth + '%',
|
|
93029
93070
|
maxWidth: '100%',
|
|
93030
93071
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
93031
93072
|
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
@@ -93040,7 +93081,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93040
93081
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
93041
93082
|
}
|
|
93042
93083
|
}),
|
|
93043
|
-
cart_btn_bottom: glamor.css({
|
|
93084
|
+
cart_btn_bottom: glamor.css((_css = {
|
|
93044
93085
|
position: 'absolute',
|
|
93045
93086
|
left: 0,
|
|
93046
93087
|
right: 0,
|
|
@@ -93048,21 +93089,12 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93048
93089
|
opacity: 0,
|
|
93049
93090
|
margin: 'auto',
|
|
93050
93091
|
transition: 'all, 0.3s',
|
|
93051
|
-
width: sectionproperties.cartBtnWidth + 'px'
|
|
93052
|
-
|
|
93053
|
-
background: sectionproperties.
|
|
93054
|
-
|
|
93055
|
-
|
|
93056
|
-
|
|
93057
|
-
textTransform: sectionproperties.cartBtnTexttransform,
|
|
93058
|
-
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
93059
|
-
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
93060
|
-
':hover': {
|
|
93061
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93062
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93063
|
-
}
|
|
93064
|
-
}),
|
|
93065
|
-
cart_btn_center: glamor.css({
|
|
93092
|
+
width: sectionproperties.cartBtnWidth + 'px'
|
|
93093
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cart_iconcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty__default["default"](_css, ':hover', {
|
|
93094
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93095
|
+
color: sectionproperties.cartBtnTextcoloronhover
|
|
93096
|
+
}))),
|
|
93097
|
+
cart_btn_center: glamor.css((_css2 = {
|
|
93066
93098
|
position: 'absolute',
|
|
93067
93099
|
left: 0,
|
|
93068
93100
|
right: 0,
|
|
@@ -93070,20 +93102,11 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93070
93102
|
opacity: 0,
|
|
93071
93103
|
margin: 'auto',
|
|
93072
93104
|
transition: 'all, 0.3s',
|
|
93073
|
-
width: sectionproperties.cartBtnWidth + 'px'
|
|
93074
|
-
|
|
93075
|
-
background: sectionproperties.
|
|
93076
|
-
|
|
93077
|
-
|
|
93078
|
-
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
93079
|
-
textTransform: sectionproperties.cartBtnTexttransform,
|
|
93080
|
-
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
93081
|
-
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
93082
|
-
':hover': {
|
|
93083
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93084
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93085
|
-
}
|
|
93086
|
-
}),
|
|
93105
|
+
width: sectionproperties.cartBtnWidth + 'px'
|
|
93106
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css2, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cart_iconcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty__default["default"](_css2, ':hover', {
|
|
93107
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93108
|
+
color: sectionproperties.cartBtnTextcoloronhover
|
|
93109
|
+
}))),
|
|
93087
93110
|
productcard: glamor.css({
|
|
93088
93111
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
93089
93112
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
@@ -93112,7 +93135,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93112
93135
|
bottom: '40%'
|
|
93113
93136
|
}
|
|
93114
93137
|
}),
|
|
93115
|
-
cart_btnresponsive: glamor.css({
|
|
93138
|
+
cart_btnresponsive: glamor.css((_css3 = {
|
|
93116
93139
|
position: 'absolute',
|
|
93117
93140
|
opacity: 1,
|
|
93118
93141
|
bottom: '10px',
|
|
@@ -93120,20 +93143,11 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93120
93143
|
right: 0,
|
|
93121
93144
|
margin: 'auto',
|
|
93122
93145
|
transition: 'all, 0.3s',
|
|
93123
|
-
width: sectionproperties.cartBtnWidth + 'px'
|
|
93124
|
-
|
|
93125
|
-
background: sectionproperties.
|
|
93126
|
-
|
|
93127
|
-
|
|
93128
|
-
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
93129
|
-
textTransform: sectionproperties.cartBtnTexttransform,
|
|
93130
|
-
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
93131
|
-
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
93132
|
-
':hover': {
|
|
93133
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93134
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93135
|
-
}
|
|
93136
|
-
}),
|
|
93146
|
+
width: sectionproperties.cartBtnWidth + 'px'
|
|
93147
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css3, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cart_iconcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty__default["default"](_css3, ':hover', {
|
|
93148
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93149
|
+
color: sectionproperties.cartBtnTextcoloronhover
|
|
93150
|
+
}))),
|
|
93137
93151
|
imageContainer: glamor.css({
|
|
93138
93152
|
backgroundColor: sectionproperties.image_bgcolor,
|
|
93139
93153
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
@@ -93142,16 +93156,24 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93142
93156
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
93143
93157
|
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
93144
93158
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
93159
|
+
position: 'relative',
|
|
93160
|
+
overflow: 'hidden',
|
|
93145
93161
|
'@media (max-width: 800px)': {
|
|
93146
93162
|
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px'
|
|
93147
93163
|
}
|
|
93148
93164
|
}),
|
|
93149
93165
|
productoutercard: glamor.css({
|
|
93150
|
-
minWidth: sectionproperties.width + 'px',
|
|
93151
|
-
maxWidth: sectionproperties.width + 'px',
|
|
93166
|
+
// minWidth: sectionproperties.width + 'px',
|
|
93167
|
+
// maxWidth: sectionproperties.width + 'px',
|
|
93168
|
+
// '@media (max-width: 800px)': {
|
|
93169
|
+
// minWidth: sectionproperties.widthresponsive + 'px',
|
|
93170
|
+
// maxWidth: sectionproperties.widthresponsive + 'px',
|
|
93171
|
+
// },
|
|
93172
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
93173
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
93152
93174
|
'@media (max-width: 800px)': {
|
|
93153
|
-
minWidth: sectionproperties.widthresponsive + 'px',
|
|
93154
|
-
maxWidth: sectionproperties.widthresponsive + 'px'
|
|
93175
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
93176
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
93155
93177
|
}
|
|
93156
93178
|
})
|
|
93157
93179
|
};
|
|
@@ -93165,7 +93187,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93165
93187
|
style: {
|
|
93166
93188
|
position: 'relative'
|
|
93167
93189
|
}
|
|
93168
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
93190
|
+
}, item.image != null && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
93169
93191
|
"class": transition ? generalCardsStyles.intialimage : '',
|
|
93170
93192
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
93171
93193
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -93204,88 +93226,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93204
93226
|
setShowProductInfoModalContext(true);
|
|
93205
93227
|
setProductIdProdutInfoModalContext(item.productid);
|
|
93206
93228
|
}
|
|
93207
|
-
})
|
|
93208
|
-
"class": "".concat(card_cssstyles.wishlist_btn) + ' wishlist_btn cursor-pointer ',
|
|
93209
|
-
onClick: function onClick(e) {
|
|
93210
|
-
e.stopPropagation();
|
|
93211
|
-
addtofavoritescontext(item.productid);
|
|
93212
|
-
}
|
|
93213
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
93214
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
93215
|
-
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
93216
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
93217
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
93218
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
93219
|
-
style: {
|
|
93220
|
-
color: sectionproperties.activefaviconcolor
|
|
93221
|
-
}
|
|
93222
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
93223
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
93224
|
-
style: {
|
|
93225
|
-
color: sectionproperties.activefaviconcolor
|
|
93226
|
-
}
|
|
93227
|
-
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
93228
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
93229
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
93230
|
-
size: sectionproperties.favBtnIconfontsize
|
|
93231
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
93232
|
-
size: sectionproperties.favBtnIconfontsize
|
|
93233
|
-
})))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93234
|
-
"class": "allcentered",
|
|
93235
|
-
style: {
|
|
93236
|
-
position: 'absolute',
|
|
93237
|
-
top: sectionproperties.badge_top + 'px',
|
|
93238
|
-
left: sectionproperties.badge_right + 'px',
|
|
93239
|
-
width: sectionproperties.badge_width + 'px',
|
|
93240
|
-
height: sectionproperties.badge_height + 'px',
|
|
93241
|
-
background: sectionproperties.badge_bgcolor,
|
|
93242
|
-
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
93243
|
-
}
|
|
93244
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93245
|
-
"class": props.fontFamilyprops == 'ASUL' ? ' ASUL m-0 p-0 text-uppercase' : ' m-0 p-0 text-uppercase',
|
|
93246
|
-
style: {
|
|
93247
|
-
color: sectionproperties.badge_color,
|
|
93248
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
93249
|
-
}
|
|
93250
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93251
|
-
"class": "allcentered",
|
|
93252
|
-
style: {
|
|
93253
|
-
position: 'absolute',
|
|
93254
|
-
top: sectionproperties.pillpositionfromtop + 'px',
|
|
93255
|
-
left: sectionproperties.pillpositionfromright + 'px',
|
|
93256
|
-
width: sectionproperties.pillwidth + 'px',
|
|
93257
|
-
height: sectionproperties.pillheight + 'px',
|
|
93258
|
-
background: sectionproperties.pillbgcolor,
|
|
93259
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
93260
|
-
}
|
|
93261
|
-
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93262
|
-
"class": "m-0 p-0 text-uppercase",
|
|
93263
|
-
style: {
|
|
93264
|
-
color: sectionproperties.pillcolor,
|
|
93265
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
93266
|
-
direction: 'ltr'
|
|
93267
|
-
}
|
|
93268
|
-
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93269
|
-
"class": "m-0 p-0 text-uppercase",
|
|
93270
|
-
style: {
|
|
93271
|
-
color: sectionproperties.pillcolor,
|
|
93272
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
93273
|
-
direction: 'ltr'
|
|
93274
|
-
}
|
|
93275
|
-
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
93276
|
-
"class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
|
|
93277
|
-
onClick: function onClick(e) {
|
|
93278
|
-
e.stopPropagation();
|
|
93279
|
-
setShowProductInfoModalContext(true);
|
|
93280
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
93281
|
-
}
|
|
93282
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
93283
|
-
"class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
|
|
93284
|
-
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93285
|
-
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
93286
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93287
|
-
"class": "m-0 p-0"
|
|
93288
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)));
|
|
93229
|
+
}));
|
|
93289
93230
|
};
|
|
93290
93231
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93291
93232
|
"class": props.sectiontypeprops2 == 'vertical' ? 'row m-0 w-100' : " ".concat(card_cssstyles.productoutercard),
|
|
@@ -93297,15 +93238,101 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93297
93238
|
"class": "".concat(card_cssstyles.productcard) + ' w-100 '
|
|
93298
93239
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93299
93240
|
"class": sectionproperties.showimagetransition == 'Show' ? " ".concat(card_cssstyles.imageContainer, " ").concat(generalCardsStyles.imagecontainer) + ' d-flex ' : " ".concat(card_cssstyles.imageContainer, " ") + ' allcentered '
|
|
93300
|
-
}, Image('normal')
|
|
93301
|
-
"class": '
|
|
93241
|
+
}, Image('normal'), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93242
|
+
"class": "".concat(card_cssstyles.wishlist_btn) + ' wishlist_btn cursor-pointer ',
|
|
93243
|
+
onClick: function onClick(e) {
|
|
93244
|
+
e.stopPropagation();
|
|
93245
|
+
addtofavoritescontext(item.productid);
|
|
93246
|
+
}
|
|
93247
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
93248
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
93249
|
+
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
93250
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
93251
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
93252
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
93253
|
+
style: {
|
|
93254
|
+
color: sectionproperties.activefaviconcolor
|
|
93255
|
+
}
|
|
93256
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
93257
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
93258
|
+
style: {
|
|
93259
|
+
color: sectionproperties.activefaviconcolor
|
|
93260
|
+
}
|
|
93261
|
+
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
93262
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
93263
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
93264
|
+
size: sectionproperties.favBtnIconfontsize
|
|
93265
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
93266
|
+
size: sectionproperties.favBtnIconfontsize
|
|
93267
|
+
})))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93268
|
+
"class": "allcentered",
|
|
93269
|
+
style: {
|
|
93270
|
+
position: 'absolute',
|
|
93271
|
+
top: sectionproperties.badge_top + 'px',
|
|
93272
|
+
left: sectionproperties.badge_right + 'px',
|
|
93273
|
+
width: sectionproperties.badge_width + 'px',
|
|
93274
|
+
height: sectionproperties.badge_height + 'px',
|
|
93275
|
+
background: sectionproperties.badge_bgcolor,
|
|
93276
|
+
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
93277
|
+
}
|
|
93278
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93279
|
+
"class": props.fontFamilyprops == 'ASUL' ? ' ASUL m-0 p-0 text-uppercase' : ' m-0 p-0 text-uppercase',
|
|
93280
|
+
style: {
|
|
93281
|
+
color: sectionproperties.badge_color,
|
|
93282
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
93283
|
+
}
|
|
93284
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93285
|
+
"class": "allcentered",
|
|
93286
|
+
style: {
|
|
93287
|
+
position: 'absolute',
|
|
93288
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
93289
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
93290
|
+
width: sectionproperties.pillwidth + 'px',
|
|
93291
|
+
height: sectionproperties.pillheight + 'px',
|
|
93292
|
+
background: sectionproperties.pillbgcolor,
|
|
93293
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
93294
|
+
}
|
|
93295
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93296
|
+
"class": "m-0 p-0 text-uppercase",
|
|
93297
|
+
style: {
|
|
93298
|
+
color: sectionproperties.pillcolor,
|
|
93299
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
93300
|
+
direction: 'ltr'
|
|
93301
|
+
}
|
|
93302
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93303
|
+
"class": "m-0 p-0 text-uppercase",
|
|
93304
|
+
style: {
|
|
93305
|
+
color: sectionproperties.pillcolor,
|
|
93306
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
93307
|
+
direction: 'ltr'
|
|
93308
|
+
}
|
|
93309
|
+
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
93310
|
+
"class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
|
|
93311
|
+
onClick: function onClick(e) {
|
|
93312
|
+
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
93313
|
+
addtocartfunc();
|
|
93314
|
+
} else {
|
|
93315
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
93316
|
+
}
|
|
93317
|
+
// e.stopPropagation();
|
|
93318
|
+
// setShowProductInfoModalContext(true);
|
|
93319
|
+
// setProductIdProdutInfoModalContext(item.productid);
|
|
93320
|
+
}
|
|
93321
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
93322
|
+
"class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
|
|
93323
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93324
|
+
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
93325
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93326
|
+
"class": "m-0 p-0"
|
|
93327
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93328
|
+
"class": sectionproperties.paddingLeft == 0 ? 'row m-0 w-100 text-center mt-2 px-2' : 'row m-0 w-100 text-center mt-2'
|
|
93302
93329
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93303
93330
|
"class": "col-lg-12 p-0"
|
|
93304
93331
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93305
93332
|
onClick: function onClick() {
|
|
93306
93333
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
93307
93334
|
},
|
|
93308
|
-
"class":
|
|
93335
|
+
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ' : sectionproperties.wordbreak == '2' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak2 text-center ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak3 text-center '
|
|
93309
93336
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93310
93337
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
|
|
93311
93338
|
style: {
|