tabexseriescomponents 0.50.208 → 0.50.210
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 +343 -213
- package/dist/index.esm.js +341 -211
- package/dist/index.umd.js +345 -215
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -18,8 +18,10 @@ var AiOutlineUser = require('@react-icons/all-files/ai/AiOutlineUser');
|
|
|
18
18
|
var IoMdClose = require('@react-icons/all-files/io/IoMdClose');
|
|
19
19
|
var reactBootstrap = require('react-bootstrap');
|
|
20
20
|
var imagekitioReact = require('imagekitio-react');
|
|
21
|
+
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
21
22
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
22
23
|
var _typeof = require('@babel/runtime/helpers/typeof');
|
|
24
|
+
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
23
25
|
var ImageGallery = require('react-image-gallery');
|
|
24
26
|
var MdAddShoppingCart = require('@react-icons/all-files/md/MdAddShoppingCart');
|
|
25
27
|
var IoBagHandleOutline = require('@react-icons/all-files/io5/IoBagHandleOutline');
|
|
@@ -61,8 +63,6 @@ var HiOutlinePhone = require('@react-icons/all-files/hi/HiOutlinePhone');
|
|
|
61
63
|
var AiOutlineMail = require('@react-icons/all-files/ai/AiOutlineMail');
|
|
62
64
|
var FaShippingFast = require('@react-icons/all-files/fa/FaShippingFast');
|
|
63
65
|
var RiSecurePaymentLine = require('@react-icons/all-files/ri/RiSecurePaymentLine');
|
|
64
|
-
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
65
|
-
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
66
66
|
var axios = require('axios');
|
|
67
67
|
var AiOutlineSecurityScan = require('@react-icons/all-files/ai/AiOutlineSecurityScan');
|
|
68
68
|
var FaStar = require('@react-icons/all-files/fa/FaStar');
|
|
@@ -210,8 +210,10 @@ var _inherits__default = /*#__PURE__*/_interopDefaultLegacy(_inherits);
|
|
|
210
210
|
var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
|
|
211
211
|
var Cookies__default = /*#__PURE__*/_interopDefaultLegacy(Cookies);
|
|
212
212
|
var jwtDecode__default = /*#__PURE__*/_interopDefaultLegacy(jwtDecode);
|
|
213
|
+
var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator);
|
|
213
214
|
var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
|
|
214
215
|
var _typeof__default = /*#__PURE__*/_interopDefaultLegacy(_typeof);
|
|
216
|
+
var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regeneratorRuntime);
|
|
215
217
|
var ImageGallery__default = /*#__PURE__*/_interopDefaultLegacy(ImageGallery);
|
|
216
218
|
var ReactStars__default = /*#__PURE__*/_interopDefaultLegacy(ReactStars);
|
|
217
219
|
var _taggedTemplateLiteral__default = /*#__PURE__*/_interopDefaultLegacy(_taggedTemplateLiteral);
|
|
@@ -219,8 +221,6 @@ var TextareaAutosize__default = /*#__PURE__*/_interopDefaultLegacy(TextareaAutos
|
|
|
219
221
|
var InputRange__default = /*#__PURE__*/_interopDefaultLegacy(InputRange);
|
|
220
222
|
var ReactPlayer__default = /*#__PURE__*/_interopDefaultLegacy(ReactPlayer);
|
|
221
223
|
var DatePicker__default = /*#__PURE__*/_interopDefaultLegacy(DatePicker);
|
|
222
|
-
var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator);
|
|
223
|
-
var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regeneratorRuntime);
|
|
224
224
|
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
225
225
|
var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
|
|
226
226
|
var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$4);
|
|
@@ -3085,7 +3085,7 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
3085
3085
|
var sectionproperties = props.actions.sectionproperties;
|
|
3086
3086
|
props.actions.addtocardpayloadobj;
|
|
3087
3087
|
props.actions.setaddtocardpayloadobj;
|
|
3088
|
-
|
|
3088
|
+
props.actions.addtocartfunc_extras;
|
|
3089
3089
|
var product_prod_extras_array = props.actions.product_prod_extras_array;
|
|
3090
3090
|
var setproduct_prod_extras_array = props.actions.setproduct_prod_extras_array;
|
|
3091
3091
|
var variantindexcompleted = props.actions.variantindexcompleted;
|
|
@@ -3209,7 +3209,6 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
3209
3209
|
}
|
|
3210
3210
|
quantity = quantity - 1;
|
|
3211
3211
|
if (quantity >= 0) {
|
|
3212
|
-
var _item$productinfo3;
|
|
3213
3212
|
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
3214
3213
|
tempproduct_prod_extras_array[index].quantity = quantity;
|
|
3215
3214
|
var variantid = null;
|
|
@@ -3221,21 +3220,21 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
3221
3220
|
tempproduct_prod_extras_array[index].main_ref_productid = productid;
|
|
3222
3221
|
tempproduct_prod_extras_array[index].item_type = 'Extras';
|
|
3223
3222
|
tempproduct_prod_extras_array[index].productinfo = item === null || item === void 0 ? void 0 : item.productinfo;
|
|
3224
|
-
addtocartfunc_extras(false, {
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
});
|
|
3223
|
+
// addtocartfunc_extras(false, {
|
|
3224
|
+
// functype: 'add',
|
|
3225
|
+
// item_type: 'Extras',
|
|
3226
|
+
// productid: item?.productinfo?.productid,
|
|
3227
|
+
// main_ref_productid: productid,
|
|
3228
|
+
// main_ref_variantid: variantid,
|
|
3229
|
+
// variantid: '',
|
|
3230
|
+
// quantity: quantity,
|
|
3231
|
+
// hasvariants: 0,
|
|
3232
|
+
// date: '',
|
|
3233
|
+
// time: '',
|
|
3234
|
+
// from: '',
|
|
3235
|
+
// to: '',
|
|
3236
|
+
// extrafields: [],
|
|
3237
|
+
// });
|
|
3239
3238
|
setproduct_prod_extras_array(_toConsumableArray__default["default"](tempproduct_prod_extras_array));
|
|
3240
3239
|
} else {
|
|
3241
3240
|
alert('Quantity cannot be less than 0');
|
|
@@ -3270,7 +3269,6 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
3270
3269
|
can_add_extras = true;
|
|
3271
3270
|
}
|
|
3272
3271
|
if (can_add_extras) {
|
|
3273
|
-
var _item$productinfo4;
|
|
3274
3272
|
var quantity = 0;
|
|
3275
3273
|
var tempproduct_prod_extras_array = _toConsumableArray__default["default"](product_prod_extras_array);
|
|
3276
3274
|
if (tempproduct_prod_extras_array[index].quantity != undefined && tempproduct_prod_extras_array[index].quantity != null && tempproduct_prod_extras_array[index].quantity != 0) {
|
|
@@ -3287,21 +3285,22 @@ var ProductExtras = function ProductExtras(props) {
|
|
|
3287
3285
|
tempproduct_prod_extras_array[index].main_ref_productid = productid;
|
|
3288
3286
|
tempproduct_prod_extras_array[index].item_type = 'Extras';
|
|
3289
3287
|
tempproduct_prod_extras_array[index].productinfo = item === null || item === void 0 ? void 0 : item.productinfo;
|
|
3290
|
-
addtocartfunc_extras(false, {
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3288
|
+
// addtocartfunc_extras(false, {
|
|
3289
|
+
// functype: 'add',
|
|
3290
|
+
// item_type: 'Extras',
|
|
3291
|
+
// productid: item?.productinfo?.productid,
|
|
3292
|
+
// main_ref_productid: productid,
|
|
3293
|
+
// main_ref_variantid: variantid,
|
|
3294
|
+
// variantid: '',
|
|
3295
|
+
// quantity: quantity,
|
|
3296
|
+
// hasvariants: 0,
|
|
3297
|
+
|
|
3298
|
+
// date: '',
|
|
3299
|
+
// time: '',
|
|
3300
|
+
// from: '',
|
|
3301
|
+
// to: '',
|
|
3302
|
+
// extrafields: [],
|
|
3303
|
+
// });
|
|
3305
3304
|
setproduct_prod_extras_array(_toConsumableArray__default["default"](tempproduct_prod_extras_array));
|
|
3306
3305
|
}
|
|
3307
3306
|
}
|
|
@@ -3673,7 +3672,7 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
3673
3672
|
};
|
|
3674
3673
|
|
|
3675
3674
|
var DescriptionContent = function DescriptionContent(props) {
|
|
3676
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
|
|
3675
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43;
|
|
3677
3676
|
var lang = props.actions.lang;
|
|
3678
3677
|
var langdetect = props.actions.langdetect;
|
|
3679
3678
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
@@ -3725,7 +3724,21 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3725
3724
|
onClick: function onClick() {
|
|
3726
3725
|
return setShowMore(!showMore);
|
|
3727
3726
|
}
|
|
3728
|
-
}, showMore ? lang.showless : lang.showmore)))), langdetect == '
|
|
3727
|
+
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'germ' && (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.description_germ) != '' && (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.description_germ) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3728
|
+
className: props.srcfromprops == 'collap' ? 'col-lg-12 p-0 d-flex justify-content-center' : 'col-lg-12 p-0 mb-4 d-flex justify-content-center'
|
|
3729
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3730
|
+
className: "row m-0 w-100 d-flex"
|
|
3731
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3732
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start text-black"
|
|
3733
|
+
}, props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3734
|
+
className: 'm-0 p-0 ',
|
|
3735
|
+
style: {
|
|
3736
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3737
|
+
},
|
|
3738
|
+
dangerouslySetInnerHTML: {
|
|
3739
|
+
__html: 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.description_germ
|
|
3740
|
+
}
|
|
3741
|
+
})))), langdetect == 'rus' && (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.description_rus) != '' && (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.description_rus) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3729
3742
|
className: props.srcfromprops == 'collap' ? 'col-lg-12 p-0 d-flex justify-content-center' : 'col-lg-12 p-0 mb-4 d-flex justify-content-center'
|
|
3730
3743
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3731
3744
|
className: "row m-0 w-100 d-flex"
|
|
@@ -3737,7 +3750,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3737
3750
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3738
3751
|
},
|
|
3739
3752
|
dangerouslySetInnerHTML: {
|
|
3740
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3753
|
+
__html: 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.description_rus
|
|
3741
3754
|
}
|
|
3742
3755
|
}), props.srcfromprops == 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3743
3756
|
className: 'm-0 p-0 ',
|
|
@@ -3745,9 +3758,9 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3745
3758
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3746
3759
|
},
|
|
3747
3760
|
dangerouslySetInnerHTML: {
|
|
3748
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3761
|
+
__html: 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.description_rus
|
|
3749
3762
|
}
|
|
3750
|
-
})))), langdetect == 'fr' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3763
|
+
})))), langdetect == 'fr' && (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.description_fr) != '' && (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.description_fr) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3751
3764
|
className: props.srcfromprops == 'collap' ? 'col-lg-12 p-0 d-flex justify-content-center' : 'col-lg-12 p-0 mb-4 d-flex justify-content-center'
|
|
3752
3765
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3753
3766
|
className: "row m-0 w-100 d-flex"
|
|
@@ -3759,7 +3772,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3759
3772
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3760
3773
|
},
|
|
3761
3774
|
dangerouslySetInnerHTML: {
|
|
3762
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3775
|
+
__html: 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.description_fr
|
|
3763
3776
|
}
|
|
3764
3777
|
}), props.srcfromprops == 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3765
3778
|
className: 'm-0 p-0 ',
|
|
@@ -3767,9 +3780,9 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3767
3780
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3768
3781
|
},
|
|
3769
3782
|
dangerouslySetInnerHTML: {
|
|
3770
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3783
|
+
__html: 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.description_fr
|
|
3771
3784
|
}
|
|
3772
|
-
})))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3785
|
+
})))), langdetect == 'ar' && (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.description_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.description_ar) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3773
3786
|
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
3774
3787
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3775
3788
|
className: "row m-0 w-100 d-flex"
|
|
@@ -3781,7 +3794,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3781
3794
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3782
3795
|
},
|
|
3783
3796
|
dangerouslySetInnerHTML: {
|
|
3784
|
-
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3797
|
+
__html: showMore == true ? 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.description_ar : 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.description_ar.slice(0, 1000)
|
|
3785
3798
|
}
|
|
3786
3799
|
}), props.srcfromprops == 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3787
3800
|
className: ' m-0 p-0 ',
|
|
@@ -3789,16 +3802,16 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3789
3802
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3790
3803
|
},
|
|
3791
3804
|
dangerouslySetInnerHTML: {
|
|
3792
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3805
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.description_ar
|
|
3793
3806
|
}
|
|
3794
3807
|
})), props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3795
3808
|
"class": "col-lg-12 allcentered"
|
|
3796
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3809
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.description_ar.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3797
3810
|
"class": "m-0 p-0 cursor-pointer text-grey font-weight-600 text-right",
|
|
3798
3811
|
onClick: function onClick() {
|
|
3799
3812
|
return setShowMore(!showMore);
|
|
3800
3813
|
}
|
|
3801
|
-
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'chin' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3814
|
+
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'chin' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.description_chin) != '' && (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.description_chin) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3802
3815
|
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
3803
3816
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3804
3817
|
className: "row m-0 w-100 d-flex"
|
|
@@ -3810,7 +3823,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3810
3823
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3811
3824
|
},
|
|
3812
3825
|
dangerouslySetInnerHTML: {
|
|
3813
|
-
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3826
|
+
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.description_chin : 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.description_chin.slice(0, 1000)
|
|
3814
3827
|
}
|
|
3815
3828
|
}), props.srcfromprops == 'Articles' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3816
3829
|
className: ' m-0 p-0 ',
|
|
@@ -3818,16 +3831,16 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3818
3831
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3819
3832
|
},
|
|
3820
3833
|
dangerouslySetInnerHTML: {
|
|
3821
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3834
|
+
__html: 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.description_chin
|
|
3822
3835
|
}
|
|
3823
3836
|
})), props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3824
3837
|
"class": "col-lg-12 allcentered"
|
|
3825
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3838
|
+
}, (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.description_ar.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3826
3839
|
"class": "m-0 p-0 cursor-pointer text-grey font-weight-600 text-right",
|
|
3827
3840
|
onClick: function onClick() {
|
|
3828
3841
|
return setShowMore(!showMore);
|
|
3829
3842
|
}
|
|
3830
|
-
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'chin' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3843
|
+
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'chin' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.description_nrwig) != '' && (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.description_nrwig) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3831
3844
|
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
3832
3845
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3833
3846
|
className: "row m-0 w-100 d-flex"
|
|
@@ -3839,16 +3852,16 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3839
3852
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3840
3853
|
},
|
|
3841
3854
|
dangerouslySetInnerHTML: {
|
|
3842
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3855
|
+
__html: 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.description_nrwig
|
|
3843
3856
|
}
|
|
3844
3857
|
})), props.srcfromprops != 'Articles' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3845
3858
|
"class": "col-lg-12 allcentered"
|
|
3846
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3859
|
+
}, (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.description_ar.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3847
3860
|
"class": "m-0 p-0 cursor-pointer text-grey font-weight-600 text-right",
|
|
3848
3861
|
onClick: function onClick() {
|
|
3849
3862
|
return setShowMore(!showMore);
|
|
3850
3863
|
}
|
|
3851
|
-
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'ital' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3864
|
+
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'ital' && (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.description_ital) != '' && (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.description_ital) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3852
3865
|
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
3853
3866
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3854
3867
|
className: "row m-0 w-100 d-flex"
|
|
@@ -3860,9 +3873,9 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3860
3873
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3861
3874
|
},
|
|
3862
3875
|
dangerouslySetInnerHTML: {
|
|
3863
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3876
|
+
__html: 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.description_ital
|
|
3864
3877
|
}
|
|
3865
|
-
})))), langdetect == 'magr' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3878
|
+
})))), langdetect == 'magr' && (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.description_magr) != '' && (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.description_magr) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3866
3879
|
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
3867
3880
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3868
3881
|
className: "row m-0 w-100 d-flex"
|
|
@@ -3874,9 +3887,9 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3874
3887
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3875
3888
|
},
|
|
3876
3889
|
dangerouslySetInnerHTML: {
|
|
3877
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3890
|
+
__html: 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.description_magr
|
|
3878
3891
|
}
|
|
3879
|
-
})))), langdetect == 'turk' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3892
|
+
})))), langdetect == 'turk' && (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.description_turk) != '' && (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.description_turk) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3880
3893
|
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
3881
3894
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3882
3895
|
className: "row m-0 w-100 d-flex"
|
|
@@ -3888,9 +3901,9 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3888
3901
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
3889
3902
|
},
|
|
3890
3903
|
dangerouslySetInnerHTML: {
|
|
3891
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3904
|
+
__html: 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.description_turk
|
|
3892
3905
|
}
|
|
3893
|
-
})))), props.srcfromprops != 'collap' && sectionproperties.showGallery == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3906
|
+
})))), props.srcfromprops != 'collap' && sectionproperties.showGallery == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productimages) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3894
3907
|
"class": "col-lg-12 p-0"
|
|
3895
3908
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3896
3909
|
"class": "row m-0 w-100 allcentered pl-md-3 pr-md-3",
|
|
@@ -3898,7 +3911,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
3898
3911
|
paddingLeft: sectionproperties.galleryPaddingHorizontal + 'px',
|
|
3899
3912
|
paddingRight: sectionproperties.galleryPaddingHorizontal + 'px'
|
|
3900
3913
|
}
|
|
3901
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3914
|
+
}, 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 || (_fetchProductInfoQuer43 = _fetchProductInfoQuer43.productimages) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.map(function (item, index) {
|
|
3902
3915
|
if (index <= 6) {
|
|
3903
3916
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3904
3917
|
"class": ' col-md-4 col-sm-12 mb-3 col-lg-' + sectionproperties.galleryNoOfCols,
|
|
@@ -8241,11 +8254,14 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
8241
8254
|
})))))));
|
|
8242
8255
|
};
|
|
8243
8256
|
|
|
8257
|
+
function _createForOfIteratorHelper$1(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
8258
|
+
function _unsupportedIterableToArray$1(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1(r, a) : void 0; } }
|
|
8259
|
+
function _arrayLikeToArray$1(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
8244
8260
|
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; }
|
|
8245
8261
|
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; }
|
|
8246
8262
|
// import TamaraWidget from '../Widgets/TamaraWidget.jsx';
|
|
8247
8263
|
var Productinfo = function Productinfo(props) {
|
|
8248
|
-
var _css,
|
|
8264
|
+
var _css, _fetchProductInfoQuer86, _ref2, _fetchProductInfoQuer87, _ref3, _fetchProductInfoQuer88, _ref4, _authdetailsContext$i39, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj0, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _authdetailsContext$i40, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98;
|
|
8249
8265
|
var _useState = React.useState({}),
|
|
8250
8266
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
8251
8267
|
ProductInfoObj = _useState2[0],
|
|
@@ -10191,64 +10207,144 @@ var Productinfo = function Productinfo(props) {
|
|
|
10191
10207
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
10192
10208
|
setProductInfoObj(_objectSpread$2C({}, productarr));
|
|
10193
10209
|
};
|
|
10194
|
-
var addtocartfunc = function
|
|
10195
|
-
var
|
|
10196
|
-
|
|
10197
|
-
|
|
10198
|
-
|
|
10199
|
-
|
|
10200
|
-
|
|
10201
|
-
|
|
10202
|
-
|
|
10203
|
-
|
|
10204
|
-
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
|
|
10213
|
-
|
|
10214
|
-
|
|
10215
|
-
|
|
10216
|
-
|
|
10217
|
-
|
|
10218
|
-
|
|
10219
|
-
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
|
|
10224
|
-
|
|
10225
|
-
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
|
|
10230
|
-
|
|
10210
|
+
var addtocartfunc = /*#__PURE__*/function () {
|
|
10211
|
+
var _ref = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(forcetocheckout) {
|
|
10212
|
+
var runfunc, forcetocheckoutvalue, _fetchProductInfoQuer39, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _fetchProductInfoQuer40, _fetchProductInfoQuer41, tempaddtocardpayloadobj, Extrafieldvalidationresponse, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, finalprice, prod_extras_tobeadded, sleep, _iterator, _step, _item$productinfo, _fetchProductInfoQuer49, item, variantid, _fetchProductInfoQuer48, _t;
|
|
10213
|
+
return _regeneratorRuntime__default["default"].wrap(function (_context) {
|
|
10214
|
+
while (1) switch (_context.prev = _context.next) {
|
|
10215
|
+
case 0:
|
|
10216
|
+
runfunc = false;
|
|
10217
|
+
forcetocheckoutvalue = forcetocheckout; // alert(addtocardpayloadobj.quantity + 'sad');
|
|
10218
|
+
if (addtocardpayloadobj.productid.length != 0 && addtocardpayloadobj.quantity > 0) {
|
|
10219
|
+
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) {
|
|
10220
|
+
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10221
|
+
runfunc = true;
|
|
10222
|
+
} else {
|
|
10223
|
+
// here
|
|
10224
|
+
setvariantnotchosendisclaimer('This field is required');
|
|
10225
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
10226
|
+
}
|
|
10227
|
+
} else {
|
|
10228
|
+
runfunc = true;
|
|
10229
|
+
}
|
|
10230
|
+
} else {
|
|
10231
|
+
NotificationManager.warning('', 'Please Choose Quantity');
|
|
10232
|
+
}
|
|
10233
|
+
if (!(runfunc == true)) {
|
|
10234
|
+
_context.next = 10;
|
|
10235
|
+
break;
|
|
10236
|
+
}
|
|
10237
|
+
tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
10238
|
+
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;
|
|
10239
|
+
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;
|
|
10240
|
+
if (forcetocheckoutvalue != undefined) {
|
|
10241
|
+
tempaddtocardpayloadobj.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
10242
|
+
}
|
|
10243
|
+
Extrafieldvalidationresponse = validateextrafields();
|
|
10244
|
+
if (!Extrafieldvalidationresponse.status) {
|
|
10245
|
+
_context.next = 10;
|
|
10246
|
+
break;
|
|
10247
|
+
}
|
|
10248
|
+
finalprice = 0;
|
|
10249
|
+
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) {
|
|
10250
|
+
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
10251
|
+
} else {
|
|
10252
|
+
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
10253
|
+
}
|
|
10254
|
+
Pixel_EventsContext('AddToCart', {
|
|
10255
|
+
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],
|
|
10256
|
+
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),
|
|
10257
|
+
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,
|
|
10258
|
+
content_type: 'product',
|
|
10259
|
+
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,
|
|
10260
|
+
value: finalprice,
|
|
10261
|
+
quantity: addtocardpayloadobj.quantity
|
|
10262
|
+
});
|
|
10263
|
+
AddtoCartContext(tempaddtocardpayloadobj);
|
|
10264
|
+
prod_extras_tobeadded = [];
|
|
10265
|
+
product_prod_extras_array === null || product_prod_extras_array === void 0 || product_prod_extras_array.forEach(function (item, index) {
|
|
10266
|
+
if (item.main_ref_productid != undefined) {
|
|
10267
|
+
prod_extras_tobeadded.push(item);
|
|
10268
|
+
}
|
|
10269
|
+
});
|
|
10270
|
+
if (!(prod_extras_tobeadded.length != 0)) {
|
|
10271
|
+
_context.next = 9;
|
|
10272
|
+
break;
|
|
10273
|
+
}
|
|
10274
|
+
sleep = function sleep(ms) {
|
|
10275
|
+
return new Promise(function (resolve) {
|
|
10276
|
+
return setTimeout(resolve, ms);
|
|
10277
|
+
});
|
|
10278
|
+
};
|
|
10279
|
+
_context.next = 1;
|
|
10280
|
+
return sleep(1000);
|
|
10281
|
+
case 1:
|
|
10282
|
+
_iterator = _createForOfIteratorHelper$1(prod_extras_tobeadded || []);
|
|
10283
|
+
_context.prev = 2;
|
|
10284
|
+
_iterator.s();
|
|
10285
|
+
case 3:
|
|
10286
|
+
if ((_step = _iterator.n()).done) {
|
|
10287
|
+
_context.next = 6;
|
|
10288
|
+
break;
|
|
10289
|
+
}
|
|
10290
|
+
item = _step.value;
|
|
10291
|
+
variantid = '';
|
|
10292
|
+
if (variantindexcompleted != undefined && variantindexcompleted != null && (variantindexcompleted === null || variantindexcompleted === void 0 ? void 0 : variantindexcompleted.length) != 0) {
|
|
10293
|
+
variantid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer48 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.data) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.productinfo) === null || _fetchProductInfoQuer48 === void 0 || (_fetchProductInfoQuer48 = _fetchProductInfoQuer48.variants[variantindexcompleted]) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.variantid;
|
|
10294
|
+
}
|
|
10295
|
+
_context.next = 4;
|
|
10296
|
+
return addtocartfunc_extras(false, {
|
|
10297
|
+
functype: 'add',
|
|
10298
|
+
item_type: 'Extras',
|
|
10299
|
+
productid: item === null || item === void 0 || (_item$productinfo = item.productinfo) === null || _item$productinfo === void 0 ? void 0 : _item$productinfo.productid,
|
|
10300
|
+
main_ref_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,
|
|
10301
|
+
main_ref_variantid: variantid,
|
|
10302
|
+
variantid: '',
|
|
10303
|
+
quantity: item.quantity,
|
|
10304
|
+
hasvariants: 0,
|
|
10305
|
+
date: '',
|
|
10306
|
+
time: '',
|
|
10307
|
+
from: '',
|
|
10308
|
+
to: '',
|
|
10309
|
+
extrafields: []
|
|
10310
|
+
});
|
|
10311
|
+
case 4:
|
|
10312
|
+
_context.next = 5;
|
|
10313
|
+
return sleep(500);
|
|
10314
|
+
case 5:
|
|
10315
|
+
_context.next = 3;
|
|
10316
|
+
break;
|
|
10317
|
+
case 6:
|
|
10318
|
+
_context.next = 8;
|
|
10319
|
+
break;
|
|
10320
|
+
case 7:
|
|
10321
|
+
_context.prev = 7;
|
|
10322
|
+
_t = _context["catch"](2);
|
|
10323
|
+
_iterator.e(_t);
|
|
10324
|
+
case 8:
|
|
10325
|
+
_context.prev = 8;
|
|
10326
|
+
_iterator.f();
|
|
10327
|
+
return _context.finish(8);
|
|
10328
|
+
case 9:
|
|
10329
|
+
_context.next = 10;
|
|
10330
|
+
break;
|
|
10331
|
+
case 10:
|
|
10332
|
+
case "end":
|
|
10333
|
+
return _context.stop();
|
|
10231
10334
|
}
|
|
10232
|
-
|
|
10233
|
-
|
|
10234
|
-
|
|
10235
|
-
|
|
10236
|
-
|
|
10237
|
-
|
|
10238
|
-
value: finalprice,
|
|
10239
|
-
quantity: addtocardpayloadobj.quantity
|
|
10240
|
-
});
|
|
10241
|
-
AddtoCartContext(tempaddtocardpayloadobj);
|
|
10242
|
-
}
|
|
10243
|
-
}
|
|
10244
|
-
};
|
|
10335
|
+
}, _callee, null, [[2, 7, 8, 9]]);
|
|
10336
|
+
}));
|
|
10337
|
+
return function addtocartfunc(_x) {
|
|
10338
|
+
return _ref.apply(this, arguments);
|
|
10339
|
+
};
|
|
10340
|
+
}();
|
|
10245
10341
|
var validateextrafields = function validateextrafields() {
|
|
10246
|
-
var
|
|
10342
|
+
var _fetchProductInfoQuer50;
|
|
10247
10343
|
var tempaddtocardpayloadobj = _objectSpread$2C({}, addtocardpayloadobj);
|
|
10248
10344
|
var status = false;
|
|
10249
10345
|
var reason = '';
|
|
10250
10346
|
var missingitemsfound = [];
|
|
10251
|
-
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10347
|
+
var extrafields = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer50 === void 0 || (_fetchProductInfoQuer50 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : _fetchProductInfoQuer50.productextrafields;
|
|
10252
10348
|
if ((extrafields === null || extrafields === void 0 ? void 0 : extrafields.length) == 0) {
|
|
10253
10349
|
status = true;
|
|
10254
10350
|
} else {
|
|
@@ -10367,9 +10463,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10367
10463
|
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10368
10464
|
}, Relatedproducts.map(function (item, index) {
|
|
10369
10465
|
if (item.productinfo != null) {
|
|
10370
|
-
var
|
|
10371
|
-
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10372
|
-
var
|
|
10466
|
+
var _fetchProductInfoQuer51;
|
|
10467
|
+
if (item.productid != (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer51 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.data) === null || _fetchProductInfoQuer51 === void 0 || (_fetchProductInfoQuer51 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.productid)) {
|
|
10468
|
+
var _fetchProductInfoQuer52, _fetchProductInfoQuer53;
|
|
10373
10469
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10374
10470
|
className: "col-lg-12 mb-3 px-1",
|
|
10375
10471
|
onClick: function onClick() {
|
|
@@ -10419,7 +10515,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10419
10515
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 "
|
|
10420
10516
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10421
10517
|
"class": "".concat(productinfo_cssstyles.relatedproductPricestyles) + ' m-0 '
|
|
10422
|
-
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10518
|
+
}, item.productinfo.hassale == 1 ? item.productinfo.defaultsaleprice : item.productinfo.defaultprice, ' ', langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 || (_fetchProductInfoQuer52 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.currencyname_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer53 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer53 === void 0 || (_fetchProductInfoQuer53 = _fetchProductInfoQuer53.data) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : _fetchProductInfoQuer53.currencyname_ar, ' '))))));
|
|
10423
10519
|
}
|
|
10424
10520
|
}
|
|
10425
10521
|
}))))));
|
|
@@ -10446,28 +10542,28 @@ var Productinfo = function Productinfo(props) {
|
|
|
10446
10542
|
NotificationManager.warning('', 'Please Choose Quantity');
|
|
10447
10543
|
}
|
|
10448
10544
|
if (runfunc == true) {
|
|
10449
|
-
var
|
|
10545
|
+
var _fetchProductInfoQuer54, _fetchProductInfoQuer55;
|
|
10450
10546
|
// var tempaddtocardpayloadobj = { ...addtocardpayloadobj };
|
|
10451
|
-
addtocartobjparam.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10452
|
-
addtocartobjparam.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10547
|
+
addtocartobjparam.isproductforcedtocheckout = 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.isproductforcedtocheckout;
|
|
10548
|
+
addtocartobjparam.vendorid = 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.vendorproviderid;
|
|
10453
10549
|
if (forcetocheckoutvalue != undefined) {
|
|
10454
10550
|
addtocartobjparam.forcetocheckoutvalue = forcetocheckoutvalue;
|
|
10455
10551
|
}
|
|
10456
10552
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
10457
10553
|
if (Extrafieldvalidationresponse.status) {
|
|
10458
|
-
var
|
|
10554
|
+
var _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61;
|
|
10459
10555
|
var finalprice = 0;
|
|
10460
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10556
|
+
if ((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.hassale) == 1) {
|
|
10461
10557
|
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
10462
10558
|
} else {
|
|
10463
10559
|
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
10464
10560
|
}
|
|
10465
10561
|
Pixel_EventsContext('AddToCart', {
|
|
10466
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10467
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10468
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10562
|
+
content_ids: [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.productid],
|
|
10563
|
+
content_name: (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.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.name_ar),
|
|
10564
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.sku,
|
|
10469
10565
|
content_type: 'product',
|
|
10470
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10566
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.currencyname_en,
|
|
10471
10567
|
value: finalprice,
|
|
10472
10568
|
quantity: addtocardpayloadobj.quantity
|
|
10473
10569
|
});
|
|
@@ -10956,16 +11052,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
10956
11052
|
}
|
|
10957
11053
|
};
|
|
10958
11054
|
var get_product_extras_price = function get_product_extras_price() {
|
|
10959
|
-
var
|
|
11055
|
+
var _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
10960
11056
|
var totalprice_extras_price = 0;
|
|
10961
|
-
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11057
|
+
if (fetchProductInfoQueryContext != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : fetchProductInfoQueryContext.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.data) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.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) {
|
|
10962
11058
|
var _fetchcustomercartQue4;
|
|
10963
11059
|
var extras_for_product = [];
|
|
10964
11060
|
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;
|
|
10965
11061
|
product_prod_extras_array === null || product_prod_extras_array === void 0 || product_prod_extras_array.forEach(function (cartitem_in, cartindex_in) {
|
|
10966
11062
|
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.item_type) == 'Extras') {
|
|
10967
|
-
var
|
|
10968
|
-
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11063
|
+
var _fetchProductInfoQuer64;
|
|
11064
|
+
if ((cartitem_in === null || cartitem_in === void 0 ? void 0 : cartitem_in.main_ref_productid) == (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.productid)) {
|
|
10969
11065
|
extras_for_product.push(cartitem_in);
|
|
10970
11066
|
}
|
|
10971
11067
|
}
|
|
@@ -10978,37 +11074,37 @@ var Productinfo = function Productinfo(props) {
|
|
|
10978
11074
|
return parseFloat(totalprice_extras_price);
|
|
10979
11075
|
};
|
|
10980
11076
|
var getprice_discountpriceprops = function getprice_discountpriceprops(type, withtotal, variantindexcompleted) {
|
|
10981
|
-
var
|
|
11077
|
+
var _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68;
|
|
10982
11078
|
var price = 0;
|
|
10983
11079
|
var quantity = 0;
|
|
10984
11080
|
if (addtocardpayloadobj.quantity != undefined && addtocardpayloadobj.quantity != null) {
|
|
10985
11081
|
quantity = parseFloat(addtocardpayloadobj.quantity);
|
|
10986
11082
|
}
|
|
10987
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10988
|
-
var
|
|
10989
|
-
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11083
|
+
if ((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) != undefined && (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 ? void 0 : _fetchProductInfoQuer66.productquantityoptions) != null && Array.isArray(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) && (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 || (_fetchProductInfoQuer68 = _fetchProductInfoQuer68.productquantityoptions) === null || _fetchProductInfoQuer68 === void 0 ? void 0 : _fetchProductInfoQuer68.length) != 0) {
|
|
11084
|
+
var _fetchProductInfoQuer69;
|
|
11085
|
+
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.productquantityoptions;
|
|
10990
11086
|
}
|
|
10991
11087
|
if (type == 'defaultprice') {
|
|
10992
|
-
var
|
|
10993
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10994
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11088
|
+
var _fetchProductInfoQuer70, _fetchProductInfoQuer71;
|
|
11089
|
+
price = 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 ? void 0 : _fetchProductInfoQuer70.defaultprice;
|
|
11090
|
+
if ((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 ? void 0 : _fetchProductInfoQuer71.hasvariants) == 1) {
|
|
10995
11091
|
if (variantindexcompleted != undefined) {
|
|
10996
|
-
var
|
|
10997
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
10998
|
-
var
|
|
10999
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11092
|
+
var _fetchProductInfoQuer72;
|
|
11093
|
+
if ((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 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.variants[variantindexcompleted]) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.variantprice) != undefined) {
|
|
11094
|
+
var _fetchProductInfoQuer73;
|
|
11095
|
+
price = 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 || (_fetchProductInfoQuer73 = _fetchProductInfoQuer73.variants[variantindexcompleted]) === null || _fetchProductInfoQuer73 === void 0 ? void 0 : _fetchProductInfoQuer73.variantprice;
|
|
11000
11096
|
}
|
|
11001
11097
|
}
|
|
11002
11098
|
}
|
|
11003
11099
|
} else if (type == 'defaultsaleprice') {
|
|
11004
|
-
var
|
|
11005
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11006
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11100
|
+
var _fetchProductInfoQuer74, _fetchProductInfoQuer75;
|
|
11101
|
+
price = 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 ? void 0 : _fetchProductInfoQuer74.defaultsaleprice;
|
|
11102
|
+
if ((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 ? void 0 : _fetchProductInfoQuer75.hasvariants) == 1) {
|
|
11007
11103
|
if (variantindexcompleted != undefined) {
|
|
11008
|
-
var
|
|
11009
|
-
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11010
|
-
var
|
|
11011
|
-
price = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11104
|
+
var _fetchProductInfoQuer76;
|
|
11105
|
+
if ((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.variants[variantindexcompleted]) === null || _fetchProductInfoQuer76 === void 0 ? void 0 : _fetchProductInfoQuer76.variantsaleprice) != undefined) {
|
|
11106
|
+
var _fetchProductInfoQuer77;
|
|
11107
|
+
price = 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.variants[variantindexcompleted]) === null || _fetchProductInfoQuer77 === void 0 ? void 0 : _fetchProductInfoQuer77.variantsaleprice;
|
|
11012
11108
|
}
|
|
11013
11109
|
}
|
|
11014
11110
|
}
|
|
@@ -11107,7 +11203,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11107
11203
|
// }
|
|
11108
11204
|
// };
|
|
11109
11205
|
var getQuantityCondition = function getQuantityCondition() {
|
|
11110
|
-
var
|
|
11206
|
+
var _fetchProductInfoQuer78;
|
|
11111
11207
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11112
11208
|
"class": "col-lg-12 p-0",
|
|
11113
11209
|
style: {
|
|
@@ -11137,12 +11233,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11137
11233
|
height: 1,
|
|
11138
11234
|
background: sectionproperties.pricelisttitlecolor
|
|
11139
11235
|
}
|
|
11140
|
-
})), fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11141
|
-
var
|
|
11236
|
+
})), 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.map(function (item, index) {
|
|
11237
|
+
var _fetchProductInfoQuer79;
|
|
11142
11238
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11143
11239
|
className: "col-lg-12 p-0 w-100 d-flex align-items-center",
|
|
11144
11240
|
style: {
|
|
11145
|
-
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11241
|
+
marginBottom: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productquantityoptions) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.length) - 1 != index ? '1rem' : 0
|
|
11146
11242
|
}
|
|
11147
11243
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11148
11244
|
"class": "d-flex align-items-center",
|
|
@@ -11176,7 +11272,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11176
11272
|
})));
|
|
11177
11273
|
};
|
|
11178
11274
|
var StoreInfo = function StoreInfo(position) {
|
|
11179
|
-
var
|
|
11275
|
+
var _fetchProductInfoQuer80, _authdetailsContext$i33, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i34, _authdetailsContext$i36;
|
|
11180
11276
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11181
11277
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
11182
11278
|
style: {
|
|
@@ -11227,7 +11323,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11227
11323
|
style: {
|
|
11228
11324
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11229
11325
|
}
|
|
11230
|
-
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11326
|
+
}, langdetect == 'en' ? sectionproperties.otherinfodesc2en : sectionproperties.otherinfodesc2ar))), sectionproperties.showpricinglist == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productquantityoptions) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11231
11327
|
"class": "col-lg-12 p-0 mb-4"
|
|
11232
11328
|
}, getQuantityCondition()), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11233
11329
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
@@ -11420,8 +11516,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11420
11516
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11421
11517
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0
|
|
11422
11518
|
}
|
|
11423
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11424
|
-
actions: (
|
|
11519
|
+
}, (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) == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
|
|
11520
|
+
actions: (_ref2 = {
|
|
11425
11521
|
product_prod_extras_array: product_prod_extras_array,
|
|
11426
11522
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
11427
11523
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -11431,9 +11527,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
11431
11527
|
langdetect: langdetect,
|
|
11432
11528
|
lang: lang,
|
|
11433
11529
|
srcfromprops: props.srcfromprops
|
|
11434
|
-
}, _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"](
|
|
11435
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11436
|
-
actions: (
|
|
11530
|
+
}, _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"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "productpdfsarray", productpdfsarray), "addtocartfunc_extras", addtocartfunc_extras), "isOptionInStock", isOptionInStock))
|
|
11531
|
+
}), (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) == 'Article' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
11532
|
+
actions: (_ref3 = {
|
|
11437
11533
|
product_prod_extras_array: product_prod_extras_array,
|
|
11438
11534
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
11439
11535
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -11443,9 +11539,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
11443
11539
|
langdetect: langdetect,
|
|
11444
11540
|
lang: lang,
|
|
11445
11541
|
srcfromprops: props.srcfromprops
|
|
11446
|
-
}, _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"](
|
|
11447
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11448
|
-
actions: (
|
|
11542
|
+
}, _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), "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"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray), "addtocartfunc_extras", addtocartfunc_extras), "isOptionInStock", isOptionInStock))
|
|
11543
|
+
}), (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 ? void 0 : _fetchProductInfoQuer88.item_type) == 'service' && /*#__PURE__*/React__default["default"].createElement(Service_itemtype, {
|
|
11544
|
+
actions: (_ref4 = {
|
|
11449
11545
|
product_prod_extras_array: product_prod_extras_array,
|
|
11450
11546
|
setproduct_prod_extras_array: setproduct_prod_extras_array,
|
|
11451
11547
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -11456,13 +11552,13 @@ var Productinfo = function Productinfo(props) {
|
|
|
11456
11552
|
langdetect: langdetect,
|
|
11457
11553
|
lang: lang,
|
|
11458
11554
|
srcfromprops: props.srcfromprops
|
|
11459
|
-
}, _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"](
|
|
11555
|
+
}, _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"](_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _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"](_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _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"](_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_ref4, "addtocartfunc_extras", addtocartfunc_extras), "isOptionInStock", isOptionInStock))
|
|
11460
11556
|
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.instid) != '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11461
11557
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11462
11558
|
style: {
|
|
11463
11559
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11464
11560
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
11465
|
-
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11561
|
+
display: sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (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 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.product_videos) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.length) != 0 ? 'flex' : (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 ? void 0 : _fetchProductInfoQuer90.productcanrate) == 1 ? 'flex' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' ? 'none' : sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && sectionproperties.descriptionposition != 'Bottom' && (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 ? 'none' : 'flex'
|
|
11466
11562
|
}
|
|
11467
11563
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11468
11564
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
@@ -11524,12 +11620,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11524
11620
|
onClick: function onClick() {
|
|
11525
11621
|
settabname('refundpolicytab');
|
|
11526
11622
|
}
|
|
11527
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11623
|
+
}), (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 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.product_videos) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11528
11624
|
label: sectionproperties["videostitle".concat(langdetect)] || sectionproperties.videostitleen,
|
|
11529
11625
|
onClick: function onClick() {
|
|
11530
11626
|
settabname('videostab');
|
|
11531
11627
|
}
|
|
11532
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11628
|
+
}), (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 ? void 0 : _fetchProductInfoQuer93.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11533
11629
|
label: lang.reviews,
|
|
11534
11630
|
onClick: function onClick() {
|
|
11535
11631
|
settabname('reviewstab');
|
|
@@ -11583,12 +11679,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11583
11679
|
onClick: function onClick() {
|
|
11584
11680
|
settabname('refundpolicytab');
|
|
11585
11681
|
}
|
|
11586
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11682
|
+
}), (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 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.product_videos) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11587
11683
|
label: langdetect === 'ar' ? 'فيديوهات' : langdetect === 'chin' ? '视频' : langdetect === 'es' ? 'Videos' : langdetect === 'fr' ? 'Vidéos' : langdetect === 'rus' ? 'Видео' : 'Videos',
|
|
11588
11684
|
onClick: function onClick() {
|
|
11589
11685
|
settabname('videostab');
|
|
11590
11686
|
}
|
|
11591
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11687
|
+
}), (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 ? void 0 : _fetchProductInfoQuer95.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11592
11688
|
label: lang.reviews,
|
|
11593
11689
|
onClick: function onClick() {
|
|
11594
11690
|
settabname('reviewstab');
|
|
@@ -11648,7 +11744,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11648
11744
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11649
11745
|
sectionproperties: sectionproperties
|
|
11650
11746
|
})
|
|
11651
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.instid) == '68e4efe8cb18e' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11747
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.instid) == '68e4efe8cb18e' && (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.item_type) != 'Article' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11652
11748
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11653
11749
|
style: {
|
|
11654
11750
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11705,7 +11801,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11705
11801
|
onClick: function onClick() {
|
|
11706
11802
|
settabname('descriptiontab');
|
|
11707
11803
|
}
|
|
11708
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11804
|
+
}), (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.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11709
11805
|
label: lang.reviews,
|
|
11710
11806
|
onClick: function onClick() {
|
|
11711
11807
|
settabname('reviewstab');
|
|
@@ -11749,7 +11845,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11749
11845
|
onClick: function onClick() {
|
|
11750
11846
|
settabname('descriptiontab');
|
|
11751
11847
|
}
|
|
11752
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11848
|
+
}), (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.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11753
11849
|
label: lang.reviews,
|
|
11754
11850
|
onClick: function onClick() {
|
|
11755
11851
|
settabname('reviewstab');
|
|
@@ -29082,7 +29178,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
29082
29178
|
function ownKeys$28(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; }
|
|
29083
29179
|
function _objectSpread$28(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$28(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$28(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29084
29180
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
29085
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$
|
|
29181
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44;
|
|
29086
29182
|
var actions = props.actions;
|
|
29087
29183
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
29088
29184
|
var setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
@@ -30006,6 +30102,12 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30006
30102
|
"class": "m-0 p-0 d-flex align-items-center"
|
|
30007
30103
|
}, "TR", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
30008
30104
|
"class": "h-100 allcentered ml-auto pl-3"
|
|
30105
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'germ' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30106
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1 '
|
|
30107
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
30108
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
30109
|
+
}, "DE", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
30110
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
30009
30111
|
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'chin' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30010
30112
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1 '
|
|
30011
30113
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -30023,7 +30125,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30023
30125
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
30024
30126
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
30025
30127
|
"class": "ml-2 mr-2"
|
|
30026
|
-
}, "English")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) != '687cd377528b1' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
30128
|
+
}, "English")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instid) != '687cd377528b1' && sectionproperties.showarabic == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
30027
30129
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
30028
30130
|
onClick: function onClick() {
|
|
30029
30131
|
setlang('ar');
|
|
@@ -30034,7 +30136,18 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30034
30136
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
30035
30137
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
30036
30138
|
"class": "ml-2 mr-2"
|
|
30037
|
-
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '
|
|
30139
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) == '69e11d9c75989' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
30140
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
30141
|
+
onClick: function onClick() {
|
|
30142
|
+
setlang('germ');
|
|
30143
|
+
}
|
|
30144
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30145
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
30146
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
30147
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
30148
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
30149
|
+
"class": "ml-2 mr-2"
|
|
30150
|
+
}, "Deutsch")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) == '693fdc5a14f45' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
30038
30151
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
30039
30152
|
onClick: function onClick() {
|
|
30040
30153
|
setlang('chin');
|
|
@@ -30045,7 +30158,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30045
30158
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
30046
30159
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
30047
30160
|
"class": "ml-2 mr-2"
|
|
30048
|
-
}, "\u4E2D\u6587")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
30161
|
+
}, "\u4E2D\u6587")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instid) == '687cd377528b1' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
30049
30162
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
30050
30163
|
onClick: function onClick() {
|
|
30051
30164
|
setlang('rus');
|
|
@@ -30056,7 +30169,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30056
30169
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
30057
30170
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
30058
30171
|
"class": "ml-2 mr-2"
|
|
30059
|
-
}, "\u0420\u0443\u0441\u0441\u043A\u0438\u0439")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
30172
|
+
}, "\u0420\u0443\u0441\u0441\u043A\u0438\u0439")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instid) == '6989e1bf78c8f' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
30060
30173
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
30061
30174
|
onClick: function onClick() {
|
|
30062
30175
|
setlang('rus');
|
|
@@ -30067,7 +30180,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30067
30180
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
30068
30181
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
30069
30182
|
"class": "ml-2 mr-2"
|
|
30070
|
-
}, "\u0420\u0443\u0441\u0441\u043A\u0438\u0439")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
30183
|
+
}, "\u0420\u0443\u0441\u0441\u043A\u0438\u0439")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
30071
30184
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
30072
30185
|
onClick: function onClick() {
|
|
30073
30186
|
setlang('rus');
|
|
@@ -30078,7 +30191,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30078
30191
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
30079
30192
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
30080
30193
|
"class": "ml-2 mr-2"
|
|
30081
|
-
}, "\u0420\u0443\u0441\u0441\u043A\u0438\u0439")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
30194
|
+
}, "\u0420\u0443\u0441\u0441\u043A\u0438\u0439")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
30082
30195
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
30083
30196
|
onClick: function onClick() {
|
|
30084
30197
|
setlang('ital');
|
|
@@ -30089,7 +30202,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30089
30202
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
30090
30203
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
30091
30204
|
"class": "ml-2 mr-2"
|
|
30092
|
-
}, "Italiano")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
30205
|
+
}, "Italiano")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
30093
30206
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
30094
30207
|
onClick: function onClick() {
|
|
30095
30208
|
setlang('magr');
|
|
@@ -30100,7 +30213,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30100
30213
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
30101
30214
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
30102
30215
|
"class": "ml-2 mr-2"
|
|
30103
|
-
}, "Magyar")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
30216
|
+
}, "Magyar")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
30104
30217
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
30105
30218
|
onClick: function onClick() {
|
|
30106
30219
|
setlang('turk');
|
|
@@ -30166,8 +30279,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30166
30279
|
size: 20,
|
|
30167
30280
|
color: sectionproperties.cart_BtnTextcolor_resp
|
|
30168
30281
|
}))), templatepropcontext.pagesnprop.map(function (item, index) {
|
|
30169
|
-
var _authdetailsContext$
|
|
30170
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
30282
|
+
var _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22;
|
|
30283
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '684aa79857878') {
|
|
30171
30284
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
30172
30285
|
if (item.pagename != 'About' && item.pagename != 'Community' && item.pagename != 'Admission Policy') {
|
|
30173
30286
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -30552,7 +30665,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30552
30665
|
})));
|
|
30553
30666
|
}
|
|
30554
30667
|
}
|
|
30555
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
30668
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) != '6790ae890234e' && item.pagename != 'Our Solutions') {
|
|
30556
30669
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
30557
30670
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30558
30671
|
className: "row m-0 w-100 anim"
|
|
@@ -30575,7 +30688,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30575
30688
|
}
|
|
30576
30689
|
})));
|
|
30577
30690
|
}
|
|
30578
|
-
} else if (item.pagename == 'Our Solutions' && item.isnavigation == 1 && item.isactive == 1 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
30691
|
+
} else if (item.pagename == 'Our Solutions' && item.isnavigation == 1 && item.isactive == 1 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '683c55d780e0c') {
|
|
30579
30692
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30580
30693
|
className: "row m-0 w-100 anim"
|
|
30581
30694
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -30818,9 +30931,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30818
30931
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
30819
30932
|
setmenuactive(false);
|
|
30820
30933
|
}
|
|
30821
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
30934
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
30822
30935
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
30823
|
-
}, langdetect != 'ar' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
30936
|
+
}, langdetect != 'ar' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
30824
30937
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
|
|
30825
30938
|
}, lang.wishlist))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30826
30939
|
className: "col-lg-12 p-0"
|
|
@@ -30829,7 +30942,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30829
30942
|
style: {
|
|
30830
30943
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
30831
30944
|
}
|
|
30832
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
30945
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30833
30946
|
className: "row m-0 w-100 anim"
|
|
30834
30947
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30835
30948
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
@@ -30962,7 +31075,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30962
31075
|
style: {
|
|
30963
31076
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
30964
31077
|
}
|
|
30965
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31078
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30966
31079
|
className: "row m-0 w-100 anim"
|
|
30967
31080
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30968
31081
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
@@ -30981,7 +31094,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
30981
31094
|
style: {
|
|
30982
31095
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
30983
31096
|
}
|
|
30984
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31097
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30985
31098
|
className: "row m-0 w-100 anim"
|
|
30986
31099
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
30987
31100
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1"
|
|
@@ -31032,7 +31145,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31032
31145
|
fontSize: 15,
|
|
31033
31146
|
color: sectionproperties.language_container_color_resp
|
|
31034
31147
|
}
|
|
31035
|
-
}, "English")), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31148
|
+
}, "English")), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31036
31149
|
"class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
|
|
31037
31150
|
onClick: function onClick() {
|
|
31038
31151
|
setlang('ar');
|
|
@@ -31046,7 +31159,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31046
31159
|
fontSize: 15,
|
|
31047
31160
|
color: sectionproperties.language_container_color_resp
|
|
31048
31161
|
}
|
|
31049
|
-
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31162
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31050
31163
|
"class": header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
|
|
31051
31164
|
onClick: function onClick() {
|
|
31052
31165
|
setlang('nrwig');
|
|
@@ -31289,9 +31402,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31289
31402
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
31290
31403
|
setopenCnvas(false);
|
|
31291
31404
|
}
|
|
31292
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31405
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
31293
31406
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
31294
|
-
}, langdetect != 'ar' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31407
|
+
}, langdetect != 'ar' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
31295
31408
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
31296
31409
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31297
31410
|
className: "col-lg-12 p-0"
|
|
@@ -31300,7 +31413,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31300
31413
|
style: {
|
|
31301
31414
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
31302
31415
|
}
|
|
31303
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31416
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31304
31417
|
className: "row m-0 w-100 anim"
|
|
31305
31418
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31306
31419
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3"
|
|
@@ -31432,7 +31545,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31432
31545
|
style: {
|
|
31433
31546
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
31434
31547
|
}
|
|
31435
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31548
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31436
31549
|
className: "row m-0 w-100"
|
|
31437
31550
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31438
31551
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
@@ -31451,7 +31564,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31451
31564
|
style: {
|
|
31452
31565
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
31453
31566
|
}
|
|
31454
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31567
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31455
31568
|
className: "row m-0 w-100"
|
|
31456
31569
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31457
31570
|
className: "col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3"
|
|
@@ -31502,7 +31615,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31502
31615
|
fontSize: 15,
|
|
31503
31616
|
color: sectionproperties.language_container_color_resp
|
|
31504
31617
|
}
|
|
31505
|
-
}, "English")), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31618
|
+
}, "English")), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31506
31619
|
"class": sectionproperties.showfrench == 'Show' ? header_cssstyles.navbarItem + ' col-4 p-0 allcentered py-2 px-2 cursor-pointer ' : header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
|
|
31507
31620
|
onClick: function onClick() {
|
|
31508
31621
|
setlang('ar');
|
|
@@ -31516,7 +31629,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31516
31629
|
fontSize: 15,
|
|
31517
31630
|
color: sectionproperties.language_container_color_resp
|
|
31518
31631
|
}
|
|
31519
|
-
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31632
|
+
}, "\u0644\u063A\u0629 \u0639\u0631\u0628\u064A\u0629")), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31520
31633
|
"class": sectionproperties.showfrench == 'Show' ? header_cssstyles.navbarItem + ' col-4 p-0 allcentered py-2 px-2 cursor-pointer ' : header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer ',
|
|
31521
31634
|
onClick: function onClick() {
|
|
31522
31635
|
setlang('nrwig');
|
|
@@ -31775,7 +31888,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31775
31888
|
style: {
|
|
31776
31889
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
31777
31890
|
}
|
|
31778
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31891
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31779
31892
|
className: "row m-0 w-100"
|
|
31780
31893
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31781
31894
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
@@ -31793,7 +31906,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31793
31906
|
style: {
|
|
31794
31907
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
31795
31908
|
}
|
|
31796
|
-
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31909
|
+
}))), authdetailsContext.loggedin == true && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '6804c4480fde5' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31797
31910
|
className: "row m-0 w-100"
|
|
31798
31911
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31799
31912
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3",
|
|
@@ -31820,9 +31933,9 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31820
31933
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
31821
31934
|
setopenCnvas(false);
|
|
31822
31935
|
}
|
|
31823
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31936
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
31824
31937
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
31825
|
-
}, langdetect != 'ar' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31938
|
+
}, langdetect != 'ar' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
31826
31939
|
className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 d-flex justify-content-start '
|
|
31827
31940
|
}, lang.wishlist)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31828
31941
|
className: "col-lg-12 p-0"
|
|
@@ -31831,7 +31944,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31831
31944
|
style: {
|
|
31832
31945
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
31833
31946
|
}
|
|
31834
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
31947
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '67d6bda67adf6' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31835
31948
|
className: "row m-0 w-100 anim"
|
|
31836
31949
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31837
31950
|
className: "col-lg-12 d-flex justify-content-start pl-3 pr-3"
|
|
@@ -31944,7 +32057,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31944
32057
|
style: {
|
|
31945
32058
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
31946
32059
|
}
|
|
31947
|
-
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32060
|
+
}))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 || (_authdetailsContext$i42 = _authdetailsContext$i42.instcurrencies) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.length) > 1 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '67f69c023cbd4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31948
32061
|
"class": "row m-0 w-100 pl-3 pr-3"
|
|
31949
32062
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31950
32063
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '
|
|
@@ -31962,7 +32075,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
31962
32075
|
background: '#f4f4f4',
|
|
31963
32076
|
borderRadius: 5
|
|
31964
32077
|
}
|
|
31965
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
32078
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 || (_authdetailsContext$i44 = _authdetailsContext$i44.instcurrencies) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.map(function (item, index) {
|
|
31966
32079
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31967
32080
|
"class": header_cssstyles.navbar_item_text_responsive + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
|
|
31968
32081
|
onClick: function onClick() {
|
|
@@ -38216,7 +38329,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
38216
38329
|
function ownKeys$1$(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
38217
38330
|
function _objectSpread$1$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1$(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38218
38331
|
var Simpleheader = function Simpleheader(props) {
|
|
38219
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _header_cssstyles, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i1, _authdetailsContext$i10, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$c2, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
38332
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _header_cssstyles, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i1, _authdetailsContext$i10, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$c2, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
38220
38333
|
var actions = props.actions;
|
|
38221
38334
|
var _useState = React.useState(''),
|
|
38222
38335
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -39422,6 +39535,12 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
39422
39535
|
"class": "m-0 p-0 d-flex align-items-center"
|
|
39423
39536
|
}, "Fr", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
39424
39537
|
"class": "h-100 allcentered ml-auto pl-3"
|
|
39538
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'germ' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39539
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 px-1 '
|
|
39540
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39541
|
+
"class": "m-0 p-0 d-flex align-items-center"
|
|
39542
|
+
}, "DE", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
39543
|
+
"class": "h-100 allcentered ml-auto pl-3"
|
|
39425
39544
|
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, sectionproperties.showarabic == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
39426
39545
|
"class": "".concat(header_cssstyles.dropdownitem),
|
|
39427
39546
|
onClick: function onClick() {
|
|
@@ -39466,7 +39585,18 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
39466
39585
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
39467
39586
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
39468
39587
|
"class": "ml-2 mr-2"
|
|
39469
|
-
}, "English"))))
|
|
39588
|
+
}, "English")))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.instid) == '69e11d9c75989' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
39589
|
+
"class": "".concat(header_cssstyles.dropdownitem),
|
|
39590
|
+
onClick: function onClick() {
|
|
39591
|
+
setlang('germ');
|
|
39592
|
+
}
|
|
39593
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39594
|
+
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
|
|
39595
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39596
|
+
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
39597
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
39598
|
+
"class": "ml-2 mr-2"
|
|
39599
|
+
}, "Deutsch"))))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.instcurrencies) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.length) > 1 && sectionproperties.showcurrency == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39470
39600
|
"class": ' d-flex align-items-center justify-content-end '
|
|
39471
39601
|
}, /*#__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", {
|
|
39472
39602
|
"class": ' d-flex align-items-center justify-content-center '
|
|
@@ -39478,8 +39608,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
39478
39608
|
"class": header_cssstyles.currencycont + ' row m-0 w-100 d-flex align-items-center '
|
|
39479
39609
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39480
39610
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
39481
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39482
|
-
var _authdetailsContext$
|
|
39611
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 || (_authdetailsContext$i18 = _authdetailsContext$i18.instcurrencies) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.map(function (item, index) {
|
|
39612
|
+
var _authdetailsContext$i19;
|
|
39483
39613
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
39484
39614
|
onClick: function onClick() {
|
|
39485
39615
|
setcurrencyfunccontext(item);
|
|
@@ -39495,7 +39625,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
39495
39625
|
style: {}
|
|
39496
39626
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
39497
39627
|
"class": 'ml-2 mr-2'
|
|
39498
|
-
}, item["currencyname_".concat(langdetect)] || item.currencyname_en)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39628
|
+
}, item["currencyname_".concat(langdetect)] || item.currencyname_en)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 || (_authdetailsContext$i19 = _authdetailsContext$i19.instcurrencies) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39499
39629
|
"class": "col-lg-12 p-0"
|
|
39500
39630
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
39501
39631
|
"class": "m-0"
|