tabexseriescomponents 0.2.1413 → 0.2.1414
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 +264 -85
- package/dist/index.esm.js +264 -85
- package/dist/index.umd.js +264 -85
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -8223,7 +8223,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
8223
8223
|
function ownKeys$2D(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; }
|
|
8224
8224
|
function _objectSpread$2D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2D(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8225
8225
|
var Productinfo = function Productinfo(props) {
|
|
8226
|
-
var _css, _fetchProductInfoQuer90, _ref, _fetchProductInfoQuer91, _authdetailsContext$
|
|
8226
|
+
var _css, _fetchProductInfoQuer90, _ref, _fetchProductInfoQuer91, _authdetailsContext$i46, _ref2, _fetchProductInfoQuer92, _authdetailsContext$i47, _ref3, _fetchProductInfoQuer93, _ref4, _authdetailsContext$i48, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i49, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62, _authdetailsContext$i63, _authdetailsContext$i64, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i65, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i66, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _authdetailsContext$i67, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _fetchProductInfoQuer113, _authdetailsContext$i68, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _fetchProductInfoQuer114, _fetchProductInfoQuer115, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i69, _fetchProductInfoQuer116, _fetchProductInfoQuer117, _fetchProductInfoQuer118, _fetchProductInfoQuer119, _returnpolicyobj47, _returnpolicyobj48, _returnpolicyobj49, _returnpolicyobj50, _authdetailsContext$i70, _authdetailsContext$i71, _returnpolicyobj51, _returnpolicyobj52, _returnpolicyobj53, _returnpolicyobj54, _authdetailsContext$i72, _authdetailsContext$i73;
|
|
8227
8227
|
var _useState = useState({}),
|
|
8228
8228
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8229
8229
|
ProductInfoObj = _useState2[0],
|
|
@@ -8447,7 +8447,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8447
8447
|
};
|
|
8448
8448
|
useEffect(function () {
|
|
8449
8449
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
8450
|
-
var _authdetailsContext$i;
|
|
8450
|
+
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
8451
8451
|
var secpropobj = {};
|
|
8452
8452
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
8453
8453
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
@@ -8458,9 +8458,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
8458
8458
|
settabname('descriptiontab');
|
|
8459
8459
|
setTabIndex(0);
|
|
8460
8460
|
|
|
8461
|
+
// alert('sd');
|
|
8462
|
+
}
|
|
8463
|
+
// move to spo
|
|
8464
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6963a3b378483') {
|
|
8465
|
+
settabname('descriptiontab');
|
|
8466
|
+
setTabIndex(0);
|
|
8467
|
+
|
|
8461
8468
|
// alert('sd');
|
|
8462
8469
|
} else {
|
|
8463
|
-
var _fetchProductInfoQuer3, _authdetailsContext$
|
|
8470
|
+
var _fetchProductInfoQuer3, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
8464
8471
|
if (sectionproperties.showfirstpolicy == 'Hide' && sectionproperties.showsecondpolicy == 'Hide' && (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) {
|
|
8465
8472
|
settabname('videostab');
|
|
8466
8473
|
setTabIndex(3);
|
|
@@ -8468,18 +8475,18 @@ var Productinfo = function Productinfo(props) {
|
|
|
8468
8475
|
setTabIndex(0);
|
|
8469
8476
|
settabname('descriptiontab');
|
|
8470
8477
|
}
|
|
8471
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8478
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68e4efe8cb18e') {
|
|
8472
8479
|
settabname('descriptiontab');
|
|
8473
8480
|
// alert('sd');
|
|
8474
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8481
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '690894722ad12') {
|
|
8475
8482
|
settabname('reviewstab');
|
|
8476
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8483
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '69df5f6e19eb2') {
|
|
8477
8484
|
settabname('videostab');
|
|
8478
8485
|
// alert('sd');
|
|
8479
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8486
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '693fdc5a14f45') {
|
|
8480
8487
|
settabname('descriptiontab');
|
|
8481
8488
|
// alert('sd');
|
|
8482
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8489
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68a6e2f865af8') {
|
|
8483
8490
|
settabname('descriptiontab');
|
|
8484
8491
|
// alert('sd');
|
|
8485
8492
|
} else {
|
|
@@ -8713,8 +8720,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8713
8720
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
8714
8721
|
}
|
|
8715
8722
|
if ((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) != undefined && (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) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.quantitystepincrearse) != '') {
|
|
8716
|
-
var _authdetailsContext$
|
|
8717
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8723
|
+
var _authdetailsContext$i8;
|
|
8724
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '66d6de1a1e04a') {
|
|
8718
8725
|
var _fetchProductInfoQuer39;
|
|
8719
8726
|
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.quantitystepincrearse);
|
|
8720
8727
|
} else {
|
|
@@ -8747,9 +8754,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8747
8754
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8748
8755
|
// };
|
|
8749
8756
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8750
|
-
var _authdetailsContext$
|
|
8757
|
+
var _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
8751
8758
|
// lord
|
|
8752
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8759
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '68d28fc494276') {
|
|
8753
8760
|
var _ProductInfoObj$data;
|
|
8754
8761
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
8755
8762
|
var options = (productinfo === null || productinfo === void 0 ? void 0 : productinfo.productoptions) || [];
|
|
@@ -8837,7 +8844,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8837
8844
|
return inStock ? 1 : 0;
|
|
8838
8845
|
}
|
|
8839
8846
|
// alma
|
|
8840
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8847
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67d349e5ee6a1') {
|
|
8841
8848
|
var _ProductInfoObj$data2;
|
|
8842
8849
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8843
8850
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8925,7 +8932,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8925
8932
|
return _inStock ? 1 : 0;
|
|
8926
8933
|
}
|
|
8927
8934
|
// mn design
|
|
8928
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8935
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '682dfdcdb9720') {
|
|
8929
8936
|
var _ProductInfoObj$data3;
|
|
8930
8937
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8931
8938
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -9011,7 +9018,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9011
9018
|
}) && variantValueIds.includes(Currvalueid);
|
|
9012
9019
|
});
|
|
9013
9020
|
return _inStock2 ? 1 : 0;
|
|
9014
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9021
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '67c050d72cbe7') {
|
|
9015
9022
|
var _ProductInfoObj$data4;
|
|
9016
9023
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
9017
9024
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -9099,7 +9106,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9099
9106
|
return _inStock3 ? 1 : 0;
|
|
9100
9107
|
}
|
|
9101
9108
|
// amiga
|
|
9102
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9109
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '670fc18477599') {
|
|
9103
9110
|
var _ProductInfoObj$data5;
|
|
9104
9111
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
9105
9112
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -9187,7 +9194,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9187
9194
|
return _inStock4 ? 1 : 0;
|
|
9188
9195
|
}
|
|
9189
9196
|
// vout
|
|
9190
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9197
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68f918a4ccb85') {
|
|
9191
9198
|
var _ProductInfoObj$data6;
|
|
9192
9199
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
9193
9200
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -9275,7 +9282,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9275
9282
|
return _inStock5 ? 1 : 0;
|
|
9276
9283
|
}
|
|
9277
9284
|
// puff n stuff
|
|
9278
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9285
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6899e604db87f') {
|
|
9279
9286
|
var _ProductInfoObj$data7;
|
|
9280
9287
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
9281
9288
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -9363,7 +9370,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9363
9370
|
return _inStock6 ? 1 : 0;
|
|
9364
9371
|
}
|
|
9365
9372
|
// dija
|
|
9366
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9373
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '682cbb9bdcd57') {
|
|
9367
9374
|
var _ProductInfoObj$data8;
|
|
9368
9375
|
var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
|
|
9369
9376
|
var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
|
|
@@ -9451,7 +9458,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9451
9458
|
return _inStock7 ? 1 : 0;
|
|
9452
9459
|
}
|
|
9453
9460
|
// angel secrets
|
|
9454
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9461
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '67bda57bca71d') {
|
|
9455
9462
|
var _ProductInfoObj$data9;
|
|
9456
9463
|
var _productinfo8 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data9 = ProductInfoObj.data) === null || _ProductInfoObj$data9 === void 0 ? void 0 : _ProductInfoObj$data9.productinfo;
|
|
9457
9464
|
var _options8 = (_productinfo8 === null || _productinfo8 === void 0 ? void 0 : _productinfo8.productoptions) || [];
|
|
@@ -9537,7 +9544,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9537
9544
|
}) && variantValueIds.includes(Currvalueid);
|
|
9538
9545
|
});
|
|
9539
9546
|
return _inStock8 ? 1 : 0;
|
|
9540
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9547
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '69244cc88aa0a') {
|
|
9541
9548
|
var _ProductInfoObj$data0;
|
|
9542
9549
|
var _productinfo9 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data0 = ProductInfoObj.data) === null || _ProductInfoObj$data0 === void 0 ? void 0 : _ProductInfoObj$data0.productinfo;
|
|
9543
9550
|
var _options9 = (_productinfo9 === null || _productinfo9 === void 0 ? void 0 : _productinfo9.productoptions) || [];
|
|
@@ -9623,7 +9630,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9623
9630
|
}) && variantValueIds.includes(Currvalueid);
|
|
9624
9631
|
});
|
|
9625
9632
|
return _inStock9 ? 1 : 0;
|
|
9626
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9633
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '687ca57cc78e8') {
|
|
9627
9634
|
var _ProductInfoObj$data1;
|
|
9628
9635
|
var _productinfo0 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data1 = ProductInfoObj.data) === null || _ProductInfoObj$data1 === void 0 ? void 0 : _ProductInfoObj$data1.productinfo;
|
|
9629
9636
|
var _options0 = (_productinfo0 === null || _productinfo0 === void 0 ? void 0 : _productinfo0.productoptions) || [];
|
|
@@ -9714,8 +9721,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9714
9721
|
}
|
|
9715
9722
|
};
|
|
9716
9723
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
9717
|
-
var _authdetailsContext$
|
|
9718
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9724
|
+
var _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27;
|
|
9725
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '68d28fc494276') {
|
|
9719
9726
|
var _productarr$data, _productarr$data$prod;
|
|
9720
9727
|
var _productarr = ProductInfoObj;
|
|
9721
9728
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -9769,7 +9776,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9769
9776
|
}
|
|
9770
9777
|
}
|
|
9771
9778
|
// mn design
|
|
9772
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9779
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '682dfdcdb9720') {
|
|
9773
9780
|
var _productarr2$data, _productarr2$data$pro;
|
|
9774
9781
|
var _productarr2 = ProductInfoObj;
|
|
9775
9782
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -9824,7 +9831,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9824
9831
|
}
|
|
9825
9832
|
|
|
9826
9833
|
// alma
|
|
9827
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9834
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67d349e5ee6a1') {
|
|
9828
9835
|
var _productarr3$data, _productarr3$data$pro;
|
|
9829
9836
|
var _productarr3 = ProductInfoObj;
|
|
9830
9837
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -9876,7 +9883,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9876
9883
|
// optional: show user message or disable click
|
|
9877
9884
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9878
9885
|
}
|
|
9879
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9886
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67c050d72cbe7') {
|
|
9880
9887
|
var _productarr4$data, _productarr4$data$pro;
|
|
9881
9888
|
var _productarr4 = ProductInfoObj;
|
|
9882
9889
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -9930,7 +9937,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9930
9937
|
}
|
|
9931
9938
|
}
|
|
9932
9939
|
// vout
|
|
9933
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9940
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '68f918a4ccb85') {
|
|
9934
9941
|
var _productarr5$data, _productarr5$data$pro;
|
|
9935
9942
|
var _productarr5 = ProductInfoObj;
|
|
9936
9943
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -9984,7 +9991,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9984
9991
|
}
|
|
9985
9992
|
}
|
|
9986
9993
|
// puff n stuff
|
|
9987
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9994
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '6899e604db87f') {
|
|
9988
9995
|
var _productarr6$data, _productarr6$data$pro;
|
|
9989
9996
|
var _productarr6 = ProductInfoObj;
|
|
9990
9997
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -10038,7 +10045,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10038
10045
|
}
|
|
10039
10046
|
}
|
|
10040
10047
|
// dija
|
|
10041
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10048
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '682cbb9bdcd57') {
|
|
10042
10049
|
var _productarr7$data, _productarr7$data$pro;
|
|
10043
10050
|
var _productarr7 = ProductInfoObj;
|
|
10044
10051
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -10092,7 +10099,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10092
10099
|
}
|
|
10093
10100
|
}
|
|
10094
10101
|
// angel
|
|
10095
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10102
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '67bda57bca71d') {
|
|
10096
10103
|
var _productarr8$data, _productarr8$data$pro;
|
|
10097
10104
|
var _productarr8 = ProductInfoObj;
|
|
10098
10105
|
if (!(_productarr8 !== null && _productarr8 !== void 0 && (_productarr8$data = _productarr8.data) !== null && _productarr8$data !== void 0 && _productarr8$data.productinfo)) return;
|
|
@@ -10144,7 +10151,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10144
10151
|
// optional: show user message or disable click
|
|
10145
10152
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10146
10153
|
}
|
|
10147
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10154
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '69244cc88aa0a') {
|
|
10148
10155
|
var _productarr9$data, _productarr9$data$pro;
|
|
10149
10156
|
var _productarr9 = ProductInfoObj;
|
|
10150
10157
|
if (!(_productarr9 !== null && _productarr9 !== void 0 && (_productarr9$data = _productarr9.data) !== null && _productarr9$data !== void 0 && _productarr9$data.productinfo)) return;
|
|
@@ -10196,7 +10203,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10196
10203
|
// optional: show user message or disable click
|
|
10197
10204
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10198
10205
|
}
|
|
10199
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10206
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '687ca57cc78e8') {
|
|
10200
10207
|
var _productarr0$data, _productarr0$data$pro;
|
|
10201
10208
|
var _productarr0 = ProductInfoObj;
|
|
10202
10209
|
if (!(_productarr0 !== null && _productarr0 !== void 0 && (_productarr0$data = _productarr0.data) !== null && _productarr0$data !== void 0 && _productarr0$data.productinfo)) return;
|
|
@@ -10729,10 +10736,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10729
10736
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10730
10737
|
runfunc = true;
|
|
10731
10738
|
} else {
|
|
10732
|
-
var _authdetailsContext$
|
|
10739
|
+
var _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30;
|
|
10733
10740
|
// here
|
|
10734
10741
|
setvariantnotchosendisclaimer('This field is required');
|
|
10735
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10742
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
10736
10743
|
}
|
|
10737
10744
|
} else {
|
|
10738
10745
|
runfunc = true;
|
|
@@ -10816,9 +10823,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10816
10823
|
};
|
|
10817
10824
|
};
|
|
10818
10825
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
10819
|
-
var _authdetailsContext$
|
|
10826
|
+
var _authdetailsContext$i31;
|
|
10820
10827
|
var policyobj = {};
|
|
10821
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10828
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 || (_authdetailsContext$i31 = _authdetailsContext$i31.instpolicies) === null || _authdetailsContext$i31 === void 0 || _authdetailsContext$i31.forEach(function (item, index) {
|
|
10822
10829
|
if (item.policytype == policytype) {
|
|
10823
10830
|
policyobj = item;
|
|
10824
10831
|
}
|
|
@@ -10827,7 +10834,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10827
10834
|
};
|
|
10828
10835
|
var relatedproducts = function relatedproducts() {
|
|
10829
10836
|
if (Relatedproducts.length != 0) {
|
|
10830
|
-
var _authdetailsContext$
|
|
10837
|
+
var _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36;
|
|
10831
10838
|
return /*#__PURE__*/React.createElement("div", {
|
|
10832
10839
|
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",
|
|
10833
10840
|
style: {
|
|
@@ -10849,9 +10856,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10849
10856
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10850
10857
|
className: "row m-0 w-100",
|
|
10851
10858
|
style: {
|
|
10852
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10859
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
10853
10860
|
}
|
|
10854
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10861
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
10855
10862
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
10856
10863
|
style: {
|
|
10857
10864
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10870,7 +10877,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10870
10877
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
10871
10878
|
borderRadius: 5
|
|
10872
10879
|
}
|
|
10873
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10880
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
10874
10881
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center",
|
|
10875
10882
|
style: {
|
|
10876
10883
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10894,8 +10901,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10894
10901
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
10895
10902
|
transitionBehavior: 'auto',
|
|
10896
10903
|
wrapperClassName: '',
|
|
10897
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10898
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10904
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
10905
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10899
10906
|
}, Relatedproducts.map(function (item, index) {
|
|
10900
10907
|
if (item.productinfo != null) {
|
|
10901
10908
|
var _fetchProductInfoQuer52;
|
|
@@ -11019,10 +11026,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
11019
11026
|
if (addtocartobjparam.variantid.length != 0) {
|
|
11020
11027
|
runfunc = true;
|
|
11021
11028
|
} else {
|
|
11022
|
-
var _authdetailsContext$
|
|
11029
|
+
var _authdetailsContext$i37;
|
|
11023
11030
|
// here
|
|
11024
11031
|
setvariantnotchosendisclaimer('This field is required');
|
|
11025
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11032
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
11026
11033
|
}
|
|
11027
11034
|
} else {
|
|
11028
11035
|
runfunc = true;
|
|
@@ -11065,8 +11072,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11065
11072
|
isVarianturlLoaded = _useState58[0],
|
|
11066
11073
|
setisVarianturlLoaded = _useState58[1];
|
|
11067
11074
|
useEffect(function () {
|
|
11068
|
-
var _authdetailsContext$
|
|
11069
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11075
|
+
var _authdetailsContext$i38;
|
|
11076
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68f918a4ccb85') {
|
|
11070
11077
|
var params = new URLSearchParams(window.location.search);
|
|
11071
11078
|
var variantId = params.get('variant');
|
|
11072
11079
|
if (isVarianturlLoaded == false) {
|
|
@@ -11938,7 +11945,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11938
11945
|
})));
|
|
11939
11946
|
};
|
|
11940
11947
|
var StoreInfo = function StoreInfo(position) {
|
|
11941
|
-
var _fetchProductInfoQuer84, _authdetailsContext$
|
|
11948
|
+
var _fetchProductInfoQuer84, _authdetailsContext$i40, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i41, _authdetailsContext$i43;
|
|
11942
11949
|
return /*#__PURE__*/React.createElement("div", {
|
|
11943
11950
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
11944
11951
|
style: {
|
|
@@ -12017,8 +12024,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
12017
12024
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
12018
12025
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
12019
12026
|
onClick: function onClick() {
|
|
12020
|
-
var _authdetailsContext$
|
|
12021
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12027
|
+
var _authdetailsContext$i39;
|
|
12028
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 || (_authdetailsContext$i39 = _authdetailsContext$i39.contactinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.email), '_self');
|
|
12022
12029
|
}
|
|
12023
12030
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12024
12031
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -12038,7 +12045,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12038
12045
|
style: {
|
|
12039
12046
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12040
12047
|
}
|
|
12041
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12048
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 || (_authdetailsContext$i40 = _authdetailsContext$i40.contactinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.email))), /*#__PURE__*/React.createElement("div", {
|
|
12042
12049
|
"class": "col-lg-12 my-2",
|
|
12043
12050
|
style: {
|
|
12044
12051
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -12090,25 +12097,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
12090
12097
|
}
|
|
12091
12098
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12092
12099
|
"class": "m-0 p-0"
|
|
12093
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12100
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 || (_authdetailsContext$i41 = _authdetailsContext$i41.contactinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.email) != null && /*#__PURE__*/React.createElement("div", {
|
|
12094
12101
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
12095
12102
|
}, /*#__PURE__*/React.createElement("button", {
|
|
12096
12103
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
12097
12104
|
onClick: function onClick() {
|
|
12098
|
-
var _authdetailsContext$
|
|
12099
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12105
|
+
var _authdetailsContext$i42;
|
|
12106
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 || (_authdetailsContext$i42 = _authdetailsContext$i42.contactinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.email), '_self');
|
|
12100
12107
|
}
|
|
12101
12108
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12102
12109
|
"class": "m-0 p-0"
|
|
12103
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12110
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
12104
12111
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : position == 'belowinfogoldlift' ? 'col-lg-6 allcentered mb-2 p-sm-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
12105
12112
|
}, /*#__PURE__*/React.createElement("button", {
|
|
12106
12113
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
12107
12114
|
onClick: function onClick() {
|
|
12108
|
-
var _authdetailsContext$
|
|
12109
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12110
|
-
var _authdetailsContext$
|
|
12111
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12115
|
+
var _authdetailsContext$i44;
|
|
12116
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.whatsappnumber) != null) {
|
|
12117
|
+
var _authdetailsContext$i45;
|
|
12118
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.whatsappnumber), '_blank');
|
|
12112
12119
|
}
|
|
12113
12120
|
}
|
|
12114
12121
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -12204,7 +12211,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12204
12211
|
lang: lang,
|
|
12205
12212
|
srcfromprops: props.srcfromprops
|
|
12206
12213
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
12207
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12214
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React.createElement(Article_itemtype, {
|
|
12208
12215
|
actions: (_ref2 = {
|
|
12209
12216
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
12210
12217
|
setisoutofstock: setisoutofstock,
|
|
@@ -12214,7 +12221,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12214
12221
|
lang: lang,
|
|
12215
12222
|
srcfromprops: props.srcfromprops
|
|
12216
12223
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty(_defineProperty(_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
12217
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12224
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React.createElement(Product_itemtype_Article, {
|
|
12218
12225
|
actions: (_ref3 = {
|
|
12219
12226
|
isOptionInStock: isOptionInStock,
|
|
12220
12227
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -12240,7 +12247,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12240
12247
|
lang: lang,
|
|
12241
12248
|
srcfromprops: props.srcfromprops
|
|
12242
12249
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty(_defineProperty(_defineProperty(_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
12243
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12250
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '69a34ef02cc96' && /*#__PURE__*/React.createElement("div", {
|
|
12244
12251
|
"class": 'row m-0 w-100 px-md-2 pb-5',
|
|
12245
12252
|
style: {
|
|
12246
12253
|
paddingLeft: 100,
|
|
@@ -12319,7 +12326,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12319
12326
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12320
12327
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
12321
12328
|
style: {}
|
|
12322
|
-
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12329
|
+
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React.createElement("div", {
|
|
12323
12330
|
"class": 'row m-0 w-100 px-md-0 pb-5',
|
|
12324
12331
|
style: {
|
|
12325
12332
|
paddingLeft: 100,
|
|
@@ -12398,7 +12405,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12398
12405
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12399
12406
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
12400
12407
|
style: {}
|
|
12401
|
-
}, langdetect == 'en' ? (_returnpolicyobj1 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj1 === void 0 ? void 0 : _returnpolicyobj1.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12408
|
+
}, langdetect == 'en' ? (_returnpolicyobj1 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj1 === void 0 ? void 0 : _returnpolicyobj1.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React.createElement("div", {
|
|
12402
12409
|
"class": "rotating-text-container rotating-text-containermarqueesection"
|
|
12403
12410
|
}, /*#__PURE__*/React.createElement("span", {
|
|
12404
12411
|
"class": sectionproperties.marqueemovementdirection == 'Right to Left' ? 'd-flex flex-row align-items-center rotating-text2' : 'd-flex flex-row align-items-center rotating-text-reverse2',
|
|
@@ -12426,7 +12433,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12426
12433
|
height: '100%'
|
|
12427
12434
|
}
|
|
12428
12435
|
}));
|
|
12429
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12436
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React.createElement("div", {
|
|
12430
12437
|
"class": "row m-0 w-100"
|
|
12431
12438
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12432
12439
|
"class": "col-12 p-0 text-center mb-3 mt-3"
|
|
@@ -12442,9 +12449,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
12442
12449
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12443
12450
|
sectionproperties: sectionproperties
|
|
12444
12451
|
})
|
|
12445
|
-
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12452
|
+
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.contactinfo.instid) != '69ef34fd77c0f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.contactinfo.instid) != '69fcb0672e838' &&
|
|
12446
12453
|
// move to spo
|
|
12447
|
-
(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12454
|
+
(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) != '6a5e2f3d879f1' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) != '6963a3b378483' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
12448
12455
|
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 ',
|
|
12449
12456
|
style: {
|
|
12450
12457
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12635,7 +12642,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12635
12642
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12636
12643
|
sectionproperties: sectionproperties
|
|
12637
12644
|
})
|
|
12638
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12645
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
12639
12646
|
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 ',
|
|
12640
12647
|
style: {
|
|
12641
12648
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12785,7 +12792,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12785
12792
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12786
12793
|
sectionproperties: sectionproperties
|
|
12787
12794
|
})
|
|
12788
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12795
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.contactinfo.instid) == '6a5e2f3d879f1' && /*#__PURE__*/React.createElement("div", {
|
|
12789
12796
|
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 ',
|
|
12790
12797
|
style: {
|
|
12791
12798
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12909,7 +12916,179 @@ var Productinfo = function Productinfo(props) {
|
|
|
12909
12916
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12910
12917
|
sectionproperties: sectionproperties
|
|
12911
12918
|
})
|
|
12912
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12919
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.contactinfo.instid) == '6963a3b378483' && /*#__PURE__*/React.createElement("div", {
|
|
12920
|
+
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 ',
|
|
12921
|
+
style: {
|
|
12922
|
+
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
12923
|
+
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
12924
|
+
display: 'flex'
|
|
12925
|
+
}
|
|
12926
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
12927
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
12928
|
+
style: {
|
|
12929
|
+
paddingLeft: sectionproperties.tabspaddinghorizontal + 'px',
|
|
12930
|
+
paddingRight: sectionproperties.tabspaddinghorizontal + 'px',
|
|
12931
|
+
marginBottom: sectionproperties.tabsmb + 'px',
|
|
12932
|
+
paddingTop: sectionproperties.tabsPt + 'px',
|
|
12933
|
+
paddingBottom: sectionproperties.tabsPb + 'px'
|
|
12934
|
+
}
|
|
12935
|
+
}, sectionproperties.tabsfullwidth == 'Full Width' && /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Tabs, {
|
|
12936
|
+
value: tabIndex,
|
|
12937
|
+
onChange: handleTabChange,
|
|
12938
|
+
scrollButtons: "auto",
|
|
12939
|
+
TabIndicatorProps: {
|
|
12940
|
+
style: {
|
|
12941
|
+
background: sectionproperties.activetabbordercolor
|
|
12942
|
+
// right: sectionproperties.showfirstpolicy == 'Hide' ? 0 : sectionproperties.showsecondpolicy == 'Hide' ? 0 : '',
|
|
12943
|
+
// margin: sectionproperties.showfirstpolicy == 'Hide' ? 'auto' : sectionproperties.showsecondpolicy == 'Hide' ? 'auto' : '',
|
|
12944
|
+
}
|
|
12945
|
+
},
|
|
12946
|
+
sx: {
|
|
12947
|
+
'& button': {
|
|
12948
|
+
color: sectionproperties.tabtextcolor,
|
|
12949
|
+
fontWeight: sectionproperties.tabtextfontweight,
|
|
12950
|
+
background: sectionproperties.tabcontainerbgcolor,
|
|
12951
|
+
textTransform: sectionproperties.tabtexttexttransform,
|
|
12952
|
+
borderRadius: sectionproperties.tabcontainerborderradius + 'px',
|
|
12953
|
+
fontFamily: 'Poppins',
|
|
12954
|
+
transition: '.3s',
|
|
12955
|
+
fontSize: sectionproperties.tabtextfontsize + 'px'
|
|
12956
|
+
},
|
|
12957
|
+
'& button:hover': {
|
|
12958
|
+
color: sectionproperties.tabscoloronhover,
|
|
12959
|
+
fontFamily: 'Poppins',
|
|
12960
|
+
transition: '.3s'
|
|
12961
|
+
},
|
|
12962
|
+
'& button.Mui-selected': {
|
|
12963
|
+
color: sectionproperties.tabtextactivecolor,
|
|
12964
|
+
background: sectionproperties.activetabbgcolor,
|
|
12965
|
+
fontFamily: 'Poppins',
|
|
12966
|
+
transition: '.3s'
|
|
12967
|
+
}
|
|
12968
|
+
},
|
|
12969
|
+
variant: 'fullWidth'
|
|
12970
|
+
// tabsfullwidth
|
|
12971
|
+
}, /*#__PURE__*/React.createElement(Tab, {
|
|
12972
|
+
label: langdetect == 'en' ? sectionproperties.tabsdescEn : sectionproperties.tabsdescAr,
|
|
12973
|
+
onClick: function onClick() {
|
|
12974
|
+
settabname('descriptiontab');
|
|
12975
|
+
}
|
|
12976
|
+
}), /*#__PURE__*/React.createElement(Tab, {
|
|
12977
|
+
label: langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar,
|
|
12978
|
+
onClick: function onClick() {
|
|
12979
|
+
settabname('shortdescriptiontab');
|
|
12980
|
+
}
|
|
12981
|
+
}), /*#__PURE__*/React.createElement(Tab, {
|
|
12982
|
+
label: langdetect == 'en' ? sectionproperties.featurestitleen : sectionproperties.featurestitlear,
|
|
12983
|
+
onClick: function onClick() {
|
|
12984
|
+
settabname('featurestab');
|
|
12985
|
+
}
|
|
12986
|
+
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
12987
|
+
label: langdetect == 'en' ? (_returnpolicyobj35 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj35 === void 0 ? void 0 : _returnpolicyobj35.policypagename_en : (_returnpolicyobj36 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj36 === void 0 ? void 0 : _returnpolicyobj36.policypagename_ar,
|
|
12988
|
+
onClick: function onClick() {
|
|
12989
|
+
settabname('shippingpolicytab');
|
|
12990
|
+
}
|
|
12991
|
+
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
12992
|
+
label: langdetect == 'en' ? (_returnpolicyobj37 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj37 === void 0 ? void 0 : _returnpolicyobj37.policypagename_en : (_returnpolicyobj38 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj38 === void 0 ? void 0 : _returnpolicyobj38.policypagename_ar,
|
|
12993
|
+
onClick: function onClick() {
|
|
12994
|
+
settabname('refundpolicytab');
|
|
12995
|
+
}
|
|
12996
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer109 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.productinfo) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.product_videos) === null || _fetchProductInfoQuer109 === void 0 ? void 0 : _fetchProductInfoQuer109.length) != 0 && /*#__PURE__*/React.createElement(Tab, {
|
|
12997
|
+
label: langdetect == 'en' ? sectionproperties.videostitleen : sectionproperties.videostitlear,
|
|
12998
|
+
onClick: function onClick() {
|
|
12999
|
+
settabname('videostab');
|
|
13000
|
+
}
|
|
13001
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer110 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.productinfo) === null || _fetchProductInfoQuer110 === void 0 ? void 0 : _fetchProductInfoQuer110.productcanrate) == 1 && /*#__PURE__*/React.createElement(Tab, {
|
|
13002
|
+
label: langdetect == 'en' ? 'Reviews' : 'التقييمات',
|
|
13003
|
+
onClick: function onClick() {
|
|
13004
|
+
settabname('reviewstab');
|
|
13005
|
+
}
|
|
13006
|
+
}))), /*#__PURE__*/React.createElement(Box, {
|
|
13007
|
+
"class": "w-100 mt-5 mb-4"
|
|
13008
|
+
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React.createElement(DescriptionContent, {
|
|
13009
|
+
actions: _objectSpread$2D(_objectSpread$2D({}, actions), {}, {
|
|
13010
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
13011
|
+
sectionproperties: sectionproperties
|
|
13012
|
+
})
|
|
13013
|
+
}), tabname == 'shortdescriptiontab' && /*#__PURE__*/React.createElement("div", {
|
|
13014
|
+
"class": "col-lg-12 px-5 px-md-0"
|
|
13015
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
13016
|
+
className: 'm-0 p-0 wordbreak',
|
|
13017
|
+
style: {
|
|
13018
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
13019
|
+
color: sectionproperties.prodCatColor
|
|
13020
|
+
},
|
|
13021
|
+
dangerouslySetInnerHTML: {
|
|
13022
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer111 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.productinfo) === null || _fetchProductInfoQuer111 === void 0 ? void 0 : _fetchProductInfoQuer111.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer112 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.data) === null || _fetchProductInfoQuer112 === void 0 || (_fetchProductInfoQuer112 = _fetchProductInfoQuer112.productinfo) === null || _fetchProductInfoQuer112 === void 0 ? void 0 : _fetchProductInfoQuer112.short_description_ar
|
|
13023
|
+
}
|
|
13024
|
+
})), tabname == 'featurestab' && /*#__PURE__*/React.createElement("div", {
|
|
13025
|
+
"class": "col-lg-12 px-5 px-md-0"
|
|
13026
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
13027
|
+
"class": "row m-0 w-100"
|
|
13028
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
13029
|
+
className: "col-lg-12 m-0 w-100 p-0"
|
|
13030
|
+
}, /*#__PURE__*/React.createElement("table", {
|
|
13031
|
+
className: 'table tablevertical'
|
|
13032
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer113 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.productinfo) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.productfeatures) === null || _fetchProductInfoQuer113 === void 0 ? void 0 : _fetchProductInfoQuer113.map(function (fitem, findex) {
|
|
13033
|
+
return /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("th", {
|
|
13034
|
+
style: {
|
|
13035
|
+
textTransform: 'capitalize',
|
|
13036
|
+
color: sectionproperties.featurecolor,
|
|
13037
|
+
fontWeight: sectionproperties.featurefontweight,
|
|
13038
|
+
fontSize: sectionproperties.featurefontsize
|
|
13039
|
+
}
|
|
13040
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
13041
|
+
"class": "d-flex flex-row",
|
|
13042
|
+
style: {
|
|
13043
|
+
color: sectionproperties.featurecolor
|
|
13044
|
+
}
|
|
13045
|
+
}, (fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url) != null && /*#__PURE__*/React.createElement("div", {
|
|
13046
|
+
style: {
|
|
13047
|
+
width: '20px'
|
|
13048
|
+
},
|
|
13049
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
13050
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
13051
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
13052
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
13053
|
+
path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
|
|
13054
|
+
loading: "lazy",
|
|
13055
|
+
style: {
|
|
13056
|
+
maxWidth: '100%',
|
|
13057
|
+
maxHeight: '100%'
|
|
13058
|
+
}
|
|
13059
|
+
})), langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), /*#__PURE__*/React.createElement("td", {
|
|
13060
|
+
style: {
|
|
13061
|
+
color: sectionproperties.featurevaluecolor,
|
|
13062
|
+
fontWeight: sectionproperties.featurevaluefontweight,
|
|
13063
|
+
fontSize: sectionproperties.featurevaluefontsize,
|
|
13064
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13065
|
+
}
|
|
13066
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
13067
|
+
}))))), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
|
|
13068
|
+
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
13069
|
+
}, productVideos.map(function (item, index) {
|
|
13070
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
13071
|
+
className: "col-lg-4 col-md-6 col-sm-12 mb-4",
|
|
13072
|
+
style: {
|
|
13073
|
+
height: 400
|
|
13074
|
+
}
|
|
13075
|
+
}, /*#__PURE__*/React.createElement(ReactPlayer, {
|
|
13076
|
+
url: item.videourl,
|
|
13077
|
+
height: '100%',
|
|
13078
|
+
width: '100%',
|
|
13079
|
+
playing: false,
|
|
13080
|
+
controls: true,
|
|
13081
|
+
loop: true,
|
|
13082
|
+
muted: true
|
|
13083
|
+
}));
|
|
13084
|
+
})), tabname == 'reviewstab' && /*#__PURE__*/React.createElement("div", {
|
|
13085
|
+
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
13086
|
+
}, /*#__PURE__*/React.createElement(ProductReviews, {
|
|
13087
|
+
actions: _objectSpread$2D(_objectSpread$2D({}, actions), {}, {
|
|
13088
|
+
productinfo_cssstyles: productinfo_cssstyles,
|
|
13089
|
+
sectionproperties: sectionproperties
|
|
13090
|
+
})
|
|
13091
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i68 = authdetailsContext.instinfo) === null || _authdetailsContext$i68 === void 0 ? void 0 : _authdetailsContext$i68.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
12913
13092
|
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 ',
|
|
12914
13093
|
style: {
|
|
12915
13094
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12976,12 +13155,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12976
13155
|
settabname('shortdescriptiontab');
|
|
12977
13156
|
}
|
|
12978
13157
|
}), sectionproperties.showfirstpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
12979
|
-
label: langdetect == 'en' ? (
|
|
13158
|
+
label: langdetect == 'en' ? (_returnpolicyobj39 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj39 === void 0 ? void 0 : _returnpolicyobj39.policypagename_en : (_returnpolicyobj40 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj40 === void 0 ? void 0 : _returnpolicyobj40.policypagename_ar,
|
|
12980
13159
|
onClick: function onClick() {
|
|
12981
13160
|
settabname('shippingpolicytab');
|
|
12982
13161
|
}
|
|
12983
13162
|
}), sectionproperties.showsecondpolicy == 'Show' && /*#__PURE__*/React.createElement(Tab, {
|
|
12984
|
-
label: langdetect == 'en' ? (
|
|
13163
|
+
label: langdetect == 'en' ? (_returnpolicyobj41 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj41 === void 0 ? void 0 : _returnpolicyobj41.policypagename_en : (_returnpolicyobj42 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj42 === void 0 ? void 0 : _returnpolicyobj42.policypagename_ar,
|
|
12985
13164
|
onClick: function onClick() {
|
|
12986
13165
|
settabname('refundpolicytab');
|
|
12987
13166
|
}
|
|
@@ -13001,7 +13180,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13001
13180
|
color: sectionproperties.prodCatColor
|
|
13002
13181
|
},
|
|
13003
13182
|
dangerouslySetInnerHTML: {
|
|
13004
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13183
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer114 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.productinfo) === null || _fetchProductInfoQuer114 === void 0 ? void 0 : _fetchProductInfoQuer114.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer115 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.productinfo) === null || _fetchProductInfoQuer115 === void 0 ? void 0 : _fetchProductInfoQuer115.short_description_ar
|
|
13005
13184
|
}
|
|
13006
13185
|
})), tabname == 'shippingpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
13007
13186
|
"class": "col-lg-12 pl-5 pr-5 p-md-0 w-100"
|
|
@@ -13013,7 +13192,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13013
13192
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13014
13193
|
},
|
|
13015
13194
|
dangerouslySetInnerHTML: {
|
|
13016
|
-
__html: langdetect == 'en' ? (
|
|
13195
|
+
__html: langdetect == 'en' ? (_returnpolicyobj43 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj43 === void 0 ? void 0 : _returnpolicyobj43.policycontent_en : (_returnpolicyobj44 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj44 === void 0 ? void 0 : _returnpolicyobj44.policycontent_ar
|
|
13017
13196
|
}
|
|
13018
13197
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
13019
13198
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13025,7 +13204,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13025
13204
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13026
13205
|
},
|
|
13027
13206
|
dangerouslySetInnerHTML: {
|
|
13028
|
-
__html: langdetect == 'en' ? (
|
|
13207
|
+
__html: langdetect == 'en' ? (_returnpolicyobj45 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj45 === void 0 ? void 0 : _returnpolicyobj45.policycontent_en : (_returnpolicyobj46 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj46 === void 0 ? void 0 : _returnpolicyobj46.policycontent_ar
|
|
13029
13208
|
}
|
|
13030
13209
|
})), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
|
|
13031
13210
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13051,7 +13230,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13051
13230
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13052
13231
|
sectionproperties: sectionproperties
|
|
13053
13232
|
})
|
|
13054
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13233
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React.createElement("div", {
|
|
13055
13234
|
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 ',
|
|
13056
13235
|
style: {
|
|
13057
13236
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13133,7 +13312,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13133
13312
|
color: '#000000'
|
|
13134
13313
|
},
|
|
13135
13314
|
dangerouslySetInnerHTML: {
|
|
13136
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13315
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer116 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.data) === null || _fetchProductInfoQuer116 === void 0 || (_fetchProductInfoQuer116 = _fetchProductInfoQuer116.productinfo) === null || _fetchProductInfoQuer116 === void 0 ? void 0 : _fetchProductInfoQuer116.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer117 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.data) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.productinfo) === null || _fetchProductInfoQuer117 === void 0 ? void 0 : _fetchProductInfoQuer117.description_ar
|
|
13137
13316
|
}
|
|
13138
13317
|
})), tabname == 'shortdescriptiontab' && /*#__PURE__*/React.createElement("div", {
|
|
13139
13318
|
"class": "col-lg-12 p-0"
|
|
@@ -13144,7 +13323,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13144
13323
|
color: sectionproperties.prodCatColor
|
|
13145
13324
|
},
|
|
13146
13325
|
dangerouslySetInnerHTML: {
|
|
13147
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
13326
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer118 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer118 === void 0 || (_fetchProductInfoQuer118 = _fetchProductInfoQuer118.data) === null || _fetchProductInfoQuer118 === void 0 || (_fetchProductInfoQuer118 = _fetchProductInfoQuer118.productinfo) === null || _fetchProductInfoQuer118 === void 0 ? void 0 : _fetchProductInfoQuer118.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer119 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer119 === void 0 || (_fetchProductInfoQuer119 = _fetchProductInfoQuer119.data) === null || _fetchProductInfoQuer119 === void 0 || (_fetchProductInfoQuer119 = _fetchProductInfoQuer119.productinfo) === null || _fetchProductInfoQuer119 === void 0 ? void 0 : _fetchProductInfoQuer119.short_description_ar
|
|
13148
13327
|
}
|
|
13149
13328
|
}))
|
|
13150
13329
|
// <DescriptionContent
|
|
@@ -13164,7 +13343,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13164
13343
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13165
13344
|
},
|
|
13166
13345
|
dangerouslySetInnerHTML: {
|
|
13167
|
-
__html: langdetect == 'en' ? (
|
|
13346
|
+
__html: langdetect == 'en' ? (_returnpolicyobj47 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj47 === void 0 ? void 0 : _returnpolicyobj47.policycontent_en : (_returnpolicyobj48 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj48 === void 0 ? void 0 : _returnpolicyobj48.policycontent_ar
|
|
13168
13347
|
}
|
|
13169
13348
|
})), tabname == 'refundpolicytab' && /*#__PURE__*/React.createElement("div", {
|
|
13170
13349
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13176,7 +13355,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13176
13355
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
13177
13356
|
},
|
|
13178
13357
|
dangerouslySetInnerHTML: {
|
|
13179
|
-
__html: langdetect == 'en' ? (
|
|
13358
|
+
__html: langdetect == 'en' ? (_returnpolicyobj49 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj49 === void 0 ? void 0 : _returnpolicyobj49.policycontent_en : (_returnpolicyobj50 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj50 === void 0 ? void 0 : _returnpolicyobj50.policycontent_ar
|
|
13180
13359
|
}
|
|
13181
13360
|
})), tabname == 'videostab' && /*#__PURE__*/React.createElement("div", {
|
|
13182
13361
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0"
|
|
@@ -13202,7 +13381,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13202
13381
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13203
13382
|
sectionproperties: sectionproperties
|
|
13204
13383
|
})
|
|
13205
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13384
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React.createElement("div", {
|
|
13206
13385
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
|
|
13207
13386
|
}, productVideos.map(function (item, index) {
|
|
13208
13387
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -13219,7 +13398,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13219
13398
|
loop: true,
|
|
13220
13399
|
muted: true
|
|
13221
13400
|
}));
|
|
13222
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13401
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React.createElement("div", {
|
|
13223
13402
|
"class": 'row m-0 w-100 px-md-2 mb-5',
|
|
13224
13403
|
style: {
|
|
13225
13404
|
paddingLeft: 100,
|
|
@@ -13279,7 +13458,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13279
13458
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex justofy-content-start flex-column"
|
|
13280
13459
|
}, /*#__PURE__*/React.createElement("p", {
|
|
13281
13460
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center '
|
|
13282
|
-
}, langdetect == 'en' ? (
|
|
13461
|
+
}, langdetect == 'en' ? (_returnpolicyobj51 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj51 === void 0 ? void 0 : _returnpolicyobj51.policypagename_en : (_returnpolicyobj52 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj52 === void 0 ? void 0 : _returnpolicyobj52.policypagename_ar)))), sectionproperties.showsecondpolicy_storeinfo == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
13283
13462
|
"class": "col-3 col-md-12 cursor-pointer textdecorationhover",
|
|
13284
13463
|
onClick: function onClick() {
|
|
13285
13464
|
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
@@ -13297,12 +13476,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
13297
13476
|
}, /*#__PURE__*/React.createElement("p", {
|
|
13298
13477
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
13299
13478
|
style: {}
|
|
13300
|
-
}, langdetect == 'en' ? (
|
|
13479
|
+
}, langdetect == 'en' ? (_returnpolicyobj53 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj53 === void 0 ? void 0 : _returnpolicyobj53.policypagename_en : (_returnpolicyobj54 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj54 === void 0 ? void 0 : _returnpolicyobj54.policypagename_ar))))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i72 = authdetailsContext.instinfo) === null || _authdetailsContext$i72 === void 0 ? void 0 : _authdetailsContext$i72.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React.createElement("div", {
|
|
13301
13480
|
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 ',
|
|
13302
13481
|
style: {
|
|
13303
13482
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
13304
13483
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
13305
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13484
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i73 = authdetailsContext.instinfo) === null || _authdetailsContext$i73 === void 0 ? void 0 : _authdetailsContext$i73.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
13306
13485
|
}
|
|
13307
13486
|
}, relatedproducts()))));
|
|
13308
13487
|
};
|