tabexseriescomponents 0.2.1206 → 0.2.1208

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 CHANGED
@@ -1787,17 +1787,21 @@ 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;
1790
+ var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
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
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '69244cc88aa0a') {
1795
+ // puff
1796
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6899e604db87f') {
1796
1797
  is_value_permdisabled = 1;
1797
1798
  }
1798
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '687ca57cc78e8') {
1799
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '69244cc88aa0a') {
1799
1800
  is_value_permdisabled = 1;
1800
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6899e604db87f') {
1801
+ }
1802
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '687ca57cc78e8') {
1803
+ is_value_permdisabled = 1;
1804
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '6899e604db87f') {
1801
1805
  is_value_permdisabled = 1;
1802
1806
  }
1803
1807
  }
@@ -1826,7 +1830,7 @@ var Variantoptions = function Variantoptions(props) {
1826
1830
  } else if (item.optionname == 'size' || item.optionname == 'Size') {
1827
1831
  // if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
1828
1832
  if (is_value_permdisabled == 0) {
1829
- var _authdetailsContext$i5, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11;
1833
+ var _authdetailsContext$i6, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
1830
1834
  return /*#__PURE__*/React__default["default"].createElement("div", {
1831
1835
  // className={
1832
1836
  // issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
@@ -1838,23 +1842,29 @@ var Variantoptions = function Variantoptions(props) {
1838
1842
  // ' mr-2 variabttcontainer allcentered ' +
1839
1843
  // `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
1840
1844
  // }
1841
- className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.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 : ''),
1845
+ className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.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 : ''),
1842
1846
  onClick: function onClick() {
1843
1847
  if (isoptionvalueselected == 0) {
1844
- var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
1845
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
1848
+ var _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
1849
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68d28fc494276') {
1846
1850
  if (isValueinStock == 0) {
1847
1851
  return;
1848
1852
  }
1849
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '69244cc88aa0a') {
1853
+ }
1854
+ // puff
1855
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6899e604db87f') {
1850
1856
  if (isValueinStock == 0) {
1851
1857
  return;
1852
1858
  }
1853
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '687ca57cc78e8') {
1859
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '69244cc88aa0a') {
1854
1860
  if (isValueinStock == 0) {
1855
1861
  return;
1856
1862
  }
1857
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6899e604db87f') {
1863
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '687ca57cc78e8') {
1864
+ if (isValueinStock == 0) {
1865
+ return;
1866
+ }
1867
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6899e604db87f') {
1858
1868
  if (isValueinStock == 0) {
1859
1869
  return;
1860
1870
  }
@@ -1898,7 +1908,9 @@ var Variantoptions = function Variantoptions(props) {
1898
1908
  }, /*#__PURE__*/React__default["default"].createElement("i", {
1899
1909
  "class": "h-100 allcentered"
1900
1910
  }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
1901
- className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.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$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.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$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.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',
1911
+ className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1912
+ // puff
1913
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.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$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.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$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.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',
1902
1914
  style: {
1903
1915
  color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
1904
1916
  fontSize: sectionproperties.variantcontainer_fontSize + 'px',
@@ -1907,25 +1919,31 @@ var Variantoptions = function Variantoptions(props) {
1907
1919
  }, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
1908
1920
  }
1909
1921
  } else {
1910
- var _authdetailsContext$i12, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20;
1922
+ var _authdetailsContext$i15, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25;
1911
1923
  return /*#__PURE__*/React__default["default"].createElement("div", {
1912
- className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68f918a4ccb85' ? " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered linethroughshowcrossicon ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
1924
+ className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.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 : ''),
1913
1925
  onClick: function onClick() {
1914
1926
  if (isoptionvalueselected == 0) {
1915
- var _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
1916
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68d28fc494276') {
1927
+ var _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20;
1928
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68d28fc494276') {
1929
+ if (isValueinStock == 0) {
1930
+ return;
1931
+ }
1932
+ }
1933
+ // puff n stuff
1934
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6899e604db87f') {
1917
1935
  if (isValueinStock == 0) {
1918
1936
  return;
1919
1937
  }
1920
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '69244cc88aa0a') {
1938
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '69244cc88aa0a') {
1921
1939
  if (isValueinStock == 0) {
1922
1940
  return;
1923
1941
  }
1924
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '687ca57cc78e8') {
1942
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '687ca57cc78e8') {
1925
1943
  if (isValueinStock == 0) {
1926
1944
  return;
1927
1945
  }
1928
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '6899e604db87f') {
1946
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6899e604db87f') {
1929
1947
  if (isValueinStock == 0) {
1930
1948
  return;
1931
1949
  }
@@ -1949,7 +1967,9 @@ var Variantoptions = function Variantoptions(props) {
1949
1967
  border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
1950
1968
  }
1951
1969
  }, /*#__PURE__*/React__default["default"].createElement("p", {
1952
- className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.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$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.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$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
1970
+ 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' :
1971
+ // puff
1972
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '687ca57cc78e8' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
1953
1973
  style: {
1954
1974
  color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
1955
1975
  fontSize: sectionproperties.variantcontainer_fontSize + 'px',
@@ -7559,7 +7579,7 @@ var TamaraWidget = function TamaraWidget(props) {
7559
7579
  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; }
7560
7580
  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; }
7561
7581
  var Productinfo = function Productinfo(props) {
7562
- var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i29, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i30, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i39, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i40;
7582
+ var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i31, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i32, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i41, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i42;
7563
7583
  var _useState = React.useState({}),
7564
7584
  _useState2 = _slicedToArray__default["default"](_useState, 2),
7565
7585
  ProductInfoObj = _useState2[0],
@@ -8052,7 +8072,8 @@ var Productinfo = function Productinfo(props) {
8052
8072
  // selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
8053
8073
  // };
8054
8074
  var isOptionInStock = function isOptionInStock(Currvalueid) {
8055
- var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
8075
+ var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0;
8076
+ // lord
8056
8077
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
8057
8078
  var _ProductInfoObj$data;
8058
8079
  var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
@@ -8139,7 +8160,9 @@ var Productinfo = function Productinfo(props) {
8139
8160
  }) && variantValueIds.includes(Currvalueid);
8140
8161
  });
8141
8162
  return inStock ? 1 : 0;
8142
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '69244cc88aa0a') {
8163
+ }
8164
+ // puff n stuff
8165
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '6899e604db87f') {
8143
8166
  var _ProductInfoObj$data2;
8144
8167
  var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
8145
8168
  var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
@@ -8225,7 +8248,7 @@ var Productinfo = function Productinfo(props) {
8225
8248
  }) && variantValueIds.includes(Currvalueid);
8226
8249
  });
8227
8250
  return _inStock ? 1 : 0;
8228
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '687ca57cc78e8') {
8251
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '69244cc88aa0a') {
8229
8252
  var _ProductInfoObj$data3;
8230
8253
  var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
8231
8254
  var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
@@ -8311,7 +8334,7 @@ var Productinfo = function Productinfo(props) {
8311
8334
  }) && variantValueIds.includes(Currvalueid);
8312
8335
  });
8313
8336
  return _inStock2 ? 1 : 0;
8314
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6899e604db87f') {
8337
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '687ca57cc78e8') {
8315
8338
  var _ProductInfoObj$data4;
8316
8339
  var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
8317
8340
  var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
@@ -8397,13 +8420,99 @@ var Productinfo = function Productinfo(props) {
8397
8420
  }) && variantValueIds.includes(Currvalueid);
8398
8421
  });
8399
8422
  return _inStock3 ? 1 : 0;
8423
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6899e604db87f') {
8424
+ var _ProductInfoObj$data5;
8425
+ var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
8426
+ var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
8427
+ var _variants4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.variants) || [];
8428
+
8429
+ // Collect selected option value IDs and find which option they belong to
8430
+ var _selectedValues4 = [];
8431
+ _options4.forEach(function (option) {
8432
+ option.optionvalues.forEach(function (value) {
8433
+ if (value.isselected === 1) {
8434
+ _selectedValues4.push({
8435
+ optionid: option.optionid,
8436
+ valueid: value.valueid
8437
+ });
8438
+ }
8439
+ });
8440
+ });
8441
+ _options4.length;
8442
+ var _selectedCount4 = _selectedValues4.length;
8443
+ var _inStockVariants4 = _variants4.filter(function (v) {
8444
+ return v.current_quantity > 0;
8445
+ });
8446
+
8447
+ // 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
8448
+ if (_selectedCount4 === 0) {
8449
+ return _inStockVariants4.some(function (variant) {
8450
+ return variant.variantoptions.some(function (opt) {
8451
+ return opt.valueid === Currvalueid;
8452
+ });
8453
+ }) ? 1 : 0;
8454
+ }
8455
+
8456
+ // 🧠 Case 2: Only one option selected
8457
+ if (_selectedCount4 === 1) {
8458
+ var _selected4 = _selectedValues4[0];
8459
+ var _selectedOptionId4 = _selected4.optionid;
8460
+
8461
+ // Find which option this Currvalueid belongs to
8462
+ var _currentOptionId4 = null;
8463
+ _options4.forEach(function (option) {
8464
+ option.optionvalues.forEach(function (v) {
8465
+ if (v.valueid === Currvalueid) _currentOptionId4 = option.optionid;
8466
+ });
8467
+ });
8468
+
8469
+ // Same option (e.g., selecting only size)
8470
+ if (_selectedOptionId4 === _currentOptionId4) {
8471
+ // Show all sizes that appear in any in-stock variant (any color)
8472
+ return _inStockVariants4.some(function (variant) {
8473
+ return variant.variantoptions.some(function (opt) {
8474
+ return opt.valueid === Currvalueid;
8475
+ });
8476
+ }) ? 1 : 0;
8477
+ }
8478
+
8479
+ // Different option (e.g., color)
8480
+ // Only in-stock if a variant has both selected value + this value
8481
+ return _inStockVariants4.some(function (variant) {
8482
+ var variantValueIds = variant.variantoptions.map(function (v) {
8483
+ return v.valueid;
8484
+ });
8485
+ return variantValueIds.includes(_selected4.valueid) && variantValueIds.includes(Currvalueid);
8486
+ }) ? 1 : 0;
8487
+ }
8488
+
8489
+ // 🧠 Case 3: Multiple options selected (e.g., color + size)
8490
+ // Check if this value can exist with all selected options except its own type in any in-stock variant
8491
+ var _inStock4 = _inStockVariants4.some(function (variant) {
8492
+ var variantValueIds = variant.variantoptions.map(function (v) {
8493
+ return v.valueid;
8494
+ });
8495
+ // Must match all selected except the one that belongs to same option
8496
+ return _selectedValues4.every(function (sel) {
8497
+ if (_options4.some(function (opt) {
8498
+ return opt.optionvalues.some(function (v) {
8499
+ return v.valueid === Currvalueid && v.optionid === sel.optionid;
8500
+ });
8501
+ })) {
8502
+ // Skip same option
8503
+ return true;
8504
+ }
8505
+ return variantValueIds.includes(sel.valueid);
8506
+ }) && variantValueIds.includes(Currvalueid);
8507
+ });
8508
+ return _inStock4 ? 1 : 0;
8400
8509
  } else {
8401
8510
  return 1;
8402
8511
  }
8403
8512
  };
8404
8513
  var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
8405
- var _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11;
8406
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68d28fc494276') {
8514
+ var _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13;
8515
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '68d28fc494276') {
8407
8516
  var _productarr$data, _productarr$data$prod;
8408
8517
  var _productarr = ProductInfoObj;
8409
8518
  if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
@@ -8455,7 +8564,9 @@ var Productinfo = function Productinfo(props) {
8455
8564
  // optional: show user message or disable click
8456
8565
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
8457
8566
  }
8458
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '69244cc88aa0a') {
8567
+ }
8568
+ // puff n stuff
8569
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '6899e604db87f') {
8459
8570
  var _productarr2$data, _productarr2$data$pro;
8460
8571
  var _productarr2 = ProductInfoObj;
8461
8572
  if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
@@ -8507,7 +8618,7 @@ var Productinfo = function Productinfo(props) {
8507
8618
  // optional: show user message or disable click
8508
8619
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
8509
8620
  }
8510
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '687ca57cc78e8') {
8621
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '69244cc88aa0a') {
8511
8622
  var _productarr3$data, _productarr3$data$pro;
8512
8623
  var _productarr3 = ProductInfoObj;
8513
8624
  if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
@@ -8559,7 +8670,7 @@ var Productinfo = function Productinfo(props) {
8559
8670
  // optional: show user message or disable click
8560
8671
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
8561
8672
  }
8562
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6899e604db87f') {
8673
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '687ca57cc78e8') {
8563
8674
  var _productarr4$data, _productarr4$data$pro;
8564
8675
  var _productarr4 = ProductInfoObj;
8565
8676
  if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
@@ -8611,6 +8722,58 @@ var Productinfo = function Productinfo(props) {
8611
8722
  // optional: show user message or disable click
8612
8723
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
8613
8724
  }
8725
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6899e604db87f') {
8726
+ var _productarr5$data, _productarr5$data$pro;
8727
+ var _productarr5 = ProductInfoObj;
8728
+ if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
8729
+
8730
+ // 1. Find variants that include the newly selected value
8731
+ var _validVariants4 = (_productarr5.data.productinfo.variants || []).filter(function (variant) {
8732
+ return (variant.variantoptions || []).some(function (opt) {
8733
+ return opt.valueid === optionvaluesitem.valueid;
8734
+ });
8735
+ });
8736
+
8737
+ // 2. Build a set of valid value ids
8738
+ var _validValueIds4 = new Set(_validVariants4.flatMap(function (v) {
8739
+ return (v.variantoptions || []).map(function (opt) {
8740
+ return opt.valueid;
8741
+ });
8742
+ }));
8743
+
8744
+ // 3. Loop all options and their values
8745
+ (_productarr5$data$pro = _productarr5.data.productinfo.productoptions) === null || _productarr5$data$pro === void 0 || _productarr5$data$pro.forEach(function (option) {
8746
+ var _option$optionvalues5;
8747
+ var anySelected = false;
8748
+ (_option$optionvalues5 = option.optionvalues) === null || _option$optionvalues5 === void 0 || _option$optionvalues5.forEach(function (value) {
8749
+ // Normalize stock check result to boolean
8750
+ var stockResult = isOptionInStock(value.valueid);
8751
+ var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
8752
+
8753
+ // Unselect if NOT valid with the chosen new value OR out of stock
8754
+ if (!_validValueIds4.has(value.valueid) || !inStock) {
8755
+ value.isselected = 0;
8756
+ } else {
8757
+ // keep whatever selection is already there (do not auto-select)
8758
+ if (value.isselected) anySelected = true;
8759
+ }
8760
+ });
8761
+
8762
+ // keep option-level selected state in sync
8763
+ option.isselected = anySelected ? 1 : 0;
8764
+ });
8765
+
8766
+ // 4. Only select the new value if it's in stock
8767
+ var _newInStock4 = function () {
8768
+ var r = isOptionInStock(optionvaluesitem.valueid);
8769
+ return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
8770
+ }();
8771
+ if (_newInStock4) {
8772
+ selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr5);
8773
+ } else {
8774
+ // optional: show user message or disable click
8775
+ console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
8776
+ }
8614
8777
  } else {
8615
8778
  var _productarr$data2;
8616
8779
  var productarr = ProductInfoObj;
@@ -9092,10 +9255,10 @@ var Productinfo = function Productinfo(props) {
9092
9255
  if (addtocardpayloadobj.variantid.length != 0) {
9093
9256
  runfunc = true;
9094
9257
  } else {
9095
- var _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
9258
+ var _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
9096
9259
  // here
9097
9260
  setvariantnotchosendisclaimer('This field is required');
9098
- NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
9261
+ NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
9099
9262
  }
9100
9263
  } else {
9101
9264
  runfunc = true;
@@ -9179,9 +9342,9 @@ var Productinfo = function Productinfo(props) {
9179
9342
  };
9180
9343
  };
9181
9344
  var returnpolicyobj = function returnpolicyobj(policytype) {
9182
- var _authdetailsContext$i15;
9345
+ var _authdetailsContext$i17;
9183
9346
  var policyobj = {};
9184
- authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 || (_authdetailsContext$i15 = _authdetailsContext$i15.instpolicies) === null || _authdetailsContext$i15 === void 0 || _authdetailsContext$i15.forEach(function (item, index) {
9347
+ authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 || (_authdetailsContext$i17 = _authdetailsContext$i17.instpolicies) === null || _authdetailsContext$i17 === void 0 || _authdetailsContext$i17.forEach(function (item, index) {
9185
9348
  if (item.policytype == policytype) {
9186
9349
  policyobj = item;
9187
9350
  }
@@ -9190,7 +9353,7 @@ var Productinfo = function Productinfo(props) {
9190
9353
  };
9191
9354
  var relatedproducts = function relatedproducts() {
9192
9355
  if (Relatedproducts.length != 0) {
9193
- var _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19;
9356
+ var _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21;
9194
9357
  return /*#__PURE__*/React__default["default"].createElement("div", {
9195
9358
  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",
9196
9359
  style: {
@@ -9211,7 +9374,7 @@ var Productinfo = function Productinfo(props) {
9211
9374
  className: "col-lg-12 p-0"
9212
9375
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9213
9376
  className: "row m-0 w-100"
9214
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
9377
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
9215
9378
  className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
9216
9379
  style: {
9217
9380
  justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
@@ -9230,7 +9393,7 @@ var Productinfo = function Productinfo(props) {
9230
9393
  background: sectionproperties.relatedproducttitlelinebgcolor,
9231
9394
  borderRadius: 5
9232
9395
  }
9233
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
9396
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
9234
9397
  className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
9235
9398
  style: {
9236
9399
  justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
@@ -9251,8 +9414,8 @@ var Productinfo = function Productinfo(props) {
9251
9414
  }, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
9252
9415
  transitionBehavior: 'auto',
9253
9416
  wrapperClassName: '',
9254
- itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
9255
- scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
9417
+ itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
9418
+ scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
9256
9419
  }, Relatedproducts.map(function (item, index) {
9257
9420
  if (item.productinfo != null) {
9258
9421
  var _fetchProductInfoQuer49;
@@ -9322,10 +9485,10 @@ var Productinfo = function Productinfo(props) {
9322
9485
  if (addtocartobjparam.variantid.length != 0) {
9323
9486
  runfunc = true;
9324
9487
  } else {
9325
- var _authdetailsContext$i20;
9488
+ var _authdetailsContext$i22;
9326
9489
  // here
9327
9490
  setvariantnotchosendisclaimer('This field is required');
9328
- NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
9491
+ NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
9329
9492
  }
9330
9493
  } else {
9331
9494
  runfunc = true;
@@ -9368,8 +9531,8 @@ var Productinfo = function Productinfo(props) {
9368
9531
  isVarianturlLoaded = _useState58[0],
9369
9532
  setisVarianturlLoaded = _useState58[1];
9370
9533
  React.useEffect(function () {
9371
- var _authdetailsContext$i21;
9372
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68f918a4ccb85') {
9534
+ var _authdetailsContext$i23;
9535
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '68f918a4ccb85') {
9373
9536
  var params = new URLSearchParams(window.location.search);
9374
9537
  var variantId = params.get('variant');
9375
9538
  if (isVarianturlLoaded == false) {
@@ -10165,7 +10328,7 @@ var Productinfo = function Productinfo(props) {
10165
10328
  })));
10166
10329
  };
10167
10330
  var StoreInfo = function StoreInfo(position) {
10168
- var _fetchProductInfoQuer78, _authdetailsContext$i23, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i24, _authdetailsContext$i26;
10331
+ var _fetchProductInfoQuer78, _authdetailsContext$i25, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i26, _authdetailsContext$i28;
10169
10332
  return /*#__PURE__*/React__default["default"].createElement("div", {
10170
10333
  "class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
10171
10334
  style: {
@@ -10244,8 +10407,8 @@ var Productinfo = function Productinfo(props) {
10244
10407
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
10245
10408
  className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
10246
10409
  onClick: function onClick() {
10247
- var _authdetailsContext$i22;
10248
- window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.contactinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.email), '_self');
10410
+ var _authdetailsContext$i24;
10411
+ window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.contactinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.email), '_self');
10249
10412
  }
10250
10413
  }, /*#__PURE__*/React__default["default"].createElement("div", {
10251
10414
  "class": productinfo_cssstyles.iconContainer + ' iconContainer '
@@ -10265,7 +10428,7 @@ var Productinfo = function Productinfo(props) {
10265
10428
  style: {
10266
10429
  textAlign: langdetect == 'en' ? 'left' : 'right'
10267
10430
  }
10268
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 || (_authdetailsContext$i23 = _authdetailsContext$i23.contactinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.email))), /*#__PURE__*/React__default["default"].createElement("div", {
10431
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.email))), /*#__PURE__*/React__default["default"].createElement("div", {
10269
10432
  "class": "col-lg-12 my-2",
10270
10433
  style: {
10271
10434
  display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
@@ -10317,25 +10480,25 @@ var Productinfo = function Productinfo(props) {
10317
10480
  }
10318
10481
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10319
10482
  "class": "m-0 p-0"
10320
- }, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.contactinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
10483
+ }, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 || (_authdetailsContext$i26 = _authdetailsContext$i26.contactinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
10321
10484
  "class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
10322
10485
  }, /*#__PURE__*/React__default["default"].createElement("button", {
10323
10486
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
10324
10487
  onClick: function onClick() {
10325
- var _authdetailsContext$i25;
10326
- window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.email), '_self');
10488
+ var _authdetailsContext$i27;
10489
+ window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 || (_authdetailsContext$i27 = _authdetailsContext$i27.contactinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.email), '_self');
10327
10490
  }
10328
10491
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10329
10492
  "class": "m-0 p-0"
10330
- }, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
10493
+ }, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
10331
10494
  "class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
10332
10495
  }, /*#__PURE__*/React__default["default"].createElement("button", {
10333
10496
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
10334
10497
  onClick: function onClick() {
10335
- var _authdetailsContext$i27;
10336
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.whatsappnumber) != null) {
10337
- var _authdetailsContext$i28;
10338
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.whatsappnumber), '_blank');
10498
+ var _authdetailsContext$i29;
10499
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.whatsappnumber) != null) {
10500
+ var _authdetailsContext$i30;
10501
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.whatsappnumber), '_blank');
10339
10502
  }
10340
10503
  }
10341
10504
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -10431,7 +10594,7 @@ var Productinfo = function Productinfo(props) {
10431
10594
  lang: lang,
10432
10595
  srcfromprops: props.srcfromprops
10433
10596
  }, _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))
10434
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
10597
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
10435
10598
  actions: (_ref2 = {
10436
10599
  variantnotchosendisclaimer: variantnotchosendisclaimer,
10437
10600
  setisoutofstock: setisoutofstock,
@@ -10441,7 +10604,7 @@ var Productinfo = function Productinfo(props) {
10441
10604
  lang: lang,
10442
10605
  srcfromprops: props.srcfromprops
10443
10606
  }, _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))
10444
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
10607
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
10445
10608
  actions: (_ref3 = {
10446
10609
  isOptionInStock: isOptionInStock,
10447
10610
  variantnotchosendisclaimer: variantnotchosendisclaimer,
@@ -10467,7 +10630,7 @@ var Productinfo = function Productinfo(props) {
10467
10630
  lang: lang,
10468
10631
  srcfromprops: props.srcfromprops
10469
10632
  }, _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))
10470
- }), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
10633
+ }), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
10471
10634
  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 ',
10472
10635
  style: {
10473
10636
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
@@ -10658,7 +10821,7 @@ var Productinfo = function Productinfo(props) {
10658
10821
  productinfo_cssstyles: productinfo_cssstyles,
10659
10822
  sectionproperties: sectionproperties
10660
10823
  })
10661
- }))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
10824
+ }))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
10662
10825
  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 ',
10663
10826
  style: {
10664
10827
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
@@ -10809,7 +10972,7 @@ var Productinfo = function Productinfo(props) {
10809
10972
  productinfo_cssstyles: productinfo_cssstyles,
10810
10973
  sectionproperties: sectionproperties
10811
10974
  })
10812
- }))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
10975
+ }))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
10813
10976
  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 ',
10814
10977
  style: {
10815
10978
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
@@ -13928,7 +14091,7 @@ styleInject(css_248z$G);
13928
14091
  function ownKeys$2w(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; }
13929
14092
  function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13930
14093
  var Checkout = function Checkout(props) {
13931
- var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i11, _authdetailsContext$i12, _fetchcustomercartQue73, _authdetailsContext$i13, _fetchcustomercartQue74, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _fetchcustomercartQue75, _authdetailsContext$i19, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _fetchcustomercartQue85, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _fetchcustomercartQue87, _authdetailsContext$i35, _fetchcustomercartQue89, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _fetchcustomercartQue91, _authdetailsContext$i39, _fetchcustomercartQue93, _fetchcustomercartQue95, _authdetailsContext$i40, _fetchcustomercartQue97, _authdetailsContext$i41, _fetchcustomercartQue99, _authdetailsContext$i42, _fetchcustomercartQue101, _authdetailsContext$i43, _fetchcustomercartQue103, _authdetailsContext$i44, _fetchcustomercartQue105, _authdetailsContext$i45, _fetchcustomercartQue107, _authdetailsContext$i46, _fetchcustomercartQue109, _authdetailsContext$i47, _fetchcustomercartQue111, _fetchcustomercartQue112;
14094
+ var _fetchTabexCountriesQ2, _css, _fetchcustomercartQue72, _authdetailsContext$i11, _authdetailsContext$i12, _fetchcustomercartQue73, _authdetailsContext$i13, _fetchcustomercartQue74, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _fetchcustomercartQue75, _authdetailsContext$i19, _authdetailsContext$i20, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _fetchcustomercartQue85, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _fetchcustomercartQue87, _authdetailsContext$i36, _fetchcustomercartQue89, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _fetchcustomercartQue91, _authdetailsContext$i40, _fetchcustomercartQue93, _fetchcustomercartQue95, _authdetailsContext$i41, _fetchcustomercartQue97, _authdetailsContext$i42, _fetchcustomercartQue99, _authdetailsContext$i43, _fetchcustomercartQue101, _authdetailsContext$i44, _fetchcustomercartQue103, _authdetailsContext$i45, _fetchcustomercartQue105, _authdetailsContext$i46, _fetchcustomercartQue107, _authdetailsContext$i47, _fetchcustomercartQue109, _authdetailsContext$i48, _fetchcustomercartQue111, _fetchcustomercartQue112;
13932
14095
  var _useState = React.useState(null),
13933
14096
  _useState2 = _slicedToArray__default["default"](_useState, 2);
13934
14097
  _useState2[0];
@@ -15267,7 +15430,7 @@ var Checkout = function Checkout(props) {
15267
15430
  className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
15268
15431
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15269
15432
  className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
15270
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
15433
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '688b86aaf144b' ? langdetect == 'en' ? 'Governorate' : 'الولايه / الاماره' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
15271
15434
  "class": "mx-2",
15272
15435
  style: {
15273
15436
  color: 'var(--danger)'
@@ -15475,7 +15638,7 @@ var Checkout = function Checkout(props) {
15475
15638
  // events mart
15476
15639
 
15477
15640
  if (item.title_en == 'Event Date') {
15478
- var _authdetailsContext$i22, _authdetailsContext$i23;
15641
+ var _authdetailsContext$i23, _authdetailsContext$i24;
15479
15642
  return /*#__PURE__*/React__default["default"].createElement("div", {
15480
15643
  className: "col-lg-6 col-md-12 mb-3"
15481
15644
  }, /*#__PURE__*/React__default["default"].createElement("label", {
@@ -15504,12 +15667,12 @@ var Checkout = function Checkout(props) {
15504
15667
  // }}
15505
15668
  ,
15506
15669
  onChange: function onChange(event) {
15507
- var _authdetailsContext$i20;
15508
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.contactinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.instid) == '66b4a0338cb14') {
15670
+ var _authdetailsContext$i21;
15671
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.contactinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instid) == '66b4a0338cb14') {
15509
15672
  var selectedDate = event.target.value;
15510
15673
  if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
15511
- var _authdetailsContext$i21;
15512
- var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.contactinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
15674
+ var _authdetailsContext$i22;
15675
+ var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.contactinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
15513
15676
  if (minDate && selectedDate < minDate) {
15514
15677
  // alert(`Please select a date on or after ${minDate}`);
15515
15678
  return;
@@ -15527,11 +15690,11 @@ var Checkout = function Checkout(props) {
15527
15690
  style: {
15528
15691
  boxShadow: 'none'
15529
15692
  },
15530
- min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
15531
- .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
15693
+ min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
15694
+ .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
15532
15695
  }));
15533
15696
  } else {
15534
- var _authdetailsContext$i26, _authdetailsContext$i27;
15697
+ var _authdetailsContext$i27, _authdetailsContext$i28;
15535
15698
  return /*#__PURE__*/React__default["default"].createElement("div", {
15536
15699
  className: "col-lg-6 col-md-12 mb-3"
15537
15700
  }, /*#__PURE__*/React__default["default"].createElement("label", {
@@ -15552,12 +15715,12 @@ var Checkout = function Checkout(props) {
15552
15715
  // }}
15553
15716
  ,
15554
15717
  onChange: function onChange(event) {
15555
- var _authdetailsContext$i24;
15556
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.contactinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.instid) == '66b4a0338cb14') {
15718
+ var _authdetailsContext$i25;
15719
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instid) == '66b4a0338cb14') {
15557
15720
  var selectedDate = event.target.value;
15558
15721
  if (selectedDate != undefined && selectedDate != null && selectedDate != '' && selectedDate.length != 0) {
15559
- var _authdetailsContext$i25;
15560
- var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
15722
+ var _authdetailsContext$i26;
15723
+ var minDate = (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 || (_authdetailsContext$i26 = _authdetailsContext$i26.contactinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.instid) === '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000).toISOString().split('T')[0] : null;
15561
15724
  if (minDate && selectedDate < minDate) {
15562
15725
  // alert(`Please select a date on or after ${minDate}`);
15563
15726
  return;
@@ -15575,8 +15738,8 @@ var Checkout = function Checkout(props) {
15575
15738
  style: {
15576
15739
  boxShadow: 'none'
15577
15740
  },
15578
- min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
15579
- .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
15741
+ min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
15742
+ .toISOString().split('T')[0] : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '6908bb20bbca3' ? currentDate : null
15580
15743
  }));
15581
15744
  }
15582
15745
  }
@@ -15730,15 +15893,15 @@ var Checkout = function Checkout(props) {
15730
15893
  })), /*#__PURE__*/React__default["default"].createElement("div", {
15731
15894
  className: "row m-0 w-100 mb-3 pl-3 pr-3"
15732
15895
  }, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15733
- className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15896
+ className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15734
15897
  style: {
15735
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15898
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15736
15899
  borderRadius: 15
15737
15900
  }
15738
15901
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15739
15902
  "class": "row m-0 w-100 d-flex align-items-center"
15740
15903
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15741
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15904
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15742
15905
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15743
15906
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
15744
15907
  "for": "codcheckbox"
@@ -15765,21 +15928,21 @@ var Checkout = function Checkout(props) {
15765
15928
  style: {
15766
15929
  color: sectionproperties.checkbox_color
15767
15930
  }
15768
- }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15931
+ }, langdetect == 'en' ? sectionproperties.cod_text_en : sectionproperties.cod_text_ar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15769
15932
  "class": "col-3 text-end p-0"
15770
15933
  }, /*#__PURE__*/React__default["default"].createElement("img", {
15771
15934
  src: 'https://tabex-co.com/storage/StaticImages/cod.png',
15772
15935
  "class": checkoutstyles.codimage + ' mx-2 '
15773
15936
  })))), authdetailsContext.instinfo.acceptInstapay == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15774
- className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15937
+ className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15775
15938
  style: {
15776
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15939
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15777
15940
  borderRadius: 15
15778
15941
  }
15779
15942
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15780
15943
  "class": "row m-0 w-100 d-flex align-items-center"
15781
15944
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15782
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15945
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15783
15946
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15784
15947
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
15785
15948
  "for": "codcheckbox"
@@ -15806,7 +15969,7 @@ var Checkout = function Checkout(props) {
15806
15969
  style: {
15807
15970
  color: sectionproperties.checkbox_color
15808
15971
  }
15809
- }, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15972
+ }, langdetect == 'en' ? sectionproperties.instapaytitleen : sectionproperties.instapaytitlear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15810
15973
  "class": "col-3 text-end p-0"
15811
15974
  }, /*#__PURE__*/React__default["default"].createElement("img", {
15812
15975
  src: 'https://tabex-co.com/storage/StaticImages/instapay.png',
@@ -15838,15 +16001,15 @@ var Checkout = function Checkout(props) {
15838
16001
  /*#__PURE__*/
15839
16002
  // <div className=""
15840
16003
  React__default["default"].createElement("div", {
15841
- className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
16004
+ className: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-xl-12 col-lg-12 col-md-12 mb-3 px-4 py-3 px-sm-3' : 'col-xl-4 col-lg-4 col-md-12 mb-3',
15842
16005
  style: {
15843
- border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
16006
+ border: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '67d7e9d5dbe11' ? '1px solid #ccc' : 0,
15844
16007
  borderRadius: 15
15845
16008
  }
15846
16009
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15847
16010
  "class": "row m-0 w-100 d-flex align-items-center"
15848
16011
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15849
- "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
16012
+ "class": (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '67d7e9d5dbe11' ? 'col-9 p-0' : 'col-12 p-0'
15850
16013
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15851
16014
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
15852
16015
  }, /*#__PURE__*/React__default["default"].createElement("input", {
@@ -15868,7 +16031,7 @@ var Checkout = function Checkout(props) {
15868
16031
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15869
16032
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15870
16033
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15871
- }, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
16034
+ }, langdetect == 'en' ? sectionproperties.onlinepaymenttexten : sectionproperties.onlinepaymenttextar))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '67d7e9d5dbe11' && /*#__PURE__*/React__default["default"].createElement("div", {
15872
16035
  "class": "col-3 text-end p-0"
15873
16036
  }, /*#__PURE__*/React__default["default"].createElement("img", {
15874
16037
  src: 'https://tabex-co.com/storage/StaticImages/visamaster.png',
@@ -15917,7 +16080,7 @@ var Checkout = function Checkout(props) {
15917
16080
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15918
16081
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15919
16082
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15920
- }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16083
+ }, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15921
16084
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15922
16085
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15923
16086
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -15939,7 +16102,7 @@ var Checkout = function Checkout(props) {
15939
16102
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15940
16103
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15941
16104
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15942
- }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16105
+ }, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15943
16106
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15944
16107
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15945
16108
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -15961,7 +16124,7 @@ var Checkout = function Checkout(props) {
15961
16124
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15962
16125
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15963
16126
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
15964
- }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16127
+ }, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15965
16128
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15966
16129
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15967
16130
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -15983,7 +16146,7 @@ var Checkout = function Checkout(props) {
15983
16146
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
15984
16147
  })), /*#__PURE__*/React__default["default"].createElement("p", {
15985
16148
  className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
15986
- }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16149
+ }, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
15987
16150
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
15988
16151
  }, /*#__PURE__*/React__default["default"].createElement("label", {
15989
16152
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -16005,7 +16168,7 @@ var Checkout = function Checkout(props) {
16005
16168
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
16006
16169
  })), /*#__PURE__*/React__default["default"].createElement("p", {
16007
16170
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
16008
- }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16171
+ }, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16009
16172
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
16010
16173
  }, /*#__PURE__*/React__default["default"].createElement("label", {
16011
16174
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -16027,7 +16190,7 @@ var Checkout = function Checkout(props) {
16027
16190
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
16028
16191
  })), /*#__PURE__*/React__default["default"].createElement("p", {
16029
16192
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
16030
- }, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16193
+ }, langdetect == 'en' ? 'Aman' : 'Aman'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.acceptTamara) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16031
16194
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
16032
16195
  }, /*#__PURE__*/React__default["default"].createElement("label", {
16033
16196
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -16049,7 +16212,7 @@ var Checkout = function Checkout(props) {
16049
16212
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
16050
16213
  })), /*#__PURE__*/React__default["default"].createElement("p", {
16051
16214
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
16052
- }, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16215
+ }, langdetect == 'en' ? 'Tamara' : ' تمارا'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.acceptTabby) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
16053
16216
  className: "col-xl-4 col-lg-4 col-md-12 mb-3"
16054
16217
  }, /*#__PURE__*/React__default["default"].createElement("label", {
16055
16218
  className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
@@ -16081,7 +16244,7 @@ var Checkout = function Checkout(props) {
16081
16244
  dangerouslySetInnerHTML: {
16082
16245
  __html: langdetect == 'en' ? sectionproperties.instapayoptioncontenten : sectionproperties.instapayoptioncontentar
16083
16246
  }
16084
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '696fa922c1d13' && cashchosen == true && /*#__PURE__*/React__default["default"].createElement("div", {
16247
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '696fa922c1d13' && cashchosen == true && /*#__PURE__*/React__default["default"].createElement("div", {
16085
16248
  "class": "col-12 px-3 px-md-2 my-3"
16086
16249
  }, /*#__PURE__*/React__default["default"].createElement("p", {
16087
16250
  "class": ' pb-0 pl-md-2 pr-md-2 ',
@@ -18883,7 +19046,7 @@ var CartSlider = function CartSlider(props) {
18883
19046
  }),
18884
19047
  imagecont: glamor.css({
18885
19048
  width: '100%',
18886
- height: '100%',
19049
+ height: '90%',
18887
19050
  display: 'flex',
18888
19051
  alignItems: 'center',
18889
19052
  justifyContent: 'center',
@@ -59683,6 +59846,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
59683
59846
  width: '70px',
59684
59847
  height: '40px'
59685
59848
  }
59849
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
59850
+ src: 'https://tabex-co.com/storage/StaticImages/stripe.png',
59851
+ className: "".concat(footerStyles.payimg)
59852
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
59853
+ className: "".concat(footerStyles.payimgcont),
59854
+ style: {
59855
+ width: '70px',
59856
+ height: '40px'
59857
+ }
59686
59858
  }, /*#__PURE__*/React__default["default"].createElement("img", {
59687
59859
  src: 'https://tabex-co.com/storage/StaticImages/tabby.png',
59688
59860
  className: "".concat(footerStyles.payimg)
@@ -59693,7 +59865,25 @@ var Newsletterfooter = function Newsletterfooter(props) {
59693
59865
  height: '40px'
59694
59866
  }
59695
59867
  }, /*#__PURE__*/React__default["default"].createElement("img", {
59696
- src: 'https://tabex-co.com/storage/StaticImages/tamara.jpg',
59868
+ src: 'https://tabex-co.com/storage/StaticImages/tamara.png',
59869
+ className: "".concat(footerStyles.payimg)
59870
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
59871
+ className: "".concat(footerStyles.payimgcont),
59872
+ style: {
59873
+ width: '100px',
59874
+ height: '40px'
59875
+ }
59876
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
59877
+ src: 'https://tabex-co.com/storage/StaticImages/applepay.png',
59878
+ className: "".concat(footerStyles.payimg)
59879
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
59880
+ className: "".concat(footerStyles.payimgcont),
59881
+ style: {
59882
+ width: '70px',
59883
+ height: '40px'
59884
+ }
59885
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
59886
+ src: 'https://tabex-co.com/storage/StaticImages/link.png',
59697
59887
  className: "".concat(footerStyles.payimg)
59698
59888
  }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '6886153fad69c' && /*#__PURE__*/React__default["default"].createElement("div", {
59699
59889
  "class": "col-12 allcentered mb-4"