tabexseriescomponents 0.2.1356 → 0.2.1358
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 +374 -187
- package/dist/index.esm.js +374 -187
- package/dist/index.umd.js +374 -187
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1736,42 +1736,46 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1736
1736
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
1737
1737
|
var is_value_permdisabled = 0;
|
|
1738
1738
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
1739
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
1739
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0;
|
|
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
|
+
// alma
|
|
1745
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '67d349e5ee6a1') {
|
|
1746
|
+
is_value_permdisabled = 1;
|
|
1747
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '67c050d72cbe7') {
|
|
1744
1748
|
is_value_permdisabled = 1;
|
|
1745
1749
|
}
|
|
1746
1750
|
// amiga
|
|
1747
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1751
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '670fc18477599') {
|
|
1748
1752
|
is_value_permdisabled = 1;
|
|
1749
1753
|
}
|
|
1750
1754
|
// vout
|
|
1751
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1755
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '68f918a4ccb85') {
|
|
1752
1756
|
is_value_permdisabled = 1;
|
|
1753
1757
|
}
|
|
1754
1758
|
// puff
|
|
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) == '6899e604db87f') {
|
|
1756
1760
|
is_value_permdisabled = 1;
|
|
1757
1761
|
}
|
|
1758
1762
|
// dija
|
|
1759
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1763
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1760
1764
|
is_value_permdisabled = 1;
|
|
1761
1765
|
}
|
|
1762
1766
|
// angel
|
|
1763
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1767
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67bda57bca71d') {
|
|
1764
1768
|
is_value_permdisabled = 1;
|
|
1765
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1769
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '69244cc88aa0a') {
|
|
1766
1770
|
is_value_permdisabled = 1;
|
|
1767
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1771
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '687ca57cc78e8') {
|
|
1768
1772
|
is_value_permdisabled = 1;
|
|
1769
1773
|
}
|
|
1770
1774
|
}
|
|
1771
1775
|
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
1772
|
-
var _authdetailsContext$
|
|
1776
|
+
var _authdetailsContext$i1;
|
|
1773
1777
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
1774
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1778
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '670fc18477599' ? productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active) : issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? productinfostyles.color_container + ' mr-2 variabttcontainer showcrossiconcolor ' + "".concat(productinfostyles.color_container_active) : productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
|
|
1775
1779
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
1776
1780
|
// sectionproperties.showoutofstockwithoutselection == 'Show'
|
|
1777
1781
|
// ? productinfostyles.color_container +
|
|
@@ -1802,7 +1806,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1802
1806
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1803
1807
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1804
1808
|
if (is_value_permdisabled == 0) {
|
|
1805
|
-
var _authdetailsContext$
|
|
1809
|
+
var _authdetailsContext$i10, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30;
|
|
1806
1810
|
return /*#__PURE__*/React.createElement("div", {
|
|
1807
1811
|
// className={
|
|
1808
1812
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1814,53 +1818,59 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1814
1818
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1815
1819
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1816
1820
|
// }
|
|
1817
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1821
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.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 : ''),
|
|
1818
1822
|
onClick: function onClick() {
|
|
1819
1823
|
if (isoptionvalueselected == 0) {
|
|
1820
|
-
var _authdetailsContext$
|
|
1821
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1824
|
+
var _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20;
|
|
1825
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68d28fc494276') {
|
|
1826
|
+
if (isValueinStock == 0) {
|
|
1827
|
+
return;
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
// alma
|
|
1831
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67d349e5ee6a1') {
|
|
1822
1832
|
if (isValueinStock == 0) {
|
|
1823
1833
|
return;
|
|
1824
1834
|
}
|
|
1825
1835
|
}
|
|
1826
1836
|
// amiga
|
|
1827
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1837
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '670fc18477599') {
|
|
1828
1838
|
if (isValueinStock == 0) {
|
|
1829
1839
|
return;
|
|
1830
1840
|
}
|
|
1831
1841
|
}
|
|
1832
1842
|
// vout
|
|
1833
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1843
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68f918a4ccb85') {
|
|
1834
1844
|
if (isValueinStock == 0) {
|
|
1835
1845
|
return;
|
|
1836
1846
|
}
|
|
1837
1847
|
}
|
|
1838
1848
|
// puff
|
|
1839
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1849
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '6899e604db87f') {
|
|
1840
1850
|
if (isValueinStock == 0) {
|
|
1841
1851
|
return;
|
|
1842
1852
|
}
|
|
1843
1853
|
}
|
|
1844
1854
|
// angel
|
|
1845
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1855
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67bda57bca71d') {
|
|
1846
1856
|
if (isValueinStock == 0) {
|
|
1847
1857
|
return;
|
|
1848
1858
|
}
|
|
1849
1859
|
}
|
|
1850
1860
|
// dija
|
|
1851
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1861
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1852
1862
|
if (isValueinStock == 0) {
|
|
1853
1863
|
return;
|
|
1854
1864
|
}
|
|
1855
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1865
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '69244cc88aa0a') {
|
|
1856
1866
|
if (isValueinStock == 0) {
|
|
1857
1867
|
return;
|
|
1858
1868
|
}
|
|
1859
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1869
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '687ca57cc78e8') {
|
|
1860
1870
|
if (isValueinStock == 0) {
|
|
1861
1871
|
return;
|
|
1862
1872
|
}
|
|
1863
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1873
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6899e604db87f') {
|
|
1864
1874
|
if (isValueinStock == 0) {
|
|
1865
1875
|
return;
|
|
1866
1876
|
}
|
|
@@ -1904,18 +1914,20 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1904
1914
|
}, /*#__PURE__*/React.createElement("i", {
|
|
1905
1915
|
"class": "h-100 allcentered"
|
|
1906
1916
|
}, /*#__PURE__*/React.createElement(IoMdClose, null))), /*#__PURE__*/React.createElement("p", {
|
|
1907
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1917
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1918
|
+
// alma
|
|
1919
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '67d349e5ee6a1' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1908
1920
|
// amiga
|
|
1909
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1921
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1910
1922
|
// vout
|
|
1911
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1923
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1912
1924
|
// puff
|
|
1913
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1925
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1914
1926
|
// angel
|
|
1915
1927
|
|
|
1916
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1928
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1917
1929
|
// dija
|
|
1918
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1930
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.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$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.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$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.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$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.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',
|
|
1919
1931
|
style: {
|
|
1920
1932
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1921
1933
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1924,55 +1936,61 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1924
1936
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1925
1937
|
}
|
|
1926
1938
|
} else {
|
|
1927
|
-
var _authdetailsContext$
|
|
1939
|
+
var _authdetailsContext$i31, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51;
|
|
1928
1940
|
return /*#__PURE__*/React.createElement("div", {
|
|
1929
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1941
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.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 : ''),
|
|
1930
1942
|
onClick: function onClick() {
|
|
1931
1943
|
if (isoptionvalueselected == 0) {
|
|
1932
|
-
var _authdetailsContext$
|
|
1933
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1944
|
+
var _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41;
|
|
1945
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68d28fc494276') {
|
|
1946
|
+
if (isValueinStock == 0) {
|
|
1947
|
+
return;
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
// alma
|
|
1951
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67d349e5ee6a1') {
|
|
1934
1952
|
if (isValueinStock == 0) {
|
|
1935
1953
|
return;
|
|
1936
1954
|
}
|
|
1937
1955
|
}
|
|
1938
1956
|
// amiga
|
|
1939
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1957
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '670fc18477599') {
|
|
1940
1958
|
if (isValueinStock == 0) {
|
|
1941
1959
|
return;
|
|
1942
1960
|
}
|
|
1943
1961
|
}
|
|
1944
1962
|
// vout
|
|
1945
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1963
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '68f918a4ccb85') {
|
|
1946
1964
|
if (isValueinStock == 0) {
|
|
1947
1965
|
return;
|
|
1948
1966
|
}
|
|
1949
1967
|
}
|
|
1950
1968
|
// puff n stuff
|
|
1951
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1969
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '6899e604db87f') {
|
|
1952
1970
|
if (isValueinStock == 0) {
|
|
1953
1971
|
return;
|
|
1954
1972
|
}
|
|
1955
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1973
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '69244cc88aa0a') {
|
|
1956
1974
|
if (isValueinStock == 0) {
|
|
1957
1975
|
return;
|
|
1958
1976
|
}
|
|
1959
1977
|
}
|
|
1960
1978
|
// angel
|
|
1961
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1979
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '67bda57bca71d') {
|
|
1962
1980
|
if (isValueinStock == 0) {
|
|
1963
1981
|
return;
|
|
1964
1982
|
}
|
|
1965
1983
|
}
|
|
1966
1984
|
// dija
|
|
1967
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1985
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1968
1986
|
if (isValueinStock == 0) {
|
|
1969
1987
|
return;
|
|
1970
1988
|
}
|
|
1971
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1989
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '687ca57cc78e8') {
|
|
1972
1990
|
if (isValueinStock == 0) {
|
|
1973
1991
|
return;
|
|
1974
1992
|
}
|
|
1975
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1993
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '6899e604db87f') {
|
|
1976
1994
|
if (isValueinStock == 0) {
|
|
1977
1995
|
return;
|
|
1978
1996
|
}
|
|
@@ -1996,17 +2014,19 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1996
2014
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
1997
2015
|
}
|
|
1998
2016
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1999
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2017
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2018
|
+
// alma
|
|
2019
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '67d349e5ee6a1' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2000
2020
|
// amiga
|
|
2001
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2021
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2002
2022
|
// vout
|
|
2003
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2023
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2004
2024
|
// puff
|
|
2005
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2025
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2006
2026
|
// angel
|
|
2007
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2027
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
2008
2028
|
// dija
|
|
2009
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2029
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.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$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.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$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.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$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.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',
|
|
2010
2030
|
style: {
|
|
2011
2031
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
2012
2032
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -2093,7 +2113,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2093
2113
|
setopensizeguidemodal(true);
|
|
2094
2114
|
}
|
|
2095
2115
|
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), sectionproperties.variantstyle == 'Vertical' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productinfo) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productoptions) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.map(function (item, index) {
|
|
2096
|
-
var _authdetailsContext$
|
|
2116
|
+
var _authdetailsContext$i52;
|
|
2097
2117
|
return /*#__PURE__*/React.createElement("ul", {
|
|
2098
2118
|
"class": "thwvsf-wrapper-ul"
|
|
2099
2119
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -2108,7 +2128,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2108
2128
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
2109
2129
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
2110
2130
|
}
|
|
2111
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2131
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React.createElement("span", null, index + 1, ". "), sectionproperties.showselect == 'Show' && /*#__PURE__*/React.createElement("span", null, lang.select, " "), " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":"))), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
|
|
2112
2132
|
var isoptionvalueselected = 0;
|
|
2113
2133
|
if (optionvaluesitem.isselected == 1) {
|
|
2114
2134
|
isoptionvalueselected = 1;
|
|
@@ -2142,7 +2162,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2142
2162
|
}
|
|
2143
2163
|
}));
|
|
2144
2164
|
} else {
|
|
2145
|
-
var _authdetailsContext$
|
|
2165
|
+
var _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57;
|
|
2146
2166
|
// else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
2147
2167
|
return /*#__PURE__*/React.createElement("li", {
|
|
2148
2168
|
style: {
|
|
@@ -2161,14 +2181,14 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2161
2181
|
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
2162
2182
|
// backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
2163
2183
|
background: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
2164
|
-
minWidth: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2165
|
-
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2184
|
+
minWidth: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '699d7f217889a' ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
|
|
2185
|
+
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '699d7f217889a' ? 'auto' : sectionproperties.variantcontainer_height + 'px',
|
|
2166
2186
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
2167
2187
|
position: 'relative',
|
|
2168
|
-
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2169
|
-
flexDirection: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2188
|
+
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) == '699d7f217889a' ? '1px solid ' + ' white ' : '1px solid ' + ' grey ',
|
|
2189
|
+
flexDirection: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) == '699d7f217889a' ? 'column' : 'row'
|
|
2170
2190
|
}
|
|
2171
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2191
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
2172
2192
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
2173
2193
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
2174
2194
|
path: optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.thumbnail_url,
|
|
@@ -7986,7 +8006,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7986
8006
|
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; }
|
|
7987
8007
|
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; }
|
|
7988
8008
|
var Productinfo = function Productinfo(props) {
|
|
7989
|
-
var _css, _fetchProductInfoQuer88, _ref, _fetchProductInfoQuer89, _authdetailsContext$
|
|
8009
|
+
var _css, _fetchProductInfoQuer88, _ref, _fetchProductInfoQuer89, _authdetailsContext$i42, _ref2, _fetchProductInfoQuer90, _authdetailsContext$i43, _ref3, _fetchProductInfoQuer91, _ref4, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i54, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i55, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i56, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _authdetailsContext$i57, _authdetailsContext$i58, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _authdetailsContext$i59, _authdetailsContext$i60;
|
|
7990
8010
|
var _useState = useState({}),
|
|
7991
8011
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7992
8012
|
ProductInfoObj = _useState2[0],
|
|
@@ -8499,7 +8519,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8499
8519
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8500
8520
|
// };
|
|
8501
8521
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8502
|
-
var _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
8522
|
+
var _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
|
|
8503
8523
|
// lord
|
|
8504
8524
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68d28fc494276') {
|
|
8505
8525
|
var _ProductInfoObj$data;
|
|
@@ -8587,7 +8607,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8587
8607
|
}) && variantValueIds.includes(Currvalueid);
|
|
8588
8608
|
});
|
|
8589
8609
|
return inStock ? 1 : 0;
|
|
8590
|
-
}
|
|
8610
|
+
}
|
|
8611
|
+
// alma
|
|
8612
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67d349e5ee6a1') {
|
|
8591
8613
|
var _ProductInfoObj$data2;
|
|
8592
8614
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8593
8615
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8673,9 +8695,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8673
8695
|
}) && variantValueIds.includes(Currvalueid);
|
|
8674
8696
|
});
|
|
8675
8697
|
return _inStock ? 1 : 0;
|
|
8676
|
-
}
|
|
8677
|
-
// amiga
|
|
8678
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '670fc18477599') {
|
|
8698
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '67c050d72cbe7') {
|
|
8679
8699
|
var _ProductInfoObj$data3;
|
|
8680
8700
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8681
8701
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8762,8 +8782,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8762
8782
|
});
|
|
8763
8783
|
return _inStock2 ? 1 : 0;
|
|
8764
8784
|
}
|
|
8765
|
-
//
|
|
8766
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '
|
|
8785
|
+
// amiga
|
|
8786
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '670fc18477599') {
|
|
8767
8787
|
var _ProductInfoObj$data4;
|
|
8768
8788
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8769
8789
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8850,8 +8870,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8850
8870
|
});
|
|
8851
8871
|
return _inStock3 ? 1 : 0;
|
|
8852
8872
|
}
|
|
8853
|
-
//
|
|
8854
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '
|
|
8873
|
+
// vout
|
|
8874
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '68f918a4ccb85') {
|
|
8855
8875
|
var _ProductInfoObj$data5;
|
|
8856
8876
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8857
8877
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8938,8 +8958,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8938
8958
|
});
|
|
8939
8959
|
return _inStock4 ? 1 : 0;
|
|
8940
8960
|
}
|
|
8941
|
-
//
|
|
8942
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '
|
|
8961
|
+
// puff n stuff
|
|
8962
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '6899e604db87f') {
|
|
8943
8963
|
var _ProductInfoObj$data6;
|
|
8944
8964
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8945
8965
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -9026,8 +9046,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9026
9046
|
});
|
|
9027
9047
|
return _inStock5 ? 1 : 0;
|
|
9028
9048
|
}
|
|
9029
|
-
//
|
|
9030
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '
|
|
9049
|
+
// dija
|
|
9050
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '682cbb9bdcd57') {
|
|
9031
9051
|
var _ProductInfoObj$data7;
|
|
9032
9052
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
9033
9053
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -9113,7 +9133,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9113
9133
|
}) && variantValueIds.includes(Currvalueid);
|
|
9114
9134
|
});
|
|
9115
9135
|
return _inStock6 ? 1 : 0;
|
|
9116
|
-
}
|
|
9136
|
+
}
|
|
9137
|
+
// angel secrets
|
|
9138
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67bda57bca71d') {
|
|
9117
9139
|
var _ProductInfoObj$data8;
|
|
9118
9140
|
var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
|
|
9119
9141
|
var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
|
|
@@ -9199,7 +9221,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9199
9221
|
}) && variantValueIds.includes(Currvalueid);
|
|
9200
9222
|
});
|
|
9201
9223
|
return _inStock7 ? 1 : 0;
|
|
9202
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '
|
|
9224
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '69244cc88aa0a') {
|
|
9203
9225
|
var _ProductInfoObj$data9;
|
|
9204
9226
|
var _productinfo8 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data9 = ProductInfoObj.data) === null || _ProductInfoObj$data9 === void 0 ? void 0 : _ProductInfoObj$data9.productinfo;
|
|
9205
9227
|
var _options8 = (_productinfo8 === null || _productinfo8 === void 0 ? void 0 : _productinfo8.productoptions) || [];
|
|
@@ -9285,13 +9307,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
9285
9307
|
}) && variantValueIds.includes(Currvalueid);
|
|
9286
9308
|
});
|
|
9287
9309
|
return _inStock8 ? 1 : 0;
|
|
9310
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '687ca57cc78e8') {
|
|
9311
|
+
var _ProductInfoObj$data0;
|
|
9312
|
+
var _productinfo9 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data0 = ProductInfoObj.data) === null || _ProductInfoObj$data0 === void 0 ? void 0 : _ProductInfoObj$data0.productinfo;
|
|
9313
|
+
var _options9 = (_productinfo9 === null || _productinfo9 === void 0 ? void 0 : _productinfo9.productoptions) || [];
|
|
9314
|
+
var _variants9 = (_productinfo9 === null || _productinfo9 === void 0 ? void 0 : _productinfo9.variants) || [];
|
|
9315
|
+
|
|
9316
|
+
// Collect selected option value IDs and find which option they belong to
|
|
9317
|
+
var _selectedValues9 = [];
|
|
9318
|
+
_options9.forEach(function (option) {
|
|
9319
|
+
option.optionvalues.forEach(function (value) {
|
|
9320
|
+
if (value.isselected === 1) {
|
|
9321
|
+
_selectedValues9.push({
|
|
9322
|
+
optionid: option.optionid,
|
|
9323
|
+
valueid: value.valueid
|
|
9324
|
+
});
|
|
9325
|
+
}
|
|
9326
|
+
});
|
|
9327
|
+
});
|
|
9328
|
+
_options9.length;
|
|
9329
|
+
var _selectedCount9 = _selectedValues9.length;
|
|
9330
|
+
var _inStockVariants9 = _variants9.filter(function (v) {
|
|
9331
|
+
return v.current_quantity > 0;
|
|
9332
|
+
});
|
|
9333
|
+
|
|
9334
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
9335
|
+
if (_selectedCount9 === 0) {
|
|
9336
|
+
return _inStockVariants9.some(function (variant) {
|
|
9337
|
+
return variant.variantoptions.some(function (opt) {
|
|
9338
|
+
return opt.valueid === Currvalueid;
|
|
9339
|
+
});
|
|
9340
|
+
}) ? 1 : 0;
|
|
9341
|
+
}
|
|
9342
|
+
|
|
9343
|
+
// 🧠 Case 2: Only one option selected
|
|
9344
|
+
if (_selectedCount9 === 1) {
|
|
9345
|
+
var _selected9 = _selectedValues9[0];
|
|
9346
|
+
var _selectedOptionId9 = _selected9.optionid;
|
|
9347
|
+
|
|
9348
|
+
// Find which option this Currvalueid belongs to
|
|
9349
|
+
var _currentOptionId9 = null;
|
|
9350
|
+
_options9.forEach(function (option) {
|
|
9351
|
+
option.optionvalues.forEach(function (v) {
|
|
9352
|
+
if (v.valueid === Currvalueid) _currentOptionId9 = option.optionid;
|
|
9353
|
+
});
|
|
9354
|
+
});
|
|
9355
|
+
|
|
9356
|
+
// Same option (e.g., selecting only size)
|
|
9357
|
+
if (_selectedOptionId9 === _currentOptionId9) {
|
|
9358
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
9359
|
+
return _inStockVariants9.some(function (variant) {
|
|
9360
|
+
return variant.variantoptions.some(function (opt) {
|
|
9361
|
+
return opt.valueid === Currvalueid;
|
|
9362
|
+
});
|
|
9363
|
+
}) ? 1 : 0;
|
|
9364
|
+
}
|
|
9365
|
+
|
|
9366
|
+
// Different option (e.g., color)
|
|
9367
|
+
// Only in-stock if a variant has both selected value + this value
|
|
9368
|
+
return _inStockVariants9.some(function (variant) {
|
|
9369
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
9370
|
+
return v.valueid;
|
|
9371
|
+
});
|
|
9372
|
+
return variantValueIds.includes(_selected9.valueid) && variantValueIds.includes(Currvalueid);
|
|
9373
|
+
}) ? 1 : 0;
|
|
9374
|
+
}
|
|
9375
|
+
|
|
9376
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
9377
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
9378
|
+
var _inStock9 = _inStockVariants9.some(function (variant) {
|
|
9379
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
9380
|
+
return v.valueid;
|
|
9381
|
+
});
|
|
9382
|
+
// Must match all selected except the one that belongs to same option
|
|
9383
|
+
return _selectedValues9.every(function (sel) {
|
|
9384
|
+
if (_options9.some(function (opt) {
|
|
9385
|
+
return opt.optionvalues.some(function (v) {
|
|
9386
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
9387
|
+
});
|
|
9388
|
+
})) {
|
|
9389
|
+
// Skip same option
|
|
9390
|
+
return true;
|
|
9391
|
+
}
|
|
9392
|
+
return variantValueIds.includes(sel.valueid);
|
|
9393
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
9394
|
+
});
|
|
9395
|
+
return _inStock9 ? 1 : 0;
|
|
9288
9396
|
} else {
|
|
9289
9397
|
return 1;
|
|
9290
9398
|
}
|
|
9291
9399
|
};
|
|
9292
9400
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
9293
|
-
var _authdetailsContext$
|
|
9294
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9401
|
+
var _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23;
|
|
9402
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '68d28fc494276') {
|
|
9295
9403
|
var _productarr$data, _productarr$data$prod;
|
|
9296
9404
|
var _productarr = ProductInfoObj;
|
|
9297
9405
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -9343,7 +9451,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9343
9451
|
// optional: show user message or disable click
|
|
9344
9452
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9345
9453
|
}
|
|
9346
|
-
}
|
|
9454
|
+
}
|
|
9455
|
+
// alma
|
|
9456
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67d349e5ee6a1') {
|
|
9347
9457
|
var _productarr2$data, _productarr2$data$pro;
|
|
9348
9458
|
var _productarr2 = ProductInfoObj;
|
|
9349
9459
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -9395,9 +9505,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9395
9505
|
// optional: show user message or disable click
|
|
9396
9506
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9397
9507
|
}
|
|
9398
|
-
}
|
|
9399
|
-
// vout
|
|
9400
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68f918a4ccb85') {
|
|
9508
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '67c050d72cbe7') {
|
|
9401
9509
|
var _productarr3$data, _productarr3$data$pro;
|
|
9402
9510
|
var _productarr3 = ProductInfoObj;
|
|
9403
9511
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -9450,8 +9558,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9450
9558
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9451
9559
|
}
|
|
9452
9560
|
}
|
|
9453
|
-
//
|
|
9454
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9561
|
+
// vout
|
|
9562
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '68f918a4ccb85') {
|
|
9455
9563
|
var _productarr4$data, _productarr4$data$pro;
|
|
9456
9564
|
var _productarr4 = ProductInfoObj;
|
|
9457
9565
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -9504,8 +9612,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9504
9612
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9505
9613
|
}
|
|
9506
9614
|
}
|
|
9507
|
-
//
|
|
9508
|
-
|
|
9615
|
+
// puff n stuff
|
|
9616
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6899e604db87f') {
|
|
9509
9617
|
var _productarr5$data, _productarr5$data$pro;
|
|
9510
9618
|
var _productarr5 = ProductInfoObj;
|
|
9511
9619
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -9558,8 +9666,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9558
9666
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9559
9667
|
}
|
|
9560
9668
|
}
|
|
9561
|
-
//
|
|
9562
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9669
|
+
// dija
|
|
9670
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '682cbb9bdcd57') {
|
|
9563
9671
|
var _productarr6$data, _productarr6$data$pro;
|
|
9564
9672
|
var _productarr6 = ProductInfoObj;
|
|
9565
9673
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -9611,7 +9719,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9611
9719
|
// optional: show user message or disable click
|
|
9612
9720
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9613
9721
|
}
|
|
9614
|
-
}
|
|
9722
|
+
}
|
|
9723
|
+
// angel
|
|
9724
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67bda57bca71d') {
|
|
9615
9725
|
var _productarr7$data, _productarr7$data$pro;
|
|
9616
9726
|
var _productarr7 = ProductInfoObj;
|
|
9617
9727
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -9663,7 +9773,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9663
9773
|
// optional: show user message or disable click
|
|
9664
9774
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9665
9775
|
}
|
|
9666
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9776
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '69244cc88aa0a') {
|
|
9667
9777
|
var _productarr8$data, _productarr8$data$pro;
|
|
9668
9778
|
var _productarr8 = ProductInfoObj;
|
|
9669
9779
|
if (!(_productarr8 !== null && _productarr8 !== void 0 && (_productarr8$data = _productarr8.data) !== null && _productarr8$data !== void 0 && _productarr8$data.productinfo)) return;
|
|
@@ -9715,6 +9825,58 @@ var Productinfo = function Productinfo(props) {
|
|
|
9715
9825
|
// optional: show user message or disable click
|
|
9716
9826
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9717
9827
|
}
|
|
9828
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '687ca57cc78e8') {
|
|
9829
|
+
var _productarr9$data, _productarr9$data$pro;
|
|
9830
|
+
var _productarr9 = ProductInfoObj;
|
|
9831
|
+
if (!(_productarr9 !== null && _productarr9 !== void 0 && (_productarr9$data = _productarr9.data) !== null && _productarr9$data !== void 0 && _productarr9$data.productinfo)) return;
|
|
9832
|
+
|
|
9833
|
+
// 1. Find variants that include the newly selected value
|
|
9834
|
+
var _validVariants8 = (_productarr9.data.productinfo.variants || []).filter(function (variant) {
|
|
9835
|
+
return (variant.variantoptions || []).some(function (opt) {
|
|
9836
|
+
return opt.valueid === optionvaluesitem.valueid;
|
|
9837
|
+
});
|
|
9838
|
+
});
|
|
9839
|
+
|
|
9840
|
+
// 2. Build a set of valid value ids
|
|
9841
|
+
var _validValueIds8 = new Set(_validVariants8.flatMap(function (v) {
|
|
9842
|
+
return (v.variantoptions || []).map(function (opt) {
|
|
9843
|
+
return opt.valueid;
|
|
9844
|
+
});
|
|
9845
|
+
}));
|
|
9846
|
+
|
|
9847
|
+
// 3. Loop all options and their values
|
|
9848
|
+
(_productarr9$data$pro = _productarr9.data.productinfo.productoptions) === null || _productarr9$data$pro === void 0 || _productarr9$data$pro.forEach(function (option) {
|
|
9849
|
+
var _option$optionvalues9;
|
|
9850
|
+
var anySelected = false;
|
|
9851
|
+
(_option$optionvalues9 = option.optionvalues) === null || _option$optionvalues9 === void 0 || _option$optionvalues9.forEach(function (value) {
|
|
9852
|
+
// Normalize stock check result to boolean
|
|
9853
|
+
var stockResult = isOptionInStock(value.valueid);
|
|
9854
|
+
var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
|
|
9855
|
+
|
|
9856
|
+
// Unselect if NOT valid with the chosen new value OR out of stock
|
|
9857
|
+
if (!_validValueIds8.has(value.valueid) || !inStock) {
|
|
9858
|
+
value.isselected = 0;
|
|
9859
|
+
} else {
|
|
9860
|
+
// keep whatever selection is already there (do not auto-select)
|
|
9861
|
+
if (value.isselected) anySelected = true;
|
|
9862
|
+
}
|
|
9863
|
+
});
|
|
9864
|
+
|
|
9865
|
+
// keep option-level selected state in sync
|
|
9866
|
+
option.isselected = anySelected ? 1 : 0;
|
|
9867
|
+
});
|
|
9868
|
+
|
|
9869
|
+
// 4. Only select the new value if it's in stock
|
|
9870
|
+
var _newInStock8 = function () {
|
|
9871
|
+
var r = isOptionInStock(optionvaluesitem.valueid);
|
|
9872
|
+
return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
|
|
9873
|
+
}();
|
|
9874
|
+
if (_newInStock8) {
|
|
9875
|
+
selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr9);
|
|
9876
|
+
} else {
|
|
9877
|
+
// optional: show user message or disable click
|
|
9878
|
+
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9879
|
+
}
|
|
9718
9880
|
} else {
|
|
9719
9881
|
var _productarr$data2;
|
|
9720
9882
|
var productarr = ProductInfoObj;
|
|
@@ -10196,10 +10358,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10196
10358
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10197
10359
|
runfunc = true;
|
|
10198
10360
|
} else {
|
|
10199
|
-
var _authdetailsContext$
|
|
10361
|
+
var _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26;
|
|
10200
10362
|
// here
|
|
10201
10363
|
setvariantnotchosendisclaimer('This field is required');
|
|
10202
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10364
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
10203
10365
|
}
|
|
10204
10366
|
} else {
|
|
10205
10367
|
runfunc = true;
|
|
@@ -10283,9 +10445,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10283
10445
|
};
|
|
10284
10446
|
};
|
|
10285
10447
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
10286
|
-
var _authdetailsContext$
|
|
10448
|
+
var _authdetailsContext$i27;
|
|
10287
10449
|
var policyobj = {};
|
|
10288
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10450
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 || (_authdetailsContext$i27 = _authdetailsContext$i27.instpolicies) === null || _authdetailsContext$i27 === void 0 || _authdetailsContext$i27.forEach(function (item, index) {
|
|
10289
10451
|
if (item.policytype == policytype) {
|
|
10290
10452
|
policyobj = item;
|
|
10291
10453
|
}
|
|
@@ -10294,7 +10456,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10294
10456
|
};
|
|
10295
10457
|
var relatedproducts = function relatedproducts() {
|
|
10296
10458
|
if (Relatedproducts.length != 0) {
|
|
10297
|
-
var _authdetailsContext$
|
|
10459
|
+
var _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32;
|
|
10298
10460
|
return /*#__PURE__*/React.createElement("div", {
|
|
10299
10461
|
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",
|
|
10300
10462
|
style: {
|
|
@@ -10316,9 +10478,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10316
10478
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10317
10479
|
className: "row m-0 w-100",
|
|
10318
10480
|
style: {
|
|
10319
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10481
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
10320
10482
|
}
|
|
10321
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10483
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
10322
10484
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
10323
10485
|
style: {
|
|
10324
10486
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10337,7 +10499,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10337
10499
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
10338
10500
|
borderRadius: 5
|
|
10339
10501
|
}
|
|
10340
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10502
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React.createElement("div", {
|
|
10341
10503
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center",
|
|
10342
10504
|
style: {
|
|
10343
10505
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10361,8 +10523,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10361
10523
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
10362
10524
|
transitionBehavior: 'auto',
|
|
10363
10525
|
wrapperClassName: '',
|
|
10364
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10365
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10526
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
10527
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10366
10528
|
}, Relatedproducts.map(function (item, index) {
|
|
10367
10529
|
if (item.productinfo != null) {
|
|
10368
10530
|
var _fetchProductInfoQuer50;
|
|
@@ -10484,10 +10646,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10484
10646
|
if (addtocartobjparam.variantid.length != 0) {
|
|
10485
10647
|
runfunc = true;
|
|
10486
10648
|
} else {
|
|
10487
|
-
var _authdetailsContext$
|
|
10649
|
+
var _authdetailsContext$i33;
|
|
10488
10650
|
// here
|
|
10489
10651
|
setvariantnotchosendisclaimer('This field is required');
|
|
10490
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10652
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
10491
10653
|
}
|
|
10492
10654
|
} else {
|
|
10493
10655
|
runfunc = true;
|
|
@@ -10530,8 +10692,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10530
10692
|
isVarianturlLoaded = _useState58[0],
|
|
10531
10693
|
setisVarianturlLoaded = _useState58[1];
|
|
10532
10694
|
useEffect(function () {
|
|
10533
|
-
var _authdetailsContext$
|
|
10534
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10695
|
+
var _authdetailsContext$i34;
|
|
10696
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '68f918a4ccb85') {
|
|
10535
10697
|
var params = new URLSearchParams(window.location.search);
|
|
10536
10698
|
var variantId = params.get('variant');
|
|
10537
10699
|
if (isVarianturlLoaded == false) {
|
|
@@ -11387,7 +11549,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11387
11549
|
})));
|
|
11388
11550
|
};
|
|
11389
11551
|
var StoreInfo = function StoreInfo(position) {
|
|
11390
|
-
var _fetchProductInfoQuer82, _authdetailsContext$
|
|
11552
|
+
var _fetchProductInfoQuer82, _authdetailsContext$i36, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i37, _authdetailsContext$i39;
|
|
11391
11553
|
return /*#__PURE__*/React.createElement("div", {
|
|
11392
11554
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
11393
11555
|
style: {
|
|
@@ -11466,8 +11628,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11466
11628
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
11467
11629
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
11468
11630
|
onClick: function onClick() {
|
|
11469
|
-
var _authdetailsContext$
|
|
11470
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11631
|
+
var _authdetailsContext$i35;
|
|
11632
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 || (_authdetailsContext$i35 = _authdetailsContext$i35.contactinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.email), '_self');
|
|
11471
11633
|
}
|
|
11472
11634
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11473
11635
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -11487,7 +11649,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11487
11649
|
style: {
|
|
11488
11650
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11489
11651
|
}
|
|
11490
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11652
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 || (_authdetailsContext$i36 = _authdetailsContext$i36.contactinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.email))), /*#__PURE__*/React.createElement("div", {
|
|
11491
11653
|
"class": "col-lg-12 my-2",
|
|
11492
11654
|
style: {
|
|
11493
11655
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -11539,25 +11701,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
11539
11701
|
}
|
|
11540
11702
|
}, /*#__PURE__*/React.createElement("p", {
|
|
11541
11703
|
"class": "m-0 p-0"
|
|
11542
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11704
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 || (_authdetailsContext$i37 = _authdetailsContext$i37.contactinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.email) != null && /*#__PURE__*/React.createElement("div", {
|
|
11543
11705
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11544
11706
|
}, /*#__PURE__*/React.createElement("button", {
|
|
11545
11707
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11546
11708
|
onClick: function onClick() {
|
|
11547
|
-
var _authdetailsContext$
|
|
11548
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11709
|
+
var _authdetailsContext$i38;
|
|
11710
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 || (_authdetailsContext$i38 = _authdetailsContext$i38.contactinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.email), '_self');
|
|
11549
11711
|
}
|
|
11550
11712
|
}, /*#__PURE__*/React.createElement("p", {
|
|
11551
11713
|
"class": "m-0 p-0"
|
|
11552
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11714
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
11553
11715
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : position == 'belowinfogoldlift' ? 'col-lg-6 allcentered mb-2 p-sm-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11554
11716
|
}, /*#__PURE__*/React.createElement("button", {
|
|
11555
11717
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11556
11718
|
onClick: function onClick() {
|
|
11557
|
-
var _authdetailsContext$
|
|
11558
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11559
|
-
var _authdetailsContext$
|
|
11560
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11719
|
+
var _authdetailsContext$i40;
|
|
11720
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.whatsappnumber) != null) {
|
|
11721
|
+
var _authdetailsContext$i41;
|
|
11722
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.whatsappnumber), '_blank');
|
|
11561
11723
|
}
|
|
11562
11724
|
}
|
|
11563
11725
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -11653,7 +11815,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11653
11815
|
lang: lang,
|
|
11654
11816
|
srcfromprops: props.srcfromprops
|
|
11655
11817
|
}, _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))
|
|
11656
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11818
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React.createElement(Article_itemtype, {
|
|
11657
11819
|
actions: (_ref2 = {
|
|
11658
11820
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
11659
11821
|
setisoutofstock: setisoutofstock,
|
|
@@ -11663,7 +11825,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11663
11825
|
lang: lang,
|
|
11664
11826
|
srcfromprops: props.srcfromprops
|
|
11665
11827
|
}, _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))
|
|
11666
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11828
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React.createElement(Product_itemtype_Article, {
|
|
11667
11829
|
actions: (_ref3 = {
|
|
11668
11830
|
isOptionInStock: isOptionInStock,
|
|
11669
11831
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -11689,7 +11851,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11689
11851
|
lang: lang,
|
|
11690
11852
|
srcfromprops: props.srcfromprops
|
|
11691
11853
|
}, _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))
|
|
11692
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11854
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) != '69ef34fd77c0f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
11693
11855
|
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 ',
|
|
11694
11856
|
style: {
|
|
11695
11857
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11880,7 +12042,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11880
12042
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11881
12043
|
sectionproperties: sectionproperties
|
|
11882
12044
|
})
|
|
11883
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12045
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React.createElement("div", {
|
|
11884
12046
|
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 ',
|
|
11885
12047
|
style: {
|
|
11886
12048
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12030,7 +12192,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12030
12192
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12031
12193
|
sectionproperties: sectionproperties
|
|
12032
12194
|
})
|
|
12033
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12195
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
12034
12196
|
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 ',
|
|
12035
12197
|
style: {
|
|
12036
12198
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12172,7 +12334,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12172
12334
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12173
12335
|
sectionproperties: sectionproperties
|
|
12174
12336
|
})
|
|
12175
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12337
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React.createElement("div", {
|
|
12176
12338
|
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 ',
|
|
12177
12339
|
style: {
|
|
12178
12340
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12323,7 +12485,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12323
12485
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12324
12486
|
sectionproperties: sectionproperties
|
|
12325
12487
|
})
|
|
12326
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12488
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React.createElement("div", {
|
|
12327
12489
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
|
|
12328
12490
|
}, productVideos.map(function (item, index) {
|
|
12329
12491
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -12340,7 +12502,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12340
12502
|
loop: true,
|
|
12341
12503
|
muted: true
|
|
12342
12504
|
}));
|
|
12343
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12505
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React.createElement("div", {
|
|
12344
12506
|
"class": 'row m-0 w-100 px-md-2 mb-5',
|
|
12345
12507
|
style: {
|
|
12346
12508
|
paddingLeft: 100,
|
|
@@ -12418,12 +12580,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12418
12580
|
}, /*#__PURE__*/React.createElement("p", {
|
|
12419
12581
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
12420
12582
|
style: {}
|
|
12421
|
-
}, langdetect == 'en' ? (_returnpolicyobj37 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj37 === void 0 ? void 0 : _returnpolicyobj37.policypagename_en : (_returnpolicyobj38 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj38 === void 0 ? void 0 : _returnpolicyobj38.policypagename_ar))))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12583
|
+
}, langdetect == 'en' ? (_returnpolicyobj37 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj37 === void 0 ? void 0 : _returnpolicyobj37.policypagename_en : (_returnpolicyobj38 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj38 === void 0 ? void 0 : _returnpolicyobj38.policypagename_ar))))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React.createElement("div", {
|
|
12422
12584
|
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 ',
|
|
12423
12585
|
style: {
|
|
12424
12586
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
12425
12587
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
12426
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12588
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
12427
12589
|
}
|
|
12428
12590
|
}, relatedproducts()))));
|
|
12429
12591
|
};
|
|
@@ -61593,7 +61755,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
61593
61755
|
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; }
|
|
61594
61756
|
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; }
|
|
61595
61757
|
var ModernFooter = function ModernFooter(props) {
|
|
61596
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$
|
|
61758
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i40;
|
|
61597
61759
|
var _useState = useState(''),
|
|
61598
61760
|
_useState2 = _slicedToArray(_useState, 2),
|
|
61599
61761
|
sectionproperties = _useState2[0],
|
|
@@ -61783,7 +61945,32 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
61783
61945
|
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3 px-2015-3 py-lg-3 '
|
|
61784
61946
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61785
61947
|
"class": "row m-0 w-100"
|
|
61786
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '
|
|
61948
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '69f5c925643a4' && /*#__PURE__*/React.createElement("div", {
|
|
61949
|
+
"class": "col-lg-12 p-0 d-flex justify-content-center justify-content-md-center"
|
|
61950
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61951
|
+
"class": "".concat(footerStyles.footerlogo) + ' d-flex align-items-center justify-content-start justify-content-md-center '
|
|
61952
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
61953
|
+
style: {
|
|
61954
|
+
width: '100%',
|
|
61955
|
+
height: '100%',
|
|
61956
|
+
objectFit: 'contain'
|
|
61957
|
+
},
|
|
61958
|
+
src: 'https://ik.imagekit.io/wsmqqfmyd/products/69f5c925643a4/6a0f19ff5239dgeneralimage.png'
|
|
61959
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69f5c925643a4' && /*#__PURE__*/React.createElement("div", {
|
|
61960
|
+
"class": "col-lg-12 p-0 d-flex justify-content-center justify-content-md-center mb-2"
|
|
61961
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61962
|
+
"class": "".concat(footerStyles.footerlogo) + ' d-flex align-items-center justify-content-start justify-content-md-center ',
|
|
61963
|
+
style: {
|
|
61964
|
+
height: '100px'
|
|
61965
|
+
}
|
|
61966
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
61967
|
+
style: {
|
|
61968
|
+
width: '100%',
|
|
61969
|
+
height: '100%',
|
|
61970
|
+
objectFit: 'contain'
|
|
61971
|
+
},
|
|
61972
|
+
src: 'https://ik.imagekit.io/42fa3n8bbf/products/69f5c925643a4/6a2967146b880generalimage.png'
|
|
61973
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6995aff955278' && /*#__PURE__*/React.createElement("div", {
|
|
61787
61974
|
"class": "col-lg-3 d-flex allcentered mb-md-4 "
|
|
61788
61975
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61789
61976
|
"class": "row m-0 w-100 text-start "
|
|
@@ -61802,8 +61989,8 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
61802
61989
|
"class": "col-lg-12 p-0 d-flex justify-content-start justify-content-md-start"
|
|
61803
61990
|
}, /*#__PURE__*/React.createElement("p", {
|
|
61804
61991
|
className: ' text-white wordbreak wordbreak3 text-center p-0 mt-3 '
|
|
61805
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61806
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61992
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.description_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.description_ar)))), /*#__PURE__*/React.createElement("div", {
|
|
61993
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '6995aff955278' ? langdetect == 'en' ? 'col-lg-3 col-md-12 col-sm-12 pl-5 px-md-12' : 'col-lg-3 col-md-12 col-sm-12 pr-5 px-md-12' : sectionproperties.showfooteraddress == 'Hide' && sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' ? 'col-lg-4 col-md-12 col-sm-12 mt-md-3' : sectionproperties.showdownloadsection == 'Show' || sectionproperties.showpaymentfooter == 'Show' ? 'col-lg-3 col-md-12 col-sm-12' : 'col-lg-4 col-md-12 col-sm-12'
|
|
61807
61994
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61808
61995
|
"class": "row m-0 w-100 d-flex justify-content-start"
|
|
61809
61996
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -61815,8 +62002,8 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
61815
62002
|
}
|
|
61816
62003
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.shownavigationpages == 'Show' && (templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
61817
62004
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
61818
|
-
var _authdetailsContext$
|
|
61819
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62005
|
+
var _authdetailsContext$i8;
|
|
62006
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6951481413cdb') {
|
|
61820
62007
|
if (item.pagename != 'About Us' && item.pagename != 'Quality & Certification') {
|
|
61821
62008
|
return /*#__PURE__*/React.createElement("div", {
|
|
61822
62009
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
@@ -62067,76 +62254,76 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62067
62254
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
62068
62255
|
}
|
|
62069
62256
|
}, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Terms & Conditions')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar))))), /*#__PURE__*/React.createElement("div", {
|
|
62070
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62257
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6995aff955278' ? 'col-lg-3 col-md-12 col-sm-12 mt-md-3' : sectionproperties.showfooteraddress == 'Hide' && sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' ? 'col-lg-4 col-md-12 col-sm-12 mt-md-3' : sectionproperties.showdownloadsection == 'Show' || sectionproperties.showpaymentfooter == 'Show' ? 'col-lg-3 col-md-12 col-sm-12 mt-md-3' : 'col-lg-4 col-md-12 col-sm-12 mt-md-3'
|
|
62071
62258
|
}, /*#__PURE__*/React.createElement("div", {
|
|
62072
62259
|
"class": "row m-0 w-100 d-flex justify-content-start"
|
|
62073
62260
|
}, /*#__PURE__*/React.createElement("div", {
|
|
62074
62261
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
62075
62262
|
}, /*#__PURE__*/React.createElement("p", {
|
|
62076
62263
|
"class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 '
|
|
62077
|
-
}, langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar)), sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62264
|
+
}, langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar)), sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.facebooklink) != null && /*#__PURE__*/React.createElement("div", {
|
|
62078
62265
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62079
62266
|
}, /*#__PURE__*/React.createElement("p", {
|
|
62080
62267
|
"class": footerStyles.facebook_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62081
62268
|
onClick: function onClick() {
|
|
62082
|
-
var _authdetailsContext$
|
|
62083
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62084
|
-
var _authdetailsContext$
|
|
62085
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62269
|
+
var _authdetailsContext$i1;
|
|
62270
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.facebooklink) != null) {
|
|
62271
|
+
var _authdetailsContext$i10;
|
|
62272
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.facebooklink, '_blank');
|
|
62086
62273
|
}
|
|
62087
62274
|
}
|
|
62088
62275
|
}, sectionproperties.fbiconfontsize != 0 && /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
62089
62276
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
62090
62277
|
size: sectionproperties.fbiconfontsize
|
|
62091
|
-
}), sectionproperties.fblinktext)), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62278
|
+
}), sectionproperties.fblinktext)), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instagramlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
62092
62279
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62093
62280
|
}, /*#__PURE__*/React.createElement("p", {
|
|
62094
62281
|
"class": footerStyles.instgram_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62095
62282
|
onClick: function onClick() {
|
|
62096
|
-
var _authdetailsContext$
|
|
62097
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62098
|
-
var _authdetailsContext$
|
|
62099
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62283
|
+
var _authdetailsContext$i12;
|
|
62284
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instagramlink) != null) {
|
|
62285
|
+
var _authdetailsContext$i13;
|
|
62286
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink, '_blank');
|
|
62100
62287
|
}
|
|
62101
62288
|
}
|
|
62102
62289
|
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
62103
62290
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
62104
62291
|
size: sectionproperties.instagramiconfontsize
|
|
62105
|
-
}), sectionproperties.instagramlinktext)), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62292
|
+
}), sectionproperties.instagramlinktext)), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
62106
62293
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62107
62294
|
}, /*#__PURE__*/React.createElement("p", {
|
|
62108
62295
|
"class": footerStyles.youtube_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62109
62296
|
onClick: function onClick() {
|
|
62110
|
-
var _authdetailsContext$
|
|
62111
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62112
|
-
var _authdetailsContext$
|
|
62113
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62297
|
+
var _authdetailsContext$i15;
|
|
62298
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber) != null) {
|
|
62299
|
+
var _authdetailsContext$i16;
|
|
62300
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber), '_blank');
|
|
62114
62301
|
}
|
|
62115
62302
|
}
|
|
62116
62303
|
}, sectionproperties.whatsappiconfontsize != 0 && /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
62117
62304
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
62118
62305
|
size: sectionproperties.whatsappiconfontsize
|
|
62119
|
-
}), sectionproperties.whatsapplinktext)), sectionproperties.youtube_btn == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62306
|
+
}), sectionproperties.whatsapplinktext)), sectionproperties.youtube_btn == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.youtubelink) != null && /*#__PURE__*/React.createElement("div", {
|
|
62120
62307
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62121
62308
|
}, /*#__PURE__*/React.createElement("p", {
|
|
62122
62309
|
"class": footerStyles.youtube_btnnn + ' m-0 p-0 d-flex align-items-center ',
|
|
62123
62310
|
onClick: function onClick() {
|
|
62124
|
-
var _authdetailsContext$
|
|
62125
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62126
|
-
var _authdetailsContext$
|
|
62127
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62311
|
+
var _authdetailsContext$i18;
|
|
62312
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.youtubelink) != null) {
|
|
62313
|
+
var _authdetailsContext$i19;
|
|
62314
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.youtubelink, '_blank');
|
|
62128
62315
|
}
|
|
62129
62316
|
}
|
|
62130
62317
|
}, sectionproperties.youtubeiconfontsize != 0 && /*#__PURE__*/React.createElement(AiFillYoutube$1, {
|
|
62131
62318
|
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2',
|
|
62132
62319
|
size: sectionproperties.youtubeiconfontsize
|
|
62133
|
-
}), 'YouTube')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62320
|
+
}), 'YouTube')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.twitterlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
62134
62321
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
62135
62322
|
onClick: function onClick() {
|
|
62136
|
-
var _authdetailsContext$
|
|
62137
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62138
|
-
var _authdetailsContext$
|
|
62139
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62323
|
+
var _authdetailsContext$i21;
|
|
62324
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.twitterlink) != null) {
|
|
62325
|
+
var _authdetailsContext$i22;
|
|
62326
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.twitterlink, '_blank');
|
|
62140
62327
|
}
|
|
62141
62328
|
}
|
|
62142
62329
|
}, /*#__PURE__*/React.createElement("i", {
|
|
@@ -62144,29 +62331,29 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62144
62331
|
style: {
|
|
62145
62332
|
fontSize: 20
|
|
62146
62333
|
}
|
|
62147
|
-
}, "x")), sectionproperties.linkedinbtnshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62334
|
+
}, "x")), sectionproperties.linkedinbtnshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.linkedinlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
62148
62335
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62149
62336
|
}, /*#__PURE__*/React.createElement("p", {
|
|
62150
62337
|
"class": footerStyles.linkedin_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62151
62338
|
onClick: function onClick() {
|
|
62152
|
-
var _authdetailsContext$
|
|
62153
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62154
|
-
var _authdetailsContext$
|
|
62155
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62339
|
+
var _authdetailsContext$i24;
|
|
62340
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.linkedinlink) != null) {
|
|
62341
|
+
var _authdetailsContext$i25;
|
|
62342
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.linkedinlink, '_blank');
|
|
62156
62343
|
}
|
|
62157
62344
|
}
|
|
62158
62345
|
}, sectionproperties.linkedinbtniconfontsize != 0 && /*#__PURE__*/React.createElement(AiOutlineLinkedin, {
|
|
62159
62346
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
62160
62347
|
size: sectionproperties.linkedinbtniconfontsize
|
|
62161
|
-
}), sectionproperties.linkedinlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62348
|
+
}), sectionproperties.linkedinlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.tiktoklink) != null && /*#__PURE__*/React.createElement("div", {
|
|
62162
62349
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62163
62350
|
}, /*#__PURE__*/React.createElement("p", {
|
|
62164
62351
|
"class": footerStyles.instgram_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62165
62352
|
onClick: function onClick() {
|
|
62166
|
-
var _authdetailsContext$
|
|
62167
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62168
|
-
var _authdetailsContext$
|
|
62169
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62353
|
+
var _authdetailsContext$i27;
|
|
62354
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.tiktoklink) != null) {
|
|
62355
|
+
var _authdetailsContext$i28;
|
|
62356
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.tiktoklink, '_blank');
|
|
62170
62357
|
}
|
|
62171
62358
|
}
|
|
62172
62359
|
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
@@ -62177,31 +62364,31 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62177
62364
|
}, /*#__PURE__*/React.createElement("p", {
|
|
62178
62365
|
"class": footerStyles.snapchat_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62179
62366
|
onClick: function onClick() {
|
|
62180
|
-
var _authdetailsContext$
|
|
62181
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62182
|
-
var _authdetailsContext$
|
|
62183
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62367
|
+
var _authdetailsContext$i29;
|
|
62368
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.snapchatlink) != null) {
|
|
62369
|
+
var _authdetailsContext$i30;
|
|
62370
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.snapchatlink, '_blank');
|
|
62184
62371
|
}
|
|
62185
62372
|
}
|
|
62186
62373
|
}, sectionproperties.snapchaticonfontsize != 0 && /*#__PURE__*/React.createElement(FaSnapchat, {
|
|
62187
62374
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
62188
62375
|
size: sectionproperties.snapchaticonfontsize
|
|
62189
|
-
}), sectionproperties.snapchatlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62376
|
+
}), sectionproperties.snapchatlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.telegramlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
62190
62377
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62191
62378
|
}, /*#__PURE__*/React.createElement("p", {
|
|
62192
62379
|
"class": footerStyles.instgram_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62193
62380
|
onClick: function onClick() {
|
|
62194
|
-
var _authdetailsContext$
|
|
62195
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62196
|
-
var _authdetailsContext$
|
|
62197
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62381
|
+
var _authdetailsContext$i32;
|
|
62382
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.telegramlink) != null) {
|
|
62383
|
+
var _authdetailsContext$i33;
|
|
62384
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.telegramlink, '_blank');
|
|
62198
62385
|
}
|
|
62199
62386
|
}
|
|
62200
62387
|
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React.createElement(FaTelegramPlane, {
|
|
62201
62388
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
62202
62389
|
size: sectionproperties.instagramiconfontsize
|
|
62203
62390
|
}), langdetect == 'en' ? 'Telegram' : 'Telegram')))), /*#__PURE__*/React.createElement("div", {
|
|
62204
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62391
|
+
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '6995aff955278' ? 'col-lg-3 col-md-12 col-sm-12 mt-md-3' : sectionproperties.showdownloadsection == 'Show' || sectionproperties.showpaymentfooter == 'Show' ? 'col-lg-3 col-md-12 col-sm-12 mt-md-3' : 'col-lg-4 col-md-12 col-sm-12 mt-md-3',
|
|
62205
62392
|
style: {
|
|
62206
62393
|
display: sectionproperties.showfooteraddress == 'Hide' && sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' ? 'none' : 'block'
|
|
62207
62394
|
}
|
|
@@ -62233,7 +62420,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62233
62420
|
}
|
|
62234
62421
|
}, /*#__PURE__*/React.createElement(IoLocationSharp, {
|
|
62235
62422
|
size: sectionproperties.footerinfoicon_fontsize
|
|
62236
|
-
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62423
|
+
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.address_ar)), sectionproperties.showfooteraddress == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.instid) == '69b14b442a4ef' && /*#__PURE__*/React.createElement("div", {
|
|
62237
62424
|
"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 '
|
|
62238
62425
|
}, /*#__PURE__*/React.createElement("p", {
|
|
62239
62426
|
"class": ' footerinfotext d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
@@ -62271,14 +62458,14 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62271
62458
|
}), authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
62272
62459
|
"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 ',
|
|
62273
62460
|
onClick: function onClick() {
|
|
62274
|
-
var _authdetailsContext$
|
|
62275
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62461
|
+
var _authdetailsContext$i38;
|
|
62462
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 || (_authdetailsContext$i38 = _authdetailsContext$i38.contactinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.email), '_self');
|
|
62276
62463
|
}
|
|
62277
62464
|
}, /*#__PURE__*/React.createElement("p", {
|
|
62278
62465
|
"class": ' footerinfotext d-flex align-items-center justify-content-start m-0 p-0 cursor-pointer ',
|
|
62279
62466
|
onClick: function onClick() {
|
|
62280
|
-
var _authdetailsContext$
|
|
62281
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62467
|
+
var _authdetailsContext$i39;
|
|
62468
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 || (_authdetailsContext$i39 = _authdetailsContext$i39.contactinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.email), '_self');
|
|
62282
62469
|
},
|
|
62283
62470
|
style: {
|
|
62284
62471
|
textTransform: 'none'
|
|
@@ -62289,7 +62476,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62289
62476
|
marginRight: langdetect == 'en' ? '0.5rem' : 0,
|
|
62290
62477
|
marginLeft: langdetect == 'ar' ? '0.5rem' : 0
|
|
62291
62478
|
}
|
|
62292
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62479
|
+
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 || (_authdetailsContext$i40 = _authdetailsContext$i40.contactinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.email)))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
62293
62480
|
"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'
|
|
62294
62481
|
}, /*#__PURE__*/React.createElement("div", {
|
|
62295
62482
|
className: "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
@@ -62301,15 +62488,15 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62301
62488
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-flex d-md-none ',
|
|
62302
62489
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
62303
62490
|
onClick: function onClick() {
|
|
62304
|
-
var _authdetailsContext$
|
|
62305
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62491
|
+
var _authdetailsContext$i41;
|
|
62492
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.mobileapplink_appstore, '_blank');
|
|
62306
62493
|
}
|
|
62307
62494
|
}), /*#__PURE__*/React.createElement("img", {
|
|
62308
62495
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-none d-md-flex ',
|
|
62309
62496
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
62310
62497
|
onClick: function onClick() {
|
|
62311
|
-
var _authdetailsContext$
|
|
62312
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62498
|
+
var _authdetailsContext$i42;
|
|
62499
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.mobileapplink_appstore, '_blank');
|
|
62313
62500
|
}
|
|
62314
62501
|
})), /*#__PURE__*/React.createElement("div", {
|
|
62315
62502
|
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start'
|
|
@@ -62317,15 +62504,15 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62317
62504
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-flex d-md-none ',
|
|
62318
62505
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
62319
62506
|
onClick: function onClick() {
|
|
62320
|
-
var _authdetailsContext$
|
|
62321
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62507
|
+
var _authdetailsContext$i43;
|
|
62508
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.mobileapplink_playstore, '_blank');
|
|
62322
62509
|
}
|
|
62323
62510
|
}), /*#__PURE__*/React.createElement("img", {
|
|
62324
62511
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-none d-md-flex ',
|
|
62325
62512
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
62326
62513
|
onClick: function onClick() {
|
|
62327
|
-
var _authdetailsContext$
|
|
62328
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62514
|
+
var _authdetailsContext$i44;
|
|
62515
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.mobileapplink_playstore, '_blank');
|
|
62329
62516
|
}
|
|
62330
62517
|
}))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
62331
62518
|
"class": "col-lg-3 col-md-12 col-sm-12 mt-md-3 px-lg-5 px-md-2",
|