tabexseriescomponents 0.2.1263 → 0.2.1265
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 +215 -67
- package/dist/index.esm.js +215 -67
- package/dist/index.umd.js +215 -67
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -7635,7 +7635,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7635
7635
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7636
7636
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7637
7637
|
var Productinfo = function Productinfo(props) {
|
|
7638
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7638
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i35, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i36, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i46, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i47, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i48, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51;
|
|
7639
7639
|
var _useState = React.useState({}),
|
|
7640
7640
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7641
7641
|
ProductInfoObj = _useState2[0],
|
|
@@ -7859,7 +7859,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7859
7859
|
};
|
|
7860
7860
|
React.useEffect(function () {
|
|
7861
7861
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7862
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3
|
|
7862
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
7863
7863
|
var secpropobj = {};
|
|
7864
7864
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
7865
7865
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
@@ -7876,9 +7876,6 @@ var Productinfo = function Productinfo(props) {
|
|
|
7876
7876
|
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68a6e2f865af8') {
|
|
7877
7877
|
settabname('descriptiontab');
|
|
7878
7878
|
// alert('sd');
|
|
7879
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '693ae1f70d9a4') {
|
|
7880
|
-
settabname('reviewstab');
|
|
7881
|
-
// alert('sd');
|
|
7882
7879
|
} else {
|
|
7883
7880
|
var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5;
|
|
7884
7881
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.product_videos) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.length) == 0) {
|
|
@@ -8101,8 +8098,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8101
8098
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
8102
8099
|
}
|
|
8103
8100
|
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) != '') {
|
|
8104
|
-
var _authdetailsContext$
|
|
8105
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8101
|
+
var _authdetailsContext$i4;
|
|
8102
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '66d6de1a1e04a') {
|
|
8106
8103
|
var _fetchProductInfoQuer36;
|
|
8107
8104
|
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);
|
|
8108
8105
|
} else {
|
|
@@ -8128,9 +8125,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8128
8125
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8129
8126
|
// };
|
|
8130
8127
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8131
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1
|
|
8128
|
+
var _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
8132
8129
|
// lord
|
|
8133
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8130
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '68d28fc494276') {
|
|
8134
8131
|
var _ProductInfoObj$data;
|
|
8135
8132
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
8136
8133
|
var options = (productinfo === null || productinfo === void 0 ? void 0 : productinfo.productoptions) || [];
|
|
@@ -8218,7 +8215,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8218
8215
|
return inStock ? 1 : 0;
|
|
8219
8216
|
}
|
|
8220
8217
|
// vout
|
|
8221
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8218
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68f918a4ccb85') {
|
|
8222
8219
|
var _ProductInfoObj$data2;
|
|
8223
8220
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8224
8221
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8306,7 +8303,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8306
8303
|
return _inStock ? 1 : 0;
|
|
8307
8304
|
}
|
|
8308
8305
|
// puff n stuff
|
|
8309
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8306
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '6899e604db87f') {
|
|
8310
8307
|
var _ProductInfoObj$data3;
|
|
8311
8308
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8312
8309
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8394,7 +8391,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8394
8391
|
return _inStock2 ? 1 : 0;
|
|
8395
8392
|
}
|
|
8396
8393
|
// dija
|
|
8397
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8394
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8398
8395
|
var _ProductInfoObj$data4;
|
|
8399
8396
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8400
8397
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8482,7 +8479,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8482
8479
|
return _inStock3 ? 1 : 0;
|
|
8483
8480
|
}
|
|
8484
8481
|
// angel secrets
|
|
8485
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8482
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '67bda57bca71d') {
|
|
8486
8483
|
var _ProductInfoObj$data5;
|
|
8487
8484
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8488
8485
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8568,7 +8565,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8568
8565
|
}) && variantValueIds.includes(Currvalueid);
|
|
8569
8566
|
});
|
|
8570
8567
|
return _inStock4 ? 1 : 0;
|
|
8571
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8568
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '69244cc88aa0a') {
|
|
8572
8569
|
var _ProductInfoObj$data6;
|
|
8573
8570
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8574
8571
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -8654,7 +8651,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8654
8651
|
}) && variantValueIds.includes(Currvalueid);
|
|
8655
8652
|
});
|
|
8656
8653
|
return _inStock5 ? 1 : 0;
|
|
8657
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8654
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '687ca57cc78e8') {
|
|
8658
8655
|
var _ProductInfoObj$data7;
|
|
8659
8656
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
8660
8657
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -8745,8 +8742,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8745
8742
|
}
|
|
8746
8743
|
};
|
|
8747
8744
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8748
|
-
var _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16
|
|
8749
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8745
|
+
var _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
|
|
8746
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68d28fc494276') {
|
|
8750
8747
|
var _productarr$data, _productarr$data$prod;
|
|
8751
8748
|
var _productarr = ProductInfoObj;
|
|
8752
8749
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8800,7 +8797,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8800
8797
|
}
|
|
8801
8798
|
}
|
|
8802
8799
|
// vout
|
|
8803
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8800
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68f918a4ccb85') {
|
|
8804
8801
|
var _productarr2$data, _productarr2$data$pro;
|
|
8805
8802
|
var _productarr2 = ProductInfoObj;
|
|
8806
8803
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8854,7 +8851,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8854
8851
|
}
|
|
8855
8852
|
}
|
|
8856
8853
|
// puff n stuff
|
|
8857
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8854
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '6899e604db87f') {
|
|
8858
8855
|
var _productarr3$data, _productarr3$data$pro;
|
|
8859
8856
|
var _productarr3 = ProductInfoObj;
|
|
8860
8857
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8908,7 +8905,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8908
8905
|
}
|
|
8909
8906
|
}
|
|
8910
8907
|
// dija
|
|
8911
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8908
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8912
8909
|
var _productarr4$data, _productarr4$data$pro;
|
|
8913
8910
|
var _productarr4 = ProductInfoObj;
|
|
8914
8911
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8962,7 +8959,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8962
8959
|
}
|
|
8963
8960
|
}
|
|
8964
8961
|
// angel
|
|
8965
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8962
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '67bda57bca71d') {
|
|
8966
8963
|
var _productarr5$data, _productarr5$data$pro;
|
|
8967
8964
|
var _productarr5 = ProductInfoObj;
|
|
8968
8965
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -9014,7 +9011,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9014
9011
|
// optional: show user message or disable click
|
|
9015
9012
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9016
9013
|
}
|
|
9017
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9014
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '69244cc88aa0a') {
|
|
9018
9015
|
var _productarr6$data, _productarr6$data$pro;
|
|
9019
9016
|
var _productarr6 = ProductInfoObj;
|
|
9020
9017
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -9066,7 +9063,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9066
9063
|
// optional: show user message or disable click
|
|
9067
9064
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9068
9065
|
}
|
|
9069
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9066
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '687ca57cc78e8') {
|
|
9070
9067
|
var _productarr7$data, _productarr7$data$pro;
|
|
9071
9068
|
var _productarr7 = ProductInfoObj;
|
|
9072
9069
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -9599,10 +9596,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9599
9596
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9600
9597
|
runfunc = true;
|
|
9601
9598
|
} else {
|
|
9602
|
-
var _authdetailsContext$
|
|
9599
|
+
var _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19;
|
|
9603
9600
|
// here
|
|
9604
9601
|
setvariantnotchosendisclaimer('This field is required');
|
|
9605
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9602
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
9606
9603
|
}
|
|
9607
9604
|
} else {
|
|
9608
9605
|
runfunc = true;
|
|
@@ -9686,9 +9683,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9686
9683
|
};
|
|
9687
9684
|
};
|
|
9688
9685
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9689
|
-
var _authdetailsContext$
|
|
9686
|
+
var _authdetailsContext$i20;
|
|
9690
9687
|
var policyobj = {};
|
|
9691
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9688
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.instpolicies) === null || _authdetailsContext$i20 === void 0 || _authdetailsContext$i20.forEach(function (item, index) {
|
|
9692
9689
|
if (item.policytype == policytype) {
|
|
9693
9690
|
policyobj = item;
|
|
9694
9691
|
}
|
|
@@ -9697,7 +9694,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9697
9694
|
};
|
|
9698
9695
|
var relatedproducts = function relatedproducts() {
|
|
9699
9696
|
if (Relatedproducts.length != 0) {
|
|
9700
|
-
var _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25
|
|
9697
|
+
var _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25;
|
|
9701
9698
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9702
9699
|
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",
|
|
9703
9700
|
style: {
|
|
@@ -9719,9 +9716,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9719
9716
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9720
9717
|
className: "row m-0 w-100",
|
|
9721
9718
|
style: {
|
|
9722
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9719
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
9723
9720
|
}
|
|
9724
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9721
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9725
9722
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9726
9723
|
style: {
|
|
9727
9724
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9740,7 +9737,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9740
9737
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9741
9738
|
borderRadius: 5
|
|
9742
9739
|
}
|
|
9743
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9740
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9744
9741
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9745
9742
|
style: {
|
|
9746
9743
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9761,8 +9758,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9761
9758
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
9762
9759
|
transitionBehavior: 'auto',
|
|
9763
9760
|
wrapperClassName: '',
|
|
9764
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9765
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9761
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9762
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9766
9763
|
}, Relatedproducts.map(function (item, index) {
|
|
9767
9764
|
if (item.productinfo != null) {
|
|
9768
9765
|
var _fetchProductInfoQuer49;
|
|
@@ -9832,10 +9829,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9832
9829
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9833
9830
|
runfunc = true;
|
|
9834
9831
|
} else {
|
|
9835
|
-
var _authdetailsContext$
|
|
9832
|
+
var _authdetailsContext$i26;
|
|
9836
9833
|
// here
|
|
9837
9834
|
setvariantnotchosendisclaimer('This field is required');
|
|
9838
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9835
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
9839
9836
|
}
|
|
9840
9837
|
} else {
|
|
9841
9838
|
runfunc = true;
|
|
@@ -9878,8 +9875,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9878
9875
|
isVarianturlLoaded = _useState58[0],
|
|
9879
9876
|
setisVarianturlLoaded = _useState58[1];
|
|
9880
9877
|
React.useEffect(function () {
|
|
9881
|
-
var _authdetailsContext$
|
|
9882
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9878
|
+
var _authdetailsContext$i27;
|
|
9879
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68f918a4ccb85') {
|
|
9883
9880
|
var params = new URLSearchParams(window.location.search);
|
|
9884
9881
|
var variantId = params.get('variant');
|
|
9885
9882
|
if (isVarianturlLoaded == false) {
|
|
@@ -10675,7 +10672,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10675
10672
|
})));
|
|
10676
10673
|
};
|
|
10677
10674
|
var StoreInfo = function StoreInfo(position) {
|
|
10678
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10675
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i29, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i30, _authdetailsContext$i32;
|
|
10679
10676
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10680
10677
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10681
10678
|
style: {
|
|
@@ -10754,8 +10751,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10754
10751
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10755
10752
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10756
10753
|
onClick: function onClick() {
|
|
10757
|
-
var _authdetailsContext$
|
|
10758
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10754
|
+
var _authdetailsContext$i28;
|
|
10755
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 || (_authdetailsContext$i28 = _authdetailsContext$i28.contactinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.email), '_self');
|
|
10759
10756
|
}
|
|
10760
10757
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10761
10758
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10775,7 +10772,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10775
10772
|
style: {
|
|
10776
10773
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10777
10774
|
}
|
|
10778
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10775
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 || (_authdetailsContext$i29 = _authdetailsContext$i29.contactinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10779
10776
|
"class": "col-lg-12 my-2",
|
|
10780
10777
|
style: {
|
|
10781
10778
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10827,25 +10824,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
10827
10824
|
}
|
|
10828
10825
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10829
10826
|
"class": "m-0 p-0"
|
|
10830
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10827
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 || (_authdetailsContext$i30 = _authdetailsContext$i30.contactinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10831
10828
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10832
10829
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10833
10830
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10834
10831
|
onClick: function onClick() {
|
|
10835
|
-
var _authdetailsContext$
|
|
10836
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10832
|
+
var _authdetailsContext$i31;
|
|
10833
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 || (_authdetailsContext$i31 = _authdetailsContext$i31.contactinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.email), '_self');
|
|
10837
10834
|
}
|
|
10838
10835
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10839
10836
|
"class": "m-0 p-0"
|
|
10840
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10837
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10841
10838
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10842
10839
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10843
10840
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10844
10841
|
onClick: function onClick() {
|
|
10845
|
-
var _authdetailsContext$
|
|
10846
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10847
|
-
var _authdetailsContext$
|
|
10848
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10842
|
+
var _authdetailsContext$i33;
|
|
10843
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.whatsappnumber) != null) {
|
|
10844
|
+
var _authdetailsContext$i34;
|
|
10845
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.whatsappnumber), '_blank');
|
|
10849
10846
|
}
|
|
10850
10847
|
}
|
|
10851
10848
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -10941,7 +10938,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10941
10938
|
lang: lang,
|
|
10942
10939
|
srcfromprops: props.srcfromprops
|
|
10943
10940
|
}, _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))
|
|
10944
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10941
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
10945
10942
|
actions: (_ref2 = {
|
|
10946
10943
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10947
10944
|
setisoutofstock: setisoutofstock,
|
|
@@ -10951,7 +10948,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10951
10948
|
lang: lang,
|
|
10952
10949
|
srcfromprops: props.srcfromprops
|
|
10953
10950
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_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))
|
|
10954
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10951
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
10955
10952
|
actions: (_ref3 = {
|
|
10956
10953
|
isOptionInStock: isOptionInStock,
|
|
10957
10954
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10977,7 +10974,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10977
10974
|
lang: lang,
|
|
10978
10975
|
srcfromprops: props.srcfromprops
|
|
10979
10976
|
}, _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))
|
|
10980
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10977
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10981
10978
|
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 ',
|
|
10982
10979
|
style: {
|
|
10983
10980
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11168,6 +11165,156 @@ var Productinfo = function Productinfo(props) {
|
|
|
11168
11165
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11169
11166
|
sectionproperties: sectionproperties
|
|
11170
11167
|
})
|
|
11168
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11169
|
+
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 ',
|
|
11170
|
+
style: {
|
|
11171
|
+
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11172
|
+
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
11173
|
+
display: 'flex'
|
|
11174
|
+
}
|
|
11175
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11176
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
11177
|
+
style: {
|
|
11178
|
+
paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
|
|
11179
|
+
paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
|
|
11180
|
+
marginBottom: sectionproperties.tabsmb + 'px',
|
|
11181
|
+
paddingTop: sectionproperties.tabsPt + 'px',
|
|
11182
|
+
paddingBottom: sectionproperties.tabsPb + 'px'
|
|
11183
|
+
}
|
|
11184
|
+
}, sectionproperties.tabsfullwidth != 'Full Width' && /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
11185
|
+
style: {
|
|
11186
|
+
borderBottom: '1px solid #ccc'
|
|
11187
|
+
}
|
|
11188
|
+
}, /*#__PURE__*/React__default["default"].createElement(material.Tabs, {
|
|
11189
|
+
value: tabIndex,
|
|
11190
|
+
onChange: handleTabChange,
|
|
11191
|
+
scrollButtons: "auto",
|
|
11192
|
+
TabIndicatorProps: {
|
|
11193
|
+
style: {
|
|
11194
|
+
background: sectionproperties.activetabbordercolor
|
|
11195
|
+
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
11196
|
+
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
11197
|
+
}
|
|
11198
|
+
},
|
|
11199
|
+
sx: {
|
|
11200
|
+
'& button': {
|
|
11201
|
+
color: sectionproperties.tabtextcolor,
|
|
11202
|
+
fontWeight: sectionproperties.tabtextfontweight,
|
|
11203
|
+
background: sectionproperties.tabcontainerbgcolor,
|
|
11204
|
+
textTransform: sectionproperties.tabtexttexttransform,
|
|
11205
|
+
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
11206
|
+
fontFamily: 'Poppins',
|
|
11207
|
+
transition: '.3s',
|
|
11208
|
+
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
11209
|
+
},
|
|
11210
|
+
'& button:hover': {
|
|
11211
|
+
color: sectionproperties.tabscoloronhover,
|
|
11212
|
+
fontFamily: 'Poppins',
|
|
11213
|
+
transition: '.3s'
|
|
11214
|
+
},
|
|
11215
|
+
'& button.Mui-selected': {
|
|
11216
|
+
color: sectionproperties.tabtextactivecolor,
|
|
11217
|
+
background: sectionproperties.activetabbgcolor,
|
|
11218
|
+
fontFamily: 'Poppins',
|
|
11219
|
+
transition: '.3s'
|
|
11220
|
+
}
|
|
11221
|
+
}
|
|
11222
|
+
}, sectionproperties.prodCatShow == 'Show' && sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11223
|
+
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
11224
|
+
onClick: function onClick() {
|
|
11225
|
+
settabname('descriptiontab');
|
|
11226
|
+
}
|
|
11227
|
+
}), sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11228
|
+
label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
|
|
11229
|
+
onClick: function onClick() {
|
|
11230
|
+
settabname('shortdescriptiontab');
|
|
11231
|
+
}
|
|
11232
|
+
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11233
|
+
label: langdetect == 'en' ? (_returnpolicyobj15 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj15 === void 0 ? void 0 : _returnpolicyobj15.policypagename_en : (_returnpolicyobj16 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj16 === void 0 ? void 0 : _returnpolicyobj16.policypagename_ar,
|
|
11234
|
+
onClick: function onClick() {
|
|
11235
|
+
settabname('shippingpolicytab');
|
|
11236
|
+
}
|
|
11237
|
+
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11238
|
+
label: langdetect == 'en' ? (_returnpolicyobj17 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj17 === void 0 ? void 0 : _returnpolicyobj17.policypagename_en : (_returnpolicyobj18 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj18 === void 0 ? void 0 : _returnpolicyobj18.policypagename_ar,
|
|
11239
|
+
onClick: function onClick() {
|
|
11240
|
+
settabname('refundpolicytab');
|
|
11241
|
+
}
|
|
11242
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.product_videos) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.length) != 0 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11243
|
+
label: langdetect == 'en' ? 'Videos' : 'فيديوهات',
|
|
11244
|
+
onClick: function onClick() {
|
|
11245
|
+
settabname('videostab');
|
|
11246
|
+
}
|
|
11247
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11248
|
+
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
11249
|
+
onClick: function onClick() {
|
|
11250
|
+
settabname('reviewstab');
|
|
11251
|
+
}
|
|
11252
|
+
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
11253
|
+
"class": "w-100 mt-5 mb-4"
|
|
11254
|
+
}, tabname != 'shortdescriptiontab' && tabname != 'shippingpolicytab' && tabname != 'refundpolicytab' && tabname != 'videostab' && tabname != 'reviewstab' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
11255
|
+
actions: _objectSpread$2C(_objectSpread$2C({}, actions), {}, {
|
|
11256
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
11257
|
+
sectionproperties: sectionproperties
|
|
11258
|
+
})
|
|
11259
|
+
}), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11260
|
+
"class": "col-lg-12 p-0"
|
|
11261
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11262
|
+
className: 'm-0 p-0 wordbreak',
|
|
11263
|
+
style: {
|
|
11264
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
11265
|
+
color: sectionproperties.prodCatColor
|
|
11266
|
+
},
|
|
11267
|
+
dangerouslySetInnerHTML: {
|
|
11268
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer97 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.productinfo) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.short_description_ar
|
|
11269
|
+
}
|
|
11270
|
+
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11271
|
+
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
11272
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11273
|
+
className: ' m-0 p-0 wordbreak ',
|
|
11274
|
+
style: {
|
|
11275
|
+
// lineClamp: 10,
|
|
11276
|
+
// WebkitLineClamp: 10,
|
|
11277
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11278
|
+
},
|
|
11279
|
+
dangerouslySetInnerHTML: {
|
|
11280
|
+
__html: langdetect == 'en' ? (_returnpolicyobj19 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj19 === void 0 ? void 0 : _returnpolicyobj19.policycontent_en : (_returnpolicyobj20 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj20 === void 0 ? void 0 : _returnpolicyobj20.policycontent_ar
|
|
11281
|
+
}
|
|
11282
|
+
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11283
|
+
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
11284
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11285
|
+
className: ' m-0 p-0 wordbreak ',
|
|
11286
|
+
style: {
|
|
11287
|
+
// lineClamp: 10,
|
|
11288
|
+
// WebkitLineClamp: 10,
|
|
11289
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11290
|
+
},
|
|
11291
|
+
dangerouslySetInnerHTML: {
|
|
11292
|
+
__html: langdetect == 'en' ? (_returnpolicyobj21 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj21 === void 0 ? void 0 : _returnpolicyobj21.policycontent_en : (_returnpolicyobj22 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj22 === void 0 ? void 0 : _returnpolicyobj22.policycontent_ar
|
|
11293
|
+
}
|
|
11294
|
+
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11295
|
+
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
11296
|
+
}, productVideos.map(function (item, index) {
|
|
11297
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11298
|
+
className: "col-lg-4 col-md-6 col-sm-12 mb-4",
|
|
11299
|
+
style: {
|
|
11300
|
+
height: 400
|
|
11301
|
+
}
|
|
11302
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
|
|
11303
|
+
url: item.videourl,
|
|
11304
|
+
height: '100%',
|
|
11305
|
+
width: '100%',
|
|
11306
|
+
playing: false,
|
|
11307
|
+
controls: true,
|
|
11308
|
+
loop: true,
|
|
11309
|
+
muted: true
|
|
11310
|
+
}));
|
|
11311
|
+
})), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11312
|
+
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
11313
|
+
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
11314
|
+
actions: _objectSpread$2C(_objectSpread$2C({}, actions), {}, {
|
|
11315
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
11316
|
+
sectionproperties: sectionproperties
|
|
11317
|
+
})
|
|
11171
11318
|
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11172
11319
|
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 ',
|
|
11173
11320
|
style: {
|
|
@@ -11235,12 +11382,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11235
11382
|
settabname('shortdescriptiontab');
|
|
11236
11383
|
}
|
|
11237
11384
|
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11238
|
-
label: langdetect == 'en' ? (
|
|
11385
|
+
label: langdetect == 'en' ? (_returnpolicyobj23 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj23 === void 0 ? void 0 : _returnpolicyobj23.policypagename_en : (_returnpolicyobj24 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj24 === void 0 ? void 0 : _returnpolicyobj24.policypagename_ar,
|
|
11239
11386
|
onClick: function onClick() {
|
|
11240
11387
|
settabname('shippingpolicytab');
|
|
11241
11388
|
}
|
|
11242
11389
|
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement(material.Tab, {
|
|
11243
|
-
label: langdetect == 'en' ? (
|
|
11390
|
+
label: langdetect == 'en' ? (_returnpolicyobj25 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj25 === void 0 ? void 0 : _returnpolicyobj25.policypagename_en : (_returnpolicyobj26 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj26 === void 0 ? void 0 : _returnpolicyobj26.policypagename_ar,
|
|
11244
11391
|
onClick: function onClick() {
|
|
11245
11392
|
settabname('refundpolicytab');
|
|
11246
11393
|
}
|
|
@@ -11260,7 +11407,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11260
11407
|
color: sectionproperties.prodCatColor
|
|
11261
11408
|
},
|
|
11262
11409
|
dangerouslySetInnerHTML: {
|
|
11263
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11410
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.short_description_ar
|
|
11264
11411
|
}
|
|
11265
11412
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11266
11413
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -11272,7 +11419,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11272
11419
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11273
11420
|
},
|
|
11274
11421
|
dangerouslySetInnerHTML: {
|
|
11275
|
-
__html: langdetect == 'en' ? (
|
|
11422
|
+
__html: langdetect == 'en' ? (_returnpolicyobj27 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj27 === void 0 ? void 0 : _returnpolicyobj27.policycontent_en : (_returnpolicyobj28 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj28 === void 0 ? void 0 : _returnpolicyobj28.policycontent_ar
|
|
11276
11423
|
}
|
|
11277
11424
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11278
11425
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -11284,7 +11431,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11284
11431
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11285
11432
|
},
|
|
11286
11433
|
dangerouslySetInnerHTML: {
|
|
11287
|
-
__html: langdetect == 'en' ? (
|
|
11434
|
+
__html: langdetect == 'en' ? (_returnpolicyobj29 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj29 === void 0 ? void 0 : _returnpolicyobj29.policycontent_en : (_returnpolicyobj30 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj30 === void 0 ? void 0 : _returnpolicyobj30.policycontent_ar
|
|
11288
11435
|
}
|
|
11289
11436
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11290
11437
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -11392,7 +11539,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11392
11539
|
color: '#000000'
|
|
11393
11540
|
},
|
|
11394
11541
|
dangerouslySetInnerHTML: {
|
|
11395
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11542
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.description_ar
|
|
11396
11543
|
}
|
|
11397
11544
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11398
11545
|
"class": "col-lg-12 p-0"
|
|
@@ -11403,7 +11550,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11403
11550
|
color: sectionproperties.prodCatColor
|
|
11404
11551
|
},
|
|
11405
11552
|
dangerouslySetInnerHTML: {
|
|
11406
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
11553
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer104 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.short_description_ar
|
|
11407
11554
|
}
|
|
11408
11555
|
}))
|
|
11409
11556
|
// <DescriptionContent
|
|
@@ -11423,7 +11570,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11423
11570
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11424
11571
|
},
|
|
11425
11572
|
dangerouslySetInnerHTML: {
|
|
11426
|
-
__html: langdetect == 'en' ? (
|
|
11573
|
+
__html: langdetect == 'en' ? (_returnpolicyobj31 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj31 === void 0 ? void 0 : _returnpolicyobj31.policycontent_en : (_returnpolicyobj32 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj32 === void 0 ? void 0 : _returnpolicyobj32.policycontent_ar
|
|
11427
11574
|
}
|
|
11428
11575
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11429
11576
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -11435,7 +11582,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11435
11582
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11436
11583
|
},
|
|
11437
11584
|
dangerouslySetInnerHTML: {
|
|
11438
|
-
__html: langdetect == 'en' ? (
|
|
11585
|
+
__html: langdetect == 'en' ? (_returnpolicyobj33 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj33 === void 0 ? void 0 : _returnpolicyobj33.policycontent_en : (_returnpolicyobj34 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj34 === void 0 ? void 0 : _returnpolicyobj34.policycontent_ar
|
|
11439
11586
|
}
|
|
11440
11587
|
})), tabname == 'videostab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11441
11588
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -36243,7 +36390,8 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
36243
36390
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36244
36391
|
"class": ' scrollhorizontal w-100 align-items-center h-100 ',
|
|
36245
36392
|
style: {
|
|
36246
|
-
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex'
|
|
36393
|
+
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
|
|
36394
|
+
flexWrap: 'wrap'
|
|
36247
36395
|
}
|
|
36248
36396
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
36249
36397
|
var activeclass = '';
|
|
@@ -36252,7 +36400,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
36252
36400
|
}
|
|
36253
36401
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
36254
36402
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36255
|
-
"class": "
|
|
36403
|
+
"class": "",
|
|
36256
36404
|
style: {
|
|
36257
36405
|
marginLeft: langdetect == 'en' ? 0 : '20px',
|
|
36258
36406
|
marginRight: langdetect == 'en' ? '20px' : 0,
|
|
@@ -41609,20 +41757,20 @@ var Modernheader = function Modernheader(props) {
|
|
|
41609
41757
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41610
41758
|
"class": "m-0 p-0 mr-2 ml-2",
|
|
41611
41759
|
style: {
|
|
41612
|
-
color: sectionproperties.
|
|
41760
|
+
color: sectionproperties.cart_iconcolor,
|
|
41613
41761
|
fontSize: 16
|
|
41614
41762
|
}
|
|
41615
41763
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
41616
|
-
color: sectionproperties.
|
|
41764
|
+
color: sectionproperties.cart_iconcolor
|
|
41617
41765
|
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41618
41766
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
41619
41767
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
41620
41768
|
"class": "m-0 p-0 ml-2 mr-2",
|
|
41621
41769
|
style: {
|
|
41622
|
-
color: sectionproperties.
|
|
41770
|
+
color: sectionproperties.cart_iconcolor
|
|
41623
41771
|
}
|
|
41624
41772
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, {
|
|
41625
|
-
color: sectionproperties.
|
|
41773
|
+
color: sectionproperties.cart_iconcolor
|
|
41626
41774
|
})))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcurrencies) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.map(function (item, index) {
|
|
41627
41775
|
var _authdetailsContext$i5;
|
|
41628
41776
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|