tabexseriescomponents 0.2.1223 → 0.2.1225
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 +288 -110
- package/dist/index.esm.js +288 -110
- package/dist/index.umd.js +288 -110
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1736,25 +1736,29 @@ 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;
|
|
1739
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
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
|
+
// vout
|
|
1745
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68f918a4ccb85') {
|
|
1746
|
+
is_value_permdisabled = 1;
|
|
1747
|
+
}
|
|
1744
1748
|
// puff
|
|
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) == '6899e604db87f') {
|
|
1746
1750
|
is_value_permdisabled = 1;
|
|
1747
1751
|
}
|
|
1748
1752
|
// dija
|
|
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) == '682cbb9bdcd57') {
|
|
1750
1754
|
is_value_permdisabled = 1;
|
|
1751
1755
|
}
|
|
1752
1756
|
// angel
|
|
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) == '67bda57bca71d') {
|
|
1754
1758
|
is_value_permdisabled = 1;
|
|
1755
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1759
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '69244cc88aa0a') {
|
|
1756
1760
|
is_value_permdisabled = 1;
|
|
1757
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1761
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '687ca57cc78e8') {
|
|
1758
1762
|
is_value_permdisabled = 1;
|
|
1759
1763
|
}
|
|
1760
1764
|
}
|
|
@@ -1783,7 +1787,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1783
1787
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1784
1788
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1785
1789
|
if (is_value_permdisabled == 0) {
|
|
1786
|
-
var _authdetailsContext$
|
|
1790
|
+
var _authdetailsContext$i8, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22;
|
|
1787
1791
|
return /*#__PURE__*/React.createElement("div", {
|
|
1788
1792
|
// className={
|
|
1789
1793
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1795,41 +1799,47 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1795
1799
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1796
1800
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1797
1801
|
// }
|
|
1798
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1802
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.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 : ''),
|
|
1799
1803
|
onClick: function onClick() {
|
|
1800
1804
|
if (isoptionvalueselected == 0) {
|
|
1801
|
-
var _authdetailsContext$
|
|
1802
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1805
|
+
var _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
|
|
1806
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '68d28fc494276') {
|
|
1807
|
+
if (isValueinStock == 0) {
|
|
1808
|
+
return;
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
// vout
|
|
1812
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68f918a4ccb85') {
|
|
1803
1813
|
if (isValueinStock == 0) {
|
|
1804
1814
|
return;
|
|
1805
1815
|
}
|
|
1806
1816
|
}
|
|
1807
1817
|
// puff
|
|
1808
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1818
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6899e604db87f') {
|
|
1809
1819
|
if (isValueinStock == 0) {
|
|
1810
1820
|
return;
|
|
1811
1821
|
}
|
|
1812
1822
|
}
|
|
1813
1823
|
// angel
|
|
1814
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1824
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '67bda57bca71d') {
|
|
1815
1825
|
if (isValueinStock == 0) {
|
|
1816
1826
|
return;
|
|
1817
1827
|
}
|
|
1818
1828
|
}
|
|
1819
1829
|
// dija
|
|
1820
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1830
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1821
1831
|
if (isValueinStock == 0) {
|
|
1822
1832
|
return;
|
|
1823
1833
|
}
|
|
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) == '69244cc88aa0a') {
|
|
1825
1835
|
if (isValueinStock == 0) {
|
|
1826
1836
|
return;
|
|
1827
1837
|
}
|
|
1828
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1838
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '687ca57cc78e8') {
|
|
1829
1839
|
if (isValueinStock == 0) {
|
|
1830
1840
|
return;
|
|
1831
1841
|
}
|
|
1832
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1842
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6899e604db87f') {
|
|
1833
1843
|
if (isValueinStock == 0) {
|
|
1834
1844
|
return;
|
|
1835
1845
|
}
|
|
@@ -1873,14 +1883,16 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1873
1883
|
}, /*#__PURE__*/React.createElement("i", {
|
|
1874
1884
|
"class": "h-100 allcentered"
|
|
1875
1885
|
}, /*#__PURE__*/React.createElement(IoMdClose, null))), /*#__PURE__*/React.createElement("p", {
|
|
1876
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1886
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1887
|
+
// vout
|
|
1888
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1877
1889
|
// puff
|
|
1878
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1890
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1879
1891
|
// angel
|
|
1880
1892
|
|
|
1881
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1893
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1882
1894
|
// dija
|
|
1883
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1895
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.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$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.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$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.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$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1884
1896
|
style: {
|
|
1885
1897
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1886
1898
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1889,43 +1901,49 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1889
1901
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1890
1902
|
}
|
|
1891
1903
|
} else {
|
|
1892
|
-
var _authdetailsContext$
|
|
1904
|
+
var _authdetailsContext$i23, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39;
|
|
1893
1905
|
return /*#__PURE__*/React.createElement("div", {
|
|
1894
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1906
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.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 : ''),
|
|
1895
1907
|
onClick: function onClick() {
|
|
1896
1908
|
if (isoptionvalueselected == 0) {
|
|
1897
|
-
var _authdetailsContext$
|
|
1898
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1909
|
+
var _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31;
|
|
1910
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '68d28fc494276') {
|
|
1911
|
+
if (isValueinStock == 0) {
|
|
1912
|
+
return;
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
// vout
|
|
1916
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68f918a4ccb85') {
|
|
1899
1917
|
if (isValueinStock == 0) {
|
|
1900
1918
|
return;
|
|
1901
1919
|
}
|
|
1902
1920
|
}
|
|
1903
1921
|
// puff n stuff
|
|
1904
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1922
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '6899e604db87f') {
|
|
1905
1923
|
if (isValueinStock == 0) {
|
|
1906
1924
|
return;
|
|
1907
1925
|
}
|
|
1908
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1926
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '69244cc88aa0a') {
|
|
1909
1927
|
if (isValueinStock == 0) {
|
|
1910
1928
|
return;
|
|
1911
1929
|
}
|
|
1912
1930
|
}
|
|
1913
1931
|
// angel
|
|
1914
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1932
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '67bda57bca71d') {
|
|
1915
1933
|
if (isValueinStock == 0) {
|
|
1916
1934
|
return;
|
|
1917
1935
|
}
|
|
1918
1936
|
}
|
|
1919
1937
|
// dija
|
|
1920
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1938
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1921
1939
|
if (isValueinStock == 0) {
|
|
1922
1940
|
return;
|
|
1923
1941
|
}
|
|
1924
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1942
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '687ca57cc78e8') {
|
|
1925
1943
|
if (isValueinStock == 0) {
|
|
1926
1944
|
return;
|
|
1927
1945
|
}
|
|
1928
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1946
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '6899e604db87f') {
|
|
1929
1947
|
if (isValueinStock == 0) {
|
|
1930
1948
|
return;
|
|
1931
1949
|
}
|
|
@@ -1949,13 +1967,15 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1949
1967
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
1950
1968
|
}
|
|
1951
1969
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1952
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1970
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1971
|
+
// vout
|
|
1972
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1953
1973
|
// puff
|
|
1954
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1974
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1955
1975
|
// angel
|
|
1956
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1976
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1957
1977
|
// dija
|
|
1958
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1978
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.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$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.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$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.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$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' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1959
1979
|
style: {
|
|
1960
1980
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1961
1981
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -7565,7 +7585,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7565
7585
|
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; }
|
|
7566
7586
|
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; }
|
|
7567
7587
|
var Productinfo = function Productinfo(props) {
|
|
7568
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7588
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i36, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i37, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i46, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i47, _authdetailsContext$i48;
|
|
7569
7589
|
var _useState = useState({}),
|
|
7570
7590
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7571
7591
|
ProductInfoObj = _useState2[0],
|
|
@@ -8058,7 +8078,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8058
8078
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8059
8079
|
// };
|
|
8060
8080
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8061
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
8081
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10;
|
|
8062
8082
|
// lord
|
|
8063
8083
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
8064
8084
|
var _ProductInfoObj$data;
|
|
@@ -8147,8 +8167,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8147
8167
|
});
|
|
8148
8168
|
return inStock ? 1 : 0;
|
|
8149
8169
|
}
|
|
8150
|
-
//
|
|
8151
|
-
|
|
8170
|
+
// vout
|
|
8171
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68f918a4ccb85') {
|
|
8152
8172
|
var _ProductInfoObj$data2;
|
|
8153
8173
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8154
8174
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8235,8 +8255,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8235
8255
|
});
|
|
8236
8256
|
return _inStock ? 1 : 0;
|
|
8237
8257
|
}
|
|
8238
|
-
//
|
|
8239
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '
|
|
8258
|
+
// puff n stuff
|
|
8259
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6899e604db87f') {
|
|
8240
8260
|
var _ProductInfoObj$data3;
|
|
8241
8261
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8242
8262
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8323,8 +8343,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8323
8343
|
});
|
|
8324
8344
|
return _inStock2 ? 1 : 0;
|
|
8325
8345
|
}
|
|
8326
|
-
//
|
|
8327
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '
|
|
8346
|
+
// dija
|
|
8347
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8328
8348
|
var _ProductInfoObj$data4;
|
|
8329
8349
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8330
8350
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8410,7 +8430,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8410
8430
|
}) && variantValueIds.includes(Currvalueid);
|
|
8411
8431
|
});
|
|
8412
8432
|
return _inStock3 ? 1 : 0;
|
|
8413
|
-
}
|
|
8433
|
+
}
|
|
8434
|
+
// angel secrets
|
|
8435
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67bda57bca71d') {
|
|
8414
8436
|
var _ProductInfoObj$data5;
|
|
8415
8437
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8416
8438
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8496,7 +8518,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8496
8518
|
}) && variantValueIds.includes(Currvalueid);
|
|
8497
8519
|
});
|
|
8498
8520
|
return _inStock4 ? 1 : 0;
|
|
8499
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '
|
|
8521
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '69244cc88aa0a') {
|
|
8500
8522
|
var _ProductInfoObj$data6;
|
|
8501
8523
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8502
8524
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -8582,13 +8604,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
8582
8604
|
}) && variantValueIds.includes(Currvalueid);
|
|
8583
8605
|
});
|
|
8584
8606
|
return _inStock5 ? 1 : 0;
|
|
8607
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '687ca57cc78e8') {
|
|
8608
|
+
var _ProductInfoObj$data7;
|
|
8609
|
+
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
8610
|
+
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
8611
|
+
var _variants6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.variants) || [];
|
|
8612
|
+
|
|
8613
|
+
// Collect selected option value IDs and find which option they belong to
|
|
8614
|
+
var _selectedValues6 = [];
|
|
8615
|
+
_options6.forEach(function (option) {
|
|
8616
|
+
option.optionvalues.forEach(function (value) {
|
|
8617
|
+
if (value.isselected === 1) {
|
|
8618
|
+
_selectedValues6.push({
|
|
8619
|
+
optionid: option.optionid,
|
|
8620
|
+
valueid: value.valueid
|
|
8621
|
+
});
|
|
8622
|
+
}
|
|
8623
|
+
});
|
|
8624
|
+
});
|
|
8625
|
+
_options6.length;
|
|
8626
|
+
var _selectedCount6 = _selectedValues6.length;
|
|
8627
|
+
var _inStockVariants6 = _variants6.filter(function (v) {
|
|
8628
|
+
return v.current_quantity > 0;
|
|
8629
|
+
});
|
|
8630
|
+
|
|
8631
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
8632
|
+
if (_selectedCount6 === 0) {
|
|
8633
|
+
return _inStockVariants6.some(function (variant) {
|
|
8634
|
+
return variant.variantoptions.some(function (opt) {
|
|
8635
|
+
return opt.valueid === Currvalueid;
|
|
8636
|
+
});
|
|
8637
|
+
}) ? 1 : 0;
|
|
8638
|
+
}
|
|
8639
|
+
|
|
8640
|
+
// 🧠 Case 2: Only one option selected
|
|
8641
|
+
if (_selectedCount6 === 1) {
|
|
8642
|
+
var _selected6 = _selectedValues6[0];
|
|
8643
|
+
var _selectedOptionId6 = _selected6.optionid;
|
|
8644
|
+
|
|
8645
|
+
// Find which option this Currvalueid belongs to
|
|
8646
|
+
var _currentOptionId6 = null;
|
|
8647
|
+
_options6.forEach(function (option) {
|
|
8648
|
+
option.optionvalues.forEach(function (v) {
|
|
8649
|
+
if (v.valueid === Currvalueid) _currentOptionId6 = option.optionid;
|
|
8650
|
+
});
|
|
8651
|
+
});
|
|
8652
|
+
|
|
8653
|
+
// Same option (e.g., selecting only size)
|
|
8654
|
+
if (_selectedOptionId6 === _currentOptionId6) {
|
|
8655
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
8656
|
+
return _inStockVariants6.some(function (variant) {
|
|
8657
|
+
return variant.variantoptions.some(function (opt) {
|
|
8658
|
+
return opt.valueid === Currvalueid;
|
|
8659
|
+
});
|
|
8660
|
+
}) ? 1 : 0;
|
|
8661
|
+
}
|
|
8662
|
+
|
|
8663
|
+
// Different option (e.g., color)
|
|
8664
|
+
// Only in-stock if a variant has both selected value + this value
|
|
8665
|
+
return _inStockVariants6.some(function (variant) {
|
|
8666
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8667
|
+
return v.valueid;
|
|
8668
|
+
});
|
|
8669
|
+
return variantValueIds.includes(_selected6.valueid) && variantValueIds.includes(Currvalueid);
|
|
8670
|
+
}) ? 1 : 0;
|
|
8671
|
+
}
|
|
8672
|
+
|
|
8673
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
8674
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
8675
|
+
var _inStock6 = _inStockVariants6.some(function (variant) {
|
|
8676
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8677
|
+
return v.valueid;
|
|
8678
|
+
});
|
|
8679
|
+
// Must match all selected except the one that belongs to same option
|
|
8680
|
+
return _selectedValues6.every(function (sel) {
|
|
8681
|
+
if (_options6.some(function (opt) {
|
|
8682
|
+
return opt.optionvalues.some(function (v) {
|
|
8683
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
8684
|
+
});
|
|
8685
|
+
})) {
|
|
8686
|
+
// Skip same option
|
|
8687
|
+
return true;
|
|
8688
|
+
}
|
|
8689
|
+
return variantValueIds.includes(sel.valueid);
|
|
8690
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
8691
|
+
});
|
|
8692
|
+
return _inStock6 ? 1 : 0;
|
|
8585
8693
|
} else {
|
|
8586
8694
|
return 1;
|
|
8587
8695
|
}
|
|
8588
8696
|
};
|
|
8589
8697
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8590
|
-
var _authdetailsContext$
|
|
8591
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8698
|
+
var _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
8699
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68d28fc494276') {
|
|
8592
8700
|
var _productarr$data, _productarr$data$prod;
|
|
8593
8701
|
var _productarr = ProductInfoObj;
|
|
8594
8702
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8641,8 +8749,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8641
8749
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8642
8750
|
}
|
|
8643
8751
|
}
|
|
8644
|
-
//
|
|
8645
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8752
|
+
// vout
|
|
8753
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68f918a4ccb85') {
|
|
8646
8754
|
var _productarr2$data, _productarr2$data$pro;
|
|
8647
8755
|
var _productarr2 = ProductInfoObj;
|
|
8648
8756
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8695,8 +8803,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8695
8803
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8696
8804
|
}
|
|
8697
8805
|
}
|
|
8698
|
-
//
|
|
8699
|
-
|
|
8806
|
+
// puff n stuff
|
|
8807
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6899e604db87f') {
|
|
8700
8808
|
var _productarr3$data, _productarr3$data$pro;
|
|
8701
8809
|
var _productarr3 = ProductInfoObj;
|
|
8702
8810
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8749,8 +8857,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8749
8857
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8750
8858
|
}
|
|
8751
8859
|
}
|
|
8752
|
-
//
|
|
8753
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8860
|
+
// dija
|
|
8861
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8754
8862
|
var _productarr4$data, _productarr4$data$pro;
|
|
8755
8863
|
var _productarr4 = ProductInfoObj;
|
|
8756
8864
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8802,7 +8910,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8802
8910
|
// optional: show user message or disable click
|
|
8803
8911
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8804
8912
|
}
|
|
8805
|
-
}
|
|
8913
|
+
}
|
|
8914
|
+
// angel
|
|
8915
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '67bda57bca71d') {
|
|
8806
8916
|
var _productarr5$data, _productarr5$data$pro;
|
|
8807
8917
|
var _productarr5 = ProductInfoObj;
|
|
8808
8918
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -8854,7 +8964,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8854
8964
|
// optional: show user message or disable click
|
|
8855
8965
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8856
8966
|
}
|
|
8857
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8967
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '69244cc88aa0a') {
|
|
8858
8968
|
var _productarr6$data, _productarr6$data$pro;
|
|
8859
8969
|
var _productarr6 = ProductInfoObj;
|
|
8860
8970
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -8906,6 +9016,58 @@ var Productinfo = function Productinfo(props) {
|
|
|
8906
9016
|
// optional: show user message or disable click
|
|
8907
9017
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8908
9018
|
}
|
|
9019
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '687ca57cc78e8') {
|
|
9020
|
+
var _productarr7$data, _productarr7$data$pro;
|
|
9021
|
+
var _productarr7 = ProductInfoObj;
|
|
9022
|
+
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
9023
|
+
|
|
9024
|
+
// 1. Find variants that include the newly selected value
|
|
9025
|
+
var _validVariants6 = (_productarr7.data.productinfo.variants || []).filter(function (variant) {
|
|
9026
|
+
return (variant.variantoptions || []).some(function (opt) {
|
|
9027
|
+
return opt.valueid === optionvaluesitem.valueid;
|
|
9028
|
+
});
|
|
9029
|
+
});
|
|
9030
|
+
|
|
9031
|
+
// 2. Build a set of valid value ids
|
|
9032
|
+
var _validValueIds6 = new Set(_validVariants6.flatMap(function (v) {
|
|
9033
|
+
return (v.variantoptions || []).map(function (opt) {
|
|
9034
|
+
return opt.valueid;
|
|
9035
|
+
});
|
|
9036
|
+
}));
|
|
9037
|
+
|
|
9038
|
+
// 3. Loop all options and their values
|
|
9039
|
+
(_productarr7$data$pro = _productarr7.data.productinfo.productoptions) === null || _productarr7$data$pro === void 0 || _productarr7$data$pro.forEach(function (option) {
|
|
9040
|
+
var _option$optionvalues7;
|
|
9041
|
+
var anySelected = false;
|
|
9042
|
+
(_option$optionvalues7 = option.optionvalues) === null || _option$optionvalues7 === void 0 || _option$optionvalues7.forEach(function (value) {
|
|
9043
|
+
// Normalize stock check result to boolean
|
|
9044
|
+
var stockResult = isOptionInStock(value.valueid);
|
|
9045
|
+
var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
|
|
9046
|
+
|
|
9047
|
+
// Unselect if NOT valid with the chosen new value OR out of stock
|
|
9048
|
+
if (!_validValueIds6.has(value.valueid) || !inStock) {
|
|
9049
|
+
value.isselected = 0;
|
|
9050
|
+
} else {
|
|
9051
|
+
// keep whatever selection is already there (do not auto-select)
|
|
9052
|
+
if (value.isselected) anySelected = true;
|
|
9053
|
+
}
|
|
9054
|
+
});
|
|
9055
|
+
|
|
9056
|
+
// keep option-level selected state in sync
|
|
9057
|
+
option.isselected = anySelected ? 1 : 0;
|
|
9058
|
+
});
|
|
9059
|
+
|
|
9060
|
+
// 4. Only select the new value if it's in stock
|
|
9061
|
+
var _newInStock6 = function () {
|
|
9062
|
+
var r = isOptionInStock(optionvaluesitem.valueid);
|
|
9063
|
+
return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
|
|
9064
|
+
}();
|
|
9065
|
+
if (_newInStock6) {
|
|
9066
|
+
selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr7);
|
|
9067
|
+
} else {
|
|
9068
|
+
// optional: show user message or disable click
|
|
9069
|
+
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9070
|
+
}
|
|
8909
9071
|
} else {
|
|
8910
9072
|
var _productarr$data2;
|
|
8911
9073
|
var productarr = ProductInfoObj;
|
|
@@ -9387,10 +9549,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9387
9549
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9388
9550
|
runfunc = true;
|
|
9389
9551
|
} else {
|
|
9390
|
-
var _authdetailsContext$
|
|
9552
|
+
var _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20;
|
|
9391
9553
|
// here
|
|
9392
9554
|
setvariantnotchosendisclaimer('This field is required');
|
|
9393
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9555
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '693fdc5a14f45' ? 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) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
9394
9556
|
}
|
|
9395
9557
|
} else {
|
|
9396
9558
|
runfunc = true;
|
|
@@ -9474,9 +9636,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9474
9636
|
};
|
|
9475
9637
|
};
|
|
9476
9638
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9477
|
-
var _authdetailsContext$
|
|
9639
|
+
var _authdetailsContext$i21;
|
|
9478
9640
|
var policyobj = {};
|
|
9479
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9641
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.instpolicies) === null || _authdetailsContext$i21 === void 0 || _authdetailsContext$i21.forEach(function (item, index) {
|
|
9480
9642
|
if (item.policytype == policytype) {
|
|
9481
9643
|
policyobj = item;
|
|
9482
9644
|
}
|
|
@@ -9485,7 +9647,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9485
9647
|
};
|
|
9486
9648
|
var relatedproducts = function relatedproducts() {
|
|
9487
9649
|
if (Relatedproducts.length != 0) {
|
|
9488
|
-
var _authdetailsContext$
|
|
9650
|
+
var _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26;
|
|
9489
9651
|
return /*#__PURE__*/React.createElement("div", {
|
|
9490
9652
|
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",
|
|
9491
9653
|
style: {
|
|
@@ -9507,9 +9669,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9507
9669
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9508
9670
|
className: "row m-0 w-100",
|
|
9509
9671
|
style: {
|
|
9510
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9672
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
9511
9673
|
}
|
|
9512
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9674
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
9513
9675
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9514
9676
|
style: {
|
|
9515
9677
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9528,7 +9690,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9528
9690
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9529
9691
|
borderRadius: 5
|
|
9530
9692
|
}
|
|
9531
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9693
|
+
})), (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", {
|
|
9532
9694
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9533
9695
|
style: {
|
|
9534
9696
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9549,8 +9711,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9549
9711
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
9550
9712
|
transitionBehavior: 'auto',
|
|
9551
9713
|
wrapperClassName: '',
|
|
9552
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9553
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9714
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9715
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9554
9716
|
}, Relatedproducts.map(function (item, index) {
|
|
9555
9717
|
if (item.productinfo != null) {
|
|
9556
9718
|
var _fetchProductInfoQuer49;
|
|
@@ -9620,10 +9782,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9620
9782
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9621
9783
|
runfunc = true;
|
|
9622
9784
|
} else {
|
|
9623
|
-
var _authdetailsContext$
|
|
9785
|
+
var _authdetailsContext$i27;
|
|
9624
9786
|
// here
|
|
9625
9787
|
setvariantnotchosendisclaimer('This field is required');
|
|
9626
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9788
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
9627
9789
|
}
|
|
9628
9790
|
} else {
|
|
9629
9791
|
runfunc = true;
|
|
@@ -9666,8 +9828,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9666
9828
|
isVarianturlLoaded = _useState58[0],
|
|
9667
9829
|
setisVarianturlLoaded = _useState58[1];
|
|
9668
9830
|
useEffect(function () {
|
|
9669
|
-
var _authdetailsContext$
|
|
9670
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9831
|
+
var _authdetailsContext$i28;
|
|
9832
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '68f918a4ccb85') {
|
|
9671
9833
|
var params = new URLSearchParams(window.location.search);
|
|
9672
9834
|
var variantId = params.get('variant');
|
|
9673
9835
|
if (isVarianturlLoaded == false) {
|
|
@@ -10463,7 +10625,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10463
10625
|
})));
|
|
10464
10626
|
};
|
|
10465
10627
|
var StoreInfo = function StoreInfo(position) {
|
|
10466
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10628
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i30, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i31, _authdetailsContext$i33;
|
|
10467
10629
|
return /*#__PURE__*/React.createElement("div", {
|
|
10468
10630
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10469
10631
|
style: {
|
|
@@ -10542,8 +10704,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10542
10704
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
10543
10705
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10544
10706
|
onClick: function onClick() {
|
|
10545
|
-
var _authdetailsContext$
|
|
10546
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10707
|
+
var _authdetailsContext$i29;
|
|
10708
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 || (_authdetailsContext$i29 = _authdetailsContext$i29.contactinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.email), '_self');
|
|
10547
10709
|
}
|
|
10548
10710
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10549
10711
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10563,7 +10725,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10563
10725
|
style: {
|
|
10564
10726
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10565
10727
|
}
|
|
10566
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10728
|
+
}, 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))), /*#__PURE__*/React.createElement("div", {
|
|
10567
10729
|
"class": "col-lg-12 my-2",
|
|
10568
10730
|
style: {
|
|
10569
10731
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10615,25 +10777,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
10615
10777
|
}
|
|
10616
10778
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10617
10779
|
"class": "m-0 p-0"
|
|
10618
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10780
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (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) != null && /*#__PURE__*/React.createElement("div", {
|
|
10619
10781
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10620
10782
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10621
10783
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10622
10784
|
onClick: function onClick() {
|
|
10623
|
-
var _authdetailsContext$
|
|
10624
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10785
|
+
var _authdetailsContext$i32;
|
|
10786
|
+
window.open('mailto:' + (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), '_self');
|
|
10625
10787
|
}
|
|
10626
10788
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10627
10789
|
"class": "m-0 p-0"
|
|
10628
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10790
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
10629
10791
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10630
10792
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10631
10793
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10632
10794
|
onClick: function onClick() {
|
|
10633
|
-
var _authdetailsContext$
|
|
10634
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10635
|
-
var _authdetailsContext$
|
|
10636
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10795
|
+
var _authdetailsContext$i34;
|
|
10796
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.whatsappnumber) != null) {
|
|
10797
|
+
var _authdetailsContext$i35;
|
|
10798
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.whatsappnumber), '_blank');
|
|
10637
10799
|
}
|
|
10638
10800
|
}
|
|
10639
10801
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -10729,7 +10891,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10729
10891
|
lang: lang,
|
|
10730
10892
|
srcfromprops: props.srcfromprops
|
|
10731
10893
|
}, _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))
|
|
10732
|
-
}), (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$
|
|
10894
|
+
}), (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$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React.createElement(Article_itemtype, {
|
|
10733
10895
|
actions: (_ref2 = {
|
|
10734
10896
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10735
10897
|
setisoutofstock: setisoutofstock,
|
|
@@ -10739,7 +10901,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10739
10901
|
lang: lang,
|
|
10740
10902
|
srcfromprops: props.srcfromprops
|
|
10741
10903
|
}, _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))
|
|
10742
|
-
}), (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$
|
|
10904
|
+
}), (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$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React.createElement(Product_itemtype_Article, {
|
|
10743
10905
|
actions: (_ref3 = {
|
|
10744
10906
|
isOptionInStock: isOptionInStock,
|
|
10745
10907
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10765,7 +10927,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10765
10927
|
lang: lang,
|
|
10766
10928
|
srcfromprops: props.srcfromprops
|
|
10767
10929
|
}, _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))
|
|
10768
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10930
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
10769
10931
|
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 ',
|
|
10770
10932
|
style: {
|
|
10771
10933
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10956,7 +11118,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10956
11118
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10957
11119
|
sectionproperties: sectionproperties
|
|
10958
11120
|
})
|
|
10959
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11121
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React.createElement("div", {
|
|
10960
11122
|
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 ',
|
|
10961
11123
|
style: {
|
|
10962
11124
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11107,12 +11269,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
11107
11269
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11108
11270
|
sectionproperties: sectionproperties
|
|
11109
11271
|
})
|
|
11110
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11272
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React.createElement("div", {
|
|
11111
11273
|
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 ',
|
|
11112
11274
|
style: {
|
|
11113
11275
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11114
11276
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
11115
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11277
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
11116
11278
|
}
|
|
11117
11279
|
}, relatedproducts()))));
|
|
11118
11280
|
};
|
|
@@ -59071,7 +59233,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
59071
59233
|
function ownKeys$1z(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; }
|
|
59072
59234
|
function _objectSpread$1z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
59073
59235
|
var ModernFooter = function ModernFooter(props) {
|
|
59074
|
-
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i1, _authdetailsContext$i12, _authdetailsContext$i15, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i24, _authdetailsContext$
|
|
59236
|
+
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i1, _authdetailsContext$i12, _authdetailsContext$i15, _authdetailsContext$i18, _authdetailsContext$i21, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i29;
|
|
59075
59237
|
var _useState = useState(''),
|
|
59076
59238
|
_useState2 = _slicedToArray(_useState, 2),
|
|
59077
59239
|
sectionproperties = _useState2[0],
|
|
@@ -59473,18 +59635,15 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59473
59635
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59474
59636
|
}
|
|
59475
59637
|
}, langdetect == 'en' ? sectionproperties.otherinfotitle2en : sectionproperties.otherinfotitle2ar)), sectionproperties.showfooteraddress == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59476
|
-
"class": ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 '
|
|
59638
|
+
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 '
|
|
59477
59639
|
}, /*#__PURE__*/React.createElement("p", {
|
|
59478
|
-
"class":
|
|
59640
|
+
"class": ' footerinfotext d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
59479
59641
|
style: {
|
|
59480
59642
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
59481
|
-
cursor:
|
|
59643
|
+
cursor: 'pointer'
|
|
59482
59644
|
},
|
|
59483
59645
|
onClick: function onClick() {
|
|
59484
|
-
|
|
59485
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '69a354f452ce6') {
|
|
59486
|
-
window.open('https://www.google.com/maps/place/%D8%A7%D9%84%D8%AC%D9%8A%D8%B2%D9%87+%D9%81%D9%8A%D8%B5%D9%84+%D8%A7%D9%85%D8%A7%D9%85+%D8%B4%D8%A7%D8%B1%D8%B9+%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D8%B4%D9%81%D9%8A%E2%80%AD/@29.954503,31.0915694,3652m/data=!3m1!1e3!4m6!3m5!1s0x14584f005089bb03:0x6206a526641b57da!8m2!3d29.952629!4d31.0912631!16s%2Fg%2F11m6f50nhp?hl=en&entry=ttu&g_ep=EgoyMDI2MDMxNS4wIKXMDSoASAFQAw%3D%3D', '_blank');
|
|
59487
|
-
}
|
|
59646
|
+
window.open(sectionproperties.storeinfolocationlink, '_blank');
|
|
59488
59647
|
}
|
|
59489
59648
|
}, /*#__PURE__*/React.createElement("i", {
|
|
59490
59649
|
"class": ' h-100 d-flex align-items-center justify-content-center ',
|
|
@@ -59494,7 +59653,26 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59494
59653
|
}
|
|
59495
59654
|
}, /*#__PURE__*/React.createElement(IoLocationSharp, {
|
|
59496
59655
|
size: sectionproperties.footerinfoicon_fontsize
|
|
59497
|
-
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59656
|
+
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.address_ar)), sectionproperties.showfooteraddress == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.instid) == '69b14b442a4ef' && /*#__PURE__*/React.createElement("div", {
|
|
59657
|
+
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 '
|
|
59658
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
59659
|
+
"class": ' footerinfotext d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
59660
|
+
style: {
|
|
59661
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
59662
|
+
cursor: 'pointer'
|
|
59663
|
+
},
|
|
59664
|
+
onClick: function onClick() {
|
|
59665
|
+
window.open('https://www.google.com/maps/dir/30.0445808,31.4729892/3rd+Industrial+Zone,+10th+of+Ramadan+City+1,+Al-Sharqia+Governorate+7068013/@30.1631149,31.287023,107074m/data=!3m2!1e3!4b1!4m10!4m9!1m1!4e1!1m5!1m1!1s0x1457fdd6f43ef9d9:0x102b601df7328aa7!2m2!1d31.7883453!2d30.2806276!3e0?entry=ttu&g_ep=EgoyMDI2MDMyNC4wIKXMDSoASAFQAw%3D%3D', '_blank');
|
|
59666
|
+
}
|
|
59667
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
59668
|
+
"class": ' h-100 d-flex align-items-center justify-content-center ',
|
|
59669
|
+
style: {
|
|
59670
|
+
marginRight: langdetect == 'en' ? '0.5rem' : 0,
|
|
59671
|
+
marginLeft: langdetect == 'ar' ? '0.5rem' : 0
|
|
59672
|
+
}
|
|
59673
|
+
}, /*#__PURE__*/React.createElement(IoLocationSharp, {
|
|
59674
|
+
size: sectionproperties.footerinfoicon_fontsize
|
|
59675
|
+
})), '3rd Industrial Zone, 10th of Ramadan City 1, Al-Sharqia Governorate 7068013')), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59498
59676
|
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 ',
|
|
59499
59677
|
onClick: function onClick() {
|
|
59500
59678
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
@@ -59513,14 +59691,14 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59513
59691
|
}), authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59514
59692
|
"class": "".concat(footerStyles.footerinfotext) + ' col-xl-12 col-lg-12 col-md-12 col-sm-12 d-flex justify-content-start align-items-center mb-1 p-0 ',
|
|
59515
59693
|
onClick: function onClick() {
|
|
59516
|
-
var _authdetailsContext$
|
|
59517
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59694
|
+
var _authdetailsContext$i27;
|
|
59695
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 || (_authdetailsContext$i27 = _authdetailsContext$i27.contactinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.email), '_self');
|
|
59518
59696
|
}
|
|
59519
59697
|
}, /*#__PURE__*/React.createElement("p", {
|
|
59520
59698
|
"class": ' footerinfotext d-flex align-items-center justify-content-start m-0 p-0 cursor-pointer ',
|
|
59521
59699
|
onClick: function onClick() {
|
|
59522
|
-
var _authdetailsContext$
|
|
59523
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59700
|
+
var _authdetailsContext$i28;
|
|
59701
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 || (_authdetailsContext$i28 = _authdetailsContext$i28.contactinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.email), '_self');
|
|
59524
59702
|
},
|
|
59525
59703
|
style: {
|
|
59526
59704
|
textTransform: 'none'
|
|
@@ -59531,7 +59709,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59531
59709
|
marginRight: langdetect == 'en' ? '0.5rem' : 0,
|
|
59532
59710
|
marginLeft: langdetect == 'ar' ? '0.5rem' : 0
|
|
59533
59711
|
}
|
|
59534
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59712
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 || (_authdetailsContext$i29 = _authdetailsContext$i29.contactinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.email)))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59535
59713
|
"class": sectionproperties.showfooteraddress == 'Hide' && sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' ? 'col-lg-4 col-md-12 col-sm-12 mt-md-3' : 'col-lg-3 col-md-12 col-sm-12 mt-md-3'
|
|
59536
59714
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59537
59715
|
className: "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
@@ -59543,15 +59721,15 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59543
59721
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-flex d-md-none ',
|
|
59544
59722
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
59545
59723
|
onClick: function onClick() {
|
|
59546
|
-
var _authdetailsContext$
|
|
59547
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59724
|
+
var _authdetailsContext$i30;
|
|
59725
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.mobileapplink_appstore, '_blank');
|
|
59548
59726
|
}
|
|
59549
59727
|
}), /*#__PURE__*/React.createElement("img", {
|
|
59550
59728
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-none d-md-flex ',
|
|
59551
59729
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
59552
59730
|
onClick: function onClick() {
|
|
59553
|
-
var _authdetailsContext$
|
|
59554
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59731
|
+
var _authdetailsContext$i31;
|
|
59732
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.mobileapplink_appstore, '_blank');
|
|
59555
59733
|
}
|
|
59556
59734
|
})), /*#__PURE__*/React.createElement("div", {
|
|
59557
59735
|
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start'
|
|
@@ -59559,15 +59737,15 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59559
59737
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-flex d-md-none ',
|
|
59560
59738
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
59561
59739
|
onClick: function onClick() {
|
|
59562
|
-
var _authdetailsContext$
|
|
59563
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59740
|
+
var _authdetailsContext$i32;
|
|
59741
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.mobileapplink_playstore, '_blank');
|
|
59564
59742
|
}
|
|
59565
59743
|
}), /*#__PURE__*/React.createElement("img", {
|
|
59566
59744
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-none d-md-flex ',
|
|
59567
59745
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
59568
59746
|
onClick: function onClick() {
|
|
59569
|
-
var _authdetailsContext$
|
|
59570
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59747
|
+
var _authdetailsContext$i33;
|
|
59748
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.mobileapplink_playstore, '_blank');
|
|
59571
59749
|
}
|
|
59572
59750
|
}))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59573
59751
|
"class": "col-lg-3 col-md-12 col-sm-12 mt-md-3 px-lg-5 px-md-2",
|
|
@@ -63254,7 +63432,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
63254
63432
|
style: {
|
|
63255
63433
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
63256
63434
|
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
|
|
63257
|
-
marginTop: authdetailsContext.instinfo.instid == '6978ef34b2564' ? '
|
|
63435
|
+
marginTop: authdetailsContext.instinfo.instid == '6978ef34b2564' ? '50px' : 0
|
|
63258
63436
|
}
|
|
63259
63437
|
}, SectionTitle()), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
63260
63438
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center justify-content-md-center p-0 ' : 'col-lg-12 d-flex align-items-center justify-content-start p-0 justify-content-md-center p-0 ',
|
|
@@ -63270,7 +63448,7 @@ var ModernCardsSection = function ModernCardsSection(props) {
|
|
|
63270
63448
|
textAlign: authdetailsContext.instinfo.instid == '6978ef34b2564' ? 'left' : sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
63271
63449
|
}
|
|
63272
63450
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), authdetailsContext.instinfo.instid == '6978ef34b2564' && /*#__PURE__*/React.createElement("div", {
|
|
63273
|
-
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center justify-content-md-center p-0 mb-md-
|
|
63451
|
+
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'col-lg-12 d-flex align-items-center justify-content-center justify-content-md-center p-0 mb-md-50 ' : 'col-lg-12 d-flex align-items-center justify-content-start p-0 justify-content-md-center p-0 mb-md-50 ',
|
|
63274
63452
|
style: {
|
|
63275
63453
|
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
63276
63454
|
flexDirection: authdetailsContext.instinfo.instid == '6978ef34b2564' ? 'column' : 'row'
|