tabexseriescomponents 0.2.1290 → 0.2.1293
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 +491 -211
- package/dist/index.esm.js +491 -211
- package/dist/index.umd.js +491 -211
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1736,29 +1736,33 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1736
1736
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
1737
1737
|
var is_value_permdisabled = 0;
|
|
1738
1738
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
1739
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
1739
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
|
|
1740
1740
|
// if()
|
|
1741
1741
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68d28fc494276') {
|
|
1742
1742
|
is_value_permdisabled = 1;
|
|
1743
1743
|
}
|
|
1744
|
+
// amiga
|
|
1745
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '670fc18477599') {
|
|
1746
|
+
is_value_permdisabled = 1;
|
|
1747
|
+
}
|
|
1744
1748
|
// vout
|
|
1745
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1749
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68f918a4ccb85') {
|
|
1746
1750
|
is_value_permdisabled = 1;
|
|
1747
1751
|
}
|
|
1748
1752
|
// puff
|
|
1749
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1753
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6899e604db87f') {
|
|
1750
1754
|
is_value_permdisabled = 1;
|
|
1751
1755
|
}
|
|
1752
1756
|
// dija
|
|
1753
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1757
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1754
1758
|
is_value_permdisabled = 1;
|
|
1755
1759
|
}
|
|
1756
1760
|
// angel
|
|
1757
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1761
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '67bda57bca71d') {
|
|
1758
1762
|
is_value_permdisabled = 1;
|
|
1759
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1763
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '69244cc88aa0a') {
|
|
1760
1764
|
is_value_permdisabled = 1;
|
|
1761
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1765
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '687ca57cc78e8') {
|
|
1762
1766
|
is_value_permdisabled = 1;
|
|
1763
1767
|
}
|
|
1764
1768
|
}
|
|
@@ -1787,7 +1791,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1787
1791
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1788
1792
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1789
1793
|
if (is_value_permdisabled == 0) {
|
|
1790
|
-
var _authdetailsContext$
|
|
1794
|
+
var _authdetailsContext$i9, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25;
|
|
1791
1795
|
return /*#__PURE__*/React.createElement("div", {
|
|
1792
1796
|
// className={
|
|
1793
1797
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1799,47 +1803,53 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1799
1803
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1800
1804
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1801
1805
|
// }
|
|
1802
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1806
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.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 : ''),
|
|
1803
1807
|
onClick: function onClick() {
|
|
1804
1808
|
if (isoptionvalueselected == 0) {
|
|
1805
|
-
var _authdetailsContext$
|
|
1806
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1809
|
+
var _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
|
|
1810
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68d28fc494276') {
|
|
1811
|
+
if (isValueinStock == 0) {
|
|
1812
|
+
return;
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
// amiga
|
|
1816
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '670fc18477599') {
|
|
1807
1817
|
if (isValueinStock == 0) {
|
|
1808
1818
|
return;
|
|
1809
1819
|
}
|
|
1810
1820
|
}
|
|
1811
1821
|
// vout
|
|
1812
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1822
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68f918a4ccb85') {
|
|
1813
1823
|
if (isValueinStock == 0) {
|
|
1814
1824
|
return;
|
|
1815
1825
|
}
|
|
1816
1826
|
}
|
|
1817
1827
|
// puff
|
|
1818
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1828
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6899e604db87f') {
|
|
1819
1829
|
if (isValueinStock == 0) {
|
|
1820
1830
|
return;
|
|
1821
1831
|
}
|
|
1822
1832
|
}
|
|
1823
1833
|
// angel
|
|
1824
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1834
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67bda57bca71d') {
|
|
1825
1835
|
if (isValueinStock == 0) {
|
|
1826
1836
|
return;
|
|
1827
1837
|
}
|
|
1828
1838
|
}
|
|
1829
1839
|
// dija
|
|
1830
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1840
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1831
1841
|
if (isValueinStock == 0) {
|
|
1832
1842
|
return;
|
|
1833
1843
|
}
|
|
1834
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1844
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '69244cc88aa0a') {
|
|
1835
1845
|
if (isValueinStock == 0) {
|
|
1836
1846
|
return;
|
|
1837
1847
|
}
|
|
1838
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1848
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '687ca57cc78e8') {
|
|
1839
1849
|
if (isValueinStock == 0) {
|
|
1840
1850
|
return;
|
|
1841
1851
|
}
|
|
1842
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1852
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '6899e604db87f') {
|
|
1843
1853
|
if (isValueinStock == 0) {
|
|
1844
1854
|
return;
|
|
1845
1855
|
}
|
|
@@ -1883,16 +1893,18 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1883
1893
|
}, /*#__PURE__*/React.createElement("i", {
|
|
1884
1894
|
"class": "h-100 allcentered"
|
|
1885
1895
|
}, /*#__PURE__*/React.createElement(IoMdClose, null))), /*#__PURE__*/React.createElement("p", {
|
|
1886
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1896
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1897
|
+
// amiga
|
|
1898
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1887
1899
|
// vout
|
|
1888
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1900
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1889
1901
|
// puff
|
|
1890
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1902
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1891
1903
|
// angel
|
|
1892
1904
|
|
|
1893
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1905
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1894
1906
|
// dija
|
|
1895
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1907
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.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$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '687ca57cc78e8' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1896
1908
|
style: {
|
|
1897
1909
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1898
1910
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1901,49 +1913,55 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1901
1913
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1902
1914
|
}
|
|
1903
1915
|
} else {
|
|
1904
|
-
var _authdetailsContext$
|
|
1916
|
+
var _authdetailsContext$i26, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44;
|
|
1905
1917
|
return /*#__PURE__*/React.createElement("div", {
|
|
1906
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1918
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.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 : ''),
|
|
1907
1919
|
onClick: function onClick() {
|
|
1908
1920
|
if (isoptionvalueselected == 0) {
|
|
1909
|
-
var _authdetailsContext$
|
|
1910
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1921
|
+
var _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35;
|
|
1922
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68d28fc494276') {
|
|
1923
|
+
if (isValueinStock == 0) {
|
|
1924
|
+
return;
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1927
|
+
// amiga
|
|
1928
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '670fc18477599') {
|
|
1911
1929
|
if (isValueinStock == 0) {
|
|
1912
1930
|
return;
|
|
1913
1931
|
}
|
|
1914
1932
|
}
|
|
1915
1933
|
// vout
|
|
1916
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1934
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68f918a4ccb85') {
|
|
1917
1935
|
if (isValueinStock == 0) {
|
|
1918
1936
|
return;
|
|
1919
1937
|
}
|
|
1920
1938
|
}
|
|
1921
1939
|
// puff n stuff
|
|
1922
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1940
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '6899e604db87f') {
|
|
1923
1941
|
if (isValueinStock == 0) {
|
|
1924
1942
|
return;
|
|
1925
1943
|
}
|
|
1926
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1944
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '69244cc88aa0a') {
|
|
1927
1945
|
if (isValueinStock == 0) {
|
|
1928
1946
|
return;
|
|
1929
1947
|
}
|
|
1930
1948
|
}
|
|
1931
1949
|
// angel
|
|
1932
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1950
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67bda57bca71d') {
|
|
1933
1951
|
if (isValueinStock == 0) {
|
|
1934
1952
|
return;
|
|
1935
1953
|
}
|
|
1936
1954
|
}
|
|
1937
1955
|
// dija
|
|
1938
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1956
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1939
1957
|
if (isValueinStock == 0) {
|
|
1940
1958
|
return;
|
|
1941
1959
|
}
|
|
1942
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1960
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '687ca57cc78e8') {
|
|
1943
1961
|
if (isValueinStock == 0) {
|
|
1944
1962
|
return;
|
|
1945
1963
|
}
|
|
1946
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1964
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '6899e604db87f') {
|
|
1947
1965
|
if (isValueinStock == 0) {
|
|
1948
1966
|
return;
|
|
1949
1967
|
}
|
|
@@ -1967,15 +1985,17 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1967
1985
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
1968
1986
|
}
|
|
1969
1987
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1970
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1988
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1989
|
+
// amiga
|
|
1990
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1971
1991
|
// vout
|
|
1972
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1992
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1973
1993
|
// puff
|
|
1974
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1994
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1975
1995
|
// angel
|
|
1976
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1996
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1977
1997
|
// dija
|
|
1978
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1998
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.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$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.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$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.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$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.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',
|
|
1979
1999
|
style: {
|
|
1980
2000
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1981
2001
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -7615,7 +7635,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7615
7635
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7616
7636
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7617
7637
|
var Productinfo = function Productinfo(props) {
|
|
7618
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7638
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i37, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i38, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i49, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i50, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i51, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54;
|
|
7619
7639
|
var _useState = useState({}),
|
|
7620
7640
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7621
7641
|
ProductInfoObj = _useState2[0],
|
|
@@ -8118,7 +8138,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8118
8138
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8119
8139
|
// };
|
|
8120
8140
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8121
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10;
|
|
8141
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11;
|
|
8122
8142
|
// lord
|
|
8123
8143
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
8124
8144
|
var _ProductInfoObj$data;
|
|
@@ -8207,8 +8227,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8207
8227
|
});
|
|
8208
8228
|
return inStock ? 1 : 0;
|
|
8209
8229
|
}
|
|
8210
|
-
//
|
|
8211
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '
|
|
8230
|
+
// amiga
|
|
8231
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '670fc18477599') {
|
|
8212
8232
|
var _ProductInfoObj$data2;
|
|
8213
8233
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8214
8234
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8295,8 +8315,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8295
8315
|
});
|
|
8296
8316
|
return _inStock ? 1 : 0;
|
|
8297
8317
|
}
|
|
8298
|
-
//
|
|
8299
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '
|
|
8318
|
+
// vout
|
|
8319
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '68f918a4ccb85') {
|
|
8300
8320
|
var _ProductInfoObj$data3;
|
|
8301
8321
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8302
8322
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8383,8 +8403,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8383
8403
|
});
|
|
8384
8404
|
return _inStock2 ? 1 : 0;
|
|
8385
8405
|
}
|
|
8386
|
-
//
|
|
8387
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '
|
|
8406
|
+
// puff n stuff
|
|
8407
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6899e604db87f') {
|
|
8388
8408
|
var _ProductInfoObj$data4;
|
|
8389
8409
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8390
8410
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8471,8 +8491,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8471
8491
|
});
|
|
8472
8492
|
return _inStock3 ? 1 : 0;
|
|
8473
8493
|
}
|
|
8474
|
-
//
|
|
8475
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '
|
|
8494
|
+
// dija
|
|
8495
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8476
8496
|
var _ProductInfoObj$data5;
|
|
8477
8497
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8478
8498
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8558,7 +8578,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8558
8578
|
}) && variantValueIds.includes(Currvalueid);
|
|
8559
8579
|
});
|
|
8560
8580
|
return _inStock4 ? 1 : 0;
|
|
8561
|
-
}
|
|
8581
|
+
}
|
|
8582
|
+
// angel secrets
|
|
8583
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '67bda57bca71d') {
|
|
8562
8584
|
var _ProductInfoObj$data6;
|
|
8563
8585
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8564
8586
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -8644,7 +8666,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8644
8666
|
}) && variantValueIds.includes(Currvalueid);
|
|
8645
8667
|
});
|
|
8646
8668
|
return _inStock5 ? 1 : 0;
|
|
8647
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '
|
|
8669
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '69244cc88aa0a') {
|
|
8648
8670
|
var _ProductInfoObj$data7;
|
|
8649
8671
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
8650
8672
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -8730,13 +8752,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
8730
8752
|
}) && variantValueIds.includes(Currvalueid);
|
|
8731
8753
|
});
|
|
8732
8754
|
return _inStock6 ? 1 : 0;
|
|
8755
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '687ca57cc78e8') {
|
|
8756
|
+
var _ProductInfoObj$data8;
|
|
8757
|
+
var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
|
|
8758
|
+
var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
|
|
8759
|
+
var _variants7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.variants) || [];
|
|
8760
|
+
|
|
8761
|
+
// Collect selected option value IDs and find which option they belong to
|
|
8762
|
+
var _selectedValues7 = [];
|
|
8763
|
+
_options7.forEach(function (option) {
|
|
8764
|
+
option.optionvalues.forEach(function (value) {
|
|
8765
|
+
if (value.isselected === 1) {
|
|
8766
|
+
_selectedValues7.push({
|
|
8767
|
+
optionid: option.optionid,
|
|
8768
|
+
valueid: value.valueid
|
|
8769
|
+
});
|
|
8770
|
+
}
|
|
8771
|
+
});
|
|
8772
|
+
});
|
|
8773
|
+
_options7.length;
|
|
8774
|
+
var _selectedCount7 = _selectedValues7.length;
|
|
8775
|
+
var _inStockVariants7 = _variants7.filter(function (v) {
|
|
8776
|
+
return v.current_quantity > 0;
|
|
8777
|
+
});
|
|
8778
|
+
|
|
8779
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
8780
|
+
if (_selectedCount7 === 0) {
|
|
8781
|
+
return _inStockVariants7.some(function (variant) {
|
|
8782
|
+
return variant.variantoptions.some(function (opt) {
|
|
8783
|
+
return opt.valueid === Currvalueid;
|
|
8784
|
+
});
|
|
8785
|
+
}) ? 1 : 0;
|
|
8786
|
+
}
|
|
8787
|
+
|
|
8788
|
+
// 🧠 Case 2: Only one option selected
|
|
8789
|
+
if (_selectedCount7 === 1) {
|
|
8790
|
+
var _selected7 = _selectedValues7[0];
|
|
8791
|
+
var _selectedOptionId7 = _selected7.optionid;
|
|
8792
|
+
|
|
8793
|
+
// Find which option this Currvalueid belongs to
|
|
8794
|
+
var _currentOptionId7 = null;
|
|
8795
|
+
_options7.forEach(function (option) {
|
|
8796
|
+
option.optionvalues.forEach(function (v) {
|
|
8797
|
+
if (v.valueid === Currvalueid) _currentOptionId7 = option.optionid;
|
|
8798
|
+
});
|
|
8799
|
+
});
|
|
8800
|
+
|
|
8801
|
+
// Same option (e.g., selecting only size)
|
|
8802
|
+
if (_selectedOptionId7 === _currentOptionId7) {
|
|
8803
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
8804
|
+
return _inStockVariants7.some(function (variant) {
|
|
8805
|
+
return variant.variantoptions.some(function (opt) {
|
|
8806
|
+
return opt.valueid === Currvalueid;
|
|
8807
|
+
});
|
|
8808
|
+
}) ? 1 : 0;
|
|
8809
|
+
}
|
|
8810
|
+
|
|
8811
|
+
// Different option (e.g., color)
|
|
8812
|
+
// Only in-stock if a variant has both selected value + this value
|
|
8813
|
+
return _inStockVariants7.some(function (variant) {
|
|
8814
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8815
|
+
return v.valueid;
|
|
8816
|
+
});
|
|
8817
|
+
return variantValueIds.includes(_selected7.valueid) && variantValueIds.includes(Currvalueid);
|
|
8818
|
+
}) ? 1 : 0;
|
|
8819
|
+
}
|
|
8820
|
+
|
|
8821
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
8822
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
8823
|
+
var _inStock7 = _inStockVariants7.some(function (variant) {
|
|
8824
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8825
|
+
return v.valueid;
|
|
8826
|
+
});
|
|
8827
|
+
// Must match all selected except the one that belongs to same option
|
|
8828
|
+
return _selectedValues7.every(function (sel) {
|
|
8829
|
+
if (_options7.some(function (opt) {
|
|
8830
|
+
return opt.optionvalues.some(function (v) {
|
|
8831
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
8832
|
+
});
|
|
8833
|
+
})) {
|
|
8834
|
+
// Skip same option
|
|
8835
|
+
return true;
|
|
8836
|
+
}
|
|
8837
|
+
return variantValueIds.includes(sel.valueid);
|
|
8838
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
8839
|
+
});
|
|
8840
|
+
return _inStock7 ? 1 : 0;
|
|
8733
8841
|
} else {
|
|
8734
8842
|
return 1;
|
|
8735
8843
|
}
|
|
8736
8844
|
};
|
|
8737
8845
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8738
|
-
var _authdetailsContext$
|
|
8739
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8846
|
+
var _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18;
|
|
8847
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68d28fc494276') {
|
|
8740
8848
|
var _productarr$data, _productarr$data$prod;
|
|
8741
8849
|
var _productarr = ProductInfoObj;
|
|
8742
8850
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8790,7 +8898,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8790
8898
|
}
|
|
8791
8899
|
}
|
|
8792
8900
|
// vout
|
|
8793
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8901
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68f918a4ccb85') {
|
|
8794
8902
|
var _productarr2$data, _productarr2$data$pro;
|
|
8795
8903
|
var _productarr2 = ProductInfoObj;
|
|
8796
8904
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8844,7 +8952,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8844
8952
|
}
|
|
8845
8953
|
}
|
|
8846
8954
|
// puff n stuff
|
|
8847
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8955
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6899e604db87f') {
|
|
8848
8956
|
var _productarr3$data, _productarr3$data$pro;
|
|
8849
8957
|
var _productarr3 = ProductInfoObj;
|
|
8850
8958
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8898,7 +9006,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8898
9006
|
}
|
|
8899
9007
|
}
|
|
8900
9008
|
// dija
|
|
8901
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9009
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8902
9010
|
var _productarr4$data, _productarr4$data$pro;
|
|
8903
9011
|
var _productarr4 = ProductInfoObj;
|
|
8904
9012
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8952,7 +9060,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8952
9060
|
}
|
|
8953
9061
|
}
|
|
8954
9062
|
// angel
|
|
8955
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9063
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67bda57bca71d') {
|
|
8956
9064
|
var _productarr5$data, _productarr5$data$pro;
|
|
8957
9065
|
var _productarr5 = ProductInfoObj;
|
|
8958
9066
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -9004,7 +9112,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9004
9112
|
// optional: show user message or disable click
|
|
9005
9113
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9006
9114
|
}
|
|
9007
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9115
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '69244cc88aa0a') {
|
|
9008
9116
|
var _productarr6$data, _productarr6$data$pro;
|
|
9009
9117
|
var _productarr6 = ProductInfoObj;
|
|
9010
9118
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -9056,7 +9164,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9056
9164
|
// optional: show user message or disable click
|
|
9057
9165
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9058
9166
|
}
|
|
9059
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9167
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '687ca57cc78e8') {
|
|
9060
9168
|
var _productarr7$data, _productarr7$data$pro;
|
|
9061
9169
|
var _productarr7 = ProductInfoObj;
|
|
9062
9170
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -9589,10 +9697,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9589
9697
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9590
9698
|
runfunc = true;
|
|
9591
9699
|
} else {
|
|
9592
|
-
var _authdetailsContext$
|
|
9700
|
+
var _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21;
|
|
9593
9701
|
// here
|
|
9594
9702
|
setvariantnotchosendisclaimer('This field is required');
|
|
9595
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9703
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
9596
9704
|
}
|
|
9597
9705
|
} else {
|
|
9598
9706
|
runfunc = true;
|
|
@@ -9676,9 +9784,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9676
9784
|
};
|
|
9677
9785
|
};
|
|
9678
9786
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9679
|
-
var _authdetailsContext$
|
|
9787
|
+
var _authdetailsContext$i22;
|
|
9680
9788
|
var policyobj = {};
|
|
9681
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9789
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.instpolicies) === null || _authdetailsContext$i22 === void 0 || _authdetailsContext$i22.forEach(function (item, index) {
|
|
9682
9790
|
if (item.policytype == policytype) {
|
|
9683
9791
|
policyobj = item;
|
|
9684
9792
|
}
|
|
@@ -9687,7 +9795,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9687
9795
|
};
|
|
9688
9796
|
var relatedproducts = function relatedproducts() {
|
|
9689
9797
|
if (Relatedproducts.length != 0) {
|
|
9690
|
-
var _authdetailsContext$
|
|
9798
|
+
var _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27;
|
|
9691
9799
|
return /*#__PURE__*/React.createElement("div", {
|
|
9692
9800
|
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",
|
|
9693
9801
|
style: {
|
|
@@ -9709,9 +9817,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9709
9817
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9710
9818
|
className: "row m-0 w-100",
|
|
9711
9819
|
style: {
|
|
9712
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9820
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
9713
9821
|
}
|
|
9714
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9822
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
9715
9823
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9716
9824
|
style: {
|
|
9717
9825
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9730,7 +9838,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9730
9838
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9731
9839
|
borderRadius: 5
|
|
9732
9840
|
}
|
|
9733
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9841
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
9734
9842
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9735
9843
|
style: {
|
|
9736
9844
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9751,8 +9859,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9751
9859
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
9752
9860
|
transitionBehavior: 'auto',
|
|
9753
9861
|
wrapperClassName: '',
|
|
9754
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9755
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9862
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9863
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9756
9864
|
}, Relatedproducts.map(function (item, index) {
|
|
9757
9865
|
if (item.productinfo != null) {
|
|
9758
9866
|
var _fetchProductInfoQuer49;
|
|
@@ -9822,10 +9930,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9822
9930
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9823
9931
|
runfunc = true;
|
|
9824
9932
|
} else {
|
|
9825
|
-
var _authdetailsContext$
|
|
9933
|
+
var _authdetailsContext$i28;
|
|
9826
9934
|
// here
|
|
9827
9935
|
setvariantnotchosendisclaimer('This field is required');
|
|
9828
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9936
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
9829
9937
|
}
|
|
9830
9938
|
} else {
|
|
9831
9939
|
runfunc = true;
|
|
@@ -9868,8 +9976,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9868
9976
|
isVarianturlLoaded = _useState58[0],
|
|
9869
9977
|
setisVarianturlLoaded = _useState58[1];
|
|
9870
9978
|
useEffect(function () {
|
|
9871
|
-
var _authdetailsContext$
|
|
9872
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9979
|
+
var _authdetailsContext$i29;
|
|
9980
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68f918a4ccb85') {
|
|
9873
9981
|
var params = new URLSearchParams(window.location.search);
|
|
9874
9982
|
var variantId = params.get('variant');
|
|
9875
9983
|
if (isVarianturlLoaded == false) {
|
|
@@ -10668,7 +10776,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10668
10776
|
})));
|
|
10669
10777
|
};
|
|
10670
10778
|
var StoreInfo = function StoreInfo(position) {
|
|
10671
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10779
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i31, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i32, _authdetailsContext$i34;
|
|
10672
10780
|
return /*#__PURE__*/React.createElement("div", {
|
|
10673
10781
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10674
10782
|
style: {
|
|
@@ -10747,8 +10855,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10747
10855
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
10748
10856
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10749
10857
|
onClick: function onClick() {
|
|
10750
|
-
var _authdetailsContext$
|
|
10751
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10858
|
+
var _authdetailsContext$i30;
|
|
10859
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 || (_authdetailsContext$i30 = _authdetailsContext$i30.contactinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.email), '_self');
|
|
10752
10860
|
}
|
|
10753
10861
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10754
10862
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10768,7 +10876,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10768
10876
|
style: {
|
|
10769
10877
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10770
10878
|
}
|
|
10771
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10879
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 || (_authdetailsContext$i31 = _authdetailsContext$i31.contactinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.email))), /*#__PURE__*/React.createElement("div", {
|
|
10772
10880
|
"class": "col-lg-12 my-2",
|
|
10773
10881
|
style: {
|
|
10774
10882
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10820,25 +10928,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
10820
10928
|
}
|
|
10821
10929
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10822
10930
|
"class": "m-0 p-0"
|
|
10823
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10931
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 || (_authdetailsContext$i32 = _authdetailsContext$i32.contactinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.email) != null && /*#__PURE__*/React.createElement("div", {
|
|
10824
10932
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10825
10933
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10826
10934
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10827
10935
|
onClick: function onClick() {
|
|
10828
|
-
var _authdetailsContext$
|
|
10829
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10936
|
+
var _authdetailsContext$i33;
|
|
10937
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 || (_authdetailsContext$i33 = _authdetailsContext$i33.contactinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.email), '_self');
|
|
10830
10938
|
}
|
|
10831
10939
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10832
10940
|
"class": "m-0 p-0"
|
|
10833
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10941
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
10834
10942
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10835
10943
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10836
10944
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10837
10945
|
onClick: function onClick() {
|
|
10838
|
-
var _authdetailsContext$
|
|
10839
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10840
|
-
var _authdetailsContext$
|
|
10841
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10946
|
+
var _authdetailsContext$i35;
|
|
10947
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.whatsappnumber) != null) {
|
|
10948
|
+
var _authdetailsContext$i36;
|
|
10949
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.whatsappnumber), '_blank');
|
|
10842
10950
|
}
|
|
10843
10951
|
}
|
|
10844
10952
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -10934,7 +11042,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10934
11042
|
lang: lang,
|
|
10935
11043
|
srcfromprops: props.srcfromprops
|
|
10936
11044
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10937
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11045
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React.createElement(Article_itemtype, {
|
|
10938
11046
|
actions: (_ref2 = {
|
|
10939
11047
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10940
11048
|
setisoutofstock: setisoutofstock,
|
|
@@ -10944,7 +11052,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10944
11052
|
lang: lang,
|
|
10945
11053
|
srcfromprops: props.srcfromprops
|
|
10946
11054
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty(_defineProperty(_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
10947
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11055
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React.createElement(Product_itemtype_Article, {
|
|
10948
11056
|
actions: (_ref3 = {
|
|
10949
11057
|
isOptionInStock: isOptionInStock,
|
|
10950
11058
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10970,7 +11078,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10970
11078
|
lang: lang,
|
|
10971
11079
|
srcfromprops: props.srcfromprops
|
|
10972
11080
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty(_defineProperty(_defineProperty(_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10973
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11081
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) != '69ef34fd77c0f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
10974
11082
|
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 ',
|
|
10975
11083
|
style: {
|
|
10976
11084
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11161,7 +11269,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11161
11269
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11162
11270
|
sectionproperties: sectionproperties
|
|
11163
11271
|
})
|
|
11164
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11272
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
11165
11273
|
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 ',
|
|
11166
11274
|
style: {
|
|
11167
11275
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11311,7 +11419,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11311
11419
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11312
11420
|
sectionproperties: sectionproperties
|
|
11313
11421
|
})
|
|
11314
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11422
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
11315
11423
|
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 ',
|
|
11316
11424
|
style: {
|
|
11317
11425
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11453,7 +11561,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11453
11561
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11454
11562
|
sectionproperties: sectionproperties
|
|
11455
11563
|
})
|
|
11456
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11564
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React.createElement("div", {
|
|
11457
11565
|
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 ',
|
|
11458
11566
|
style: {
|
|
11459
11567
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11604,7 +11712,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11604
11712
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11605
11713
|
sectionproperties: sectionproperties
|
|
11606
11714
|
})
|
|
11607
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11715
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React.createElement("div", {
|
|
11608
11716
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
|
|
11609
11717
|
}, productVideos.map(function (item, index) {
|
|
11610
11718
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -11621,12 +11729,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11621
11729
|
loop: true,
|
|
11622
11730
|
muted: true
|
|
11623
11731
|
}));
|
|
11624
|
-
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11732
|
+
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React.createElement("div", {
|
|
11625
11733
|
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 ',
|
|
11626
11734
|
style: {
|
|
11627
11735
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11628
11736
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
11629
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11737
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
11630
11738
|
}
|
|
11631
11739
|
}, relatedproducts()))));
|
|
11632
11740
|
};
|
|
@@ -37125,42 +37233,45 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37125
37233
|
setChoosenindex(index);
|
|
37126
37234
|
}
|
|
37127
37235
|
}, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
|
|
37128
|
-
className: ' row m-0 p-0 mb-
|
|
37129
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
37130
|
-
className: ' row m-0 w-100 px-3 '
|
|
37236
|
+
className: header_cssstyles.catcontainer + ' row m-0 p-0 mb-3 px-3 '
|
|
37131
37237
|
}, /*#__PURE__*/React.createElement("div", {
|
|
37132
|
-
className: "col-10
|
|
37133
|
-
}, /*#__PURE__*/React.createElement("
|
|
37134
|
-
|
|
37238
|
+
className: "col-10 d-flex justify-content-start align-items-center"
|
|
37239
|
+
}, sectionproperties.catslidershowpcollimage == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37240
|
+
"class": header_cssstyles.pcollimage,
|
|
37241
|
+
style: {}
|
|
37242
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
37243
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
37244
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
37245
|
+
path: '/tr:w-500,h-500/' + item.parentcollectionlogo,
|
|
37246
|
+
style: {
|
|
37247
|
+
width: '100%',
|
|
37248
|
+
height: '100%',
|
|
37249
|
+
objectFit: 'cover',
|
|
37250
|
+
borderRadius: sectionproperties.catsliderpcollimageborderradius + 'px',
|
|
37251
|
+
border: sectionproperties.catsliderpcollimageborderwidth + 'px solid ' + sectionproperties.catsliderpcollimagebordercolor
|
|
37252
|
+
}
|
|
37253
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
37254
|
+
className: "".concat(header_cssstyles.closesliderpcoll) + ' cattext mb-0 p-0 mx-3 '
|
|
37135
37255
|
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React.createElement("div", {
|
|
37136
|
-
className: "col-lg-2 col-md-2 col-sm-2
|
|
37256
|
+
className: "col-lg-2 col-md-2 col-sm-2 text-end"
|
|
37137
37257
|
}, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
|
|
37138
37258
|
if (state.expanded == true) {
|
|
37139
37259
|
return /*#__PURE__*/React.createElement("i", {
|
|
37140
|
-
className: "".concat(header_cssstyles.
|
|
37260
|
+
className: "".concat(header_cssstyles.closesliderpcoll) + ' cattext h-100 d-flex align-items-center justify-content-end '
|
|
37141
37261
|
}, /*#__PURE__*/React.createElement(FiChevronDown, {
|
|
37142
37262
|
style: {
|
|
37143
|
-
// color: '#000',
|
|
37144
37263
|
fontSize: 15
|
|
37145
37264
|
}
|
|
37146
37265
|
}));
|
|
37147
37266
|
} else {
|
|
37148
37267
|
return /*#__PURE__*/React.createElement("i", {
|
|
37149
|
-
className: "".concat(header_cssstyles.
|
|
37268
|
+
className: "".concat(header_cssstyles.closesliderpcoll) + ' cattext h-100 d-flex align-items-center justify-content-end '
|
|
37150
37269
|
}, /*#__PURE__*/React.createElement(FiChevronUp, {
|
|
37151
37270
|
style: {
|
|
37152
|
-
// color: '#000',
|
|
37153
37271
|
fontSize: 15
|
|
37154
37272
|
}
|
|
37155
37273
|
}));
|
|
37156
37274
|
}
|
|
37157
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
37158
|
-
className: "col-lg-12 p-0"
|
|
37159
|
-
}, /*#__PURE__*/React.createElement("hr", {
|
|
37160
|
-
className: "mt-4 mb-4",
|
|
37161
|
-
style: {
|
|
37162
|
-
borderColor: sectionproperties.resp_header_separatorbg
|
|
37163
|
-
}
|
|
37164
37275
|
}))))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
|
|
37165
37276
|
className: "p-0"
|
|
37166
37277
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -37168,26 +37279,51 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37168
37279
|
}, Choosenindex.length != 0 && (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && (item === null || item === void 0 || (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (collitem, collindex) {
|
|
37169
37280
|
if (collitem.isshowntocustomers == 1) {
|
|
37170
37281
|
return /*#__PURE__*/React.createElement("div", {
|
|
37171
|
-
|
|
37172
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
37173
|
-
className: ' row m-0 p-0 mb-2 '
|
|
37282
|
+
className: header_cssstyles.collcontainer + ' row m-0 p-0 mb-4 px-4 '
|
|
37174
37283
|
}, /*#__PURE__*/React.createElement("div", {
|
|
37175
37284
|
className: ' row m-0 w-100 px-5 '
|
|
37176
37285
|
}, /*#__PURE__*/React.createElement("div", {
|
|
37177
|
-
className: "col-
|
|
37286
|
+
className: "col-12 d-flex justify-content-start align-items-center p-0",
|
|
37178
37287
|
onClick: function onClick() {
|
|
37179
37288
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
37180
37289
|
}
|
|
37181
|
-
}, /*#__PURE__*/React.createElement("
|
|
37182
|
-
|
|
37183
|
-
|
|
37184
|
-
|
|
37185
|
-
|
|
37186
|
-
|
|
37290
|
+
}, sectionproperties.catslidershowcollimage == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37291
|
+
"class": header_cssstyles.collimage,
|
|
37292
|
+
style: {}
|
|
37293
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
37294
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
37295
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
37296
|
+
path: '/tr:w-500,h-500/' + collitem.collectionlogo,
|
|
37187
37297
|
style: {
|
|
37188
|
-
|
|
37298
|
+
width: '100%',
|
|
37299
|
+
height: '100%',
|
|
37300
|
+
objectFit: 'contain',
|
|
37301
|
+
borderRadius: sectionproperties.catslidercollimageborderradius + 'px',
|
|
37302
|
+
border: sectionproperties.catslidercollimageborderwidth + 'px solid ' + sectionproperties.catslidercollimagebordercolor
|
|
37189
37303
|
}
|
|
37190
|
-
}))
|
|
37304
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
37305
|
+
className: "".concat(header_cssstyles.closeslidercoll) + ' colltext mb-0 p-0 mx-3 '
|
|
37306
|
+
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar))))
|
|
37307
|
+
// <div class="col-lg-12 p-0">
|
|
37308
|
+
// <div className={' row m-0 p-0 mb-2 '}>
|
|
37309
|
+
// <div className={' row m-0 w-100 px-5 '}>
|
|
37310
|
+
// <div
|
|
37311
|
+
// className="col-10 p-0 text-start"
|
|
37312
|
+
// onClick={() => {
|
|
37313
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
37314
|
+
// }}
|
|
37315
|
+
// >
|
|
37316
|
+
// <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
|
|
37317
|
+
// {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
|
|
37318
|
+
// </p>
|
|
37319
|
+
// </div>
|
|
37320
|
+
// </div>
|
|
37321
|
+
// <div className="col-lg-12 p-0">
|
|
37322
|
+
// <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
|
|
37323
|
+
// </div>
|
|
37324
|
+
// </div>
|
|
37325
|
+
// </div>
|
|
37326
|
+
;
|
|
37191
37327
|
}
|
|
37192
37328
|
})))));
|
|
37193
37329
|
}
|
|
@@ -37223,23 +37359,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37223
37359
|
}
|
|
37224
37360
|
})), /*#__PURE__*/React.createElement("p", {
|
|
37225
37361
|
className: "".concat(header_cssstyles.closeslidercoll) + ' colltext mb-0 p-0 mx-3 '
|
|
37226
|
-
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar)))
|
|
37227
|
-
|
|
37228
|
-
// <div className={' row m-0 p-0 mb-2 w-100 '}>
|
|
37229
|
-
// <div
|
|
37230
|
-
// className="col-12 p-0 text-start px-3"
|
|
37231
|
-
// onClick={() => {
|
|
37232
|
-
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
37233
|
-
// }}
|
|
37234
|
-
// >
|
|
37235
|
-
// <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{langdetect == 'en' ? collitem.title_en : collitem.title_ar}</p>
|
|
37236
|
-
// </div>
|
|
37237
|
-
|
|
37238
|
-
// <div className="col-lg-12 p-0">
|
|
37239
|
-
// <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
|
|
37240
|
-
// </div>
|
|
37241
|
-
// </div>
|
|
37242
|
-
;
|
|
37362
|
+
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar)));
|
|
37243
37363
|
}
|
|
37244
37364
|
}));
|
|
37245
37365
|
};
|
|
@@ -37375,7 +37495,7 @@ if(item.isnavigation==1&&item.isactive==1&&item.pageorderindex>0){if(window.loca
|
|
|
37375
37495
|
function ownKeys$1_(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; }
|
|
37376
37496
|
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
37377
37497
|
var Header8 = function Header8(props) {
|
|
37378
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$
|
|
37498
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i24, _authdetailsContext$i26, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
37379
37499
|
var actions = props.actions;
|
|
37380
37500
|
props.actions.history;
|
|
37381
37501
|
var lang = props.actions.lang;
|
|
@@ -37470,6 +37590,10 @@ var Header8 = function Header8(props) {
|
|
|
37470
37590
|
flooringmenu2 = _useState36[0],
|
|
37471
37591
|
setflooringmenu2 = _useState36[1];
|
|
37472
37592
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
37593
|
+
var _useState37 = useState(false),
|
|
37594
|
+
_useState38 = _slicedToArray(_useState37, 2),
|
|
37595
|
+
menuactive = _useState38[0],
|
|
37596
|
+
setmenuactive = _useState38[1];
|
|
37473
37597
|
useEffect(function () {
|
|
37474
37598
|
var _StatePagePropertiesC;
|
|
37475
37599
|
var secpropobj = {};
|
|
@@ -37620,6 +37744,21 @@ var Header8 = function Header8(props) {
|
|
|
37620
37744
|
})));
|
|
37621
37745
|
};
|
|
37622
37746
|
var header_cssstyles = {
|
|
37747
|
+
menuiconn: css({
|
|
37748
|
+
backgroundColor: sectionproperties.menuiconbgcolor,
|
|
37749
|
+
width: sectionproperties.menuiconwidth,
|
|
37750
|
+
height: sectionproperties.menuiconheight,
|
|
37751
|
+
marginRight: langdetect == 'en' ? 30 : 0,
|
|
37752
|
+
marginLeft: langdetect == 'en' ? 0 : 30,
|
|
37753
|
+
borderRadius: 100,
|
|
37754
|
+
color: sectionproperties.menuiconcolor,
|
|
37755
|
+
':hover': {
|
|
37756
|
+
transition: '.3s',
|
|
37757
|
+
cursor: 'pointer',
|
|
37758
|
+
backgroundColor: sectionproperties.menuiconbgcoloronhover,
|
|
37759
|
+
color: sectionproperties.menuiconcoloronhover
|
|
37760
|
+
}
|
|
37761
|
+
}),
|
|
37623
37762
|
floatingwaicon: css({
|
|
37624
37763
|
position: 'fixed',
|
|
37625
37764
|
bottom: sectionproperties.floatingwhatsapppositionfrombottom + 'px',
|
|
@@ -38008,11 +38147,13 @@ var Header8 = function Header8(props) {
|
|
|
38008
38147
|
sectionpropertiesprops: sectionproperties,
|
|
38009
38148
|
templateproperties_contextprops: templateproperties_context,
|
|
38010
38149
|
actions: actions
|
|
38011
|
-
})), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React.createElement(
|
|
38150
|
+
})), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
38151
|
+
"class": "col-12 p-0 d-flex d-md-none"
|
|
38152
|
+
}, /*#__PURE__*/React.createElement(SocialMediaSection, {
|
|
38012
38153
|
sectionpropertiesprops: sectionproperties,
|
|
38013
38154
|
templateproperties_contextprops: templateproperties_context,
|
|
38014
38155
|
actions: actions
|
|
38015
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
38156
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
38016
38157
|
"class": "".concat(header_cssstyles.headercontainer) + ' row ml-0 mr-0 d-flex d-md-none align-items-center ',
|
|
38017
38158
|
style: {
|
|
38018
38159
|
position: sectionproperties.headerstyles_position,
|
|
@@ -38023,8 +38164,20 @@ var Header8 = function Header8(props) {
|
|
|
38023
38164
|
}, /*#__PURE__*/React.createElement("div", {
|
|
38024
38165
|
"class": header_cssstyles.upperheadersection + ' row w-100 m-0 align-items-center px-1025-1 '
|
|
38025
38166
|
}, /*#__PURE__*/React.createElement("div", {
|
|
38026
|
-
"class": "col-lg-2 p-0"
|
|
38027
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
38167
|
+
"class": "col-lg-2 p-0 d-flex align-items-center"
|
|
38168
|
+
}, sectionproperties.showmenuicon == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
38169
|
+
style: {},
|
|
38170
|
+
"class": header_cssstyles.menuiconn + ' allcentered ',
|
|
38171
|
+
onClick: function onClick() {
|
|
38172
|
+
if (menuactive == true) {
|
|
38173
|
+
setmenuactive(false);
|
|
38174
|
+
} else {
|
|
38175
|
+
setmenuactive(true);
|
|
38176
|
+
}
|
|
38177
|
+
}
|
|
38178
|
+
}, /*#__PURE__*/React.createElement(FiMenu, {
|
|
38179
|
+
size: sectionproperties.menuiconfontsize
|
|
38180
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
38028
38181
|
"class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
|
|
38029
38182
|
style: {
|
|
38030
38183
|
cursor: 'pointer'
|
|
@@ -38123,7 +38276,7 @@ var Header8 = function Header8(props) {
|
|
|
38123
38276
|
}
|
|
38124
38277
|
}), /*#__PURE__*/React.createElement("button", {
|
|
38125
38278
|
"class": " ".concat(header_cssstyles.searchbar_icon_cont) + ' d-flex align-items-center justify-content-center '
|
|
38126
|
-
}, /*#__PURE__*/React.createElement(BsSearch, {
|
|
38279
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '683c163d7f996' && langdetect == 'en' ? 'Search' : 'ابحث', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) != '683c163d7f996' && /*#__PURE__*/React.createElement(BsSearch, {
|
|
38127
38280
|
color: sectionproperties.searchbaricon_color,
|
|
38128
38281
|
size: sectionproperties.searchbaricon_fontsize
|
|
38129
38282
|
})), /*#__PURE__*/React.createElement(Searchlist$1, {
|
|
@@ -38148,7 +38301,7 @@ var Header8 = function Header8(props) {
|
|
|
38148
38301
|
"class": "d-flex align-items-center flex-column"
|
|
38149
38302
|
}, /*#__PURE__*/React.createElement("p", {
|
|
38150
38303
|
"class": header_cssstyles.storeinfotext + ' m-0 storeinfotext '
|
|
38151
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38304
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.contactinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.mobile), /*#__PURE__*/React.createElement("p", {
|
|
38152
38305
|
"class": "mb-0 w-100",
|
|
38153
38306
|
style: {
|
|
38154
38307
|
textAlign: langdetect == 'en' ? 'right' : 'left',
|
|
@@ -38164,7 +38317,7 @@ var Header8 = function Header8(props) {
|
|
|
38164
38317
|
paddingLeft: langdetect == 'en' ? sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '.3rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem' : 0,
|
|
38165
38318
|
paddingRight: langdetect == 'en' ? 0 : sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '1rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem'
|
|
38166
38319
|
}
|
|
38167
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38320
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '696e02860f043' && /*#__PURE__*/React.createElement("button", {
|
|
38168
38321
|
onClick: function onClick() {
|
|
38169
38322
|
routingcountext(StaticPagesLinksContext.Compare);
|
|
38170
38323
|
},
|
|
@@ -38173,7 +38326,7 @@ var Header8 = function Header8(props) {
|
|
|
38173
38326
|
"class": header_cssstyles.wishlist_btn + ' allcentered p-0 '
|
|
38174
38327
|
}, /*#__PURE__*/React.createElement(MdCompareArrows, {
|
|
38175
38328
|
size: sectionproperties.userBtniconfontsize
|
|
38176
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38329
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement("button", {
|
|
38177
38330
|
onClick: function onClick() {
|
|
38178
38331
|
routingcountext(StaticPagesLinksContext.Compare);
|
|
38179
38332
|
},
|
|
@@ -38281,9 +38434,9 @@ var Header8 = function Header8(props) {
|
|
|
38281
38434
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
38282
38435
|
}, /*#__PURE__*/React.createElement("p", {
|
|
38283
38436
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38284
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38437
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React.createElement("span", {
|
|
38285
38438
|
"class": "ml-2 mr-2"
|
|
38286
|
-
}, " ", langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38439
|
+
}, " ", langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React.createElement("span", {
|
|
38287
38440
|
"class": "ml-2 mr-2"
|
|
38288
38441
|
}, lang.wishlist)))), /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
38289
38442
|
onClick: function onClick() {
|
|
@@ -38336,7 +38489,7 @@ var Header8 = function Header8(props) {
|
|
|
38336
38489
|
"class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer d-flex align-items-center justify-content-center '
|
|
38337
38490
|
}, /*#__PURE__*/React.createElement("div", {
|
|
38338
38491
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
|
|
38339
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0), /*#__PURE__*/React.createElement("i", {
|
|
38492
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0), sectionproperties.carticonstyle != "I'll use my own SVG" && /*#__PURE__*/React.createElement("i", {
|
|
38340
38493
|
"class": "h-100 allcentered"
|
|
38341
38494
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
38342
38495
|
size: sectionproperties.cartBtn_iconFontSize
|
|
@@ -38352,7 +38505,51 @@ var Header8 = function Header8(props) {
|
|
|
38352
38505
|
size: sectionproperties.cartBtn_iconFontSize
|
|
38353
38506
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
|
|
38354
38507
|
size: sectionproperties.cartBtn_iconFontSize
|
|
38355
|
-
}))
|
|
38508
|
+
})), sectionproperties.carticonstyle == "I'll use my own SVG" && /*#__PURE__*/React.createElement("div", {
|
|
38509
|
+
"class": "h-100 allcentered ",
|
|
38510
|
+
style: {
|
|
38511
|
+
width: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
38512
|
+
height: sectionproperties.cartBtn_iconFontSize + 'px'
|
|
38513
|
+
}
|
|
38514
|
+
// dangerouslySetInnerHTML={{ __html: sectionproperties.cartsvg }}
|
|
38515
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
38516
|
+
viewBox: "0 0 24 24",
|
|
38517
|
+
fill: "none",
|
|
38518
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
38519
|
+
stroke: "#ffffff"
|
|
38520
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
38521
|
+
id: "SVGRepo_bgCarrier",
|
|
38522
|
+
"stroke-width": "0"
|
|
38523
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
38524
|
+
id: "SVGRepo_tracerCarrier",
|
|
38525
|
+
"stroke-linecap": "round",
|
|
38526
|
+
"stroke-linejoin": "round"
|
|
38527
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
38528
|
+
id: "SVGRepo_iconCarrier"
|
|
38529
|
+
}, ' ', /*#__PURE__*/React.createElement("path", {
|
|
38530
|
+
d: "M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",
|
|
38531
|
+
stroke: "#ffffff",
|
|
38532
|
+
"stroke-width": "1.5"
|
|
38533
|
+
}), ' ', /*#__PURE__*/React.createElement("path", {
|
|
38534
|
+
d: "M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",
|
|
38535
|
+
stroke: "#ffffff",
|
|
38536
|
+
"stroke-width": "1.5"
|
|
38537
|
+
}), ' ', /*#__PURE__*/React.createElement("path", {
|
|
38538
|
+
d: "M9.5 9L10.0282 12.1179",
|
|
38539
|
+
stroke: "#ffffff",
|
|
38540
|
+
"stroke-width": "1.5",
|
|
38541
|
+
"stroke-linecap": "round"
|
|
38542
|
+
}), ' ', /*#__PURE__*/React.createElement("path", {
|
|
38543
|
+
d: "M15.5283 9L15.0001 12.1179",
|
|
38544
|
+
stroke: "#ffffff",
|
|
38545
|
+
"stroke-width": "1.5",
|
|
38546
|
+
"stroke-linecap": "round"
|
|
38547
|
+
}), ' ', /*#__PURE__*/React.createElement("path", {
|
|
38548
|
+
d: "M2 3L2.26121 3.09184C3.5628 3.54945 4.2136 3.77826 4.58584 4.32298C4.95808 4.86771 4.95808 5.59126 4.95808 7.03836V9.76C4.95808 12.7016 5.02132 13.6723 5.88772 14.5862C6.75412 15.5 8.14857 15.5 10.9375 15.5H12M16.2404 15.5C17.8014 15.5 18.5819 15.5 19.1336 15.0504C19.6853 14.6008 19.8429 13.8364 20.158 12.3075L20.6578 9.88275C21.0049 8.14369 21.1784 7.27417 20.7345 6.69708C20.2906 6.12 18.7738 6.12 17.0888 6.12H11.0235M4.95808 6.12H7",
|
|
38549
|
+
stroke: "#ffffff",
|
|
38550
|
+
"stroke-width": "1.5",
|
|
38551
|
+
"stroke-linecap": "round"
|
|
38552
|
+
}), ' ')))), /*#__PURE__*/React.createElement("div", {
|
|
38356
38553
|
"class": langdetect == 'en' ? 'ml-2 d-flex d-lg-none' : 'mr-2 d-flex d-lg-none'
|
|
38357
38554
|
}, /*#__PURE__*/React.createElement("div", {
|
|
38358
38555
|
"class": "row m-0 w-100 d-flex align-items-center flex-column justify-content-start"
|
|
@@ -38375,7 +38572,7 @@ var Header8 = function Header8(props) {
|
|
|
38375
38572
|
fontWeight: sectionproperties.secondaryfontweight,
|
|
38376
38573
|
cursor: 'pointer'
|
|
38377
38574
|
}
|
|
38378
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38575
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) != '68c69dcc53e94' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) != '696691293c2a6' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
38379
38576
|
"class": "d-flex flex-row justify-content-end align-items-center",
|
|
38380
38577
|
onClick: function onClick() {
|
|
38381
38578
|
if (langdetect == 'en') {
|
|
@@ -38396,7 +38593,7 @@ var Header8 = function Header8(props) {
|
|
|
38396
38593
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
38397
38594
|
}, /*#__PURE__*/React.createElement("span", {
|
|
38398
38595
|
"class": "mx-2"
|
|
38399
|
-
}, sectionproperties.englishlanguagetext))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38596
|
+
}, sectionproperties.englishlanguagetext))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '696691293c2a6' && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
38400
38597
|
"class": "".concat(header_cssstyles.header_menu2) + ' allcentered mx-2 '
|
|
38401
38598
|
}, langdetect == 'ar' &&
|
|
38402
38599
|
/*#__PURE__*/
|
|
@@ -38434,7 +38631,7 @@ var Header8 = function Header8(props) {
|
|
|
38434
38631
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38435
38632
|
}, /*#__PURE__*/React.createElement("span", {
|
|
38436
38633
|
"class": "ml-2 mr-2"
|
|
38437
|
-
}, 'English')))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38634
|
+
}, 'English')))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
38438
38635
|
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-2 '
|
|
38439
38636
|
}, /*#__PURE__*/React.createElement(BiGlobe, {
|
|
38440
38637
|
size: 23
|
|
@@ -38460,7 +38657,7 @@ var Header8 = function Header8(props) {
|
|
|
38460
38657
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38461
38658
|
}, /*#__PURE__*/React.createElement("span", {
|
|
38462
38659
|
"class": "ml-2 mr-2"
|
|
38463
|
-
}, 'English')))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38660
|
+
}, 'English')))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '68c69dcc53e94' && /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
38464
38661
|
"class": "".concat(header_cssstyles.header_menu) + ' allcentered mx-2 '
|
|
38465
38662
|
}, langdetect == 'ar' &&
|
|
38466
38663
|
/*#__PURE__*/
|
|
@@ -38498,7 +38695,7 @@ var Header8 = function Header8(props) {
|
|
|
38498
38695
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38499
38696
|
}, /*#__PURE__*/React.createElement("span", {
|
|
38500
38697
|
"class": "ml-2 mr-2"
|
|
38501
|
-
}, 'English')))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38698
|
+
}, 'English')))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.instcurrencies) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.length) > 1 && /*#__PURE__*/React.createElement("div", {
|
|
38502
38699
|
"class": langdetect == 'en' ? 'col-lasdg-2 d-flex align-items-center justify-content-end ml-2 ' : 'col-lasdg-2 d-flex align-items-center justify-content-end mr-2 '
|
|
38503
38700
|
}, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, /*#__PURE__*/React.createElement("li", {
|
|
38504
38701
|
"class": ' d-flex align-items-center justify-content-center ',
|
|
@@ -38513,8 +38710,8 @@ var Header8 = function Header8(props) {
|
|
|
38513
38710
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
38514
38711
|
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("p", {
|
|
38515
38712
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
38516
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38517
|
-
var _authdetailsContext$
|
|
38713
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(MdKeyboardArrowDown, null)))), /*#__PURE__*/React.createElement(Dropdown.Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.instcurrencies) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.map(function (item, index) {
|
|
38714
|
+
var _authdetailsContext$i23;
|
|
38518
38715
|
return /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
38519
38716
|
onClick: function onClick() {
|
|
38520
38717
|
setcurrencyfunccontext(item);
|
|
@@ -38534,7 +38731,7 @@ var Header8 = function Header8(props) {
|
|
|
38534
38731
|
}
|
|
38535
38732
|
}, /*#__PURE__*/React.createElement(FaMoneyBillWave, null), /*#__PURE__*/React.createElement("span", {
|
|
38536
38733
|
"class": 'ml-2 mr-2'
|
|
38537
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38734
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 || (_authdetailsContext$i23 = _authdetailsContext$i23.instcurrencies) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.length) - 1 && /*#__PURE__*/React.createElement("div", {
|
|
38538
38735
|
"class": "col-lg-12 p-0"
|
|
38539
38736
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
38540
38737
|
"class": "m-0"
|
|
@@ -38566,9 +38763,9 @@ var Header8 = function Header8(props) {
|
|
|
38566
38763
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React.createElement("ul", {
|
|
38567
38764
|
"class": "w-100 mt-2",
|
|
38568
38765
|
style: {}
|
|
38569
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38570
|
-
var _authdetailsContext$
|
|
38571
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38766
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.instcategories) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.map(function (item, index) {
|
|
38767
|
+
var _authdetailsContext$i25;
|
|
38768
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instcategories;
|
|
38572
38769
|
if (item.isshowntocustomers == 1) {
|
|
38573
38770
|
return /*#__PURE__*/React.createElement("div", {
|
|
38574
38771
|
"class": "w-100"
|
|
@@ -38581,9 +38778,9 @@ var Header8 = function Header8(props) {
|
|
|
38581
38778
|
"class": "w-100"
|
|
38582
38779
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
38583
38780
|
}
|
|
38584
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38585
|
-
var _authdetailsContext$
|
|
38586
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38781
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 || (_authdetailsContext$i26 = _authdetailsContext$i26.instcollections) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.map(function (item, index) {
|
|
38782
|
+
var _authdetailsContext$i27;
|
|
38783
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.instcollections;
|
|
38587
38784
|
if (item.isshowntocustomers == 1) {
|
|
38588
38785
|
return /*#__PURE__*/React.createElement("div", {
|
|
38589
38786
|
"class": "w-100"
|
|
@@ -38599,15 +38796,15 @@ var Header8 = function Header8(props) {
|
|
|
38599
38796
|
justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
38600
38797
|
}
|
|
38601
38798
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
38602
|
-
var _authdetailsContext$
|
|
38799
|
+
var _authdetailsContext$i28;
|
|
38603
38800
|
var activeclass = '';
|
|
38604
38801
|
if (item.isselected) {
|
|
38605
38802
|
activeclass = header_cssstyles.navbar_item_active;
|
|
38606
38803
|
}
|
|
38607
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38804
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.instid) == '68c69dcc53e94') {
|
|
38608
38805
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
38609
38806
|
if (item.pagename != 'Services' && item.pagename != 'Isolation' && item.pagename != 'Flooring' && item.pagename != 'Projects') {
|
|
38610
|
-
var _authdetailsContext$
|
|
38807
|
+
var _authdetailsContext$i29, _authdetailsContext$i30;
|
|
38611
38808
|
return /*#__PURE__*/React.createElement("div", {
|
|
38612
38809
|
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
38613
38810
|
onClick: function onClick() {
|
|
@@ -38616,21 +38813,21 @@ var Header8 = function Header8(props) {
|
|
|
38616
38813
|
style: {
|
|
38617
38814
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
38618
38815
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
38619
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38620
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38816
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
38817
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
38621
38818
|
}
|
|
38622
38819
|
}, /*#__PURE__*/React.createElement("div", {
|
|
38623
38820
|
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
38624
38821
|
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
38625
38822
|
} else if (item.pagename == 'Services') {
|
|
38626
|
-
var _authdetailsContext$
|
|
38823
|
+
var _authdetailsContext$i31, _authdetailsContext$i32;
|
|
38627
38824
|
return /*#__PURE__*/React.createElement("div", {
|
|
38628
38825
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
38629
38826
|
style: {
|
|
38630
38827
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
38631
38828
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
38632
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38633
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38829
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
38830
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
38634
38831
|
},
|
|
38635
38832
|
onMouseEnter: function onMouseEnter() {
|
|
38636
38833
|
setservicesmenu(true);
|
|
@@ -38806,14 +39003,14 @@ var Header8 = function Header8(props) {
|
|
|
38806
39003
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
38807
39004
|
}, langdetect == 'en' ? 'Soil drying' : 'تجفيف التربة'))))))));
|
|
38808
39005
|
} else if (item.pagename == 'Isolation') {
|
|
38809
|
-
var _authdetailsContext$
|
|
39006
|
+
var _authdetailsContext$i33, _authdetailsContext$i34;
|
|
38810
39007
|
return /*#__PURE__*/React.createElement("div", {
|
|
38811
39008
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
38812
39009
|
style: {
|
|
38813
39010
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
38814
39011
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
38815
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38816
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39012
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39013
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
38817
39014
|
},
|
|
38818
39015
|
onMouseEnter: function onMouseEnter() {
|
|
38819
39016
|
setisolationmenu(true);
|
|
@@ -39217,14 +39414,14 @@ var Header8 = function Header8(props) {
|
|
|
39217
39414
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39218
39415
|
}, "\u0641\u064A\u0646\u064A\u0644")))))))))))));
|
|
39219
39416
|
} else if (item.pagename == 'Flooring') {
|
|
39220
|
-
var _authdetailsContext$
|
|
39417
|
+
var _authdetailsContext$i35, _authdetailsContext$i36;
|
|
39221
39418
|
return /*#__PURE__*/React.createElement("div", {
|
|
39222
39419
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39223
39420
|
style: {
|
|
39224
39421
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39225
39422
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39226
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39227
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39423
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39424
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39228
39425
|
},
|
|
39229
39426
|
onMouseEnter: function onMouseEnter() {
|
|
39230
39427
|
setflooringmenu(true);
|
|
@@ -39561,14 +39758,14 @@ var Header8 = function Header8(props) {
|
|
|
39561
39758
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39562
39759
|
}, "\u0627\u0631\u0636\u064A\u0627\u062A \u0627\u0644\u0635\u0627\u0644\u0627\u062A \u0627\u0644\u0631\u064A\u0627\u0636\u064A\u0629"))))))));
|
|
39563
39760
|
} else if (item.pagename == 'Projects') {
|
|
39564
|
-
var _authdetailsContext$
|
|
39761
|
+
var _authdetailsContext$i37, _authdetailsContext$i38;
|
|
39565
39762
|
return /*#__PURE__*/React.createElement("div", {
|
|
39566
39763
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39567
39764
|
style: {
|
|
39568
39765
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39569
39766
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39570
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39571
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39767
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39768
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39572
39769
|
},
|
|
39573
39770
|
onMouseEnter: function onMouseEnter() {
|
|
39574
39771
|
setflooringmenu2(true);
|
|
@@ -39719,7 +39916,57 @@ var Header8 = function Header8(props) {
|
|
|
39719
39916
|
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader Only' && /*#__PURE__*/React.createElement(HeaderresponsiveStyle2, {
|
|
39720
39917
|
sectionpropertiesprops: sectionproperties,
|
|
39721
39918
|
actions: actions
|
|
39722
|
-
})
|
|
39919
|
+
}), /*#__PURE__*/React.createElement(Offcanvas, {
|
|
39920
|
+
show: menuactive,
|
|
39921
|
+
onHide: function onHide() {
|
|
39922
|
+
setmenuactive(false);
|
|
39923
|
+
},
|
|
39924
|
+
placement: langdetect == 'en' ? 'start' : 'end',
|
|
39925
|
+
scroll: true,
|
|
39926
|
+
style: {
|
|
39927
|
+
width: sectionproperties.categoriessliderwidth + '%',
|
|
39928
|
+
background: sectionproperties.categoriessliderbgcolor
|
|
39929
|
+
},
|
|
39930
|
+
backdrop: true
|
|
39931
|
+
}, /*#__PURE__*/React.createElement(Offcanvas.Header, null, /*#__PURE__*/React.createElement(Offcanvas.Title, null, /*#__PURE__*/React.createElement("div", {
|
|
39932
|
+
className: "row m-0 w-100 mb-4 pt-4 pl-3 pr-3",
|
|
39933
|
+
style: {}
|
|
39934
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
39935
|
+
className: 'col-9 d-flex align-items-center '
|
|
39936
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
39937
|
+
className: "m-0 p-0",
|
|
39938
|
+
style: {
|
|
39939
|
+
fontWeight: sectionproperties.categoriesslidertitlefontweight,
|
|
39940
|
+
fontSize: sectionproperties.categoriesslidertitlefontsize + 'px',
|
|
39941
|
+
color: sectionproperties.categoriesslidertitlecolor
|
|
39942
|
+
}
|
|
39943
|
+
}, langdetect == 'en' ? sectionproperties.categoriesslidertitleenglish : sectionproperties.categoriesslidertitlearabic)), /*#__PURE__*/React.createElement("div", {
|
|
39944
|
+
"class": "col-3 text-end",
|
|
39945
|
+
onClick: function onClick() {
|
|
39946
|
+
setmenuactive(false);
|
|
39947
|
+
}
|
|
39948
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
39949
|
+
"class": "allcentered",
|
|
39950
|
+
style: {
|
|
39951
|
+
width: sectionproperties.categoriesslidercloseiconwidth,
|
|
39952
|
+
height: sectionproperties.categoriesslidercloseiconheight,
|
|
39953
|
+
background: sectionproperties.categoriesslidercloseiconbgcolor,
|
|
39954
|
+
cursor: 'pointer'
|
|
39955
|
+
}
|
|
39956
|
+
}, /*#__PURE__*/React.createElement(IoMdClose, {
|
|
39957
|
+
color: sectionproperties.categoriesslidercloseiconcolor,
|
|
39958
|
+
size: sectionproperties.categoriesslidercloseiconsize
|
|
39959
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
39960
|
+
"class": "col-12 mt-3"
|
|
39961
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
39962
|
+
style: {
|
|
39963
|
+
borderBottom: sectionproperties.categoriesslidertitleborderwidth + 'px solid ' + sectionproperties.categoriesslidertitlebordercolor
|
|
39964
|
+
}
|
|
39965
|
+
}))))), /*#__PURE__*/React.createElement(Offcanvas.Body, null, /*#__PURE__*/React.createElement(SubheaderDropdown, {
|
|
39966
|
+
sectionpropertiesprops: sectionproperties,
|
|
39967
|
+
actions: actions,
|
|
39968
|
+
setmenuactive: setmenuactive
|
|
39969
|
+
}))));
|
|
39723
39970
|
};
|
|
39724
39971
|
|
|
39725
39972
|
var css_248z$u = ".headerresturant-module_header_innercontainer__K3I1g {\r\n display: flex;\r\n align-items: center;\r\n align-content: center;\r\n z-index: 10;\r\n}\r\n/* .header_innercontainer .navbar ul {\r\n margin: 0;\r\n padding: 0;\r\n display: flex;\r\n list-style: none;\r\n align-items: center;\r\n}\r\n.header_innercontainer .navbar ul li {\r\n position: relative !important;\r\n} */\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item__Exl8b {\r\n position: relative;\r\n cursor: pointer;\r\n white-space: nowrap;\r\n display: flex;\r\n align-items: center;\r\n}\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item__Exl8b .headerresturant-module_navbar_item_text__psv09 {\r\n transition: transform 0.3s cubic-bezier(0.2, 1, 0.8, 1);\r\n transition: 0.3s;\r\n padding: 0;\r\n}\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item__Exl8b .headerresturant-module_navbar_item_text__psv09:after {\r\n content: '';\r\n width: 7px;\r\n height: 7px;\r\n position: absolute;\r\n left: -12px !important;\r\n bottom: 0;\r\n top:0;\r\n margin: auto !important;\r\n border-radius: 50%;\r\n margin: 0 auto;\r\n opacity: 0;\r\n -webkit-transition: all, 0.3s;\r\n -moz-transition: all, 0.3s;\r\n -ms-transition: all, 0.3s;\r\n -o-transition: all, 0.3s;\r\n transition: all, 0.3s;\r\n}\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item__Exl8b:hover .headerresturant-module_navbar_item_text__psv09:after {\r\n opacity: 1;\r\n}\r\n.headerresturant-module_navbar_item_active__8BCbD .headerresturant-module_navbar_item_text__psv09:after{\r\n opacity: 1 !important;\r\n}\r\n/* Side Nav Active */\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item_active__8BCbD .headerresturant-module_navbar_item_text__psv09:after {\r\n opacity: 1;\r\n}\r\n\r\n/* Search Bar */\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_searchbarcont__4VPWj input::placeholder {\r\n color: #8c8c8c;\r\n font-weight: normal;\r\n}\r\n\r\n/* Language Container */\r\n.headerresturant-module_language_cont__LwHIK {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n text-align: center;\r\n width: 3.5vh;\r\n height: 3.5vh;\r\n border-radius: 5px;\r\n /* color: #022648; */\r\n /* background-color: white; */\r\n font-size: 13px;\r\n line-height: 4vh;\r\n transition: 0.3s ease, color 0.3s ease;\r\n font-weight: 600;\r\n}\r\n\r\n/* Badge */\r\n.headerresturant-module_badge_counter_header_notifications__mGA2- {\r\n position: absolute;\r\n transform: scale(0.3);\r\n transform-origin: top right;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}";
|
|
@@ -41593,11 +41840,13 @@ var Modernheader = function Modernheader(props) {
|
|
|
41593
41840
|
}, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React.createElement(DownloadApp, {
|
|
41594
41841
|
sectionpropertiesprops: sectionproperties,
|
|
41595
41842
|
actions: actions
|
|
41596
|
-
}), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React.createElement(
|
|
41843
|
+
}), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
41844
|
+
"class": "col-12 d-flex d-md-none p-0"
|
|
41845
|
+
}, /*#__PURE__*/React.createElement(SocialMediaSection, {
|
|
41597
41846
|
sectionpropertiesprops: sectionproperties,
|
|
41598
41847
|
templateproperties_contextprops: templateproperties_context,
|
|
41599
41848
|
actions: actions
|
|
41600
|
-
}), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
41849
|
+
})), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
41601
41850
|
"class": "col-lg-12 p-0 d-md-none",
|
|
41602
41851
|
style: {
|
|
41603
41852
|
zIndex: 100
|
|
@@ -76951,16 +77200,31 @@ var Servicesection = function Servicesection(props) {
|
|
|
76951
77200
|
}
|
|
76952
77201
|
}),
|
|
76953
77202
|
sectiontitlespan: css({
|
|
77203
|
+
color: sectionproperties.sectionTitleColor,
|
|
77204
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
77205
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
77206
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
77207
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
76954
77208
|
':after': {
|
|
76955
77209
|
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
76956
77210
|
backgroundColor: sectionproperties.linebgcolor
|
|
77211
|
+
},
|
|
77212
|
+
'@media (max-width: 800px)': {
|
|
77213
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
76957
77214
|
}
|
|
76958
77215
|
}),
|
|
76959
77216
|
sectiontitlespan2: css({
|
|
77217
|
+
color: sectionproperties.sectionTitleColor,
|
|
77218
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
77219
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
77220
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
76960
77221
|
':after': {
|
|
76961
77222
|
width: sectionproperties.sectitle_lineafterwidth + 'px',
|
|
76962
77223
|
height: '100%',
|
|
76963
77224
|
backgroundColor: sectionproperties.linebgcolor
|
|
77225
|
+
},
|
|
77226
|
+
'@media (max-width: 800px)': {
|
|
77227
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
76964
77228
|
}
|
|
76965
77229
|
})
|
|
76966
77230
|
};
|
|
@@ -77033,13 +77297,7 @@ var Servicesection = function Servicesection(props) {
|
|
|
77033
77297
|
}
|
|
77034
77298
|
}, /*#__PURE__*/React.createElement("span", {
|
|
77035
77299
|
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(section_styles.sectiontitlespan) + ' PacificoFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(section_styles.sectiontitlespan) + ' PlayfairFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(section_styles.sectiontitlespan) + ' GreatvibesFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(section_styles.sectiontitlespan) + ' QuicksandFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(section_styles.sectiontitlespan) + ' SatisfyFont mb-0 pb-0 wordbreak ' : "".concat(section_styles.sectiontitlespan) + ' mb-0 pb-0 wordbreak ',
|
|
77036
|
-
style: {
|
|
77037
|
-
color: sectionproperties.sectionTitleColor,
|
|
77038
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
77039
|
-
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
77040
|
-
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
77041
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
77042
|
-
}
|
|
77300
|
+
style: {}
|
|
77043
77301
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.sectiontitleshow == 'Show' && sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("div", {
|
|
77044
77302
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
|
|
77045
77303
|
style: {
|
|
@@ -77053,12 +77311,7 @@ var Servicesection = function Servicesection(props) {
|
|
|
77053
77311
|
}
|
|
77054
77312
|
}, /*#__PURE__*/React.createElement("span", {
|
|
77055
77313
|
"class": "".concat(section_styles.sectiontitlespan2),
|
|
77056
|
-
style: {
|
|
77057
|
-
color: sectionproperties.sectionTitleColor,
|
|
77058
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
77059
|
-
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
77060
|
-
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
77061
|
-
}
|
|
77314
|
+
style: {}
|
|
77062
77315
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
77063
77316
|
"class": ' col-lg-12 col-md-12 col-sm-12 d-flex d-md-none align-items-center p-0 ',
|
|
77064
77317
|
style: {
|
|
@@ -93199,14 +93452,15 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93199
93452
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
93200
93453
|
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
93201
93454
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
93202
|
-
color: sectionproperties.
|
|
93455
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
93203
93456
|
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
93204
93457
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
93205
93458
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
93206
93459
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
93207
93460
|
':hover': {
|
|
93208
93461
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93209
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93462
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
93463
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
93210
93464
|
}
|
|
93211
93465
|
}),
|
|
93212
93466
|
cart_btn_bottom: css((_css = {
|
|
@@ -93218,9 +93472,10 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93218
93472
|
margin: 'auto',
|
|
93219
93473
|
transition: 'all, 0.3s',
|
|
93220
93474
|
width: sectionproperties.cartBtnWidth + 'px'
|
|
93221
|
-
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_css, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.
|
|
93475
|
+
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_css, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cartBtnTextcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty(_css, ':hover', {
|
|
93222
93476
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93223
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93477
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
93478
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
93224
93479
|
}))),
|
|
93225
93480
|
cart_btn_center: css((_css2 = {
|
|
93226
93481
|
position: 'absolute',
|
|
@@ -93231,9 +93486,10 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93231
93486
|
margin: 'auto',
|
|
93232
93487
|
transition: 'all, 0.3s',
|
|
93233
93488
|
width: sectionproperties.cartBtnWidth + 'px'
|
|
93234
|
-
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_css2, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.
|
|
93489
|
+
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_css2, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cartBtnTextcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty(_css2, ':hover', {
|
|
93235
93490
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93236
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93491
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
93492
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
93237
93493
|
}))),
|
|
93238
93494
|
productcard: css({
|
|
93239
93495
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
@@ -93272,9 +93528,10 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93272
93528
|
margin: 'auto',
|
|
93273
93529
|
transition: 'all, 0.3s',
|
|
93274
93530
|
width: sectionproperties.cartBtnWidth + 'px'
|
|
93275
|
-
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_css3, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.
|
|
93531
|
+
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_css3, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cartBtnTextcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty(_css3, ':hover', {
|
|
93276
93532
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93277
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93533
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
93534
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
93278
93535
|
}))),
|
|
93279
93536
|
imageContainer: css({
|
|
93280
93537
|
backgroundColor: sectionproperties.image_bgcolor,
|
|
@@ -93452,13 +93709,36 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
93452
93709
|
"class": "m-0 p-0"
|
|
93453
93710
|
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React.createElement("div", {
|
|
93454
93711
|
"class": sectionproperties.paddingLeft == 0 ? 'row m-0 w-100 text-center mt-2 px-2' : 'row m-0 w-100 text-center mt-2'
|
|
93455
|
-
},
|
|
93712
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
93713
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center justify-content-center",
|
|
93714
|
+
style: {
|
|
93715
|
+
visibility: item.quantavailtype == 'nolimit' ? 'visible' : item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
93716
|
+
}
|
|
93717
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
93718
|
+
"class": "m-0 p-0",
|
|
93719
|
+
style: {
|
|
93720
|
+
width: 8,
|
|
93721
|
+
height: 8,
|
|
93722
|
+
borderRadius: 100,
|
|
93723
|
+
background: 'green'
|
|
93724
|
+
}
|
|
93725
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
93726
|
+
"class": 'm-0 mx-2 p-0',
|
|
93727
|
+
style: {
|
|
93728
|
+
color: 'green',
|
|
93729
|
+
fontSize: 13,
|
|
93730
|
+
fontWeight: 400
|
|
93731
|
+
}
|
|
93732
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
93456
93733
|
"class": "col-lg-12 p-0"
|
|
93457
93734
|
}, /*#__PURE__*/React.createElement("p", {
|
|
93458
93735
|
onClick: function onClick() {
|
|
93459
93736
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
93460
93737
|
},
|
|
93461
|
-
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ' : sectionproperties.wordbreak == '2' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak2 text-center ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak3 text-center '
|
|
93738
|
+
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ' : sectionproperties.wordbreak == '2' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak2 text-center ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak3 text-center ',
|
|
93739
|
+
style: {
|
|
93740
|
+
// height: sectionproperties.wordbreak == '2' ? '6vh' : 'auto',
|
|
93741
|
+
}
|
|
93462
93742
|
}, item.name)), /*#__PURE__*/React.createElement("div", {
|
|
93463
93743
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
|
|
93464
93744
|
style: {
|