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.cjs.js
CHANGED
|
@@ -1787,42 +1787,46 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1787
1787
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
1788
1788
|
var is_value_permdisabled = 0;
|
|
1789
1789
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
1790
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
1790
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0;
|
|
1791
1791
|
// if()
|
|
1792
1792
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68d28fc494276') {
|
|
1793
1793
|
is_value_permdisabled = 1;
|
|
1794
|
-
}
|
|
1794
|
+
}
|
|
1795
|
+
// alma
|
|
1796
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '67d349e5ee6a1') {
|
|
1797
|
+
is_value_permdisabled = 1;
|
|
1798
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '67c050d72cbe7') {
|
|
1795
1799
|
is_value_permdisabled = 1;
|
|
1796
1800
|
}
|
|
1797
1801
|
// amiga
|
|
1798
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1802
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '670fc18477599') {
|
|
1799
1803
|
is_value_permdisabled = 1;
|
|
1800
1804
|
}
|
|
1801
1805
|
// vout
|
|
1802
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1806
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '68f918a4ccb85') {
|
|
1803
1807
|
is_value_permdisabled = 1;
|
|
1804
1808
|
}
|
|
1805
1809
|
// puff
|
|
1806
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1810
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '6899e604db87f') {
|
|
1807
1811
|
is_value_permdisabled = 1;
|
|
1808
1812
|
}
|
|
1809
1813
|
// dija
|
|
1810
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1814
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1811
1815
|
is_value_permdisabled = 1;
|
|
1812
1816
|
}
|
|
1813
1817
|
// angel
|
|
1814
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1818
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67bda57bca71d') {
|
|
1815
1819
|
is_value_permdisabled = 1;
|
|
1816
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1820
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '69244cc88aa0a') {
|
|
1817
1821
|
is_value_permdisabled = 1;
|
|
1818
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1822
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '687ca57cc78e8') {
|
|
1819
1823
|
is_value_permdisabled = 1;
|
|
1820
1824
|
}
|
|
1821
1825
|
}
|
|
1822
1826
|
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
1823
|
-
var _authdetailsContext$
|
|
1827
|
+
var _authdetailsContext$i1;
|
|
1824
1828
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1825
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1829
|
+
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)
|
|
1826
1830
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
1827
1831
|
// sectionproperties.showoutofstockwithoutselection == 'Show'
|
|
1828
1832
|
// ? productinfostyles.color_container +
|
|
@@ -1853,7 +1857,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1853
1857
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1854
1858
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1855
1859
|
if (is_value_permdisabled == 0) {
|
|
1856
|
-
var _authdetailsContext$
|
|
1860
|
+
var _authdetailsContext$i10, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30;
|
|
1857
1861
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1858
1862
|
// className={
|
|
1859
1863
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1865,53 +1869,59 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1865
1869
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1866
1870
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1867
1871
|
// }
|
|
1868
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1872
|
+
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 : ''),
|
|
1869
1873
|
onClick: function onClick() {
|
|
1870
1874
|
if (isoptionvalueselected == 0) {
|
|
1871
|
-
var _authdetailsContext$
|
|
1872
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1875
|
+
var _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20;
|
|
1876
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68d28fc494276') {
|
|
1877
|
+
if (isValueinStock == 0) {
|
|
1878
|
+
return;
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
// alma
|
|
1882
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67d349e5ee6a1') {
|
|
1873
1883
|
if (isValueinStock == 0) {
|
|
1874
1884
|
return;
|
|
1875
1885
|
}
|
|
1876
1886
|
}
|
|
1877
1887
|
// amiga
|
|
1878
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1888
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '670fc18477599') {
|
|
1879
1889
|
if (isValueinStock == 0) {
|
|
1880
1890
|
return;
|
|
1881
1891
|
}
|
|
1882
1892
|
}
|
|
1883
1893
|
// vout
|
|
1884
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1894
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '68f918a4ccb85') {
|
|
1885
1895
|
if (isValueinStock == 0) {
|
|
1886
1896
|
return;
|
|
1887
1897
|
}
|
|
1888
1898
|
}
|
|
1889
1899
|
// puff
|
|
1890
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1900
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '6899e604db87f') {
|
|
1891
1901
|
if (isValueinStock == 0) {
|
|
1892
1902
|
return;
|
|
1893
1903
|
}
|
|
1894
1904
|
}
|
|
1895
1905
|
// angel
|
|
1896
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1906
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67bda57bca71d') {
|
|
1897
1907
|
if (isValueinStock == 0) {
|
|
1898
1908
|
return;
|
|
1899
1909
|
}
|
|
1900
1910
|
}
|
|
1901
1911
|
// dija
|
|
1902
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1912
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1903
1913
|
if (isValueinStock == 0) {
|
|
1904
1914
|
return;
|
|
1905
1915
|
}
|
|
1906
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1916
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '69244cc88aa0a') {
|
|
1907
1917
|
if (isValueinStock == 0) {
|
|
1908
1918
|
return;
|
|
1909
1919
|
}
|
|
1910
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1920
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '687ca57cc78e8') {
|
|
1911
1921
|
if (isValueinStock == 0) {
|
|
1912
1922
|
return;
|
|
1913
1923
|
}
|
|
1914
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1924
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6899e604db87f') {
|
|
1915
1925
|
if (isValueinStock == 0) {
|
|
1916
1926
|
return;
|
|
1917
1927
|
}
|
|
@@ -1955,18 +1965,20 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1955
1965
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1956
1966
|
"class": "h-100 allcentered"
|
|
1957
1967
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1958
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1968
|
+
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' :
|
|
1969
|
+
// alma
|
|
1970
|
+
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' :
|
|
1959
1971
|
// amiga
|
|
1960
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1972
|
+
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' :
|
|
1961
1973
|
// vout
|
|
1962
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1974
|
+
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' :
|
|
1963
1975
|
// puff
|
|
1964
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1976
|
+
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' :
|
|
1965
1977
|
// angel
|
|
1966
1978
|
|
|
1967
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1979
|
+
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' :
|
|
1968
1980
|
// dija
|
|
1969
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1981
|
+
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',
|
|
1970
1982
|
style: {
|
|
1971
1983
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1972
1984
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1975,55 +1987,61 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1975
1987
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1976
1988
|
}
|
|
1977
1989
|
} else {
|
|
1978
|
-
var _authdetailsContext$
|
|
1990
|
+
var _authdetailsContext$i31, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51;
|
|
1979
1991
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1980
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1992
|
+
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 : ''),
|
|
1981
1993
|
onClick: function onClick() {
|
|
1982
1994
|
if (isoptionvalueselected == 0) {
|
|
1983
|
-
var _authdetailsContext$
|
|
1984
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1995
|
+
var _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41;
|
|
1996
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68d28fc494276') {
|
|
1997
|
+
if (isValueinStock == 0) {
|
|
1998
|
+
return;
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
// alma
|
|
2002
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67d349e5ee6a1') {
|
|
1985
2003
|
if (isValueinStock == 0) {
|
|
1986
2004
|
return;
|
|
1987
2005
|
}
|
|
1988
2006
|
}
|
|
1989
2007
|
// amiga
|
|
1990
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2008
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '670fc18477599') {
|
|
1991
2009
|
if (isValueinStock == 0) {
|
|
1992
2010
|
return;
|
|
1993
2011
|
}
|
|
1994
2012
|
}
|
|
1995
2013
|
// vout
|
|
1996
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2014
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '68f918a4ccb85') {
|
|
1997
2015
|
if (isValueinStock == 0) {
|
|
1998
2016
|
return;
|
|
1999
2017
|
}
|
|
2000
2018
|
}
|
|
2001
2019
|
// puff n stuff
|
|
2002
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2020
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '6899e604db87f') {
|
|
2003
2021
|
if (isValueinStock == 0) {
|
|
2004
2022
|
return;
|
|
2005
2023
|
}
|
|
2006
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2024
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '69244cc88aa0a') {
|
|
2007
2025
|
if (isValueinStock == 0) {
|
|
2008
2026
|
return;
|
|
2009
2027
|
}
|
|
2010
2028
|
}
|
|
2011
2029
|
// angel
|
|
2012
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2030
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '67bda57bca71d') {
|
|
2013
2031
|
if (isValueinStock == 0) {
|
|
2014
2032
|
return;
|
|
2015
2033
|
}
|
|
2016
2034
|
}
|
|
2017
2035
|
// dija
|
|
2018
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2036
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '682cbb9bdcd57') {
|
|
2019
2037
|
if (isValueinStock == 0) {
|
|
2020
2038
|
return;
|
|
2021
2039
|
}
|
|
2022
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2040
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '687ca57cc78e8') {
|
|
2023
2041
|
if (isValueinStock == 0) {
|
|
2024
2042
|
return;
|
|
2025
2043
|
}
|
|
2026
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2044
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '6899e604db87f') {
|
|
2027
2045
|
if (isValueinStock == 0) {
|
|
2028
2046
|
return;
|
|
2029
2047
|
}
|
|
@@ -2047,17 +2065,19 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2047
2065
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
2048
2066
|
}
|
|
2049
2067
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2050
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2068
|
+
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' :
|
|
2069
|
+
// alma
|
|
2070
|
+
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' :
|
|
2051
2071
|
// amiga
|
|
2052
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2072
|
+
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' :
|
|
2053
2073
|
// vout
|
|
2054
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2074
|
+
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' :
|
|
2055
2075
|
// puff
|
|
2056
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2076
|
+
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' :
|
|
2057
2077
|
// angel
|
|
2058
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2078
|
+
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' :
|
|
2059
2079
|
// dija
|
|
2060
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2080
|
+
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',
|
|
2061
2081
|
style: {
|
|
2062
2082
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
2063
2083
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -2144,7 +2164,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2144
2164
|
setopensizeguidemodal(true);
|
|
2145
2165
|
}
|
|
2146
2166
|
}, 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) {
|
|
2147
|
-
var _authdetailsContext$
|
|
2167
|
+
var _authdetailsContext$i52;
|
|
2148
2168
|
return /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
2149
2169
|
"class": "thwvsf-wrapper-ul"
|
|
2150
2170
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2159,7 +2179,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2159
2179
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
2160
2180
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
2161
2181
|
}
|
|
2162
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2182
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement("span", null, index + 1, ". "), sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select, " "), " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":"))), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
|
|
2163
2183
|
var isoptionvalueselected = 0;
|
|
2164
2184
|
if (optionvaluesitem.isselected == 1) {
|
|
2165
2185
|
isoptionvalueselected = 1;
|
|
@@ -2193,7 +2213,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2193
2213
|
}
|
|
2194
2214
|
}));
|
|
2195
2215
|
} else {
|
|
2196
|
-
var _authdetailsContext$
|
|
2216
|
+
var _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57;
|
|
2197
2217
|
// else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
2198
2218
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
|
2199
2219
|
style: {
|
|
@@ -2212,14 +2232,14 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
2212
2232
|
// cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
2213
2233
|
// backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
2214
2234
|
background: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
2215
|
-
minWidth: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2216
|
-
height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2235
|
+
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',
|
|
2236
|
+
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',
|
|
2217
2237
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
2218
2238
|
position: 'relative',
|
|
2219
|
-
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2220
|
-
flexDirection: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2239
|
+
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 ',
|
|
2240
|
+
flexDirection: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) == '699d7f217889a' ? 'column' : 'row'
|
|
2221
2241
|
}
|
|
2222
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
2242
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
2223
2243
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
2224
2244
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
2225
2245
|
path: optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.thumbnail_url,
|
|
@@ -8037,7 +8057,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
8037
8057
|
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; }
|
|
8038
8058
|
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__default["default"](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; }
|
|
8039
8059
|
var Productinfo = function Productinfo(props) {
|
|
8040
|
-
var _css, _fetchProductInfoQuer88, _ref, _fetchProductInfoQuer89, _authdetailsContext$
|
|
8060
|
+
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;
|
|
8041
8061
|
var _useState = React.useState({}),
|
|
8042
8062
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
8043
8063
|
ProductInfoObj = _useState2[0],
|
|
@@ -8550,7 +8570,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8550
8570
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
8551
8571
|
// };
|
|
8552
8572
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
8553
|
-
var _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
8573
|
+
var _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
|
|
8554
8574
|
// lord
|
|
8555
8575
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68d28fc494276') {
|
|
8556
8576
|
var _ProductInfoObj$data;
|
|
@@ -8638,7 +8658,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8638
8658
|
}) && variantValueIds.includes(Currvalueid);
|
|
8639
8659
|
});
|
|
8640
8660
|
return inStock ? 1 : 0;
|
|
8641
|
-
}
|
|
8661
|
+
}
|
|
8662
|
+
// alma
|
|
8663
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67d349e5ee6a1') {
|
|
8642
8664
|
var _ProductInfoObj$data2;
|
|
8643
8665
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8644
8666
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8724,9 +8746,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8724
8746
|
}) && variantValueIds.includes(Currvalueid);
|
|
8725
8747
|
});
|
|
8726
8748
|
return _inStock ? 1 : 0;
|
|
8727
|
-
}
|
|
8728
|
-
// amiga
|
|
8729
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '670fc18477599') {
|
|
8749
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '67c050d72cbe7') {
|
|
8730
8750
|
var _ProductInfoObj$data3;
|
|
8731
8751
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8732
8752
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8813,8 +8833,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8813
8833
|
});
|
|
8814
8834
|
return _inStock2 ? 1 : 0;
|
|
8815
8835
|
}
|
|
8816
|
-
//
|
|
8817
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '
|
|
8836
|
+
// amiga
|
|
8837
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '670fc18477599') {
|
|
8818
8838
|
var _ProductInfoObj$data4;
|
|
8819
8839
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8820
8840
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8901,8 +8921,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8901
8921
|
});
|
|
8902
8922
|
return _inStock3 ? 1 : 0;
|
|
8903
8923
|
}
|
|
8904
|
-
//
|
|
8905
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '
|
|
8924
|
+
// vout
|
|
8925
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '68f918a4ccb85') {
|
|
8906
8926
|
var _ProductInfoObj$data5;
|
|
8907
8927
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8908
8928
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8989,8 +9009,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8989
9009
|
});
|
|
8990
9010
|
return _inStock4 ? 1 : 0;
|
|
8991
9011
|
}
|
|
8992
|
-
//
|
|
8993
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '
|
|
9012
|
+
// puff n stuff
|
|
9013
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '6899e604db87f') {
|
|
8994
9014
|
var _ProductInfoObj$data6;
|
|
8995
9015
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8996
9016
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -9077,8 +9097,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9077
9097
|
});
|
|
9078
9098
|
return _inStock5 ? 1 : 0;
|
|
9079
9099
|
}
|
|
9080
|
-
//
|
|
9081
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '
|
|
9100
|
+
// dija
|
|
9101
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '682cbb9bdcd57') {
|
|
9082
9102
|
var _ProductInfoObj$data7;
|
|
9083
9103
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
9084
9104
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -9164,7 +9184,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9164
9184
|
}) && variantValueIds.includes(Currvalueid);
|
|
9165
9185
|
});
|
|
9166
9186
|
return _inStock6 ? 1 : 0;
|
|
9167
|
-
}
|
|
9187
|
+
}
|
|
9188
|
+
// angel secrets
|
|
9189
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67bda57bca71d') {
|
|
9168
9190
|
var _ProductInfoObj$data8;
|
|
9169
9191
|
var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
|
|
9170
9192
|
var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
|
|
@@ -9250,7 +9272,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9250
9272
|
}) && variantValueIds.includes(Currvalueid);
|
|
9251
9273
|
});
|
|
9252
9274
|
return _inStock7 ? 1 : 0;
|
|
9253
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '
|
|
9275
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '69244cc88aa0a') {
|
|
9254
9276
|
var _ProductInfoObj$data9;
|
|
9255
9277
|
var _productinfo8 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data9 = ProductInfoObj.data) === null || _ProductInfoObj$data9 === void 0 ? void 0 : _ProductInfoObj$data9.productinfo;
|
|
9256
9278
|
var _options8 = (_productinfo8 === null || _productinfo8 === void 0 ? void 0 : _productinfo8.productoptions) || [];
|
|
@@ -9336,13 +9358,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
9336
9358
|
}) && variantValueIds.includes(Currvalueid);
|
|
9337
9359
|
});
|
|
9338
9360
|
return _inStock8 ? 1 : 0;
|
|
9361
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '687ca57cc78e8') {
|
|
9362
|
+
var _ProductInfoObj$data0;
|
|
9363
|
+
var _productinfo9 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data0 = ProductInfoObj.data) === null || _ProductInfoObj$data0 === void 0 ? void 0 : _ProductInfoObj$data0.productinfo;
|
|
9364
|
+
var _options9 = (_productinfo9 === null || _productinfo9 === void 0 ? void 0 : _productinfo9.productoptions) || [];
|
|
9365
|
+
var _variants9 = (_productinfo9 === null || _productinfo9 === void 0 ? void 0 : _productinfo9.variants) || [];
|
|
9366
|
+
|
|
9367
|
+
// Collect selected option value IDs and find which option they belong to
|
|
9368
|
+
var _selectedValues9 = [];
|
|
9369
|
+
_options9.forEach(function (option) {
|
|
9370
|
+
option.optionvalues.forEach(function (value) {
|
|
9371
|
+
if (value.isselected === 1) {
|
|
9372
|
+
_selectedValues9.push({
|
|
9373
|
+
optionid: option.optionid,
|
|
9374
|
+
valueid: value.valueid
|
|
9375
|
+
});
|
|
9376
|
+
}
|
|
9377
|
+
});
|
|
9378
|
+
});
|
|
9379
|
+
_options9.length;
|
|
9380
|
+
var _selectedCount9 = _selectedValues9.length;
|
|
9381
|
+
var _inStockVariants9 = _variants9.filter(function (v) {
|
|
9382
|
+
return v.current_quantity > 0;
|
|
9383
|
+
});
|
|
9384
|
+
|
|
9385
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
9386
|
+
if (_selectedCount9 === 0) {
|
|
9387
|
+
return _inStockVariants9.some(function (variant) {
|
|
9388
|
+
return variant.variantoptions.some(function (opt) {
|
|
9389
|
+
return opt.valueid === Currvalueid;
|
|
9390
|
+
});
|
|
9391
|
+
}) ? 1 : 0;
|
|
9392
|
+
}
|
|
9393
|
+
|
|
9394
|
+
// 🧠 Case 2: Only one option selected
|
|
9395
|
+
if (_selectedCount9 === 1) {
|
|
9396
|
+
var _selected9 = _selectedValues9[0];
|
|
9397
|
+
var _selectedOptionId9 = _selected9.optionid;
|
|
9398
|
+
|
|
9399
|
+
// Find which option this Currvalueid belongs to
|
|
9400
|
+
var _currentOptionId9 = null;
|
|
9401
|
+
_options9.forEach(function (option) {
|
|
9402
|
+
option.optionvalues.forEach(function (v) {
|
|
9403
|
+
if (v.valueid === Currvalueid) _currentOptionId9 = option.optionid;
|
|
9404
|
+
});
|
|
9405
|
+
});
|
|
9406
|
+
|
|
9407
|
+
// Same option (e.g., selecting only size)
|
|
9408
|
+
if (_selectedOptionId9 === _currentOptionId9) {
|
|
9409
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
9410
|
+
return _inStockVariants9.some(function (variant) {
|
|
9411
|
+
return variant.variantoptions.some(function (opt) {
|
|
9412
|
+
return opt.valueid === Currvalueid;
|
|
9413
|
+
});
|
|
9414
|
+
}) ? 1 : 0;
|
|
9415
|
+
}
|
|
9416
|
+
|
|
9417
|
+
// Different option (e.g., color)
|
|
9418
|
+
// Only in-stock if a variant has both selected value + this value
|
|
9419
|
+
return _inStockVariants9.some(function (variant) {
|
|
9420
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
9421
|
+
return v.valueid;
|
|
9422
|
+
});
|
|
9423
|
+
return variantValueIds.includes(_selected9.valueid) && variantValueIds.includes(Currvalueid);
|
|
9424
|
+
}) ? 1 : 0;
|
|
9425
|
+
}
|
|
9426
|
+
|
|
9427
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
9428
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
9429
|
+
var _inStock9 = _inStockVariants9.some(function (variant) {
|
|
9430
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
9431
|
+
return v.valueid;
|
|
9432
|
+
});
|
|
9433
|
+
// Must match all selected except the one that belongs to same option
|
|
9434
|
+
return _selectedValues9.every(function (sel) {
|
|
9435
|
+
if (_options9.some(function (opt) {
|
|
9436
|
+
return opt.optionvalues.some(function (v) {
|
|
9437
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
9438
|
+
});
|
|
9439
|
+
})) {
|
|
9440
|
+
// Skip same option
|
|
9441
|
+
return true;
|
|
9442
|
+
}
|
|
9443
|
+
return variantValueIds.includes(sel.valueid);
|
|
9444
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
9445
|
+
});
|
|
9446
|
+
return _inStock9 ? 1 : 0;
|
|
9339
9447
|
} else {
|
|
9340
9448
|
return 1;
|
|
9341
9449
|
}
|
|
9342
9450
|
};
|
|
9343
9451
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
9344
|
-
var _authdetailsContext$
|
|
9345
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9452
|
+
var _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23;
|
|
9453
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '68d28fc494276') {
|
|
9346
9454
|
var _productarr$data, _productarr$data$prod;
|
|
9347
9455
|
var _productarr = ProductInfoObj;
|
|
9348
9456
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -9394,7 +9502,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9394
9502
|
// optional: show user message or disable click
|
|
9395
9503
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9396
9504
|
}
|
|
9397
|
-
}
|
|
9505
|
+
}
|
|
9506
|
+
// alma
|
|
9507
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67d349e5ee6a1') {
|
|
9398
9508
|
var _productarr2$data, _productarr2$data$pro;
|
|
9399
9509
|
var _productarr2 = ProductInfoObj;
|
|
9400
9510
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -9446,9 +9556,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9446
9556
|
// optional: show user message or disable click
|
|
9447
9557
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9448
9558
|
}
|
|
9449
|
-
}
|
|
9450
|
-
// vout
|
|
9451
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68f918a4ccb85') {
|
|
9559
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '67c050d72cbe7') {
|
|
9452
9560
|
var _productarr3$data, _productarr3$data$pro;
|
|
9453
9561
|
var _productarr3 = ProductInfoObj;
|
|
9454
9562
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -9501,8 +9609,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9501
9609
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9502
9610
|
}
|
|
9503
9611
|
}
|
|
9504
|
-
//
|
|
9505
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9612
|
+
// vout
|
|
9613
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '68f918a4ccb85') {
|
|
9506
9614
|
var _productarr4$data, _productarr4$data$pro;
|
|
9507
9615
|
var _productarr4 = ProductInfoObj;
|
|
9508
9616
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -9555,8 +9663,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9555
9663
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9556
9664
|
}
|
|
9557
9665
|
}
|
|
9558
|
-
//
|
|
9559
|
-
|
|
9666
|
+
// puff n stuff
|
|
9667
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6899e604db87f') {
|
|
9560
9668
|
var _productarr5$data, _productarr5$data$pro;
|
|
9561
9669
|
var _productarr5 = ProductInfoObj;
|
|
9562
9670
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -9609,8 +9717,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9609
9717
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9610
9718
|
}
|
|
9611
9719
|
}
|
|
9612
|
-
//
|
|
9613
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9720
|
+
// dija
|
|
9721
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '682cbb9bdcd57') {
|
|
9614
9722
|
var _productarr6$data, _productarr6$data$pro;
|
|
9615
9723
|
var _productarr6 = ProductInfoObj;
|
|
9616
9724
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -9662,7 +9770,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9662
9770
|
// optional: show user message or disable click
|
|
9663
9771
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9664
9772
|
}
|
|
9665
|
-
}
|
|
9773
|
+
}
|
|
9774
|
+
// angel
|
|
9775
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67bda57bca71d') {
|
|
9666
9776
|
var _productarr7$data, _productarr7$data$pro;
|
|
9667
9777
|
var _productarr7 = ProductInfoObj;
|
|
9668
9778
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -9714,7 +9824,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9714
9824
|
// optional: show user message or disable click
|
|
9715
9825
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9716
9826
|
}
|
|
9717
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9827
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '69244cc88aa0a') {
|
|
9718
9828
|
var _productarr8$data, _productarr8$data$pro;
|
|
9719
9829
|
var _productarr8 = ProductInfoObj;
|
|
9720
9830
|
if (!(_productarr8 !== null && _productarr8 !== void 0 && (_productarr8$data = _productarr8.data) !== null && _productarr8$data !== void 0 && _productarr8$data.productinfo)) return;
|
|
@@ -9766,6 +9876,58 @@ var Productinfo = function Productinfo(props) {
|
|
|
9766
9876
|
// optional: show user message or disable click
|
|
9767
9877
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9768
9878
|
}
|
|
9879
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '687ca57cc78e8') {
|
|
9880
|
+
var _productarr9$data, _productarr9$data$pro;
|
|
9881
|
+
var _productarr9 = ProductInfoObj;
|
|
9882
|
+
if (!(_productarr9 !== null && _productarr9 !== void 0 && (_productarr9$data = _productarr9.data) !== null && _productarr9$data !== void 0 && _productarr9$data.productinfo)) return;
|
|
9883
|
+
|
|
9884
|
+
// 1. Find variants that include the newly selected value
|
|
9885
|
+
var _validVariants8 = (_productarr9.data.productinfo.variants || []).filter(function (variant) {
|
|
9886
|
+
return (variant.variantoptions || []).some(function (opt) {
|
|
9887
|
+
return opt.valueid === optionvaluesitem.valueid;
|
|
9888
|
+
});
|
|
9889
|
+
});
|
|
9890
|
+
|
|
9891
|
+
// 2. Build a set of valid value ids
|
|
9892
|
+
var _validValueIds8 = new Set(_validVariants8.flatMap(function (v) {
|
|
9893
|
+
return (v.variantoptions || []).map(function (opt) {
|
|
9894
|
+
return opt.valueid;
|
|
9895
|
+
});
|
|
9896
|
+
}));
|
|
9897
|
+
|
|
9898
|
+
// 3. Loop all options and their values
|
|
9899
|
+
(_productarr9$data$pro = _productarr9.data.productinfo.productoptions) === null || _productarr9$data$pro === void 0 || _productarr9$data$pro.forEach(function (option) {
|
|
9900
|
+
var _option$optionvalues9;
|
|
9901
|
+
var anySelected = false;
|
|
9902
|
+
(_option$optionvalues9 = option.optionvalues) === null || _option$optionvalues9 === void 0 || _option$optionvalues9.forEach(function (value) {
|
|
9903
|
+
// Normalize stock check result to boolean
|
|
9904
|
+
var stockResult = isOptionInStock(value.valueid);
|
|
9905
|
+
var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
|
|
9906
|
+
|
|
9907
|
+
// Unselect if NOT valid with the chosen new value OR out of stock
|
|
9908
|
+
if (!_validValueIds8.has(value.valueid) || !inStock) {
|
|
9909
|
+
value.isselected = 0;
|
|
9910
|
+
} else {
|
|
9911
|
+
// keep whatever selection is already there (do not auto-select)
|
|
9912
|
+
if (value.isselected) anySelected = true;
|
|
9913
|
+
}
|
|
9914
|
+
});
|
|
9915
|
+
|
|
9916
|
+
// keep option-level selected state in sync
|
|
9917
|
+
option.isselected = anySelected ? 1 : 0;
|
|
9918
|
+
});
|
|
9919
|
+
|
|
9920
|
+
// 4. Only select the new value if it's in stock
|
|
9921
|
+
var _newInStock8 = function () {
|
|
9922
|
+
var r = isOptionInStock(optionvaluesitem.valueid);
|
|
9923
|
+
return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
|
|
9924
|
+
}();
|
|
9925
|
+
if (_newInStock8) {
|
|
9926
|
+
selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr9);
|
|
9927
|
+
} else {
|
|
9928
|
+
// optional: show user message or disable click
|
|
9929
|
+
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
9930
|
+
}
|
|
9769
9931
|
} else {
|
|
9770
9932
|
var _productarr$data2;
|
|
9771
9933
|
var productarr = ProductInfoObj;
|
|
@@ -10247,10 +10409,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10247
10409
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10248
10410
|
runfunc = true;
|
|
10249
10411
|
} else {
|
|
10250
|
-
var _authdetailsContext$
|
|
10412
|
+
var _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26;
|
|
10251
10413
|
// here
|
|
10252
10414
|
setvariantnotchosendisclaimer('This field is required');
|
|
10253
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10415
|
+
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' : 'من فضلك اختر من المتغيرات');
|
|
10254
10416
|
}
|
|
10255
10417
|
} else {
|
|
10256
10418
|
runfunc = true;
|
|
@@ -10334,9 +10496,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10334
10496
|
};
|
|
10335
10497
|
};
|
|
10336
10498
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
10337
|
-
var _authdetailsContext$
|
|
10499
|
+
var _authdetailsContext$i27;
|
|
10338
10500
|
var policyobj = {};
|
|
10339
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10501
|
+
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) {
|
|
10340
10502
|
if (item.policytype == policytype) {
|
|
10341
10503
|
policyobj = item;
|
|
10342
10504
|
}
|
|
@@ -10345,7 +10507,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10345
10507
|
};
|
|
10346
10508
|
var relatedproducts = function relatedproducts() {
|
|
10347
10509
|
if (Relatedproducts.length != 0) {
|
|
10348
|
-
var _authdetailsContext$
|
|
10510
|
+
var _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32;
|
|
10349
10511
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10350
10512
|
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",
|
|
10351
10513
|
style: {
|
|
@@ -10367,9 +10529,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10367
10529
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10368
10530
|
className: "row m-0 w-100",
|
|
10369
10531
|
style: {
|
|
10370
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10532
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
10371
10533
|
}
|
|
10372
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10534
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10373
10535
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
10374
10536
|
style: {
|
|
10375
10537
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10388,7 +10550,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10388
10550
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
10389
10551
|
borderRadius: 5
|
|
10390
10552
|
}
|
|
10391
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10553
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10392
10554
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center",
|
|
10393
10555
|
style: {
|
|
10394
10556
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -10412,8 +10574,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10412
10574
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
10413
10575
|
transitionBehavior: 'auto',
|
|
10414
10576
|
wrapperClassName: '',
|
|
10415
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10416
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10577
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
10578
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10417
10579
|
}, Relatedproducts.map(function (item, index) {
|
|
10418
10580
|
if (item.productinfo != null) {
|
|
10419
10581
|
var _fetchProductInfoQuer50;
|
|
@@ -10535,10 +10697,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10535
10697
|
if (addtocartobjparam.variantid.length != 0) {
|
|
10536
10698
|
runfunc = true;
|
|
10537
10699
|
} else {
|
|
10538
|
-
var _authdetailsContext$
|
|
10700
|
+
var _authdetailsContext$i33;
|
|
10539
10701
|
// here
|
|
10540
10702
|
setvariantnotchosendisclaimer('This field is required');
|
|
10541
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10703
|
+
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');
|
|
10542
10704
|
}
|
|
10543
10705
|
} else {
|
|
10544
10706
|
runfunc = true;
|
|
@@ -10581,8 +10743,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10581
10743
|
isVarianturlLoaded = _useState58[0],
|
|
10582
10744
|
setisVarianturlLoaded = _useState58[1];
|
|
10583
10745
|
React.useEffect(function () {
|
|
10584
|
-
var _authdetailsContext$
|
|
10585
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10746
|
+
var _authdetailsContext$i34;
|
|
10747
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '68f918a4ccb85') {
|
|
10586
10748
|
var params = new URLSearchParams(window.location.search);
|
|
10587
10749
|
var variantId = params.get('variant');
|
|
10588
10750
|
if (isVarianturlLoaded == false) {
|
|
@@ -11438,7 +11600,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11438
11600
|
})));
|
|
11439
11601
|
};
|
|
11440
11602
|
var StoreInfo = function StoreInfo(position) {
|
|
11441
|
-
var _fetchProductInfoQuer82, _authdetailsContext$
|
|
11603
|
+
var _fetchProductInfoQuer82, _authdetailsContext$i36, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i37, _authdetailsContext$i39;
|
|
11442
11604
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11443
11605
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
11444
11606
|
style: {
|
|
@@ -11517,8 +11679,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11517
11679
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11518
11680
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
11519
11681
|
onClick: function onClick() {
|
|
11520
|
-
var _authdetailsContext$
|
|
11521
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11682
|
+
var _authdetailsContext$i35;
|
|
11683
|
+
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');
|
|
11522
11684
|
}
|
|
11523
11685
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11524
11686
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -11538,7 +11700,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11538
11700
|
style: {
|
|
11539
11701
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
11540
11702
|
}
|
|
11541
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11703
|
+
}, 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__default["default"].createElement("div", {
|
|
11542
11704
|
"class": "col-lg-12 my-2",
|
|
11543
11705
|
style: {
|
|
11544
11706
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -11590,25 +11752,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
11590
11752
|
}
|
|
11591
11753
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11592
11754
|
"class": "m-0 p-0"
|
|
11593
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11755
|
+
}, 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__default["default"].createElement("div", {
|
|
11594
11756
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11595
11757
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
11596
11758
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11597
11759
|
onClick: function onClick() {
|
|
11598
|
-
var _authdetailsContext$
|
|
11599
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11760
|
+
var _authdetailsContext$i38;
|
|
11761
|
+
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');
|
|
11600
11762
|
}
|
|
11601
11763
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11602
11764
|
"class": "m-0 p-0"
|
|
11603
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11765
|
+
}, 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__default["default"].createElement("div", {
|
|
11604
11766
|
"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'
|
|
11605
11767
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
11606
11768
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11607
11769
|
onClick: function onClick() {
|
|
11608
|
-
var _authdetailsContext$
|
|
11609
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11610
|
-
var _authdetailsContext$
|
|
11611
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11770
|
+
var _authdetailsContext$i40;
|
|
11771
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.whatsappnumber) != null) {
|
|
11772
|
+
var _authdetailsContext$i41;
|
|
11773
|
+
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');
|
|
11612
11774
|
}
|
|
11613
11775
|
}
|
|
11614
11776
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -11704,7 +11866,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11704
11866
|
lang: lang,
|
|
11705
11867
|
srcfromprops: props.srcfromprops
|
|
11706
11868
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
11707
|
-
}), (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$
|
|
11869
|
+
}), (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__default["default"].createElement(Article_itemtype, {
|
|
11708
11870
|
actions: (_ref2 = {
|
|
11709
11871
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
11710
11872
|
setisoutofstock: setisoutofstock,
|
|
@@ -11714,7 +11876,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11714
11876
|
lang: lang,
|
|
11715
11877
|
srcfromprops: props.srcfromprops
|
|
11716
11878
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
11717
|
-
}), (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$
|
|
11879
|
+
}), (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__default["default"].createElement(Product_itemtype_Article, {
|
|
11718
11880
|
actions: (_ref3 = {
|
|
11719
11881
|
isOptionInStock: isOptionInStock,
|
|
11720
11882
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -11740,7 +11902,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11740
11902
|
lang: lang,
|
|
11741
11903
|
srcfromprops: props.srcfromprops
|
|
11742
11904
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
11743
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11905
|
+
}), 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__default["default"].createElement("div", {
|
|
11744
11906
|
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 ',
|
|
11745
11907
|
style: {
|
|
11746
11908
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11931,7 +12093,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11931
12093
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11932
12094
|
sectionproperties: sectionproperties
|
|
11933
12095
|
})
|
|
11934
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12096
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11935
12097
|
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 ',
|
|
11936
12098
|
style: {
|
|
11937
12099
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12081,7 +12243,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12081
12243
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12082
12244
|
sectionproperties: sectionproperties
|
|
12083
12245
|
})
|
|
12084
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12246
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12085
12247
|
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 ',
|
|
12086
12248
|
style: {
|
|
12087
12249
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12223,7 +12385,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12223
12385
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12224
12386
|
sectionproperties: sectionproperties
|
|
12225
12387
|
})
|
|
12226
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12388
|
+
}))))), 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__default["default"].createElement("div", {
|
|
12227
12389
|
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 ',
|
|
12228
12390
|
style: {
|
|
12229
12391
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -12374,7 +12536,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12374
12536
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
12375
12537
|
sectionproperties: sectionproperties
|
|
12376
12538
|
})
|
|
12377
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12539
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12378
12540
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
|
|
12379
12541
|
}, productVideos.map(function (item, index) {
|
|
12380
12542
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -12391,7 +12553,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
12391
12553
|
loop: true,
|
|
12392
12554
|
muted: true
|
|
12393
12555
|
}));
|
|
12394
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12556
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12395
12557
|
"class": 'row m-0 w-100 px-md-2 mb-5',
|
|
12396
12558
|
style: {
|
|
12397
12559
|
paddingLeft: 100,
|
|
@@ -12469,12 +12631,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
12469
12631
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12470
12632
|
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
|
|
12471
12633
|
style: {}
|
|
12472
|
-
}, 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$
|
|
12634
|
+
}, 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__default["default"].createElement("div", {
|
|
12473
12635
|
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 ',
|
|
12474
12636
|
style: {
|
|
12475
12637
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
12476
12638
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
12477
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12639
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
12478
12640
|
}
|
|
12479
12641
|
}, relatedproducts()))));
|
|
12480
12642
|
};
|
|
@@ -61644,7 +61806,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
61644
61806
|
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; }
|
|
61645
61807
|
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__default["default"](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; }
|
|
61646
61808
|
var ModernFooter = function ModernFooter(props) {
|
|
61647
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$
|
|
61809
|
+
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;
|
|
61648
61810
|
var _useState = React.useState(''),
|
|
61649
61811
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
61650
61812
|
sectionproperties = _useState2[0],
|
|
@@ -61834,7 +61996,32 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
61834
61996
|
"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 '
|
|
61835
61997
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61836
61998
|
"class": "row m-0 w-100"
|
|
61837
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '
|
|
61999
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '69f5c925643a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62000
|
+
"class": "col-lg-12 p-0 d-flex justify-content-center justify-content-md-center"
|
|
62001
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62002
|
+
"class": "".concat(footerStyles.footerlogo) + ' d-flex align-items-center justify-content-start justify-content-md-center '
|
|
62003
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
62004
|
+
style: {
|
|
62005
|
+
width: '100%',
|
|
62006
|
+
height: '100%',
|
|
62007
|
+
objectFit: 'contain'
|
|
62008
|
+
},
|
|
62009
|
+
src: 'https://ik.imagekit.io/wsmqqfmyd/products/69f5c925643a4/6a0f19ff5239dgeneralimage.png'
|
|
62010
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69f5c925643a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62011
|
+
"class": "col-lg-12 p-0 d-flex justify-content-center justify-content-md-center mb-2"
|
|
62012
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62013
|
+
"class": "".concat(footerStyles.footerlogo) + ' d-flex align-items-center justify-content-start justify-content-md-center ',
|
|
62014
|
+
style: {
|
|
62015
|
+
height: '100px'
|
|
62016
|
+
}
|
|
62017
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
62018
|
+
style: {
|
|
62019
|
+
width: '100%',
|
|
62020
|
+
height: '100%',
|
|
62021
|
+
objectFit: 'contain'
|
|
62022
|
+
},
|
|
62023
|
+
src: 'https://ik.imagekit.io/42fa3n8bbf/products/69f5c925643a4/6a2967146b880generalimage.png'
|
|
62024
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6995aff955278' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61838
62025
|
"class": "col-lg-3 d-flex allcentered mb-md-4 "
|
|
61839
62026
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61840
62027
|
"class": "row m-0 w-100 text-start "
|
|
@@ -61853,8 +62040,8 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
61853
62040
|
"class": "col-lg-12 p-0 d-flex justify-content-start justify-content-md-start"
|
|
61854
62041
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
61855
62042
|
className: ' text-white wordbreak wordbreak3 text-center p-0 mt-3 '
|
|
61856
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
61857
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62043
|
+
}, 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__default["default"].createElement("div", {
|
|
62044
|
+
"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'
|
|
61858
62045
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61859
62046
|
"class": "row m-0 w-100 d-flex justify-content-start"
|
|
61860
62047
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -61866,8 +62053,8 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
61866
62053
|
}
|
|
61867
62054
|
}, 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) {
|
|
61868
62055
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
61869
|
-
var _authdetailsContext$
|
|
61870
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62056
|
+
var _authdetailsContext$i8;
|
|
62057
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6951481413cdb') {
|
|
61871
62058
|
if (item.pagename != 'About Us' && item.pagename != 'Quality & Certification') {
|
|
61872
62059
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61873
62060
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
@@ -62118,76 +62305,76 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62118
62305
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
62119
62306
|
}
|
|
62120
62307
|
}, 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__default["default"].createElement("div", {
|
|
62121
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62308
|
+
"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'
|
|
62122
62309
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62123
62310
|
"class": "row m-0 w-100 d-flex justify-content-start"
|
|
62124
62311
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62125
62312
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
62126
62313
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
62127
62314
|
"class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 '
|
|
62128
|
-
}, langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar)), sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62315
|
+
}, 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__default["default"].createElement("div", {
|
|
62129
62316
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62130
62317
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
62131
62318
|
"class": footerStyles.facebook_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62132
62319
|
onClick: function onClick() {
|
|
62133
|
-
var _authdetailsContext$
|
|
62134
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62135
|
-
var _authdetailsContext$
|
|
62136
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62320
|
+
var _authdetailsContext$i1;
|
|
62321
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.facebooklink) != null) {
|
|
62322
|
+
var _authdetailsContext$i10;
|
|
62323
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.facebooklink, '_blank');
|
|
62137
62324
|
}
|
|
62138
62325
|
}
|
|
62139
62326
|
}, sectionproperties.fbiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
62140
62327
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
62141
62328
|
size: sectionproperties.fbiconfontsize
|
|
62142
|
-
}), sectionproperties.fblinktext)), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62329
|
+
}), 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__default["default"].createElement("div", {
|
|
62143
62330
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62144
62331
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
62145
62332
|
"class": footerStyles.instgram_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62146
62333
|
onClick: function onClick() {
|
|
62147
|
-
var _authdetailsContext$
|
|
62148
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62149
|
-
var _authdetailsContext$
|
|
62150
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62334
|
+
var _authdetailsContext$i12;
|
|
62335
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instagramlink) != null) {
|
|
62336
|
+
var _authdetailsContext$i13;
|
|
62337
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink, '_blank');
|
|
62151
62338
|
}
|
|
62152
62339
|
}
|
|
62153
62340
|
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
62154
62341
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
62155
62342
|
size: sectionproperties.instagramiconfontsize
|
|
62156
|
-
}), sectionproperties.instagramlinktext)), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62343
|
+
}), 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__default["default"].createElement("div", {
|
|
62157
62344
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62158
62345
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
62159
62346
|
"class": footerStyles.youtube_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62160
62347
|
onClick: function onClick() {
|
|
62161
|
-
var _authdetailsContext$
|
|
62162
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62163
|
-
var _authdetailsContext$
|
|
62164
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62348
|
+
var _authdetailsContext$i15;
|
|
62349
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber) != null) {
|
|
62350
|
+
var _authdetailsContext$i16;
|
|
62351
|
+
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');
|
|
62165
62352
|
}
|
|
62166
62353
|
}
|
|
62167
62354
|
}, sectionproperties.whatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
62168
62355
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
62169
62356
|
size: sectionproperties.whatsappiconfontsize
|
|
62170
|
-
}), sectionproperties.whatsapplinktext)), sectionproperties.youtube_btn == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62357
|
+
}), 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__default["default"].createElement("div", {
|
|
62171
62358
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62172
62359
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
62173
62360
|
"class": footerStyles.youtube_btnnn + ' m-0 p-0 d-flex align-items-center ',
|
|
62174
62361
|
onClick: function onClick() {
|
|
62175
|
-
var _authdetailsContext$
|
|
62176
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62177
|
-
var _authdetailsContext$
|
|
62178
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62362
|
+
var _authdetailsContext$i18;
|
|
62363
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.youtubelink) != null) {
|
|
62364
|
+
var _authdetailsContext$i19;
|
|
62365
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.youtubelink, '_blank');
|
|
62179
62366
|
}
|
|
62180
62367
|
}
|
|
62181
62368
|
}, sectionproperties.youtubeiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(AiFillYoutube$1.AiFillYoutube, {
|
|
62182
62369
|
"class": langdetect != 'ar' ? 'mr-2' : 'ml-2',
|
|
62183
62370
|
size: sectionproperties.youtubeiconfontsize
|
|
62184
|
-
}), 'YouTube')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62371
|
+
}), 'YouTube')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.twitterlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62185
62372
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
|
|
62186
62373
|
onClick: function onClick() {
|
|
62187
|
-
var _authdetailsContext$
|
|
62188
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62189
|
-
var _authdetailsContext$
|
|
62190
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62374
|
+
var _authdetailsContext$i21;
|
|
62375
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.twitterlink) != null) {
|
|
62376
|
+
var _authdetailsContext$i22;
|
|
62377
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.twitterlink, '_blank');
|
|
62191
62378
|
}
|
|
62192
62379
|
}
|
|
62193
62380
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -62195,29 +62382,29 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62195
62382
|
style: {
|
|
62196
62383
|
fontSize: 20
|
|
62197
62384
|
}
|
|
62198
|
-
}, "x")), sectionproperties.linkedinbtnshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62385
|
+
}, "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__default["default"].createElement("div", {
|
|
62199
62386
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62200
62387
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
62201
62388
|
"class": footerStyles.linkedin_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62202
62389
|
onClick: function onClick() {
|
|
62203
|
-
var _authdetailsContext$
|
|
62204
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62205
|
-
var _authdetailsContext$
|
|
62206
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62390
|
+
var _authdetailsContext$i24;
|
|
62391
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.linkedinlink) != null) {
|
|
62392
|
+
var _authdetailsContext$i25;
|
|
62393
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.linkedinlink, '_blank');
|
|
62207
62394
|
}
|
|
62208
62395
|
}
|
|
62209
62396
|
}, sectionproperties.linkedinbtniconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(AiOutlineLinkedin.AiOutlineLinkedin, {
|
|
62210
62397
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
62211
62398
|
size: sectionproperties.linkedinbtniconfontsize
|
|
62212
|
-
}), sectionproperties.linkedinlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62399
|
+
}), sectionproperties.linkedinlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62213
62400
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62214
62401
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
62215
62402
|
"class": footerStyles.instgram_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62216
62403
|
onClick: function onClick() {
|
|
62217
|
-
var _authdetailsContext$
|
|
62218
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62219
|
-
var _authdetailsContext$
|
|
62220
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62404
|
+
var _authdetailsContext$i27;
|
|
62405
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.tiktoklink) != null) {
|
|
62406
|
+
var _authdetailsContext$i28;
|
|
62407
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.tiktoklink, '_blank');
|
|
62221
62408
|
}
|
|
62222
62409
|
}
|
|
62223
62410
|
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
@@ -62228,31 +62415,31 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62228
62415
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
62229
62416
|
"class": footerStyles.snapchat_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62230
62417
|
onClick: function onClick() {
|
|
62231
|
-
var _authdetailsContext$
|
|
62232
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62233
|
-
var _authdetailsContext$
|
|
62234
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62418
|
+
var _authdetailsContext$i29;
|
|
62419
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.snapchatlink) != null) {
|
|
62420
|
+
var _authdetailsContext$i30;
|
|
62421
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.snapchatlink, '_blank');
|
|
62235
62422
|
}
|
|
62236
62423
|
}
|
|
62237
62424
|
}, sectionproperties.snapchaticonfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaSnapchat.FaSnapchat, {
|
|
62238
62425
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
62239
62426
|
size: sectionproperties.snapchaticonfontsize
|
|
62240
|
-
}), sectionproperties.snapchatlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62427
|
+
}), sectionproperties.snapchatlinktext)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.telegramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62241
62428
|
"class": "col-lg-12 d-flex justify-content-start align-items-center p-0 mb-1"
|
|
62242
62429
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
62243
62430
|
"class": footerStyles.instgram_btn + ' m-0 p-0 d-flex align-items-center ',
|
|
62244
62431
|
onClick: function onClick() {
|
|
62245
|
-
var _authdetailsContext$
|
|
62246
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62247
|
-
var _authdetailsContext$
|
|
62248
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62432
|
+
var _authdetailsContext$i32;
|
|
62433
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.telegramlink) != null) {
|
|
62434
|
+
var _authdetailsContext$i33;
|
|
62435
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.telegramlink, '_blank');
|
|
62249
62436
|
}
|
|
62250
62437
|
}
|
|
62251
62438
|
}, sectionproperties.instagramiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement(FaTelegramPlane.FaTelegramPlane, {
|
|
62252
62439
|
"class": langdetect == 'en' ? 'mr-2' : 'ml-2',
|
|
62253
62440
|
size: sectionproperties.instagramiconfontsize
|
|
62254
62441
|
}), langdetect == 'en' ? 'Telegram' : 'Telegram')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62255
|
-
"class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62442
|
+
"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',
|
|
62256
62443
|
style: {
|
|
62257
62444
|
display: sectionproperties.showfooteraddress == 'Hide' && sectionproperties.showfooterphonenumber == 'Hide' && sectionproperties.showfooteremail == 'Hide' ? 'none' : 'block'
|
|
62258
62445
|
}
|
|
@@ -62284,7 +62471,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62284
62471
|
}
|
|
62285
62472
|
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
62286
62473
|
size: sectionproperties.footerinfoicon_fontsize
|
|
62287
|
-
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62474
|
+
})), 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__default["default"].createElement("div", {
|
|
62288
62475
|
"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 '
|
|
62289
62476
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
62290
62477
|
"class": ' footerinfotext d-flex align-items-center justify-content-start p-0 m-0 ',
|
|
@@ -62322,14 +62509,14 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62322
62509
|
}), authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62323
62510
|
"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 ',
|
|
62324
62511
|
onClick: function onClick() {
|
|
62325
|
-
var _authdetailsContext$
|
|
62326
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62512
|
+
var _authdetailsContext$i38;
|
|
62513
|
+
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');
|
|
62327
62514
|
}
|
|
62328
62515
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
62329
62516
|
"class": ' footerinfotext d-flex align-items-center justify-content-start m-0 p-0 cursor-pointer ',
|
|
62330
62517
|
onClick: function onClick() {
|
|
62331
|
-
var _authdetailsContext$
|
|
62332
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62518
|
+
var _authdetailsContext$i39;
|
|
62519
|
+
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');
|
|
62333
62520
|
},
|
|
62334
62521
|
style: {
|
|
62335
62522
|
textTransform: 'none'
|
|
@@ -62340,7 +62527,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62340
62527
|
marginRight: langdetect == 'en' ? '0.5rem' : 0,
|
|
62341
62528
|
marginLeft: langdetect == 'ar' ? '0.5rem' : 0
|
|
62342
62529
|
}
|
|
62343
|
-
}), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62530
|
+
}), 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__default["default"].createElement("div", {
|
|
62344
62531
|
"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'
|
|
62345
62532
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62346
62533
|
className: "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
@@ -62352,15 +62539,15 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62352
62539
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-flex d-md-none ',
|
|
62353
62540
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
62354
62541
|
onClick: function onClick() {
|
|
62355
|
-
var _authdetailsContext$
|
|
62356
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62542
|
+
var _authdetailsContext$i41;
|
|
62543
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.mobileapplink_appstore, '_blank');
|
|
62357
62544
|
}
|
|
62358
62545
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
62359
62546
|
"class": "".concat(footerStyles.apptore) + ' cursor-pointer d-none d-md-flex ',
|
|
62360
62547
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
62361
62548
|
onClick: function onClick() {
|
|
62362
|
-
var _authdetailsContext$
|
|
62363
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62549
|
+
var _authdetailsContext$i42;
|
|
62550
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.mobileapplink_appstore, '_blank');
|
|
62364
62551
|
}
|
|
62365
62552
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62366
62553
|
"class": 'col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start'
|
|
@@ -62368,15 +62555,15 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
62368
62555
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-flex d-md-none ',
|
|
62369
62556
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
62370
62557
|
onClick: function onClick() {
|
|
62371
|
-
var _authdetailsContext$
|
|
62372
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62558
|
+
var _authdetailsContext$i43;
|
|
62559
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.mobileapplink_playstore, '_blank');
|
|
62373
62560
|
}
|
|
62374
62561
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
62375
62562
|
"class": "".concat(footerStyles.playstore) + ' cursor-pointer d-none d-md-flex ',
|
|
62376
62563
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
62377
62564
|
onClick: function onClick() {
|
|
62378
|
-
var _authdetailsContext$
|
|
62379
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
62565
|
+
var _authdetailsContext$i44;
|
|
62566
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.mobileapplink_playstore, '_blank');
|
|
62380
62567
|
}
|
|
62381
62568
|
}))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62382
62569
|
"class": "col-lg-3 col-md-12 col-sm-12 mt-md-3 px-lg-5 px-md-2",
|