tabexseriescomponents 0.2.1451 → 0.2.1452
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 +329 -156
- package/dist/index.esm.js +329 -156
- package/dist/index.umd.js +329 -156
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1749,50 +1749,52 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1749
1749
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
1750
1750
|
var is_value_permdisabled = 0;
|
|
1751
1751
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
1752
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
1752
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10;
|
|
1753
1753
|
// if()
|
|
1754
1754
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68d28fc494276') {
|
|
1755
1755
|
is_value_permdisabled = 1;
|
|
1756
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6a09bef064560') {
|
|
1757
|
+
is_value_permdisabled = 1;
|
|
1756
1758
|
}
|
|
1757
1759
|
// mn design
|
|
1758
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1760
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '682dfdcdb9720') {
|
|
1759
1761
|
is_value_permdisabled = 1;
|
|
1760
1762
|
}
|
|
1761
1763
|
// alma
|
|
1762
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1764
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '67d349e5ee6a1') {
|
|
1763
1765
|
is_value_permdisabled = 1;
|
|
1764
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1766
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '67c050d72cbe7') {
|
|
1765
1767
|
is_value_permdisabled = 1;
|
|
1766
1768
|
}
|
|
1767
1769
|
// amiga
|
|
1768
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1770
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '670fc18477599') {
|
|
1769
1771
|
is_value_permdisabled = 1;
|
|
1770
1772
|
}
|
|
1771
1773
|
// vout
|
|
1772
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1774
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68f918a4ccb85') {
|
|
1773
1775
|
is_value_permdisabled = 1;
|
|
1774
1776
|
}
|
|
1775
1777
|
// puff
|
|
1776
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1778
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6899e604db87f') {
|
|
1777
1779
|
is_value_permdisabled = 1;
|
|
1778
1780
|
}
|
|
1779
1781
|
// dija
|
|
1780
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1782
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1781
1783
|
is_value_permdisabled = 1;
|
|
1782
1784
|
}
|
|
1783
1785
|
// angel
|
|
1784
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1786
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67bda57bca71d') {
|
|
1785
1787
|
is_value_permdisabled = 1;
|
|
1786
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1788
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '69244cc88aa0a') {
|
|
1787
1789
|
is_value_permdisabled = 1;
|
|
1788
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1790
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '687ca57cc78e8') {
|
|
1789
1791
|
is_value_permdisabled = 1;
|
|
1790
1792
|
}
|
|
1791
1793
|
}
|
|
1792
1794
|
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
1793
|
-
var _authdetailsContext$
|
|
1795
|
+
var _authdetailsContext$i11;
|
|
1794
1796
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
1795
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1797
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '670fc18477599' ? productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active) : issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? productinfostyles.color_container + ' mr-2 variabttcontainer showcrossiconcolor ' + "".concat(productinfostyles.color_container_active) : productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
|
|
1796
1798
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
1797
1799
|
// sectionproperties.showoutofstockwithoutselection == 'Show'
|
|
1798
1800
|
// ? productinfostyles.color_container +
|
|
@@ -1823,7 +1825,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1823
1825
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1824
1826
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1825
1827
|
if (is_value_permdisabled == 0) {
|
|
1826
|
-
var _authdetailsContext$
|
|
1828
|
+
var _authdetailsContext$i12, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36;
|
|
1827
1829
|
return /*#__PURE__*/React.createElement("div", {
|
|
1828
1830
|
// className={
|
|
1829
1831
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1835,65 +1837,69 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1835
1837
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1836
1838
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1837
1839
|
// }
|
|
1838
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1840
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.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 : ''),
|
|
1839
1841
|
onClick: function onClick() {
|
|
1840
1842
|
if (isoptionvalueselected == 0) {
|
|
1841
|
-
var _authdetailsContext$
|
|
1842
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1843
|
+
var _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24;
|
|
1844
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68d28fc494276') {
|
|
1845
|
+
if (isValueinStock == 0) {
|
|
1846
|
+
return;
|
|
1847
|
+
}
|
|
1848
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6a09bef064560') {
|
|
1843
1849
|
if (isValueinStock == 0) {
|
|
1844
1850
|
return;
|
|
1845
1851
|
}
|
|
1846
1852
|
}
|
|
1847
1853
|
// mn design
|
|
1848
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1854
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '682dfdcdb9720') {
|
|
1849
1855
|
if (isValueinStock == 0) {
|
|
1850
1856
|
return;
|
|
1851
1857
|
}
|
|
1852
1858
|
}
|
|
1853
1859
|
// alma
|
|
1854
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1860
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67d349e5ee6a1') {
|
|
1855
1861
|
if (isValueinStock == 0) {
|
|
1856
1862
|
return;
|
|
1857
1863
|
}
|
|
1858
1864
|
}
|
|
1859
1865
|
// amiga
|
|
1860
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1866
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '670fc18477599') {
|
|
1861
1867
|
if (isValueinStock == 0) {
|
|
1862
1868
|
return;
|
|
1863
1869
|
}
|
|
1864
1870
|
}
|
|
1865
1871
|
// vout
|
|
1866
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1872
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '68f918a4ccb85') {
|
|
1867
1873
|
if (isValueinStock == 0) {
|
|
1868
1874
|
return;
|
|
1869
1875
|
}
|
|
1870
1876
|
}
|
|
1871
1877
|
// puff
|
|
1872
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1878
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6899e604db87f') {
|
|
1873
1879
|
if (isValueinStock == 0) {
|
|
1874
1880
|
return;
|
|
1875
1881
|
}
|
|
1876
1882
|
}
|
|
1877
1883
|
// angel
|
|
1878
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1884
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67bda57bca71d') {
|
|
1879
1885
|
if (isValueinStock == 0) {
|
|
1880
1886
|
return;
|
|
1881
1887
|
}
|
|
1882
1888
|
}
|
|
1883
1889
|
// dija
|
|
1884
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1890
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1885
1891
|
if (isValueinStock == 0) {
|
|
1886
1892
|
return;
|
|
1887
1893
|
}
|
|
1888
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1894
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '69244cc88aa0a') {
|
|
1889
1895
|
if (isValueinStock == 0) {
|
|
1890
1896
|
return;
|
|
1891
1897
|
}
|
|
1892
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1898
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '687ca57cc78e8') {
|
|
1893
1899
|
if (isValueinStock == 0) {
|
|
1894
1900
|
return;
|
|
1895
1901
|
}
|
|
1896
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1902
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '6899e604db87f') {
|
|
1897
1903
|
if (isValueinStock == 0) {
|
|
1898
1904
|
return;
|
|
1899
1905
|
}
|
|
@@ -1937,22 +1943,22 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1937
1943
|
}, /*#__PURE__*/React.createElement("i", {
|
|
1938
1944
|
"class": "h-100 allcentered"
|
|
1939
1945
|
}, /*#__PURE__*/React.createElement(IoMdClose, null))), /*#__PURE__*/React.createElement("p", {
|
|
1940
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1946
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '6a09bef064560' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1941
1947
|
// mn design
|
|
1942
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1948
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '682dfdcdb9720' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1943
1949
|
// alma
|
|
1944
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1950
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '67d349e5ee6a1' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1945
1951
|
// amiga
|
|
1946
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1952
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1947
1953
|
// vout
|
|
1948
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1954
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1949
1955
|
// puff
|
|
1950
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1956
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1951
1957
|
// angel
|
|
1952
1958
|
|
|
1953
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1959
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1954
1960
|
// dija
|
|
1955
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1961
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.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$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.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$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.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',
|
|
1956
1962
|
style: {
|
|
1957
1963
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1958
1964
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1961,67 +1967,71 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1961
1967
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1962
1968
|
}
|
|
1963
1969
|
} else {
|
|
1964
|
-
var _authdetailsContext$
|
|
1970
|
+
var _authdetailsContext$i37, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61;
|
|
1965
1971
|
return /*#__PURE__*/React.createElement("div", {
|
|
1966
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1972
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.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 : ''),
|
|
1967
1973
|
onClick: function onClick() {
|
|
1968
1974
|
if (isoptionvalueselected == 0) {
|
|
1969
|
-
var _authdetailsContext$
|
|
1970
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1975
|
+
var _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49;
|
|
1976
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68d28fc494276') {
|
|
1977
|
+
if (isValueinStock == 0) {
|
|
1978
|
+
return;
|
|
1979
|
+
}
|
|
1980
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '6a09bef064560') {
|
|
1971
1981
|
if (isValueinStock == 0) {
|
|
1972
1982
|
return;
|
|
1973
1983
|
}
|
|
1974
1984
|
}
|
|
1975
1985
|
// mn design
|
|
1976
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1986
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '682dfdcdb9720') {
|
|
1977
1987
|
if (isValueinStock == 0) {
|
|
1978
1988
|
return;
|
|
1979
1989
|
}
|
|
1980
1990
|
}
|
|
1981
1991
|
// alma
|
|
1982
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1992
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '67d349e5ee6a1') {
|
|
1983
1993
|
if (isValueinStock == 0) {
|
|
1984
1994
|
return;
|
|
1985
1995
|
}
|
|
1986
1996
|
}
|
|
1987
1997
|
// amiga
|
|
1988
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1998
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '670fc18477599') {
|
|
1989
1999
|
if (isValueinStock == 0) {
|
|
1990
2000
|
return;
|
|
1991
2001
|
}
|
|
1992
2002
|
}
|
|
1993
2003
|
// vout
|
|
1994
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2004
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '68f918a4ccb85') {
|
|
1995
2005
|
if (isValueinStock == 0) {
|
|
1996
2006
|
return;
|
|
1997
2007
|
}
|
|
1998
2008
|
}
|
|
1999
2009
|
// puff n stuff
|
|
2000
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2010
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '6899e604db87f') {
|
|
2001
2011
|
if (isValueinStock == 0) {
|
|
2002
2012
|
return;
|
|
2003
2013
|
}
|
|
2004
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2014
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '69244cc88aa0a') {
|
|
2005
2015
|
if (isValueinStock == 0) {
|
|
2006
2016
|
return;
|
|
2007
2017
|
}
|
|
2008
2018
|
}
|
|
2009
2019
|
// angel
|
|
2010
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2020
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '67bda57bca71d') {
|
|
2011
2021
|
if (isValueinStock == 0) {
|
|
2012
2022
|
return;
|
|
2013
2023
|
}
|
|
2014
2024
|
}
|
|
2015
2025
|
// dija
|
|
2016
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2026
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '682cbb9bdcd57') {
|
|
2017
2027
|
if (isValueinStock == 0) {
|
|
2018
2028
|
return;
|
|
2019
2029
|
}
|
|
2020
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2030
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '687ca57cc78e8') {
|
|
2021
2031
|
if (isValueinStock == 0) {
|
|
2022
2032
|
return;
|
|
2023
2033
|
}
|
|
2024
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2034
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '6899e604db87f') {
|
|
2025
2035
|
if (isValueinStock == 0) {
|
|
2026
2036
|
return;
|
|
2027
2037
|
}
|
|
@@ -2045,21 +2055,21 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2045
2055
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
2046
2056
|
}
|
|
2047
2057
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2048
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2058
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '6a09bef064560' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2049
2059
|
// mn design
|
|
2050
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2060
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '682dfdcdb9720' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2051
2061
|
// alma
|
|
2052
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2062
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '67d349e5ee6a1' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2053
2063
|
// amiga
|
|
2054
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2064
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2055
2065
|
// vout
|
|
2056
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2066
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2057
2067
|
// puff
|
|
2058
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2068
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2059
2069
|
// angel
|
|
2060
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2070
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2061
2071
|
// dija
|
|
2062
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2072
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.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$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.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$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.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',
|
|
2063
2073
|
style: {
|
|
2064
2074
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
2065
2075
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -2146,7 +2156,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2146
2156
|
setopensizeguidemodal(true);
|
|
2147
2157
|
}
|
|
2148
2158
|
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), sectionproperties.variantstyle == 'Vertical' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productinfo) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productoptions) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.map(function (item, index) {
|
|
2149
|
-
var _authdetailsContext$
|
|
2159
|
+
var _authdetailsContext$i62;
|
|
2150
2160
|
return /*#__PURE__*/React.createElement("ul", {
|
|
2151
2161
|
"class": "thwvsf-wrapper-ul"
|
|
2152
2162
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -2161,7 +2171,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2161
2171
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
2162
2172
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
2163
2173
|
}
|
|
2164
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2174
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React.createElement("span", null, index + 1, ". "), sectionproperties.showselect == 'Show' && /*#__PURE__*/React.createElement("span", null, lang.select, " "), " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":"))), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
|
|
2165
2175
|
var isoptionvalueselected = 0;
|
|
2166
2176
|
if (optionvaluesitem.isselected == 1) {
|
|
2167
2177
|
isoptionvalueselected = 1;
|
|
@@ -2195,7 +2205,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2195
2205
|
}
|
|
2196
2206
|
}));
|
|
2197
2207
|
} else {
|
|
2198
|
-
var _authdetailsContext$
|
|
2208
|
+
var _authdetailsContext$i63, _authdetailsContext$i64, _authdetailsContext$i65, _authdetailsContext$i66, _authdetailsContext$i67;
|
|
2199
2209
|
// else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
2200
2210
|
return /*#__PURE__*/React.createElement("li", {
|
|
2201
2211
|
style: {
|
|
@@ -2214,14 +2224,14 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2214
2224
|
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
2215
2225
|
// backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
2216
2226
|
background: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
2217
|
-
minWidth: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2218
|
-
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2227
|
+
minWidth: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) == '699d7f217889a' ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
|
|
2228
|
+
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.contactinfo.instid) == '699d7f217889a' ? 'auto' : sectionproperties.variantcontainer_height + 'px',
|
|
2219
2229
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
2220
2230
|
position: 'relative',
|
|
2221
|
-
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2222
|
-
flexDirection: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2231
|
+
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.contactinfo.instid) == '699d7f217889a' ? '1px solid ' + ' white ' : '1px solid ' + ' grey ',
|
|
2232
|
+
flexDirection: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.contactinfo.instid) == '699d7f217889a' ? 'column' : 'row'
|
|
2223
2233
|
}
|
|
2224
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2234
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
2225
2235
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
2226
2236
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
2227
2237
|
path: optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.thumbnail_url,
|
|
@@ -8438,7 +8448,7 @@ function _arrayLikeToArray$1(r, a) { (null == a || a > r.length) && (a = r.lengt
|
|
|
8438
8448
|
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; }
|
|
8439
8449
|
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; }
|
|
8440
8450
|
var Productinfo = function Productinfo(props) {
|
|
8441
|
-
var _css, _fetchProductInfoQuer92, _ref2, _fetchProductInfoQuer93, _authdetailsContext$
|
|
8451
|
+
var _css, _fetchProductInfoQuer92, _ref2, _fetchProductInfoQuer93, _authdetailsContext$i48, _ref3, _fetchProductInfoQuer94, _authdetailsContext$i49, _ref4, _fetchProductInfoQuer95, _ref5, _authdetailsContext$i50, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i51, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _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, _authdetailsContext$i65, _authdetailsContext$i66, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i67, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i68, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _authdetailsContext$i69, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _fetchProductInfoQuer115, _authdetailsContext$i70, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _fetchProductInfoQuer116, _fetchProductInfoQuer117, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i71, _fetchProductInfoQuer118, _fetchProductInfoQuer119, _fetchProductInfoQuer120, _fetchProductInfoQuer121, _returnpolicyobj47, _returnpolicyobj48, _returnpolicyobj49, _returnpolicyobj50, _authdetailsContext$i72, _authdetailsContext$i73, _returnpolicyobj51, _returnpolicyobj52, _returnpolicyobj53, _returnpolicyobj54, _authdetailsContext$i74, _authdetailsContext$i75;
|
|
8442
8452
|
var _useState = useState({}),
|
|
8443
8453
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8444
8454
|
ProductInfoObj = _useState2[0],
|
|
@@ -8969,7 +8979,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8969
8979
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8970
8980
|
// };
|
|
8971
8981
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8972
|
-
var _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
8982
|
+
var _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18;
|
|
8973
8983
|
// lord
|
|
8974
8984
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '68d28fc494276') {
|
|
8975
8985
|
var _ProductInfoObj$data;
|
|
@@ -9057,9 +9067,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9057
9067
|
}) && variantValueIds.includes(Currvalueid);
|
|
9058
9068
|
});
|
|
9059
9069
|
return inStock ? 1 : 0;
|
|
9060
|
-
}
|
|
9061
|
-
// alma
|
|
9062
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67d349e5ee6a1') {
|
|
9070
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6a09bef064560') {
|
|
9063
9071
|
var _ProductInfoObj$data2;
|
|
9064
9072
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
9065
9073
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -9146,8 +9154,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9146
9154
|
});
|
|
9147
9155
|
return _inStock ? 1 : 0;
|
|
9148
9156
|
}
|
|
9149
|
-
//
|
|
9150
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '
|
|
9157
|
+
// alma
|
|
9158
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '67d349e5ee6a1') {
|
|
9151
9159
|
var _ProductInfoObj$data3;
|
|
9152
9160
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
9153
9161
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -9233,7 +9241,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9233
9241
|
}) && variantValueIds.includes(Currvalueid);
|
|
9234
9242
|
});
|
|
9235
9243
|
return _inStock2 ? 1 : 0;
|
|
9236
|
-
}
|
|
9244
|
+
}
|
|
9245
|
+
// mn design
|
|
9246
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '682dfdcdb9720') {
|
|
9237
9247
|
var _ProductInfoObj$data4;
|
|
9238
9248
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
9239
9249
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -9319,9 +9329,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9319
9329
|
}) && variantValueIds.includes(Currvalueid);
|
|
9320
9330
|
});
|
|
9321
9331
|
return _inStock3 ? 1 : 0;
|
|
9322
|
-
}
|
|
9323
|
-
// amiga
|
|
9324
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '670fc18477599') {
|
|
9332
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '67c050d72cbe7') {
|
|
9325
9333
|
var _ProductInfoObj$data5;
|
|
9326
9334
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
9327
9335
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -9408,8 +9416,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9408
9416
|
});
|
|
9409
9417
|
return _inStock4 ? 1 : 0;
|
|
9410
9418
|
}
|
|
9411
|
-
//
|
|
9412
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '
|
|
9419
|
+
// amiga
|
|
9420
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '670fc18477599') {
|
|
9413
9421
|
var _ProductInfoObj$data6;
|
|
9414
9422
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
9415
9423
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -9496,8 +9504,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9496
9504
|
});
|
|
9497
9505
|
return _inStock5 ? 1 : 0;
|
|
9498
9506
|
}
|
|
9499
|
-
//
|
|
9500
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '
|
|
9507
|
+
// vout
|
|
9508
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68f918a4ccb85') {
|
|
9501
9509
|
var _ProductInfoObj$data7;
|
|
9502
9510
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
9503
9511
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -9584,8 +9592,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9584
9592
|
});
|
|
9585
9593
|
return _inStock6 ? 1 : 0;
|
|
9586
9594
|
}
|
|
9587
|
-
//
|
|
9588
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '
|
|
9595
|
+
// puff n stuff
|
|
9596
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6899e604db87f') {
|
|
9589
9597
|
var _ProductInfoObj$data8;
|
|
9590
9598
|
var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
|
|
9591
9599
|
var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
|
|
@@ -9672,8 +9680,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9672
9680
|
});
|
|
9673
9681
|
return _inStock7 ? 1 : 0;
|
|
9674
9682
|
}
|
|
9675
|
-
//
|
|
9676
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '
|
|
9683
|
+
// dija
|
|
9684
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '682cbb9bdcd57') {
|
|
9677
9685
|
var _ProductInfoObj$data9;
|
|
9678
9686
|
var _productinfo8 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data9 = ProductInfoObj.data) === null || _ProductInfoObj$data9 === void 0 ? void 0 : _ProductInfoObj$data9.productinfo;
|
|
9679
9687
|
var _options8 = (_productinfo8 === null || _productinfo8 === void 0 ? void 0 : _productinfo8.productoptions) || [];
|
|
@@ -9759,7 +9767,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9759
9767
|
}) && variantValueIds.includes(Currvalueid);
|
|
9760
9768
|
});
|
|
9761
9769
|
return _inStock8 ? 1 : 0;
|
|
9762
|
-
}
|
|
9770
|
+
}
|
|
9771
|
+
// angel secrets
|
|
9772
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67bda57bca71d') {
|
|
9763
9773
|
var _ProductInfoObj$data0;
|
|
9764
9774
|
var _productinfo9 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data0 = ProductInfoObj.data) === null || _ProductInfoObj$data0 === void 0 ? void 0 : _ProductInfoObj$data0.productinfo;
|
|
9765
9775
|
var _options9 = (_productinfo9 === null || _productinfo9 === void 0 ? void 0 : _productinfo9.productoptions) || [];
|
|
@@ -9845,7 +9855,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9845
9855
|
}) && variantValueIds.includes(Currvalueid);
|
|
9846
9856
|
});
|
|
9847
9857
|
return _inStock9 ? 1 : 0;
|
|
9848
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '
|
|
9858
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '69244cc88aa0a') {
|
|
9849
9859
|
var _ProductInfoObj$data1;
|
|
9850
9860
|
var _productinfo0 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data1 = ProductInfoObj.data) === null || _ProductInfoObj$data1 === void 0 ? void 0 : _ProductInfoObj$data1.productinfo;
|
|
9851
9861
|
var _options0 = (_productinfo0 === null || _productinfo0 === void 0 ? void 0 : _productinfo0.productoptions) || [];
|
|
@@ -9931,13 +9941,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
9931
9941
|
}) && variantValueIds.includes(Currvalueid);
|
|
9932
9942
|
});
|
|
9933
9943
|
return _inStock0 ? 1 : 0;
|
|
9944
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '687ca57cc78e8') {
|
|
9945
|
+
var _ProductInfoObj$data10;
|
|
9946
|
+
var _productinfo1 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data10 = ProductInfoObj.data) === null || _ProductInfoObj$data10 === void 0 ? void 0 : _ProductInfoObj$data10.productinfo;
|
|
9947
|
+
var _options1 = (_productinfo1 === null || _productinfo1 === void 0 ? void 0 : _productinfo1.productoptions) || [];
|
|
9948
|
+
var _variants1 = (_productinfo1 === null || _productinfo1 === void 0 ? void 0 : _productinfo1.variants) || [];
|
|
9949
|
+
|
|
9950
|
+
// Collect selected option value IDs and find which option they belong to
|
|
9951
|
+
var _selectedValues1 = [];
|
|
9952
|
+
_options1.forEach(function (option) {
|
|
9953
|
+
option.optionvalues.forEach(function (value) {
|
|
9954
|
+
if (value.isselected === 1) {
|
|
9955
|
+
_selectedValues1.push({
|
|
9956
|
+
optionid: option.optionid,
|
|
9957
|
+
valueid: value.valueid
|
|
9958
|
+
});
|
|
9959
|
+
}
|
|
9960
|
+
});
|
|
9961
|
+
});
|
|
9962
|
+
_options1.length;
|
|
9963
|
+
var _selectedCount1 = _selectedValues1.length;
|
|
9964
|
+
var _inStockVariants1 = _variants1.filter(function (v) {
|
|
9965
|
+
return v.current_quantity > 0;
|
|
9966
|
+
});
|
|
9967
|
+
|
|
9968
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
9969
|
+
if (_selectedCount1 === 0) {
|
|
9970
|
+
return _inStockVariants1.some(function (variant) {
|
|
9971
|
+
return variant.variantoptions.some(function (opt) {
|
|
9972
|
+
return opt.valueid === Currvalueid;
|
|
9973
|
+
});
|
|
9974
|
+
}) ? 1 : 0;
|
|
9975
|
+
}
|
|
9976
|
+
|
|
9977
|
+
// 🧠 Case 2: Only one option selected
|
|
9978
|
+
if (_selectedCount1 === 1) {
|
|
9979
|
+
var _selected1 = _selectedValues1[0];
|
|
9980
|
+
var _selectedOptionId1 = _selected1.optionid;
|
|
9981
|
+
|
|
9982
|
+
// Find which option this Currvalueid belongs to
|
|
9983
|
+
var _currentOptionId1 = null;
|
|
9984
|
+
_options1.forEach(function (option) {
|
|
9985
|
+
option.optionvalues.forEach(function (v) {
|
|
9986
|
+
if (v.valueid === Currvalueid) _currentOptionId1 = option.optionid;
|
|
9987
|
+
});
|
|
9988
|
+
});
|
|
9989
|
+
|
|
9990
|
+
// Same option (e.g., selecting only size)
|
|
9991
|
+
if (_selectedOptionId1 === _currentOptionId1) {
|
|
9992
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
9993
|
+
return _inStockVariants1.some(function (variant) {
|
|
9994
|
+
return variant.variantoptions.some(function (opt) {
|
|
9995
|
+
return opt.valueid === Currvalueid;
|
|
9996
|
+
});
|
|
9997
|
+
}) ? 1 : 0;
|
|
9998
|
+
}
|
|
9999
|
+
|
|
10000
|
+
// Different option (e.g., color)
|
|
10001
|
+
// Only in-stock if a variant has both selected value + this value
|
|
10002
|
+
return _inStockVariants1.some(function (variant) {
|
|
10003
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
10004
|
+
return v.valueid;
|
|
10005
|
+
});
|
|
10006
|
+
return variantValueIds.includes(_selected1.valueid) && variantValueIds.includes(Currvalueid);
|
|
10007
|
+
}) ? 1 : 0;
|
|
10008
|
+
}
|
|
10009
|
+
|
|
10010
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
10011
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
10012
|
+
var _inStock1 = _inStockVariants1.some(function (variant) {
|
|
10013
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
10014
|
+
return v.valueid;
|
|
10015
|
+
});
|
|
10016
|
+
// Must match all selected except the one that belongs to same option
|
|
10017
|
+
return _selectedValues1.every(function (sel) {
|
|
10018
|
+
if (_options1.some(function (opt) {
|
|
10019
|
+
return opt.optionvalues.some(function (v) {
|
|
10020
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
10021
|
+
});
|
|
10022
|
+
})) {
|
|
10023
|
+
// Skip same option
|
|
10024
|
+
return true;
|
|
10025
|
+
}
|
|
10026
|
+
return variantValueIds.includes(sel.valueid);
|
|
10027
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
10028
|
+
});
|
|
10029
|
+
return _inStock1 ? 1 : 0;
|
|
9934
10030
|
} else {
|
|
9935
10031
|
return 1;
|
|
9936
10032
|
}
|
|
9937
10033
|
};
|
|
9938
10034
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
9939
|
-
var _authdetailsContext$
|
|
9940
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10035
|
+
var _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29;
|
|
10036
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '68d28fc494276') {
|
|
9941
10037
|
var _productarr$data, _productarr$data$prod;
|
|
9942
10038
|
var _productarr = ProductInfoObj;
|
|
9943
10039
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -9989,9 +10085,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9989
10085
|
// optional: show user message or disable click
|
|
9990
10086
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9991
10087
|
}
|
|
9992
|
-
}
|
|
9993
|
-
// mn design
|
|
9994
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '682dfdcdb9720') {
|
|
10088
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6a09bef064560') {
|
|
9995
10089
|
var _productarr2$data, _productarr2$data$pro;
|
|
9996
10090
|
var _productarr2 = ProductInfoObj;
|
|
9997
10091
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -10045,8 +10139,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10045
10139
|
}
|
|
10046
10140
|
}
|
|
10047
10141
|
|
|
10048
|
-
//
|
|
10049
|
-
|
|
10142
|
+
// mn design
|
|
10143
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '682dfdcdb9720') {
|
|
10050
10144
|
var _productarr3$data, _productarr3$data$pro;
|
|
10051
10145
|
var _productarr3 = ProductInfoObj;
|
|
10052
10146
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -10098,7 +10192,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10098
10192
|
// optional: show user message or disable click
|
|
10099
10193
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10100
10194
|
}
|
|
10101
|
-
}
|
|
10195
|
+
}
|
|
10196
|
+
|
|
10197
|
+
// alma
|
|
10198
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '67d349e5ee6a1') {
|
|
10102
10199
|
var _productarr4$data, _productarr4$data$pro;
|
|
10103
10200
|
var _productarr4 = ProductInfoObj;
|
|
10104
10201
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -10150,9 +10247,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10150
10247
|
// optional: show user message or disable click
|
|
10151
10248
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10152
10249
|
}
|
|
10153
|
-
}
|
|
10154
|
-
// vout
|
|
10155
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '68f918a4ccb85') {
|
|
10250
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '67c050d72cbe7') {
|
|
10156
10251
|
var _productarr5$data, _productarr5$data$pro;
|
|
10157
10252
|
var _productarr5 = ProductInfoObj;
|
|
10158
10253
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -10205,8 +10300,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10205
10300
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10206
10301
|
}
|
|
10207
10302
|
}
|
|
10208
|
-
//
|
|
10209
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10303
|
+
// vout
|
|
10304
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '68f918a4ccb85') {
|
|
10210
10305
|
var _productarr6$data, _productarr6$data$pro;
|
|
10211
10306
|
var _productarr6 = ProductInfoObj;
|
|
10212
10307
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -10259,8 +10354,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10259
10354
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10260
10355
|
}
|
|
10261
10356
|
}
|
|
10262
|
-
//
|
|
10263
|
-
|
|
10357
|
+
// puff n stuff
|
|
10358
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '6899e604db87f') {
|
|
10264
10359
|
var _productarr7$data, _productarr7$data$pro;
|
|
10265
10360
|
var _productarr7 = ProductInfoObj;
|
|
10266
10361
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -10313,8 +10408,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10313
10408
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10314
10409
|
}
|
|
10315
10410
|
}
|
|
10316
|
-
//
|
|
10317
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10411
|
+
// dija
|
|
10412
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '682cbb9bdcd57') {
|
|
10318
10413
|
var _productarr8$data, _productarr8$data$pro;
|
|
10319
10414
|
var _productarr8 = ProductInfoObj;
|
|
10320
10415
|
if (!(_productarr8 !== null && _productarr8 !== void 0 && (_productarr8$data = _productarr8.data) !== null && _productarr8$data !== void 0 && _productarr8$data.productinfo)) return;
|
|
@@ -10366,7 +10461,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10366
10461
|
// optional: show user message or disable click
|
|
10367
10462
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10368
10463
|
}
|
|
10369
|
-
}
|
|
10464
|
+
}
|
|
10465
|
+
// angel
|
|
10466
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '67bda57bca71d') {
|
|
10370
10467
|
var _productarr9$data, _productarr9$data$pro;
|
|
10371
10468
|
var _productarr9 = ProductInfoObj;
|
|
10372
10469
|
if (!(_productarr9 !== null && _productarr9 !== void 0 && (_productarr9$data = _productarr9.data) !== null && _productarr9$data !== void 0 && _productarr9$data.productinfo)) return;
|
|
@@ -10418,7 +10515,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10418
10515
|
// optional: show user message or disable click
|
|
10419
10516
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10420
10517
|
}
|
|
10421
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10518
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '69244cc88aa0a') {
|
|
10422
10519
|
var _productarr0$data, _productarr0$data$pro;
|
|
10423
10520
|
var _productarr0 = ProductInfoObj;
|
|
10424
10521
|
if (!(_productarr0 !== null && _productarr0 !== void 0 && (_productarr0$data = _productarr0.data) !== null && _productarr0$data !== void 0 && _productarr0$data.productinfo)) return;
|
|
@@ -10470,6 +10567,58 @@ var Productinfo = function Productinfo(props) {
|
|
|
10470
10567
|
// optional: show user message or disable click
|
|
10471
10568
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10472
10569
|
}
|
|
10570
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '687ca57cc78e8') {
|
|
10571
|
+
var _productarr1$data, _productarr1$data$pro;
|
|
10572
|
+
var _productarr1 = ProductInfoObj;
|
|
10573
|
+
if (!(_productarr1 !== null && _productarr1 !== void 0 && (_productarr1$data = _productarr1.data) !== null && _productarr1$data !== void 0 && _productarr1$data.productinfo)) return;
|
|
10574
|
+
|
|
10575
|
+
// 1. Find variants that include the newly selected value
|
|
10576
|
+
var _validVariants0 = (_productarr1.data.productinfo.variants || []).filter(function (variant) {
|
|
10577
|
+
return (variant.variantoptions || []).some(function (opt) {
|
|
10578
|
+
return opt.valueid === optionvaluesitem.valueid;
|
|
10579
|
+
});
|
|
10580
|
+
});
|
|
10581
|
+
|
|
10582
|
+
// 2. Build a set of valid value ids
|
|
10583
|
+
var _validValueIds0 = new Set(_validVariants0.flatMap(function (v) {
|
|
10584
|
+
return (v.variantoptions || []).map(function (opt) {
|
|
10585
|
+
return opt.valueid;
|
|
10586
|
+
});
|
|
10587
|
+
}));
|
|
10588
|
+
|
|
10589
|
+
// 3. Loop all options and their values
|
|
10590
|
+
(_productarr1$data$pro = _productarr1.data.productinfo.productoptions) === null || _productarr1$data$pro === void 0 || _productarr1$data$pro.forEach(function (option) {
|
|
10591
|
+
var _option$optionvalues1;
|
|
10592
|
+
var anySelected = false;
|
|
10593
|
+
(_option$optionvalues1 = option.optionvalues) === null || _option$optionvalues1 === void 0 || _option$optionvalues1.forEach(function (value) {
|
|
10594
|
+
// Normalize stock check result to boolean
|
|
10595
|
+
var stockResult = isOptionInStock(value.valueid);
|
|
10596
|
+
var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
|
|
10597
|
+
|
|
10598
|
+
// Unselect if NOT valid with the chosen new value OR out of stock
|
|
10599
|
+
if (!_validValueIds0.has(value.valueid) || !inStock) {
|
|
10600
|
+
value.isselected = 0;
|
|
10601
|
+
} else {
|
|
10602
|
+
// keep whatever selection is already there (do not auto-select)
|
|
10603
|
+
if (value.isselected) anySelected = true;
|
|
10604
|
+
}
|
|
10605
|
+
});
|
|
10606
|
+
|
|
10607
|
+
// keep option-level selected state in sync
|
|
10608
|
+
option.isselected = anySelected ? 1 : 0;
|
|
10609
|
+
});
|
|
10610
|
+
|
|
10611
|
+
// 4. Only select the new value if it's in stock
|
|
10612
|
+
var _newInStock0 = function () {
|
|
10613
|
+
var r = isOptionInStock(optionvaluesitem.valueid);
|
|
10614
|
+
return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
|
|
10615
|
+
}();
|
|
10616
|
+
if (_newInStock0) {
|
|
10617
|
+
selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr1);
|
|
10618
|
+
} else {
|
|
10619
|
+
// optional: show user message or disable click
|
|
10620
|
+
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
10621
|
+
}
|
|
10473
10622
|
} else {
|
|
10474
10623
|
var _productarr$data2;
|
|
10475
10624
|
var productarr = ProductInfoObj;
|
|
@@ -10943,7 +11092,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10943
11092
|
};
|
|
10944
11093
|
var addtocartfunc = /*#__PURE__*/function () {
|
|
10945
11094
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(forcetocheckout) {
|
|
10946
|
-
var runfunc, forcetocheckoutvalue, _fetchProductInfoQuer42, _authdetailsContext$
|
|
11095
|
+
var runfunc, forcetocheckoutvalue, _fetchProductInfoQuer42, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _fetchProductInfoQuer43, _fetchProductInfoQuer44, tempaddtocardpayloadobj, Extrafieldvalidationresponse, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, finalprice, prod_extras_tobeadded, sleep, _iterator, _step, _item$productinfo, _fetchProductInfoQuer52, item, variantid, _fetchProductInfoQuer51, _t;
|
|
10947
11096
|
return _regeneratorRuntime.wrap(function (_context) {
|
|
10948
11097
|
while (1) switch (_context.prev = _context.next) {
|
|
10949
11098
|
case 0:
|
|
@@ -10956,7 +11105,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10956
11105
|
} else {
|
|
10957
11106
|
// here
|
|
10958
11107
|
setvariantnotchosendisclaimer('This field is required');
|
|
10959
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11108
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
10960
11109
|
}
|
|
10961
11110
|
} else {
|
|
10962
11111
|
runfunc = true;
|
|
@@ -11119,9 +11268,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
11119
11268
|
};
|
|
11120
11269
|
};
|
|
11121
11270
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
11122
|
-
var _authdetailsContext$
|
|
11271
|
+
var _authdetailsContext$i33;
|
|
11123
11272
|
var policyobj = {};
|
|
11124
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11273
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 || (_authdetailsContext$i33 = _authdetailsContext$i33.instpolicies) === null || _authdetailsContext$i33 === void 0 || _authdetailsContext$i33.forEach(function (item, index) {
|
|
11125
11274
|
if (item.policytype == policytype) {
|
|
11126
11275
|
policyobj = item;
|
|
11127
11276
|
}
|
|
@@ -11130,7 +11279,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11130
11279
|
};
|
|
11131
11280
|
var relatedproducts = function relatedproducts() {
|
|
11132
11281
|
if (Relatedproducts.length != 0) {
|
|
11133
|
-
var _authdetailsContext$
|
|
11282
|
+
var _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38;
|
|
11134
11283
|
return /*#__PURE__*/React.createElement("div", {
|
|
11135
11284
|
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",
|
|
11136
11285
|
style: {
|
|
@@ -11152,9 +11301,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
11152
11301
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11153
11302
|
className: "row m-0 w-100",
|
|
11154
11303
|
style: {
|
|
11155
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11304
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
11156
11305
|
}
|
|
11157
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11306
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
11158
11307
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
11159
11308
|
style: {
|
|
11160
11309
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -11173,7 +11322,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11173
11322
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
11174
11323
|
borderRadius: 5
|
|
11175
11324
|
}
|
|
11176
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11325
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
11177
11326
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center",
|
|
11178
11327
|
style: {
|
|
11179
11328
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -11197,8 +11346,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11197
11346
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
11198
11347
|
transitionBehavior: 'auto',
|
|
11199
11348
|
wrapperClassName: '',
|
|
11200
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11201
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11349
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
11350
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
11202
11351
|
}, Relatedproducts.map(function (item, index) {
|
|
11203
11352
|
if (item.productinfo != null) {
|
|
11204
11353
|
var _fetchProductInfoQuer54;
|
|
@@ -11373,10 +11522,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
11373
11522
|
if (addtocartobjparam.variantid.length != 0) {
|
|
11374
11523
|
runfunc = true;
|
|
11375
11524
|
} else {
|
|
11376
|
-
var _authdetailsContext$
|
|
11525
|
+
var _authdetailsContext$i39;
|
|
11377
11526
|
// here
|
|
11378
11527
|
setvariantnotchosendisclaimer('This field is required');
|
|
11379
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11528
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
11380
11529
|
}
|
|
11381
11530
|
} else {
|
|
11382
11531
|
runfunc = true;
|
|
@@ -11419,8 +11568,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11419
11568
|
isVarianturlLoaded = _useState58[0],
|
|
11420
11569
|
setisVarianturlLoaded = _useState58[1];
|
|
11421
11570
|
useEffect(function () {
|
|
11422
|
-
var _authdetailsContext$
|
|
11423
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11571
|
+
var _authdetailsContext$i40;
|
|
11572
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '68f918a4ccb85') {
|
|
11424
11573
|
var params = new URLSearchParams(window.location.search);
|
|
11425
11574
|
var variantId = params.get('variant');
|
|
11426
11575
|
if (isVarianturlLoaded == false) {
|
|
@@ -12315,7 +12464,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12315
12464
|
})));
|
|
12316
12465
|
};
|
|
12317
12466
|
var StoreInfo = function StoreInfo(position) {
|
|
12318
|
-
var _fetchProductInfoQuer86, _authdetailsContext$
|
|
12467
|
+
var _fetchProductInfoQuer86, _authdetailsContext$i42, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i43, _authdetailsContext$i45;
|
|
12319
12468
|
return /*#__PURE__*/React.createElement("div", {
|
|
12320
12469
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
12321
12470
|
style: {
|
|
@@ -12394,8 +12543,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
12394
12543
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
12395
12544
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
12396
12545
|
onClick: function onClick() {
|
|
12397
|
-
var _authdetailsContext$
|
|
12398
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12546
|
+
var _authdetailsContext$i41;
|
|
12547
|
+
window.open('mailto:' + (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), '_self');
|
|
12399
12548
|
}
|
|
12400
12549
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12401
12550
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -12415,7 +12564,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12415
12564
|
style: {
|
|
12416
12565
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
12417
12566
|
}
|
|
12418
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12567
|
+
}, 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))), /*#__PURE__*/React.createElement("div", {
|
|
12419
12568
|
"class": "col-lg-12 my-2",
|
|
12420
12569
|
style: {
|
|
12421
12570
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -12467,25 +12616,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
12467
12616
|
}
|
|
12468
12617
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12469
12618
|
"class": "m-0 p-0"
|
|
12470
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12619
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 || (_authdetailsContext$i43 = _authdetailsContext$i43.contactinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.email) != null && /*#__PURE__*/React.createElement("div", {
|
|
12471
12620
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
12472
12621
|
}, /*#__PURE__*/React.createElement("button", {
|
|
12473
12622
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
12474
12623
|
onClick: function onClick() {
|
|
12475
|
-
var _authdetailsContext$
|
|
12476
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12624
|
+
var _authdetailsContext$i44;
|
|
12625
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 || (_authdetailsContext$i44 = _authdetailsContext$i44.contactinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.email), '_self');
|
|
12477
12626
|
}
|
|
12478
12627
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12479
12628
|
"class": "m-0 p-0"
|
|
12480
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12629
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
12481
12630
|
"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'
|
|
12482
12631
|
}, /*#__PURE__*/React.createElement("button", {
|
|
12483
12632
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
12484
12633
|
onClick: function onClick() {
|
|
12485
|
-
var _authdetailsContext$
|
|
12486
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12487
|
-
var _authdetailsContext$
|
|
12488
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12634
|
+
var _authdetailsContext$i46;
|
|
12635
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.whatsappnumber) != null) {
|
|
12636
|
+
var _authdetailsContext$i47;
|
|
12637
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.whatsappnumber), '_blank');
|
|
12489
12638
|
}
|
|
12490
12639
|
}
|
|
12491
12640
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -12581,7 +12730,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12581
12730
|
lang: lang,
|
|
12582
12731
|
srcfromprops: props.srcfromprops
|
|
12583
12732
|
}, _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), "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(_ref2, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
12584
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12733
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React.createElement(Article_itemtype, {
|
|
12585
12734
|
actions: (_ref3 = {
|
|
12586
12735
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
12587
12736
|
setisoutofstock: setisoutofstock,
|
|
@@ -12591,7 +12740,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12591
12740
|
lang: lang,
|
|
12592
12741
|
srcfromprops: props.srcfromprops
|
|
12593
12742
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "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(_ref3, "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(_ref3, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty(_defineProperty(_ref3, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
12594
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12743
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React.createElement(Product_itemtype_Article, {
|
|
12595
12744
|
actions: (_ref4 = {
|
|
12596
12745
|
isOptionInStock: isOptionInStock,
|
|
12597
12746
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -12617,7 +12766,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12617
12766
|
lang: lang,
|
|
12618
12767
|
srcfromprops: props.srcfromprops
|
|
12619
12768
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref5, "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(_ref5, "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(_ref5, "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(_ref5, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
12620
|
-
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12769
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '69a34ef02cc96' && /*#__PURE__*/React.createElement("div", {
|
|
12621
12770
|
"class": 'row m-0 w-100 px-md-2 pb-5',
|
|
12622
12771
|
style: {
|
|
12623
12772
|
paddingLeft: 100,
|
|
@@ -12696,7 +12845,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12696
12845
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12697
12846
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
12698
12847
|
style: {}
|
|
12699
|
-
}, 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$
|
|
12848
|
+
}, 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$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React.createElement("div", {
|
|
12700
12849
|
"class": 'row m-0 w-100 px-md-0 pb-5',
|
|
12701
12850
|
style: {
|
|
12702
12851
|
paddingLeft: 100,
|
|
@@ -12775,7 +12924,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12775
12924
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12776
12925
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
12777
12926
|
style: {}
|
|
12778
|
-
}, 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$
|
|
12927
|
+
}, 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$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React.createElement("div", {
|
|
12779
12928
|
"class": "rotating-text-container rotating-text-containermarqueesection"
|
|
12780
12929
|
}, /*#__PURE__*/React.createElement("span", {
|
|
12781
12930
|
"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',
|
|
@@ -12803,7 +12952,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12803
12952
|
height: '100%'
|
|
12804
12953
|
}
|
|
12805
12954
|
}));
|
|
12806
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12955
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React.createElement("div", {
|
|
12807
12956
|
"class": "row m-0 w-100"
|
|
12808
12957
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12809
12958
|
"class": "col-12 p-0 text-center mb-3 mt-3"
|
|
@@ -12819,9 +12968,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
12819
12968
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12820
12969
|
sectionproperties: sectionproperties
|
|
12821
12970
|
})
|
|
12822
|
-
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12971
|
+
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) != '69ef34fd77c0f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) != '69fcb0672e838' &&
|
|
12823
12972
|
// move to spo
|
|
12824
|
-
(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12973
|
+
(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.contactinfo.instid) != '6a5e2f3d879f1' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.contactinfo.instid) != '6963a3b378483' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
12825
12974
|
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 ',
|
|
12826
12975
|
style: {
|
|
12827
12976
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13014,7 +13163,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13014
13163
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13015
13164
|
sectionproperties: sectionproperties
|
|
13016
13165
|
})
|
|
13017
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13166
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
13018
13167
|
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 ',
|
|
13019
13168
|
style: {
|
|
13020
13169
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13164,7 +13313,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13164
13313
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13165
13314
|
sectionproperties: sectionproperties
|
|
13166
13315
|
})
|
|
13167
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13316
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i68 = authdetailsContext.instinfo) === null || _authdetailsContext$i68 === void 0 ? void 0 : _authdetailsContext$i68.contactinfo.instid) == '6a5e2f3d879f1' && /*#__PURE__*/React.createElement("div", {
|
|
13168
13317
|
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 ',
|
|
13169
13318
|
style: {
|
|
13170
13319
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13288,7 +13437,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13288
13437
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13289
13438
|
sectionproperties: sectionproperties
|
|
13290
13439
|
})
|
|
13291
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13440
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.contactinfo.instid) == '6963a3b378483' && /*#__PURE__*/React.createElement("div", {
|
|
13292
13441
|
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 ',
|
|
13293
13442
|
style: {
|
|
13294
13443
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13460,7 +13609,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13460
13609
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13461
13610
|
sectionproperties: sectionproperties
|
|
13462
13611
|
})
|
|
13463
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13612
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
13464
13613
|
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 ',
|
|
13465
13614
|
style: {
|
|
13466
13615
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13602,7 +13751,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13602
13751
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13603
13752
|
sectionproperties: sectionproperties
|
|
13604
13753
|
})
|
|
13605
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13754
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React.createElement("div", {
|
|
13606
13755
|
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 ',
|
|
13607
13756
|
style: {
|
|
13608
13757
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -13753,7 +13902,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13753
13902
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
13754
13903
|
sectionproperties: sectionproperties
|
|
13755
13904
|
})
|
|
13756
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13905
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i72 = authdetailsContext.instinfo) === null || _authdetailsContext$i72 === void 0 ? void 0 : _authdetailsContext$i72.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React.createElement("div", {
|
|
13757
13906
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
|
|
13758
13907
|
}, productVideos.map(function (item, index) {
|
|
13759
13908
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -13770,7 +13919,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
13770
13919
|
loop: true,
|
|
13771
13920
|
muted: true
|
|
13772
13921
|
}));
|
|
13773
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13922
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i73 = authdetailsContext.instinfo) === null || _authdetailsContext$i73 === void 0 ? void 0 : _authdetailsContext$i73.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React.createElement("div", {
|
|
13774
13923
|
"class": 'row m-0 w-100 px-md-2 mb-5',
|
|
13775
13924
|
style: {
|
|
13776
13925
|
paddingLeft: 100,
|
|
@@ -13848,12 +13997,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
13848
13997
|
}, /*#__PURE__*/React.createElement("p", {
|
|
13849
13998
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
13850
13999
|
style: {}
|
|
13851
|
-
}, 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$
|
|
14000
|
+
}, 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$i74 = authdetailsContext.instinfo) === null || _authdetailsContext$i74 === void 0 ? void 0 : _authdetailsContext$i74.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React.createElement("div", {
|
|
13852
14001
|
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 ',
|
|
13853
14002
|
style: {
|
|
13854
14003
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
13855
14004
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
13856
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14005
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i75 = authdetailsContext.instinfo) === null || _authdetailsContext$i75 === void 0 ? void 0 : _authdetailsContext$i75.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
13857
14006
|
}
|
|
13858
14007
|
}, relatedproducts()))));
|
|
13859
14008
|
};
|
|
@@ -36322,7 +36471,17 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
36322
36471
|
}
|
|
36323
36472
|
}, /*#__PURE__*/React.createElement("p", {
|
|
36324
36473
|
"class": "m-0 p-0"
|
|
36325
|
-
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), sectionproperties.showfloatingbtn == 'Show
|
|
36474
|
+
}, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), sectionproperties.showfloatingbtn == 'Show' && authdetailsContext.instinfo.instid == '6a708efd56628' && /*#__PURE__*/React.createElement("div", {
|
|
36475
|
+
"class": sectionproperties.cartBtnShow == 'Hide' ? langdetect == 'en' ? "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnar) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnen) + ' allcentered cursor-pointer ',
|
|
36476
|
+
style: {
|
|
36477
|
+
bottom: 70
|
|
36478
|
+
},
|
|
36479
|
+
onClick: function onClick() {
|
|
36480
|
+
window.open('https://book.yunzhan365.com/bookcase/decd/index.html?fbclid=IwdGRzaAUQ84BjbGNrBRDzanBkb2YFZXh0bgNhZW0CMTEAc3J0YwZhcHBfaWQMMzUwNjg1NTMxNzI4AAEezsk8CG0nQ4sZ9MQaNBB8d8dbWVDyu432tyaJXf_yfu0qvy7lqqV3ZrwmO58_aem_mM5sXBGG3WaMdzgQSqcQlQ&sfnsn=scwspwa', '_blank');
|
|
36481
|
+
}
|
|
36482
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
36483
|
+
"class": "m-0 p-0"
|
|
36484
|
+
}, langdetect == 'en' ? 'CATALOG' : 'الكتالوج')), sectionproperties.showfloatingbtn == 'Show when logged in' && authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
|
|
36326
36485
|
style: {
|
|
36327
36486
|
position: 'fixed',
|
|
36328
36487
|
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
@@ -84691,7 +84850,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84691
84850
|
if (sectionproperties.showplayer == 'Show') {
|
|
84692
84851
|
setshowpopup(true);
|
|
84693
84852
|
} else if (item.IsClickableimg == 'Yes') {
|
|
84694
|
-
if (item.
|
|
84853
|
+
if (item.linktype == 'Image With External Link') {
|
|
84854
|
+
window.open(item.linkurl, '_blank');
|
|
84855
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
84695
84856
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
84696
84857
|
} else {
|
|
84697
84858
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
@@ -84847,7 +85008,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84847
85008
|
if (sectionproperties.showplayer == 'Show') {
|
|
84848
85009
|
setshowpopup(true);
|
|
84849
85010
|
} else if (item.IsClickableimg == 'Yes') {
|
|
84850
|
-
if (item.
|
|
85011
|
+
if (item.linktype == 'Image With External Link') {
|
|
85012
|
+
window.open(item.linkurl, '_blank');
|
|
85013
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
84851
85014
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
84852
85015
|
} else {
|
|
84853
85016
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
@@ -84888,7 +85051,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84888
85051
|
if (sectionproperties.showplayer == 'Show') {
|
|
84889
85052
|
setshowpopup(true);
|
|
84890
85053
|
} else if (item.IsClickableimg == 'Yes') {
|
|
84891
|
-
if (item.
|
|
85054
|
+
if (item.linktype == 'Image With External Link') {
|
|
85055
|
+
window.open(item.linkurl, '_blank');
|
|
85056
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
84892
85057
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
84893
85058
|
} else {
|
|
84894
85059
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
@@ -85023,7 +85188,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85023
85188
|
if (sectionproperties.showplayer == 'Show') {
|
|
85024
85189
|
setshowpopup(true);
|
|
85025
85190
|
} else if (item.IsClickableimg == 'Yes') {
|
|
85026
|
-
if (item.
|
|
85191
|
+
if (item.linktype == 'Image With External Link') {
|
|
85192
|
+
window.open(item.linkurl, '_blank');
|
|
85193
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
85027
85194
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
85028
85195
|
} else {
|
|
85029
85196
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
@@ -85063,7 +85230,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85063
85230
|
if (sectionproperties.showplayer == 'Show') {
|
|
85064
85231
|
setshowpopup(true);
|
|
85065
85232
|
} else if (item.IsClickableimg == 'Yes') {
|
|
85066
|
-
if (item.
|
|
85233
|
+
if (item.linktype == 'Image With External Link') {
|
|
85234
|
+
window.open(item.linkurl, '_blank');
|
|
85235
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
85067
85236
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
85068
85237
|
} else {
|
|
85069
85238
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
@@ -85190,7 +85359,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85190
85359
|
if (sectionproperties.showplayer == 'Show') {
|
|
85191
85360
|
setshowpopup(true);
|
|
85192
85361
|
} else if (item.IsClickableimg == 'Yes') {
|
|
85193
|
-
if (item.
|
|
85362
|
+
if (item.linktype == 'Image With External Link') {
|
|
85363
|
+
window.open(item.linkurl, '_blank');
|
|
85364
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
85194
85365
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
85195
85366
|
} else {
|
|
85196
85367
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|
|
@@ -85230,7 +85401,9 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85230
85401
|
if (sectionproperties.showplayer == 'Show') {
|
|
85231
85402
|
setshowpopup(true);
|
|
85232
85403
|
} else if (item.IsClickableimg == 'Yes') {
|
|
85233
|
-
if (item.
|
|
85404
|
+
if (item.linktype == 'Image With External Link') {
|
|
85405
|
+
window.open(item.linkurl, '_blank');
|
|
85406
|
+
} else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
|
|
85234
85407
|
routingcountext(item.clickableimg_page_route, false, '');
|
|
85235
85408
|
} else {
|
|
85236
85409
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
|