tabexseriescomponents 0.2.1206 → 0.2.1207
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 +224 -61
- package/dist/index.esm.js +224 -61
- package/dist/index.umd.js +224 -61
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1736,17 +1736,21 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1736
1736
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
1737
1737
|
var is_value_permdisabled = 0;
|
|
1738
1738
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
1739
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
1739
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
1740
1740
|
// if()
|
|
1741
1741
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68d28fc494276') {
|
|
1742
1742
|
is_value_permdisabled = 1;
|
|
1743
1743
|
}
|
|
1744
|
-
|
|
1744
|
+
// puff
|
|
1745
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6899e604db87f') {
|
|
1745
1746
|
is_value_permdisabled = 1;
|
|
1746
1747
|
}
|
|
1747
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '
|
|
1748
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69244cc88aa0a') {
|
|
1748
1749
|
is_value_permdisabled = 1;
|
|
1749
|
-
}
|
|
1750
|
+
}
|
|
1751
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '687ca57cc78e8') {
|
|
1752
|
+
is_value_permdisabled = 1;
|
|
1753
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '6899e604db87f') {
|
|
1750
1754
|
is_value_permdisabled = 1;
|
|
1751
1755
|
}
|
|
1752
1756
|
}
|
|
@@ -1775,7 +1779,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1775
1779
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1776
1780
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1777
1781
|
if (is_value_permdisabled == 0) {
|
|
1778
|
-
var _authdetailsContext$
|
|
1782
|
+
var _authdetailsContext$i6, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
|
|
1779
1783
|
return /*#__PURE__*/React.createElement("div", {
|
|
1780
1784
|
// className={
|
|
1781
1785
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1787,23 +1791,29 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1787
1791
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1788
1792
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1789
1793
|
// }
|
|
1790
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1794
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68f918a4ccb85' ? " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered linethroughshowcrossicon ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1791
1795
|
onClick: function onClick() {
|
|
1792
1796
|
if (isoptionvalueselected == 0) {
|
|
1793
|
-
var _authdetailsContext$
|
|
1794
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1797
|
+
var _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
1798
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68d28fc494276') {
|
|
1799
|
+
if (isValueinStock == 0) {
|
|
1800
|
+
return;
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
// puff
|
|
1804
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6899e604db87f') {
|
|
1795
1805
|
if (isValueinStock == 0) {
|
|
1796
1806
|
return;
|
|
1797
1807
|
}
|
|
1798
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1808
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '69244cc88aa0a') {
|
|
1799
1809
|
if (isValueinStock == 0) {
|
|
1800
1810
|
return;
|
|
1801
1811
|
}
|
|
1802
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1812
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '687ca57cc78e8') {
|
|
1803
1813
|
if (isValueinStock == 0) {
|
|
1804
1814
|
return;
|
|
1805
1815
|
}
|
|
1806
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1816
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6899e604db87f') {
|
|
1807
1817
|
if (isValueinStock == 0) {
|
|
1808
1818
|
return;
|
|
1809
1819
|
}
|
|
@@ -1847,7 +1857,9 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1847
1857
|
}, /*#__PURE__*/React.createElement("i", {
|
|
1848
1858
|
"class": "h-100 allcentered"
|
|
1849
1859
|
}, /*#__PURE__*/React.createElement(IoMdClose, null))), /*#__PURE__*/React.createElement("p", {
|
|
1850
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1860
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1861
|
+
// puff
|
|
1862
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '687ca57cc78e8' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1851
1863
|
style: {
|
|
1852
1864
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1853
1865
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1856,25 +1868,31 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1856
1868
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1857
1869
|
}
|
|
1858
1870
|
} else {
|
|
1859
|
-
var _authdetailsContext$
|
|
1871
|
+
var _authdetailsContext$i15, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25;
|
|
1860
1872
|
return /*#__PURE__*/React.createElement("div", {
|
|
1861
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1873
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '68f918a4ccb85' ? " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered linethroughshowcrossicon ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1862
1874
|
onClick: function onClick() {
|
|
1863
1875
|
if (isoptionvalueselected == 0) {
|
|
1864
|
-
var _authdetailsContext$
|
|
1865
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1876
|
+
var _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20;
|
|
1877
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68d28fc494276') {
|
|
1866
1878
|
if (isValueinStock == 0) {
|
|
1867
1879
|
return;
|
|
1868
1880
|
}
|
|
1869
|
-
}
|
|
1881
|
+
}
|
|
1882
|
+
// puff n stuff
|
|
1883
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6899e604db87f') {
|
|
1870
1884
|
if (isValueinStock == 0) {
|
|
1871
1885
|
return;
|
|
1872
1886
|
}
|
|
1873
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1887
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '69244cc88aa0a') {
|
|
1874
1888
|
if (isValueinStock == 0) {
|
|
1875
1889
|
return;
|
|
1876
1890
|
}
|
|
1877
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1891
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '687ca57cc78e8') {
|
|
1892
|
+
if (isValueinStock == 0) {
|
|
1893
|
+
return;
|
|
1894
|
+
}
|
|
1895
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6899e604db87f') {
|
|
1878
1896
|
if (isValueinStock == 0) {
|
|
1879
1897
|
return;
|
|
1880
1898
|
}
|
|
@@ -1898,7 +1916,9 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1898
1916
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
1899
1917
|
}
|
|
1900
1918
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1901
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1919
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1920
|
+
// puff
|
|
1921
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '687ca57cc78e8' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1902
1922
|
style: {
|
|
1903
1923
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1904
1924
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -7508,7 +7528,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7508
7528
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7509
7529
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7510
7530
|
var Productinfo = function Productinfo(props) {
|
|
7511
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7531
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i31, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i32, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i41, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i42;
|
|
7512
7532
|
var _useState = useState({}),
|
|
7513
7533
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7514
7534
|
ProductInfoObj = _useState2[0],
|
|
@@ -8001,7 +8021,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8001
8021
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8002
8022
|
// };
|
|
8003
8023
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8004
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
8024
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0;
|
|
8025
|
+
// lord
|
|
8005
8026
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
8006
8027
|
var _ProductInfoObj$data;
|
|
8007
8028
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
@@ -8088,7 +8109,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8088
8109
|
}) && variantValueIds.includes(Currvalueid);
|
|
8089
8110
|
});
|
|
8090
8111
|
return inStock ? 1 : 0;
|
|
8091
|
-
}
|
|
8112
|
+
}
|
|
8113
|
+
// puff n stuff
|
|
8114
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '6899e604db87f') {
|
|
8092
8115
|
var _ProductInfoObj$data2;
|
|
8093
8116
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8094
8117
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8174,7 +8197,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8174
8197
|
}) && variantValueIds.includes(Currvalueid);
|
|
8175
8198
|
});
|
|
8176
8199
|
return _inStock ? 1 : 0;
|
|
8177
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '
|
|
8200
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '69244cc88aa0a') {
|
|
8178
8201
|
var _ProductInfoObj$data3;
|
|
8179
8202
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8180
8203
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8260,7 +8283,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8260
8283
|
}) && variantValueIds.includes(Currvalueid);
|
|
8261
8284
|
});
|
|
8262
8285
|
return _inStock2 ? 1 : 0;
|
|
8263
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '
|
|
8286
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '687ca57cc78e8') {
|
|
8264
8287
|
var _ProductInfoObj$data4;
|
|
8265
8288
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8266
8289
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8346,13 +8369,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
8346
8369
|
}) && variantValueIds.includes(Currvalueid);
|
|
8347
8370
|
});
|
|
8348
8371
|
return _inStock3 ? 1 : 0;
|
|
8372
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6899e604db87f') {
|
|
8373
|
+
var _ProductInfoObj$data5;
|
|
8374
|
+
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8375
|
+
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
8376
|
+
var _variants4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.variants) || [];
|
|
8377
|
+
|
|
8378
|
+
// Collect selected option value IDs and find which option they belong to
|
|
8379
|
+
var _selectedValues4 = [];
|
|
8380
|
+
_options4.forEach(function (option) {
|
|
8381
|
+
option.optionvalues.forEach(function (value) {
|
|
8382
|
+
if (value.isselected === 1) {
|
|
8383
|
+
_selectedValues4.push({
|
|
8384
|
+
optionid: option.optionid,
|
|
8385
|
+
valueid: value.valueid
|
|
8386
|
+
});
|
|
8387
|
+
}
|
|
8388
|
+
});
|
|
8389
|
+
});
|
|
8390
|
+
_options4.length;
|
|
8391
|
+
var _selectedCount4 = _selectedValues4.length;
|
|
8392
|
+
var _inStockVariants4 = _variants4.filter(function (v) {
|
|
8393
|
+
return v.current_quantity > 0;
|
|
8394
|
+
});
|
|
8395
|
+
|
|
8396
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
8397
|
+
if (_selectedCount4 === 0) {
|
|
8398
|
+
return _inStockVariants4.some(function (variant) {
|
|
8399
|
+
return variant.variantoptions.some(function (opt) {
|
|
8400
|
+
return opt.valueid === Currvalueid;
|
|
8401
|
+
});
|
|
8402
|
+
}) ? 1 : 0;
|
|
8403
|
+
}
|
|
8404
|
+
|
|
8405
|
+
// 🧠 Case 2: Only one option selected
|
|
8406
|
+
if (_selectedCount4 === 1) {
|
|
8407
|
+
var _selected4 = _selectedValues4[0];
|
|
8408
|
+
var _selectedOptionId4 = _selected4.optionid;
|
|
8409
|
+
|
|
8410
|
+
// Find which option this Currvalueid belongs to
|
|
8411
|
+
var _currentOptionId4 = null;
|
|
8412
|
+
_options4.forEach(function (option) {
|
|
8413
|
+
option.optionvalues.forEach(function (v) {
|
|
8414
|
+
if (v.valueid === Currvalueid) _currentOptionId4 = option.optionid;
|
|
8415
|
+
});
|
|
8416
|
+
});
|
|
8417
|
+
|
|
8418
|
+
// Same option (e.g., selecting only size)
|
|
8419
|
+
if (_selectedOptionId4 === _currentOptionId4) {
|
|
8420
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
8421
|
+
return _inStockVariants4.some(function (variant) {
|
|
8422
|
+
return variant.variantoptions.some(function (opt) {
|
|
8423
|
+
return opt.valueid === Currvalueid;
|
|
8424
|
+
});
|
|
8425
|
+
}) ? 1 : 0;
|
|
8426
|
+
}
|
|
8427
|
+
|
|
8428
|
+
// Different option (e.g., color)
|
|
8429
|
+
// Only in-stock if a variant has both selected value + this value
|
|
8430
|
+
return _inStockVariants4.some(function (variant) {
|
|
8431
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8432
|
+
return v.valueid;
|
|
8433
|
+
});
|
|
8434
|
+
return variantValueIds.includes(_selected4.valueid) && variantValueIds.includes(Currvalueid);
|
|
8435
|
+
}) ? 1 : 0;
|
|
8436
|
+
}
|
|
8437
|
+
|
|
8438
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
8439
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
8440
|
+
var _inStock4 = _inStockVariants4.some(function (variant) {
|
|
8441
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8442
|
+
return v.valueid;
|
|
8443
|
+
});
|
|
8444
|
+
// Must match all selected except the one that belongs to same option
|
|
8445
|
+
return _selectedValues4.every(function (sel) {
|
|
8446
|
+
if (_options4.some(function (opt) {
|
|
8447
|
+
return opt.optionvalues.some(function (v) {
|
|
8448
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
8449
|
+
});
|
|
8450
|
+
})) {
|
|
8451
|
+
// Skip same option
|
|
8452
|
+
return true;
|
|
8453
|
+
}
|
|
8454
|
+
return variantValueIds.includes(sel.valueid);
|
|
8455
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
8456
|
+
});
|
|
8457
|
+
return _inStock4 ? 1 : 0;
|
|
8349
8458
|
} else {
|
|
8350
8459
|
return 1;
|
|
8351
8460
|
}
|
|
8352
8461
|
};
|
|
8353
8462
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8354
|
-
var _authdetailsContext$
|
|
8355
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8463
|
+
var _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
8464
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '68d28fc494276') {
|
|
8356
8465
|
var _productarr$data, _productarr$data$prod;
|
|
8357
8466
|
var _productarr = ProductInfoObj;
|
|
8358
8467
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8404,7 +8513,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8404
8513
|
// optional: show user message or disable click
|
|
8405
8514
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8406
8515
|
}
|
|
8407
|
-
}
|
|
8516
|
+
}
|
|
8517
|
+
// puff n stuff
|
|
8518
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '6899e604db87f') {
|
|
8408
8519
|
var _productarr2$data, _productarr2$data$pro;
|
|
8409
8520
|
var _productarr2 = ProductInfoObj;
|
|
8410
8521
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8456,7 +8567,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8456
8567
|
// optional: show user message or disable click
|
|
8457
8568
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8458
8569
|
}
|
|
8459
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8570
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '69244cc88aa0a') {
|
|
8460
8571
|
var _productarr3$data, _productarr3$data$pro;
|
|
8461
8572
|
var _productarr3 = ProductInfoObj;
|
|
8462
8573
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8508,7 +8619,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8508
8619
|
// optional: show user message or disable click
|
|
8509
8620
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8510
8621
|
}
|
|
8511
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8622
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '687ca57cc78e8') {
|
|
8512
8623
|
var _productarr4$data, _productarr4$data$pro;
|
|
8513
8624
|
var _productarr4 = ProductInfoObj;
|
|
8514
8625
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8560,6 +8671,58 @@ var Productinfo = function Productinfo(props) {
|
|
|
8560
8671
|
// optional: show user message or disable click
|
|
8561
8672
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8562
8673
|
}
|
|
8674
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6899e604db87f') {
|
|
8675
|
+
var _productarr5$data, _productarr5$data$pro;
|
|
8676
|
+
var _productarr5 = ProductInfoObj;
|
|
8677
|
+
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
8678
|
+
|
|
8679
|
+
// 1. Find variants that include the newly selected value
|
|
8680
|
+
var _validVariants4 = (_productarr5.data.productinfo.variants || []).filter(function (variant) {
|
|
8681
|
+
return (variant.variantoptions || []).some(function (opt) {
|
|
8682
|
+
return opt.valueid === optionvaluesitem.valueid;
|
|
8683
|
+
});
|
|
8684
|
+
});
|
|
8685
|
+
|
|
8686
|
+
// 2. Build a set of valid value ids
|
|
8687
|
+
var _validValueIds4 = new Set(_validVariants4.flatMap(function (v) {
|
|
8688
|
+
return (v.variantoptions || []).map(function (opt) {
|
|
8689
|
+
return opt.valueid;
|
|
8690
|
+
});
|
|
8691
|
+
}));
|
|
8692
|
+
|
|
8693
|
+
// 3. Loop all options and their values
|
|
8694
|
+
(_productarr5$data$pro = _productarr5.data.productinfo.productoptions) === null || _productarr5$data$pro === void 0 || _productarr5$data$pro.forEach(function (option) {
|
|
8695
|
+
var _option$optionvalues5;
|
|
8696
|
+
var anySelected = false;
|
|
8697
|
+
(_option$optionvalues5 = option.optionvalues) === null || _option$optionvalues5 === void 0 || _option$optionvalues5.forEach(function (value) {
|
|
8698
|
+
// Normalize stock check result to boolean
|
|
8699
|
+
var stockResult = isOptionInStock(value.valueid);
|
|
8700
|
+
var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
|
|
8701
|
+
|
|
8702
|
+
// Unselect if NOT valid with the chosen new value OR out of stock
|
|
8703
|
+
if (!_validValueIds4.has(value.valueid) || !inStock) {
|
|
8704
|
+
value.isselected = 0;
|
|
8705
|
+
} else {
|
|
8706
|
+
// keep whatever selection is already there (do not auto-select)
|
|
8707
|
+
if (value.isselected) anySelected = true;
|
|
8708
|
+
}
|
|
8709
|
+
});
|
|
8710
|
+
|
|
8711
|
+
// keep option-level selected state in sync
|
|
8712
|
+
option.isselected = anySelected ? 1 : 0;
|
|
8713
|
+
});
|
|
8714
|
+
|
|
8715
|
+
// 4. Only select the new value if it's in stock
|
|
8716
|
+
var _newInStock4 = function () {
|
|
8717
|
+
var r = isOptionInStock(optionvaluesitem.valueid);
|
|
8718
|
+
return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
|
|
8719
|
+
}();
|
|
8720
|
+
if (_newInStock4) {
|
|
8721
|
+
selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr5);
|
|
8722
|
+
} else {
|
|
8723
|
+
// optional: show user message or disable click
|
|
8724
|
+
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8725
|
+
}
|
|
8563
8726
|
} else {
|
|
8564
8727
|
var _productarr$data2;
|
|
8565
8728
|
var productarr = ProductInfoObj;
|
|
@@ -9041,10 +9204,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9041
9204
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9042
9205
|
runfunc = true;
|
|
9043
9206
|
} else {
|
|
9044
|
-
var _authdetailsContext$
|
|
9207
|
+
var _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
|
|
9045
9208
|
// here
|
|
9046
9209
|
setvariantnotchosendisclaimer('This field is required');
|
|
9047
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9210
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
9048
9211
|
}
|
|
9049
9212
|
} else {
|
|
9050
9213
|
runfunc = true;
|
|
@@ -9128,9 +9291,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9128
9291
|
};
|
|
9129
9292
|
};
|
|
9130
9293
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9131
|
-
var _authdetailsContext$
|
|
9294
|
+
var _authdetailsContext$i17;
|
|
9132
9295
|
var policyobj = {};
|
|
9133
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9296
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.instpolicies) === null || _authdetailsContext$i17 === void 0 || _authdetailsContext$i17.forEach(function (item, index) {
|
|
9134
9297
|
if (item.policytype == policytype) {
|
|
9135
9298
|
policyobj = item;
|
|
9136
9299
|
}
|
|
@@ -9139,7 +9302,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9139
9302
|
};
|
|
9140
9303
|
var relatedproducts = function relatedproducts() {
|
|
9141
9304
|
if (Relatedproducts.length != 0) {
|
|
9142
|
-
var _authdetailsContext$
|
|
9305
|
+
var _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21;
|
|
9143
9306
|
return /*#__PURE__*/React.createElement("div", {
|
|
9144
9307
|
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",
|
|
9145
9308
|
style: {
|
|
@@ -9160,7 +9323,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9160
9323
|
className: "col-lg-12 p-0"
|
|
9161
9324
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9162
9325
|
className: "row m-0 w-100"
|
|
9163
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9326
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
9164
9327
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9165
9328
|
style: {
|
|
9166
9329
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9179,7 +9342,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9179
9342
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9180
9343
|
borderRadius: 5
|
|
9181
9344
|
}
|
|
9182
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9345
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
9183
9346
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9184
9347
|
style: {
|
|
9185
9348
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9200,8 +9363,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9200
9363
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
9201
9364
|
transitionBehavior: 'auto',
|
|
9202
9365
|
wrapperClassName: '',
|
|
9203
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9204
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9366
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9367
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9205
9368
|
}, Relatedproducts.map(function (item, index) {
|
|
9206
9369
|
if (item.productinfo != null) {
|
|
9207
9370
|
var _fetchProductInfoQuer49;
|
|
@@ -9271,10 +9434,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9271
9434
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9272
9435
|
runfunc = true;
|
|
9273
9436
|
} else {
|
|
9274
|
-
var _authdetailsContext$
|
|
9437
|
+
var _authdetailsContext$i22;
|
|
9275
9438
|
// here
|
|
9276
9439
|
setvariantnotchosendisclaimer('This field is required');
|
|
9277
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9440
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
9278
9441
|
}
|
|
9279
9442
|
} else {
|
|
9280
9443
|
runfunc = true;
|
|
@@ -9317,8 +9480,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9317
9480
|
isVarianturlLoaded = _useState58[0],
|
|
9318
9481
|
setisVarianturlLoaded = _useState58[1];
|
|
9319
9482
|
useEffect(function () {
|
|
9320
|
-
var _authdetailsContext$
|
|
9321
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9483
|
+
var _authdetailsContext$i23;
|
|
9484
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '68f918a4ccb85') {
|
|
9322
9485
|
var params = new URLSearchParams(window.location.search);
|
|
9323
9486
|
var variantId = params.get('variant');
|
|
9324
9487
|
if (isVarianturlLoaded == false) {
|
|
@@ -10114,7 +10277,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10114
10277
|
})));
|
|
10115
10278
|
};
|
|
10116
10279
|
var StoreInfo = function StoreInfo(position) {
|
|
10117
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10280
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i25, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i26, _authdetailsContext$i28;
|
|
10118
10281
|
return /*#__PURE__*/React.createElement("div", {
|
|
10119
10282
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10120
10283
|
style: {
|
|
@@ -10193,8 +10356,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10193
10356
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
10194
10357
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10195
10358
|
onClick: function onClick() {
|
|
10196
|
-
var _authdetailsContext$
|
|
10197
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10359
|
+
var _authdetailsContext$i24;
|
|
10360
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.contactinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.email), '_self');
|
|
10198
10361
|
}
|
|
10199
10362
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10200
10363
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10214,7 +10377,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10214
10377
|
style: {
|
|
10215
10378
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10216
10379
|
}
|
|
10217
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10380
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.email))), /*#__PURE__*/React.createElement("div", {
|
|
10218
10381
|
"class": "col-lg-12 my-2",
|
|
10219
10382
|
style: {
|
|
10220
10383
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10266,25 +10429,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
10266
10429
|
}
|
|
10267
10430
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10268
10431
|
"class": "m-0 p-0"
|
|
10269
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10432
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 || (_authdetailsContext$i26 = _authdetailsContext$i26.contactinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.email) != null && /*#__PURE__*/React.createElement("div", {
|
|
10270
10433
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10271
10434
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10272
10435
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10273
10436
|
onClick: function onClick() {
|
|
10274
|
-
var _authdetailsContext$
|
|
10275
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10437
|
+
var _authdetailsContext$i27;
|
|
10438
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 || (_authdetailsContext$i27 = _authdetailsContext$i27.contactinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.email), '_self');
|
|
10276
10439
|
}
|
|
10277
10440
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10278
10441
|
"class": "m-0 p-0"
|
|
10279
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10442
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
10280
10443
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10281
10444
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10282
10445
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10283
10446
|
onClick: function onClick() {
|
|
10284
|
-
var _authdetailsContext$
|
|
10285
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10286
|
-
var _authdetailsContext$
|
|
10287
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10447
|
+
var _authdetailsContext$i29;
|
|
10448
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.whatsappnumber) != null) {
|
|
10449
|
+
var _authdetailsContext$i30;
|
|
10450
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.whatsappnumber), '_blank');
|
|
10288
10451
|
}
|
|
10289
10452
|
}
|
|
10290
10453
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -10380,7 +10543,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10380
10543
|
lang: lang,
|
|
10381
10544
|
srcfromprops: props.srcfromprops
|
|
10382
10545
|
}, _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))
|
|
10383
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10546
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React.createElement(Article_itemtype, {
|
|
10384
10547
|
actions: (_ref2 = {
|
|
10385
10548
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10386
10549
|
setisoutofstock: setisoutofstock,
|
|
@@ -10390,7 +10553,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10390
10553
|
lang: lang,
|
|
10391
10554
|
srcfromprops: props.srcfromprops
|
|
10392
10555
|
}, _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))
|
|
10393
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10556
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React.createElement(Product_itemtype_Article, {
|
|
10394
10557
|
actions: (_ref3 = {
|
|
10395
10558
|
isOptionInStock: isOptionInStock,
|
|
10396
10559
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10416,7 +10579,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10416
10579
|
lang: lang,
|
|
10417
10580
|
srcfromprops: props.srcfromprops
|
|
10418
10581
|
}, _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))
|
|
10419
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10582
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
10420
10583
|
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 ',
|
|
10421
10584
|
style: {
|
|
10422
10585
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10607,7 +10770,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10607
10770
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10608
10771
|
sectionproperties: sectionproperties
|
|
10609
10772
|
})
|
|
10610
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10773
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React.createElement("div", {
|
|
10611
10774
|
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 ',
|
|
10612
10775
|
style: {
|
|
10613
10776
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10758,7 +10921,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10758
10921
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10759
10922
|
sectionproperties: sectionproperties
|
|
10760
10923
|
})
|
|
10761
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10924
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React.createElement("div", {
|
|
10762
10925
|
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 ',
|
|
10763
10926
|
style: {
|
|
10764
10927
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -18832,7 +18995,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
18832
18995
|
}),
|
|
18833
18996
|
imagecont: css({
|
|
18834
18997
|
width: '100%',
|
|
18835
|
-
height: '
|
|
18998
|
+
height: '90%',
|
|
18836
18999
|
display: 'flex',
|
|
18837
19000
|
alignItems: 'center',
|
|
18838
19001
|
justifyContent: 'center',
|