tabexseriescomponents 0.2.1341 → 0.2.1343
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 +86 -78
- package/dist/index.esm.js +86 -78
- package/dist/index.umd.js +86 -78
- package/package.json +1 -1
- package/src.zip +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -1767,7 +1767,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1767
1767
|
color: '#62554a'
|
|
1768
1768
|
}
|
|
1769
1769
|
}, variantvalueidentifier))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1770
|
-
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1",
|
|
1770
|
+
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1 p-0",
|
|
1771
1771
|
style: {
|
|
1772
1772
|
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
|
|
1773
1773
|
}
|
|
@@ -2839,14 +2839,14 @@ var ProductExtras_charm = function ProductExtras_charm(props) {
|
|
|
2839
2839
|
fontSize: 13
|
|
2840
2840
|
}),
|
|
2841
2841
|
variantButtonActive: glamor.css({
|
|
2842
|
-
backgroundColor: '#4faa47',
|
|
2843
|
-
border: '
|
|
2844
|
-
color: '#fff'
|
|
2842
|
+
// backgroundColor: '#4faa47',
|
|
2843
|
+
border: '2px solid #4faa47'
|
|
2844
|
+
// color: '#fff',
|
|
2845
2845
|
}),
|
|
2846
2846
|
variantThumbnail: glamor.css({
|
|
2847
|
-
width:
|
|
2848
|
-
height:
|
|
2849
|
-
objectFit: 'cover',
|
|
2847
|
+
width: 40,
|
|
2848
|
+
height: 40,
|
|
2849
|
+
// objectFit: 'cover',
|
|
2850
2850
|
borderRadius: 12,
|
|
2851
2851
|
marginBottom: 6
|
|
2852
2852
|
}),
|
|
@@ -2857,9 +2857,10 @@ var ProductExtras_charm = function ProductExtras_charm(props) {
|
|
|
2857
2857
|
variantPrice: glamor.css({
|
|
2858
2858
|
lineHeight: 1.2,
|
|
2859
2859
|
textAlign: 'center',
|
|
2860
|
-
fontSize:
|
|
2860
|
+
fontSize: 12,
|
|
2861
2861
|
marginTop: 4,
|
|
2862
|
-
opacity: 0.8
|
|
2862
|
+
opacity: 0.8,
|
|
2863
|
+
fontWeight: 500
|
|
2863
2864
|
})
|
|
2864
2865
|
};
|
|
2865
2866
|
var getSelectedChoiceId = function getSelectedChoiceId(extraitem) {
|
|
@@ -2991,7 +2992,7 @@ var ProductExtras_charm = function ProductExtras_charm(props) {
|
|
|
2991
2992
|
var extraChoices = getExtraChoices(item);
|
|
2992
2993
|
var hasVariants = (item === null || item === void 0 || (_item$productinfo5 = item.productinfo) === null || _item$productinfo5 === void 0 ? void 0 : _item$productinfo5.hasvariants) == 1 && (extraChoices === null || extraChoices === void 0 ? void 0 : extraChoices.length) != 0;
|
|
2993
2994
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2994
|
-
"class": "col-12 p-0"
|
|
2995
|
+
"class": "col-12 p-0 mb-3"
|
|
2995
2996
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
2996
2997
|
allowMultipleExpanded: true,
|
|
2997
2998
|
allowZeroExpanded: true,
|
|
@@ -2999,7 +3000,7 @@ var ProductExtras_charm = function ProductExtras_charm(props) {
|
|
|
2999
3000
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
3000
3001
|
uuid: 0
|
|
3001
3002
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3002
|
-
className: ' row m-0 p-0 mb-2
|
|
3003
|
+
className: ' row m-0 p-0 mb-2 '
|
|
3003
3004
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3004
3005
|
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
3005
3006
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3025,11 +3026,15 @@ var ProductExtras_charm = function ProductExtras_charm(props) {
|
|
|
3025
3026
|
if (state.expanded == true) {
|
|
3026
3027
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3027
3028
|
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
3028
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp,
|
|
3029
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, {
|
|
3030
|
+
color: '#000'
|
|
3031
|
+
}));
|
|
3029
3032
|
} else {
|
|
3030
3033
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3031
3034
|
className: ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
3032
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown,
|
|
3035
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
3036
|
+
color: '#000'
|
|
3037
|
+
}));
|
|
3033
3038
|
}
|
|
3034
3039
|
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
3035
3040
|
className: "p-0"
|
|
@@ -3055,8 +3060,6 @@ var ProductExtras_charm = function ProductExtras_charm(props) {
|
|
|
3055
3060
|
"class": formstyles.variantThumbnail,
|
|
3056
3061
|
className: formstyles.variantThumbnail
|
|
3057
3062
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3058
|
-
className: formstyles.variantLabel
|
|
3059
|
-
}, choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.label), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3060
3063
|
className: formstyles.variantPrice
|
|
3061
3064
|
}, sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor((choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.price) || 0).toLocaleString() : choiceitem === null || choiceitem === void 0 ? void 0 : choiceitem.price, ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3062
3065
|
className: formstyles.variantLabel
|
|
@@ -8018,7 +8021,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
8018
8021
|
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; }
|
|
8019
8022
|
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; }
|
|
8020
8023
|
var Productinfo = function Productinfo(props) {
|
|
8021
|
-
var _css, _fetchProductInfoQuer87, _ref, _fetchProductInfoQuer88, _authdetailsContext$
|
|
8024
|
+
var _css, _fetchProductInfoQuer87, _ref, _fetchProductInfoQuer88, _authdetailsContext$i40, _ref2, _fetchProductInfoQuer89, _authdetailsContext$i41, _ref3, _fetchProductInfoQuer90, _ref4, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i52, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i53, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i54, _fetchProductInfoQuer104, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57;
|
|
8022
8025
|
var _useState = React.useState({}),
|
|
8023
8026
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
8024
8027
|
ProductInfoObj = _useState2[0],
|
|
@@ -8242,7 +8245,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8242
8245
|
};
|
|
8243
8246
|
React.useEffect(function () {
|
|
8244
8247
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
8245
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
8248
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
8246
8249
|
var secpropobj = {};
|
|
8247
8250
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
8248
8251
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
@@ -8253,13 +8256,15 @@ var Productinfo = function Productinfo(props) {
|
|
|
8253
8256
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68e4efe8cb18e') {
|
|
8254
8257
|
settabname('descriptiontab');
|
|
8255
8258
|
// alert('sd');
|
|
8256
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '
|
|
8259
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '690894722ad12') {
|
|
8260
|
+
settabname('reviewstab');
|
|
8261
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69df5f6e19eb2') {
|
|
8257
8262
|
settabname('videostab');
|
|
8258
8263
|
// alert('sd');
|
|
8259
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8264
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '693fdc5a14f45') {
|
|
8260
8265
|
settabname('descriptiontab');
|
|
8261
8266
|
// alert('sd');
|
|
8262
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8267
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '68a6e2f865af8') {
|
|
8263
8268
|
settabname('descriptiontab');
|
|
8264
8269
|
// alert('sd');
|
|
8265
8270
|
} else {
|
|
@@ -8490,8 +8495,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8490
8495
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
8491
8496
|
}
|
|
8492
8497
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.quantitystepincrearse) != '') {
|
|
8493
|
-
var _authdetailsContext$
|
|
8494
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8498
|
+
var _authdetailsContext$i6;
|
|
8499
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '66d6de1a1e04a') {
|
|
8495
8500
|
var _fetchProductInfoQuer36;
|
|
8496
8501
|
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.quantitystepincrearse);
|
|
8497
8502
|
} else {
|
|
@@ -8524,9 +8529,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8524
8529
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8525
8530
|
// };
|
|
8526
8531
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8527
|
-
var _authdetailsContext$
|
|
8532
|
+
var _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
8528
8533
|
// lord
|
|
8529
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8534
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68d28fc494276') {
|
|
8530
8535
|
var _ProductInfoObj$data;
|
|
8531
8536
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
8532
8537
|
var options = (productinfo === null || productinfo === void 0 ? void 0 : productinfo.productoptions) || [];
|
|
@@ -8612,7 +8617,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8612
8617
|
}) && variantValueIds.includes(Currvalueid);
|
|
8613
8618
|
});
|
|
8614
8619
|
return inStock ? 1 : 0;
|
|
8615
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8620
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67c050d72cbe7') {
|
|
8616
8621
|
var _ProductInfoObj$data2;
|
|
8617
8622
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8618
8623
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8700,7 +8705,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8700
8705
|
return _inStock ? 1 : 0;
|
|
8701
8706
|
}
|
|
8702
8707
|
// amiga
|
|
8703
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8708
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '670fc18477599') {
|
|
8704
8709
|
var _ProductInfoObj$data3;
|
|
8705
8710
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8706
8711
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8788,7 +8793,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8788
8793
|
return _inStock2 ? 1 : 0;
|
|
8789
8794
|
}
|
|
8790
8795
|
// vout
|
|
8791
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8796
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68f918a4ccb85') {
|
|
8792
8797
|
var _ProductInfoObj$data4;
|
|
8793
8798
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8794
8799
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8876,7 +8881,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8876
8881
|
return _inStock3 ? 1 : 0;
|
|
8877
8882
|
}
|
|
8878
8883
|
// puff n stuff
|
|
8879
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8884
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6899e604db87f') {
|
|
8880
8885
|
var _ProductInfoObj$data5;
|
|
8881
8886
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8882
8887
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8964,7 +8969,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8964
8969
|
return _inStock4 ? 1 : 0;
|
|
8965
8970
|
}
|
|
8966
8971
|
// dija
|
|
8967
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8972
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8968
8973
|
var _ProductInfoObj$data6;
|
|
8969
8974
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8970
8975
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -9052,7 +9057,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9052
9057
|
return _inStock5 ? 1 : 0;
|
|
9053
9058
|
}
|
|
9054
9059
|
// angel secrets
|
|
9055
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9060
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '67bda57bca71d') {
|
|
9056
9061
|
var _ProductInfoObj$data7;
|
|
9057
9062
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
9058
9063
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -9138,7 +9143,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9138
9143
|
}) && variantValueIds.includes(Currvalueid);
|
|
9139
9144
|
});
|
|
9140
9145
|
return _inStock6 ? 1 : 0;
|
|
9141
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9146
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '69244cc88aa0a') {
|
|
9142
9147
|
var _ProductInfoObj$data8;
|
|
9143
9148
|
var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
|
|
9144
9149
|
var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
|
|
@@ -9224,7 +9229,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9224
9229
|
}) && variantValueIds.includes(Currvalueid);
|
|
9225
9230
|
});
|
|
9226
9231
|
return _inStock7 ? 1 : 0;
|
|
9227
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9232
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '687ca57cc78e8') {
|
|
9228
9233
|
var _ProductInfoObj$data9;
|
|
9229
9234
|
var _productinfo8 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data9 = ProductInfoObj.data) === null || _ProductInfoObj$data9 === void 0 ? void 0 : _ProductInfoObj$data9.productinfo;
|
|
9230
9235
|
var _options8 = (_productinfo8 === null || _productinfo8 === void 0 ? void 0 : _productinfo8.productoptions) || [];
|
|
@@ -9315,8 +9320,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9315
9320
|
}
|
|
9316
9321
|
};
|
|
9317
9322
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
9318
|
-
var _authdetailsContext$
|
|
9319
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9323
|
+
var _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21;
|
|
9324
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68d28fc494276') {
|
|
9320
9325
|
var _productarr$data, _productarr$data$prod;
|
|
9321
9326
|
var _productarr = ProductInfoObj;
|
|
9322
9327
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -9368,7 +9373,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9368
9373
|
// optional: show user message or disable click
|
|
9369
9374
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9370
9375
|
}
|
|
9371
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9376
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '67c050d72cbe7') {
|
|
9372
9377
|
var _productarr2$data, _productarr2$data$pro;
|
|
9373
9378
|
var _productarr2 = ProductInfoObj;
|
|
9374
9379
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -9422,7 +9427,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9422
9427
|
}
|
|
9423
9428
|
}
|
|
9424
9429
|
// vout
|
|
9425
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9430
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68f918a4ccb85') {
|
|
9426
9431
|
var _productarr3$data, _productarr3$data$pro;
|
|
9427
9432
|
var _productarr3 = ProductInfoObj;
|
|
9428
9433
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -9476,7 +9481,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9476
9481
|
}
|
|
9477
9482
|
}
|
|
9478
9483
|
// puff n stuff
|
|
9479
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9484
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6899e604db87f') {
|
|
9480
9485
|
var _productarr4$data, _productarr4$data$pro;
|
|
9481
9486
|
var _productarr4 = ProductInfoObj;
|
|
9482
9487
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -9530,7 +9535,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9530
9535
|
}
|
|
9531
9536
|
}
|
|
9532
9537
|
// dija
|
|
9533
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9538
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '682cbb9bdcd57') {
|
|
9534
9539
|
var _productarr5$data, _productarr5$data$pro;
|
|
9535
9540
|
var _productarr5 = ProductInfoObj;
|
|
9536
9541
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -9584,7 +9589,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9584
9589
|
}
|
|
9585
9590
|
}
|
|
9586
9591
|
// angel
|
|
9587
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9592
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67bda57bca71d') {
|
|
9588
9593
|
var _productarr6$data, _productarr6$data$pro;
|
|
9589
9594
|
var _productarr6 = ProductInfoObj;
|
|
9590
9595
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -9636,7 +9641,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9636
9641
|
// optional: show user message or disable click
|
|
9637
9642
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9638
9643
|
}
|
|
9639
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9644
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '69244cc88aa0a') {
|
|
9640
9645
|
var _productarr7$data, _productarr7$data$pro;
|
|
9641
9646
|
var _productarr7 = ProductInfoObj;
|
|
9642
9647
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -9688,7 +9693,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9688
9693
|
// optional: show user message or disable click
|
|
9689
9694
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9690
9695
|
}
|
|
9691
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9696
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '687ca57cc78e8') {
|
|
9692
9697
|
var _productarr8$data, _productarr8$data$pro;
|
|
9693
9698
|
var _productarr8 = ProductInfoObj;
|
|
9694
9699
|
if (!(_productarr8 !== null && _productarr8 !== void 0 && (_productarr8$data = _productarr8.data) !== null && _productarr8$data !== void 0 && _productarr8$data.productinfo)) return;
|
|
@@ -10221,10 +10226,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10221
10226
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10222
10227
|
runfunc = true;
|
|
10223
10228
|
} else {
|
|
10224
|
-
var _authdetailsContext$
|
|
10229
|
+
var _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24;
|
|
10225
10230
|
// here
|
|
10226
10231
|
setvariantnotchosendisclaimer('This field is required');
|
|
10227
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10232
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '674f0617c7811' ? 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) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
10228
10233
|
}
|
|
10229
10234
|
} else {
|
|
10230
10235
|
runfunc = true;
|
|
@@ -10308,9 +10313,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10308
10313
|
};
|
|
10309
10314
|
};
|
|
10310
10315
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
10311
|
-
var _authdetailsContext$
|
|
10316
|
+
var _authdetailsContext$i25;
|
|
10312
10317
|
var policyobj = {};
|
|
10313
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10318
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.instpolicies) === null || _authdetailsContext$i25 === void 0 || _authdetailsContext$i25.forEach(function (item, index) {
|
|
10314
10319
|
if (item.policytype == policytype) {
|
|
10315
10320
|
policyobj = item;
|
|
10316
10321
|
}
|
|
@@ -10319,7 +10324,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10319
10324
|
};
|
|
10320
10325
|
var relatedproducts = function relatedproducts() {
|
|
10321
10326
|
if (Relatedproducts.length != 0) {
|
|
10322
|
-
var _authdetailsContext$
|
|
10327
|
+
var _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30;
|
|
10323
10328
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10324
10329
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
10325
10330
|
style: {
|
|
@@ -10341,9 +10346,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10341
10346
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10342
10347
|
className: "row m-0 w-100",
|
|
10343
10348
|
style: {
|
|
10344
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10349
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
10345
10350
|
}
|
|
10346
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10351
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10347
10352
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
10348
10353
|
style: {
|
|
10349
10354
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10362,7 +10367,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10362
10367
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
10363
10368
|
borderRadius: 5
|
|
10364
10369
|
}
|
|
10365
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10370
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10366
10371
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center",
|
|
10367
10372
|
style: {
|
|
10368
10373
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10386,8 +10391,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10386
10391
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
10387
10392
|
transitionBehavior: 'auto',
|
|
10388
10393
|
wrapperClassName: '',
|
|
10389
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10390
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10394
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
10395
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10391
10396
|
}, Relatedproducts.map(function (item, index) {
|
|
10392
10397
|
if (item.productinfo != null) {
|
|
10393
10398
|
var _fetchProductInfoQuer49;
|
|
@@ -10509,10 +10514,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10509
10514
|
if (addtocartobjparam.variantid.length != 0) {
|
|
10510
10515
|
runfunc = true;
|
|
10511
10516
|
} else {
|
|
10512
|
-
var _authdetailsContext$
|
|
10517
|
+
var _authdetailsContext$i31;
|
|
10513
10518
|
// here
|
|
10514
10519
|
setvariantnotchosendisclaimer('This field is required');
|
|
10515
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10520
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
10516
10521
|
}
|
|
10517
10522
|
} else {
|
|
10518
10523
|
runfunc = true;
|
|
@@ -10555,8 +10560,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10555
10560
|
isVarianturlLoaded = _useState58[0],
|
|
10556
10561
|
setisVarianturlLoaded = _useState58[1];
|
|
10557
10562
|
React.useEffect(function () {
|
|
10558
|
-
var _authdetailsContext$
|
|
10559
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10563
|
+
var _authdetailsContext$i32;
|
|
10564
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68f918a4ccb85') {
|
|
10560
10565
|
var params = new URLSearchParams(window.location.search);
|
|
10561
10566
|
var variantId = params.get('variant');
|
|
10562
10567
|
if (isVarianturlLoaded == false) {
|
|
@@ -11370,7 +11375,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11370
11375
|
})));
|
|
11371
11376
|
};
|
|
11372
11377
|
var StoreInfo = function StoreInfo(position) {
|
|
11373
|
-
var _fetchProductInfoQuer81, _authdetailsContext$
|
|
11378
|
+
var _fetchProductInfoQuer81, _authdetailsContext$i34, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i35, _authdetailsContext$i37;
|
|
11374
11379
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11375
11380
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
11376
11381
|
style: {
|
|
@@ -11449,8 +11454,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11449
11454
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11450
11455
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
11451
11456
|
onClick: function onClick() {
|
|
11452
|
-
var _authdetailsContext$
|
|
11453
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11457
|
+
var _authdetailsContext$i33;
|
|
11458
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 || (_authdetailsContext$i33 = _authdetailsContext$i33.contactinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.email), '_self');
|
|
11454
11459
|
}
|
|
11455
11460
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11456
11461
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -11470,7 +11475,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11470
11475
|
style: {
|
|
11471
11476
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11472
11477
|
}
|
|
11473
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11478
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 || (_authdetailsContext$i34 = _authdetailsContext$i34.contactinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11474
11479
|
"class": "col-lg-12 my-2",
|
|
11475
11480
|
style: {
|
|
11476
11481
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -11522,25 +11527,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
11522
11527
|
}
|
|
11523
11528
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11524
11529
|
"class": "m-0 p-0"
|
|
11525
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11530
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 || (_authdetailsContext$i35 = _authdetailsContext$i35.contactinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11526
11531
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11527
11532
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
11528
11533
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11529
11534
|
onClick: function onClick() {
|
|
11530
|
-
var _authdetailsContext$
|
|
11531
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11535
|
+
var _authdetailsContext$i36;
|
|
11536
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 || (_authdetailsContext$i36 = _authdetailsContext$i36.contactinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.email), '_self');
|
|
11532
11537
|
}
|
|
11533
11538
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11534
11539
|
"class": "m-0 p-0"
|
|
11535
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11540
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11536
11541
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11537
11542
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
11538
11543
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11539
11544
|
onClick: function onClick() {
|
|
11540
|
-
var _authdetailsContext$
|
|
11541
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11542
|
-
var _authdetailsContext$
|
|
11543
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11545
|
+
var _authdetailsContext$i38;
|
|
11546
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.whatsappnumber) != null) {
|
|
11547
|
+
var _authdetailsContext$i39;
|
|
11548
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.whatsappnumber), '_blank');
|
|
11544
11549
|
}
|
|
11545
11550
|
}
|
|
11546
11551
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -11636,7 +11641,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11636
11641
|
lang: lang,
|
|
11637
11642
|
srcfromprops: props.srcfromprops
|
|
11638
11643
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
11639
|
-
}), (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) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11644
|
+
}), (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) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
11640
11645
|
actions: (_ref2 = {
|
|
11641
11646
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
11642
11647
|
setisoutofstock: setisoutofstock,
|
|
@@ -11646,7 +11651,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11646
11651
|
lang: lang,
|
|
11647
11652
|
srcfromprops: props.srcfromprops
|
|
11648
11653
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
11649
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11654
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
11650
11655
|
actions: (_ref3 = {
|
|
11651
11656
|
isOptionInStock: isOptionInStock,
|
|
11652
11657
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -11672,7 +11677,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11672
11677
|
lang: lang,
|
|
11673
11678
|
srcfromprops: props.srcfromprops
|
|
11674
11679
|
}, _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"](_defineProperty__default["default"](_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
11675
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11680
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) != '69ef34fd77c0f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11676
11681
|
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 ',
|
|
11677
11682
|
style: {
|
|
11678
11683
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11863,7 +11868,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11863
11868
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11864
11869
|
sectionproperties: sectionproperties
|
|
11865
11870
|
})
|
|
11866
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11871
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11867
11872
|
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 ',
|
|
11868
11873
|
style: {
|
|
11869
11874
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12013,7 +12018,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12013
12018
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12014
12019
|
sectionproperties: sectionproperties
|
|
12015
12020
|
})
|
|
12016
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12021
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12017
12022
|
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 ',
|
|
12018
12023
|
style: {
|
|
12019
12024
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12155,7 +12160,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12155
12160
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12156
12161
|
sectionproperties: sectionproperties
|
|
12157
12162
|
})
|
|
12158
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12163
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12159
12164
|
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 ',
|
|
12160
12165
|
style: {
|
|
12161
12166
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12306,7 +12311,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12306
12311
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12307
12312
|
sectionproperties: sectionproperties
|
|
12308
12313
|
})
|
|
12309
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12314
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12310
12315
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
|
|
12311
12316
|
}, productVideos.map(function (item, index) {
|
|
12312
12317
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -12323,12 +12328,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12323
12328
|
loop: true,
|
|
12324
12329
|
muted: true
|
|
12325
12330
|
}));
|
|
12326
|
-
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12331
|
+
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12327
12332
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
12328
12333
|
style: {
|
|
12329
12334
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
12330
12335
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
12331
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12336
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
12332
12337
|
}
|
|
12333
12338
|
}, relatedproducts()))));
|
|
12334
12339
|
};
|
|
@@ -26006,7 +26011,11 @@ var CardsSection = function CardsSection(props) {
|
|
|
26006
26011
|
cardobj.product_phonenumber = arrayItem.productinfo.product_phonenumber;
|
|
26007
26012
|
cardobj.productcanrate = arrayItem.productinfo.productcanrate;
|
|
26008
26013
|
cardobj.sku = arrayItem.productinfo.sku;
|
|
26009
|
-
|
|
26014
|
+
if (arrayItem.extra_fields != undefined && arrayItem.extra_fields != null) {
|
|
26015
|
+
cardobj.extrafieldsarray = arrayItem.extra_fields;
|
|
26016
|
+
} else {
|
|
26017
|
+
cardobj.extrafieldsarray = [];
|
|
26018
|
+
}
|
|
26010
26019
|
if (langdetect == 'en') {
|
|
26011
26020
|
var _fetchAuthorizationQu;
|
|
26012
26021
|
cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu === void 0 || (_fetchAuthorizationQu = _fetchAuthorizationQu.data) === null || _fetchAuthorizationQu === void 0 ? void 0 : _fetchAuthorizationQu.currencyname_en;
|
|
@@ -97666,7 +97675,6 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
97666
97675
|
onClick: function onClick() {
|
|
97667
97676
|
var _authdetailsContext$i12;
|
|
97668
97677
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68527dfef348b') {
|
|
97669
|
-
// alert(item.path);
|
|
97670
97678
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
97671
97679
|
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
97672
97680
|
addtocartfunc();
|