tabexseriescomponents 0.2.1451 → 0.2.1453

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.umd.js CHANGED
@@ -1601,50 +1601,52 @@
1601
1601
  var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
1602
1602
  var is_value_permdisabled = 0;
1603
1603
  if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
1604
- var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1;
1604
+ var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10;
1605
1605
  // if()
1606
1606
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68d28fc494276') {
1607
1607
  is_value_permdisabled = 1;
1608
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '6a09bef064560') {
1609
+ is_value_permdisabled = 1;
1608
1610
  }
1609
1611
  // mn design
1610
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '682dfdcdb9720') {
1612
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '682dfdcdb9720') {
1611
1613
  is_value_permdisabled = 1;
1612
1614
  }
1613
1615
  // alma
1614
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '67d349e5ee6a1') {
1616
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '67d349e5ee6a1') {
1615
1617
  is_value_permdisabled = 1;
1616
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '67c050d72cbe7') {
1618
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '67c050d72cbe7') {
1617
1619
  is_value_permdisabled = 1;
1618
1620
  }
1619
1621
  // amiga
1620
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '670fc18477599') {
1622
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '670fc18477599') {
1621
1623
  is_value_permdisabled = 1;
1622
1624
  }
1623
1625
  // vout
1624
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68f918a4ccb85') {
1626
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68f918a4ccb85') {
1625
1627
  is_value_permdisabled = 1;
1626
1628
  }
1627
1629
  // puff
1628
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '6899e604db87f') {
1630
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '6899e604db87f') {
1629
1631
  is_value_permdisabled = 1;
1630
1632
  }
1631
1633
  // dija
1632
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '682cbb9bdcd57') {
1634
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '682cbb9bdcd57') {
1633
1635
  is_value_permdisabled = 1;
1634
1636
  }
1635
1637
  // angel
1636
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '67bda57bca71d') {
1638
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67bda57bca71d') {
1637
1639
  is_value_permdisabled = 1;
1638
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '69244cc88aa0a') {
1640
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '69244cc88aa0a') {
1639
1641
  is_value_permdisabled = 1;
1640
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '687ca57cc78e8') {
1642
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '687ca57cc78e8') {
1641
1643
  is_value_permdisabled = 1;
1642
1644
  }
1643
1645
  }
1644
1646
  if (item.optionname == 'color' || item.optionname == 'Color') {
1645
- var _authdetailsContext$i10;
1647
+ var _authdetailsContext$i11;
1646
1648
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
1647
- className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '670fc18477599' ? productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active) : issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? productinfostyles.color_container + ' mr-2 variabttcontainer showcrossiconcolor ' + "".concat(productinfostyles.color_container_active) : productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
1649
+ className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '670fc18477599' ? productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active) : issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? productinfostyles.color_container + ' mr-2 variabttcontainer showcrossiconcolor ' + "".concat(productinfostyles.color_container_active) : productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
1648
1650
  // issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
1649
1651
  // sectionproperties.showoutofstockwithoutselection == 'Show'
1650
1652
  // ? productinfostyles.color_container +
@@ -1675,7 +1677,7 @@
1675
1677
  } else if (item.optionname == 'size' || item.optionname == 'Size') {
1676
1678
  // if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
1677
1679
  if (is_value_permdisabled == 0) {
1678
- var _authdetailsContext$i11, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33;
1680
+ var _authdetailsContext$i12, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36;
1679
1681
  return /*#__PURE__*/React__default["default"].createElement("div", {
1680
1682
  // className={
1681
1683
  // issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
@@ -1687,65 +1689,69 @@
1687
1689
  // ' mr-2 variabttcontainer allcentered ' +
1688
1690
  // `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
1689
1691
  // }
1690
- className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.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 : ''),
1692
+ 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 : ''),
1691
1693
  onClick: function onClick() {
1692
1694
  if (isoptionvalueselected == 0) {
1693
- var _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22;
1694
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68d28fc494276') {
1695
+ var _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24;
1696
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68d28fc494276') {
1697
+ if (isValueinStock == 0) {
1698
+ return;
1699
+ }
1700
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6a09bef064560') {
1695
1701
  if (isValueinStock == 0) {
1696
1702
  return;
1697
1703
  }
1698
1704
  }
1699
1705
  // mn design
1700
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '682dfdcdb9720') {
1706
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '682dfdcdb9720') {
1701
1707
  if (isValueinStock == 0) {
1702
1708
  return;
1703
1709
  }
1704
1710
  }
1705
1711
  // alma
1706
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '67d349e5ee6a1') {
1712
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67d349e5ee6a1') {
1707
1713
  if (isValueinStock == 0) {
1708
1714
  return;
1709
1715
  }
1710
1716
  }
1711
1717
  // amiga
1712
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '670fc18477599') {
1718
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '670fc18477599') {
1713
1719
  if (isValueinStock == 0) {
1714
1720
  return;
1715
1721
  }
1716
1722
  }
1717
1723
  // vout
1718
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '68f918a4ccb85') {
1724
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '68f918a4ccb85') {
1719
1725
  if (isValueinStock == 0) {
1720
1726
  return;
1721
1727
  }
1722
1728
  }
1723
1729
  // puff
1724
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '6899e604db87f') {
1730
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '6899e604db87f') {
1725
1731
  if (isValueinStock == 0) {
1726
1732
  return;
1727
1733
  }
1728
1734
  }
1729
1735
  // angel
1730
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '67bda57bca71d') {
1736
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67bda57bca71d') {
1731
1737
  if (isValueinStock == 0) {
1732
1738
  return;
1733
1739
  }
1734
1740
  }
1735
1741
  // dija
1736
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '682cbb9bdcd57') {
1742
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '682cbb9bdcd57') {
1737
1743
  if (isValueinStock == 0) {
1738
1744
  return;
1739
1745
  }
1740
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '69244cc88aa0a') {
1746
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '69244cc88aa0a') {
1741
1747
  if (isValueinStock == 0) {
1742
1748
  return;
1743
1749
  }
1744
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '687ca57cc78e8') {
1750
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '687ca57cc78e8') {
1745
1751
  if (isValueinStock == 0) {
1746
1752
  return;
1747
1753
  }
1748
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6899e604db87f') {
1754
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '6899e604db87f') {
1749
1755
  if (isValueinStock == 0) {
1750
1756
  return;
1751
1757
  }
@@ -1789,22 +1795,22 @@
1789
1795
  }, /*#__PURE__*/React__default["default"].createElement("i", {
1790
1796
  "class": "h-100 allcentered"
1791
1797
  }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
1792
- className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1798
+ className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.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$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '6a09bef064560' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1793
1799
  // mn design
1794
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '682dfdcdb9720' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1800
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '682dfdcdb9720' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1795
1801
  // alma
1796
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '67d349e5ee6a1' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1802
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '67d349e5ee6a1' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1797
1803
  // amiga
1798
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1804
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1799
1805
  // vout
1800
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1806
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1801
1807
  // puff
1802
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1808
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1803
1809
  // angel
1804
1810
 
1805
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1811
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1806
1812
  // dija
1807
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.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$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.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$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.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',
1813
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.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$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.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$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.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',
1808
1814
  style: {
1809
1815
  color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
1810
1816
  fontSize: sectionproperties.variantcontainer_fontSize + 'px',
@@ -1813,67 +1819,71 @@
1813
1819
  }, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
1814
1820
  }
1815
1821
  } else {
1816
- var _authdetailsContext$i34, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56;
1822
+ var _authdetailsContext$i37, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61;
1817
1823
  return /*#__PURE__*/React__default["default"].createElement("div", {
1818
- className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.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 : ''),
1824
+ className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.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 : ''),
1819
1825
  onClick: function onClick() {
1820
1826
  if (isoptionvalueselected == 0) {
1821
- var _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45;
1822
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '68d28fc494276') {
1827
+ var _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _authdetailsContext$i49;
1828
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68d28fc494276') {
1829
+ if (isValueinStock == 0) {
1830
+ return;
1831
+ }
1832
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '6a09bef064560') {
1823
1833
  if (isValueinStock == 0) {
1824
1834
  return;
1825
1835
  }
1826
1836
  }
1827
1837
  // mn design
1828
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '682dfdcdb9720') {
1838
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '682dfdcdb9720') {
1829
1839
  if (isValueinStock == 0) {
1830
1840
  return;
1831
1841
  }
1832
1842
  }
1833
1843
  // alma
1834
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '67d349e5ee6a1') {
1844
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '67d349e5ee6a1') {
1835
1845
  if (isValueinStock == 0) {
1836
1846
  return;
1837
1847
  }
1838
1848
  }
1839
1849
  // amiga
1840
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '670fc18477599') {
1850
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '670fc18477599') {
1841
1851
  if (isValueinStock == 0) {
1842
1852
  return;
1843
1853
  }
1844
1854
  }
1845
1855
  // vout
1846
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '68f918a4ccb85') {
1856
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '68f918a4ccb85') {
1847
1857
  if (isValueinStock == 0) {
1848
1858
  return;
1849
1859
  }
1850
1860
  }
1851
1861
  // puff n stuff
1852
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '6899e604db87f') {
1862
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '6899e604db87f') {
1853
1863
  if (isValueinStock == 0) {
1854
1864
  return;
1855
1865
  }
1856
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '69244cc88aa0a') {
1866
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '69244cc88aa0a') {
1857
1867
  if (isValueinStock == 0) {
1858
1868
  return;
1859
1869
  }
1860
1870
  }
1861
1871
  // angel
1862
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '67bda57bca71d') {
1872
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '67bda57bca71d') {
1863
1873
  if (isValueinStock == 0) {
1864
1874
  return;
1865
1875
  }
1866
1876
  }
1867
1877
  // dija
1868
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '682cbb9bdcd57') {
1878
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '682cbb9bdcd57') {
1869
1879
  if (isValueinStock == 0) {
1870
1880
  return;
1871
1881
  }
1872
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '687ca57cc78e8') {
1882
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '687ca57cc78e8') {
1873
1883
  if (isValueinStock == 0) {
1874
1884
  return;
1875
1885
  }
1876
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '6899e604db87f') {
1886
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '6899e604db87f') {
1877
1887
  if (isValueinStock == 0) {
1878
1888
  return;
1879
1889
  }
@@ -1897,21 +1907,21 @@
1897
1907
  border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
1898
1908
  }
1899
1909
  }, /*#__PURE__*/React__default["default"].createElement("p", {
1900
- className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1910
+ className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.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$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '6a09bef064560' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1901
1911
  // mn design
1902
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '682dfdcdb9720' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1912
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '682dfdcdb9720' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1903
1913
  // alma
1904
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '67d349e5ee6a1' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1914
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '67d349e5ee6a1' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1905
1915
  // amiga
1906
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1916
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1907
1917
  // vout
1908
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1918
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1909
1919
  // puff
1910
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1920
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1911
1921
  // angel
1912
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1922
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
1913
1923
  // dija
1914
- isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.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$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.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$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.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',
1924
+ isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.contactinfo.instid) == '682cbb9bdcd57' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.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$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.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$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.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',
1915
1925
  style: {
1916
1926
  color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
1917
1927
  fontSize: sectionproperties.variantcontainer_fontSize + 'px',
@@ -1998,7 +2008,7 @@
1998
2008
  setopensizeguidemodal(true);
1999
2009
  }
2000
2010
  }, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic))), sectionproperties.variantstyle == 'Vertical' && (ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productinfo) === null || _ProductInfoObj$data5 === void 0 || (_ProductInfoObj$data5 = _ProductInfoObj$data5.productoptions) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.map(function (item, index) {
2001
- var _authdetailsContext$i57;
2011
+ var _authdetailsContext$i62;
2002
2012
  return /*#__PURE__*/React__default["default"].createElement("ul", {
2003
2013
  "class": "thwvsf-wrapper-ul"
2004
2014
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -2013,7 +2023,7 @@
2013
2023
  textTransform: sectionproperties.varianttitle_texttransform,
2014
2024
  fontSize: sectionproperties.varianttitle_fontSize + 'px'
2015
2025
  }
2016
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement("span", null, index + 1, ". "), sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select, " "), " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":"))), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
2026
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement("span", null, index + 1, ". "), sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select, " "), " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":"))), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
2017
2027
  var isoptionvalueselected = 0;
2018
2028
  if (optionvaluesitem.isselected == 1) {
2019
2029
  isoptionvalueselected = 1;
@@ -2047,7 +2057,7 @@
2047
2057
  }
2048
2058
  }));
2049
2059
  } else {
2050
- var _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62;
2060
+ var _authdetailsContext$i63, _authdetailsContext$i64, _authdetailsContext$i65, _authdetailsContext$i66, _authdetailsContext$i67;
2051
2061
  // else if (item.optionname == 'size' || item.optionname == 'Size') {
2052
2062
  return /*#__PURE__*/React__default["default"].createElement("li", {
2053
2063
  style: {
@@ -2066,14 +2076,14 @@
2066
2076
  // cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
2067
2077
  // backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
2068
2078
  background: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null ? sectionproperties.variantcontainer_bgcolor : isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
2069
- minWidth: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.contactinfo.instid) == '699d7f217889a' ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
2070
- height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.contactinfo.instid) == '699d7f217889a' ? 'auto' : sectionproperties.variantcontainer_height + 'px',
2079
+ minWidth: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) == '699d7f217889a' ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
2080
+ height: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.contactinfo.instid) == '699d7f217889a' ? 'auto' : sectionproperties.variantcontainer_height + 'px',
2071
2081
  borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
2072
2082
  position: 'relative',
2073
- border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.contactinfo.instid) == '699d7f217889a' ? '1px solid ' + ' white ' : '1px solid ' + ' grey ',
2074
- flexDirection: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.contactinfo.instid) == '699d7f217889a' ? 'column' : 'row'
2083
+ border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.contactinfo.instid) == '699d7f217889a' ? '1px solid ' + ' white ' : '1px solid ' + ' grey ',
2084
+ flexDirection: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.contactinfo.instid) == '699d7f217889a' ? 'column' : 'row'
2075
2085
  }
2076
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
2086
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
2077
2087
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
2078
2088
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
2079
2089
  path: optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.thumbnail_url,
@@ -8290,7 +8300,7 @@
8290
8300
  function ownKeys$2D(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; }
8291
8301
  function _objectSpread$2D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8292
8302
  var Productinfo = function Productinfo(props) {
8293
- var _css, _fetchProductInfoQuer92, _ref2, _fetchProductInfoQuer93, _authdetailsContext$i46, _ref3, _fetchProductInfoQuer94, _authdetailsContext$i47, _ref4, _fetchProductInfoQuer95, _ref5, _authdetailsContext$i48, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i49, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i50, _authdetailsContext$i51, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62, _authdetailsContext$i63, _authdetailsContext$i64, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i65, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i66, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _authdetailsContext$i67, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _fetchProductInfoQuer115, _authdetailsContext$i68, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _fetchProductInfoQuer116, _fetchProductInfoQuer117, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i69, _fetchProductInfoQuer118, _fetchProductInfoQuer119, _fetchProductInfoQuer120, _fetchProductInfoQuer121, _returnpolicyobj47, _returnpolicyobj48, _returnpolicyobj49, _returnpolicyobj50, _authdetailsContext$i70, _authdetailsContext$i71, _returnpolicyobj51, _returnpolicyobj52, _returnpolicyobj53, _returnpolicyobj54, _authdetailsContext$i72, _authdetailsContext$i73;
8303
+ var _css, _fetchProductInfoQuer92, _ref2, _fetchProductInfoQuer93, _authdetailsContext$i48, _ref3, _fetchProductInfoQuer94, _authdetailsContext$i49, _ref4, _fetchProductInfoQuer95, _ref5, _authdetailsContext$i50, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i51, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54, _authdetailsContext$i55, _authdetailsContext$i56, _authdetailsContext$i57, _authdetailsContext$i58, _authdetailsContext$i59, _authdetailsContext$i60, _authdetailsContext$i61, _authdetailsContext$i62, _authdetailsContext$i63, _authdetailsContext$i64, _authdetailsContext$i65, _authdetailsContext$i66, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i67, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i68, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _authdetailsContext$i69, _returnpolicyobj35, _returnpolicyobj36, _returnpolicyobj37, _returnpolicyobj38, _fetchProductInfoQuer111, _fetchProductInfoQuer112, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _fetchProductInfoQuer115, _authdetailsContext$i70, _returnpolicyobj39, _returnpolicyobj40, _returnpolicyobj41, _returnpolicyobj42, _fetchProductInfoQuer116, _fetchProductInfoQuer117, _returnpolicyobj43, _returnpolicyobj44, _returnpolicyobj45, _returnpolicyobj46, _authdetailsContext$i71, _fetchProductInfoQuer118, _fetchProductInfoQuer119, _fetchProductInfoQuer120, _fetchProductInfoQuer121, _returnpolicyobj47, _returnpolicyobj48, _returnpolicyobj49, _returnpolicyobj50, _authdetailsContext$i72, _authdetailsContext$i73, _returnpolicyobj51, _returnpolicyobj52, _returnpolicyobj53, _returnpolicyobj54, _authdetailsContext$i74, _authdetailsContext$i75;
8294
8304
  var _useState = React.useState({}),
8295
8305
  _useState2 = _slicedToArray__default["default"](_useState, 2),
8296
8306
  ProductInfoObj = _useState2[0],
@@ -8821,7 +8831,7 @@
8821
8831
  // selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
8822
8832
  // };
8823
8833
  var isOptionInStock = function isOptionInStock(Currvalueid) {
8824
- var _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17;
8834
+ var _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18;
8825
8835
  // lord
8826
8836
  if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '68d28fc494276') {
8827
8837
  var _ProductInfoObj$data;
@@ -8909,9 +8919,7 @@
8909
8919
  }) && variantValueIds.includes(Currvalueid);
8910
8920
  });
8911
8921
  return inStock ? 1 : 0;
8912
- }
8913
- // alma
8914
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67d349e5ee6a1') {
8922
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6a09bef064560') {
8915
8923
  var _ProductInfoObj$data2;
8916
8924
  var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
8917
8925
  var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
@@ -8998,8 +9006,8 @@
8998
9006
  });
8999
9007
  return _inStock ? 1 : 0;
9000
9008
  }
9001
- // mn design
9002
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '682dfdcdb9720') {
9009
+ // alma
9010
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '67d349e5ee6a1') {
9003
9011
  var _ProductInfoObj$data3;
9004
9012
  var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
9005
9013
  var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
@@ -9085,7 +9093,9 @@
9085
9093
  }) && variantValueIds.includes(Currvalueid);
9086
9094
  });
9087
9095
  return _inStock2 ? 1 : 0;
9088
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '67c050d72cbe7') {
9096
+ }
9097
+ // mn design
9098
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '682dfdcdb9720') {
9089
9099
  var _ProductInfoObj$data4;
9090
9100
  var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
9091
9101
  var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
@@ -9171,9 +9181,7 @@
9171
9181
  }) && variantValueIds.includes(Currvalueid);
9172
9182
  });
9173
9183
  return _inStock3 ? 1 : 0;
9174
- }
9175
- // amiga
9176
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '670fc18477599') {
9184
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '67c050d72cbe7') {
9177
9185
  var _ProductInfoObj$data5;
9178
9186
  var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
9179
9187
  var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
@@ -9260,8 +9268,8 @@
9260
9268
  });
9261
9269
  return _inStock4 ? 1 : 0;
9262
9270
  }
9263
- // vout
9264
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68f918a4ccb85') {
9271
+ // amiga
9272
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '670fc18477599') {
9265
9273
  var _ProductInfoObj$data6;
9266
9274
  var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
9267
9275
  var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
@@ -9348,8 +9356,8 @@
9348
9356
  });
9349
9357
  return _inStock5 ? 1 : 0;
9350
9358
  }
9351
- // puff n stuff
9352
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6899e604db87f') {
9359
+ // vout
9360
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68f918a4ccb85') {
9353
9361
  var _ProductInfoObj$data7;
9354
9362
  var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
9355
9363
  var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
@@ -9436,8 +9444,8 @@
9436
9444
  });
9437
9445
  return _inStock6 ? 1 : 0;
9438
9446
  }
9439
- // dija
9440
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '682cbb9bdcd57') {
9447
+ // puff n stuff
9448
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6899e604db87f') {
9441
9449
  var _ProductInfoObj$data8;
9442
9450
  var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
9443
9451
  var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
@@ -9524,8 +9532,8 @@
9524
9532
  });
9525
9533
  return _inStock7 ? 1 : 0;
9526
9534
  }
9527
- // angel secrets
9528
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '67bda57bca71d') {
9535
+ // dija
9536
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '682cbb9bdcd57') {
9529
9537
  var _ProductInfoObj$data9;
9530
9538
  var _productinfo8 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data9 = ProductInfoObj.data) === null || _ProductInfoObj$data9 === void 0 ? void 0 : _ProductInfoObj$data9.productinfo;
9531
9539
  var _options8 = (_productinfo8 === null || _productinfo8 === void 0 ? void 0 : _productinfo8.productoptions) || [];
@@ -9611,7 +9619,9 @@
9611
9619
  }) && variantValueIds.includes(Currvalueid);
9612
9620
  });
9613
9621
  return _inStock8 ? 1 : 0;
9614
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '69244cc88aa0a') {
9622
+ }
9623
+ // angel secrets
9624
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67bda57bca71d') {
9615
9625
  var _ProductInfoObj$data0;
9616
9626
  var _productinfo9 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data0 = ProductInfoObj.data) === null || _ProductInfoObj$data0 === void 0 ? void 0 : _ProductInfoObj$data0.productinfo;
9617
9627
  var _options9 = (_productinfo9 === null || _productinfo9 === void 0 ? void 0 : _productinfo9.productoptions) || [];
@@ -9697,7 +9707,7 @@
9697
9707
  }) && variantValueIds.includes(Currvalueid);
9698
9708
  });
9699
9709
  return _inStock9 ? 1 : 0;
9700
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '687ca57cc78e8') {
9710
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '69244cc88aa0a') {
9701
9711
  var _ProductInfoObj$data1;
9702
9712
  var _productinfo0 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data1 = ProductInfoObj.data) === null || _ProductInfoObj$data1 === void 0 ? void 0 : _ProductInfoObj$data1.productinfo;
9703
9713
  var _options0 = (_productinfo0 === null || _productinfo0 === void 0 ? void 0 : _productinfo0.productoptions) || [];
@@ -9783,13 +9793,99 @@
9783
9793
  }) && variantValueIds.includes(Currvalueid);
9784
9794
  });
9785
9795
  return _inStock0 ? 1 : 0;
9796
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '687ca57cc78e8') {
9797
+ var _ProductInfoObj$data10;
9798
+ var _productinfo1 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data10 = ProductInfoObj.data) === null || _ProductInfoObj$data10 === void 0 ? void 0 : _ProductInfoObj$data10.productinfo;
9799
+ var _options1 = (_productinfo1 === null || _productinfo1 === void 0 ? void 0 : _productinfo1.productoptions) || [];
9800
+ var _variants1 = (_productinfo1 === null || _productinfo1 === void 0 ? void 0 : _productinfo1.variants) || [];
9801
+
9802
+ // Collect selected option value IDs and find which option they belong to
9803
+ var _selectedValues1 = [];
9804
+ _options1.forEach(function (option) {
9805
+ option.optionvalues.forEach(function (value) {
9806
+ if (value.isselected === 1) {
9807
+ _selectedValues1.push({
9808
+ optionid: option.optionid,
9809
+ valueid: value.valueid
9810
+ });
9811
+ }
9812
+ });
9813
+ });
9814
+ _options1.length;
9815
+ var _selectedCount1 = _selectedValues1.length;
9816
+ var _inStockVariants1 = _variants1.filter(function (v) {
9817
+ return v.current_quantity > 0;
9818
+ });
9819
+
9820
+ // 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
9821
+ if (_selectedCount1 === 0) {
9822
+ return _inStockVariants1.some(function (variant) {
9823
+ return variant.variantoptions.some(function (opt) {
9824
+ return opt.valueid === Currvalueid;
9825
+ });
9826
+ }) ? 1 : 0;
9827
+ }
9828
+
9829
+ // 🧠 Case 2: Only one option selected
9830
+ if (_selectedCount1 === 1) {
9831
+ var _selected1 = _selectedValues1[0];
9832
+ var _selectedOptionId1 = _selected1.optionid;
9833
+
9834
+ // Find which option this Currvalueid belongs to
9835
+ var _currentOptionId1 = null;
9836
+ _options1.forEach(function (option) {
9837
+ option.optionvalues.forEach(function (v) {
9838
+ if (v.valueid === Currvalueid) _currentOptionId1 = option.optionid;
9839
+ });
9840
+ });
9841
+
9842
+ // Same option (e.g., selecting only size)
9843
+ if (_selectedOptionId1 === _currentOptionId1) {
9844
+ // Show all sizes that appear in any in-stock variant (any color)
9845
+ return _inStockVariants1.some(function (variant) {
9846
+ return variant.variantoptions.some(function (opt) {
9847
+ return opt.valueid === Currvalueid;
9848
+ });
9849
+ }) ? 1 : 0;
9850
+ }
9851
+
9852
+ // Different option (e.g., color)
9853
+ // Only in-stock if a variant has both selected value + this value
9854
+ return _inStockVariants1.some(function (variant) {
9855
+ var variantValueIds = variant.variantoptions.map(function (v) {
9856
+ return v.valueid;
9857
+ });
9858
+ return variantValueIds.includes(_selected1.valueid) && variantValueIds.includes(Currvalueid);
9859
+ }) ? 1 : 0;
9860
+ }
9861
+
9862
+ // 🧠 Case 3: Multiple options selected (e.g., color + size)
9863
+ // Check if this value can exist with all selected options except its own type in any in-stock variant
9864
+ var _inStock1 = _inStockVariants1.some(function (variant) {
9865
+ var variantValueIds = variant.variantoptions.map(function (v) {
9866
+ return v.valueid;
9867
+ });
9868
+ // Must match all selected except the one that belongs to same option
9869
+ return _selectedValues1.every(function (sel) {
9870
+ if (_options1.some(function (opt) {
9871
+ return opt.optionvalues.some(function (v) {
9872
+ return v.valueid === Currvalueid && v.optionid === sel.optionid;
9873
+ });
9874
+ })) {
9875
+ // Skip same option
9876
+ return true;
9877
+ }
9878
+ return variantValueIds.includes(sel.valueid);
9879
+ }) && variantValueIds.includes(Currvalueid);
9880
+ });
9881
+ return _inStock1 ? 1 : 0;
9786
9882
  } else {
9787
9883
  return 1;
9788
9884
  }
9789
9885
  };
9790
9886
  var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
9791
- var _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27;
9792
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '68d28fc494276') {
9887
+ var _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29;
9888
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '68d28fc494276') {
9793
9889
  var _productarr$data, _productarr$data$prod;
9794
9890
  var _productarr = ProductInfoObj;
9795
9891
  if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
@@ -9841,9 +9937,7 @@
9841
9937
  // optional: show user message or disable click
9842
9938
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
9843
9939
  }
9844
- }
9845
- // mn design
9846
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '682dfdcdb9720') {
9940
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6a09bef064560') {
9847
9941
  var _productarr2$data, _productarr2$data$pro;
9848
9942
  var _productarr2 = ProductInfoObj;
9849
9943
  if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
@@ -9897,8 +9991,8 @@
9897
9991
  }
9898
9992
  }
9899
9993
 
9900
- // alma
9901
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '67d349e5ee6a1') {
9994
+ // mn design
9995
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '682dfdcdb9720') {
9902
9996
  var _productarr3$data, _productarr3$data$pro;
9903
9997
  var _productarr3 = ProductInfoObj;
9904
9998
  if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
@@ -9950,7 +10044,10 @@
9950
10044
  // optional: show user message or disable click
9951
10045
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
9952
10046
  }
9953
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67c050d72cbe7') {
10047
+ }
10048
+
10049
+ // alma
10050
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '67d349e5ee6a1') {
9954
10051
  var _productarr4$data, _productarr4$data$pro;
9955
10052
  var _productarr4 = ProductInfoObj;
9956
10053
  if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
@@ -10002,9 +10099,7 @@
10002
10099
  // optional: show user message or disable click
10003
10100
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
10004
10101
  }
10005
- }
10006
- // vout
10007
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '68f918a4ccb85') {
10102
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '67c050d72cbe7') {
10008
10103
  var _productarr5$data, _productarr5$data$pro;
10009
10104
  var _productarr5 = ProductInfoObj;
10010
10105
  if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
@@ -10057,8 +10152,8 @@
10057
10152
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
10058
10153
  }
10059
10154
  }
10060
- // puff n stuff
10061
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '6899e604db87f') {
10155
+ // vout
10156
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '68f918a4ccb85') {
10062
10157
  var _productarr6$data, _productarr6$data$pro;
10063
10158
  var _productarr6 = ProductInfoObj;
10064
10159
  if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
@@ -10111,8 +10206,8 @@
10111
10206
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
10112
10207
  }
10113
10208
  }
10114
- // dija
10115
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '682cbb9bdcd57') {
10209
+ // puff n stuff
10210
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '6899e604db87f') {
10116
10211
  var _productarr7$data, _productarr7$data$pro;
10117
10212
  var _productarr7 = ProductInfoObj;
10118
10213
  if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
@@ -10165,8 +10260,8 @@
10165
10260
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
10166
10261
  }
10167
10262
  }
10168
- // angel
10169
- else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '67bda57bca71d') {
10263
+ // dija
10264
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '682cbb9bdcd57') {
10170
10265
  var _productarr8$data, _productarr8$data$pro;
10171
10266
  var _productarr8 = ProductInfoObj;
10172
10267
  if (!(_productarr8 !== null && _productarr8 !== void 0 && (_productarr8$data = _productarr8.data) !== null && _productarr8$data !== void 0 && _productarr8$data.productinfo)) return;
@@ -10218,7 +10313,9 @@
10218
10313
  // optional: show user message or disable click
10219
10314
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
10220
10315
  }
10221
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '69244cc88aa0a') {
10316
+ }
10317
+ // angel
10318
+ else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '67bda57bca71d') {
10222
10319
  var _productarr9$data, _productarr9$data$pro;
10223
10320
  var _productarr9 = ProductInfoObj;
10224
10321
  if (!(_productarr9 !== null && _productarr9 !== void 0 && (_productarr9$data = _productarr9.data) !== null && _productarr9$data !== void 0 && _productarr9$data.productinfo)) return;
@@ -10270,7 +10367,7 @@
10270
10367
  // optional: show user message or disable click
10271
10368
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
10272
10369
  }
10273
- } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '687ca57cc78e8') {
10370
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '69244cc88aa0a') {
10274
10371
  var _productarr0$data, _productarr0$data$pro;
10275
10372
  var _productarr0 = ProductInfoObj;
10276
10373
  if (!(_productarr0 !== null && _productarr0 !== void 0 && (_productarr0$data = _productarr0.data) !== null && _productarr0$data !== void 0 && _productarr0$data.productinfo)) return;
@@ -10322,6 +10419,58 @@
10322
10419
  // optional: show user message or disable click
10323
10420
  console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
10324
10421
  }
10422
+ } else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '687ca57cc78e8') {
10423
+ var _productarr1$data, _productarr1$data$pro;
10424
+ var _productarr1 = ProductInfoObj;
10425
+ if (!(_productarr1 !== null && _productarr1 !== void 0 && (_productarr1$data = _productarr1.data) !== null && _productarr1$data !== void 0 && _productarr1$data.productinfo)) return;
10426
+
10427
+ // 1. Find variants that include the newly selected value
10428
+ var _validVariants0 = (_productarr1.data.productinfo.variants || []).filter(function (variant) {
10429
+ return (variant.variantoptions || []).some(function (opt) {
10430
+ return opt.valueid === optionvaluesitem.valueid;
10431
+ });
10432
+ });
10433
+
10434
+ // 2. Build a set of valid value ids
10435
+ var _validValueIds0 = new Set(_validVariants0.flatMap(function (v) {
10436
+ return (v.variantoptions || []).map(function (opt) {
10437
+ return opt.valueid;
10438
+ });
10439
+ }));
10440
+
10441
+ // 3. Loop all options and their values
10442
+ (_productarr1$data$pro = _productarr1.data.productinfo.productoptions) === null || _productarr1$data$pro === void 0 || _productarr1$data$pro.forEach(function (option) {
10443
+ var _option$optionvalues1;
10444
+ var anySelected = false;
10445
+ (_option$optionvalues1 = option.optionvalues) === null || _option$optionvalues1 === void 0 || _option$optionvalues1.forEach(function (value) {
10446
+ // Normalize stock check result to boolean
10447
+ var stockResult = isOptionInStock(value.valueid);
10448
+ var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
10449
+
10450
+ // Unselect if NOT valid with the chosen new value OR out of stock
10451
+ if (!_validValueIds0.has(value.valueid) || !inStock) {
10452
+ value.isselected = 0;
10453
+ } else {
10454
+ // keep whatever selection is already there (do not auto-select)
10455
+ if (value.isselected) anySelected = true;
10456
+ }
10457
+ });
10458
+
10459
+ // keep option-level selected state in sync
10460
+ option.isselected = anySelected ? 1 : 0;
10461
+ });
10462
+
10463
+ // 4. Only select the new value if it's in stock
10464
+ var _newInStock0 = function () {
10465
+ var r = isOptionInStock(optionvaluesitem.valueid);
10466
+ return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
10467
+ }();
10468
+ if (_newInStock0) {
10469
+ selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr1);
10470
+ } else {
10471
+ // optional: show user message or disable click
10472
+ console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
10473
+ }
10325
10474
  } else {
10326
10475
  var _productarr$data2;
10327
10476
  var productarr = ProductInfoObj;
@@ -10795,7 +10944,7 @@
10795
10944
  };
10796
10945
  var addtocartfunc = /*#__PURE__*/function () {
10797
10946
  var _ref = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(forcetocheckout) {
10798
- var runfunc, forcetocheckoutvalue, _fetchProductInfoQuer42, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _fetchProductInfoQuer43, _fetchProductInfoQuer44, tempaddtocardpayloadobj, Extrafieldvalidationresponse, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, finalprice, prod_extras_tobeadded, sleep, _iterator, _step, _item$productinfo, _fetchProductInfoQuer52, item, variantid, _fetchProductInfoQuer51, _t;
10947
+ var runfunc, forcetocheckoutvalue, _fetchProductInfoQuer42, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _fetchProductInfoQuer43, _fetchProductInfoQuer44, tempaddtocardpayloadobj, Extrafieldvalidationresponse, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, finalprice, prod_extras_tobeadded, sleep, _iterator, _step, _item$productinfo, _fetchProductInfoQuer52, item, variantid, _fetchProductInfoQuer51, _t;
10799
10948
  return _regeneratorRuntime__default["default"].wrap(function (_context) {
10800
10949
  while (1) switch (_context.prev = _context.next) {
10801
10950
  case 0:
@@ -10808,7 +10957,7 @@
10808
10957
  } else {
10809
10958
  // here
10810
10959
  setvariantnotchosendisclaimer('This field is required');
10811
- NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
10960
+ NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
10812
10961
  }
10813
10962
  } else {
10814
10963
  runfunc = true;
@@ -10971,9 +11120,9 @@
10971
11120
  };
10972
11121
  };
10973
11122
  var returnpolicyobj = function returnpolicyobj(policytype) {
10974
- var _authdetailsContext$i31;
11123
+ var _authdetailsContext$i33;
10975
11124
  var policyobj = {};
10976
- authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 || (_authdetailsContext$i31 = _authdetailsContext$i31.instpolicies) === null || _authdetailsContext$i31 === void 0 || _authdetailsContext$i31.forEach(function (item, index) {
11125
+ authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 || (_authdetailsContext$i33 = _authdetailsContext$i33.instpolicies) === null || _authdetailsContext$i33 === void 0 || _authdetailsContext$i33.forEach(function (item, index) {
10977
11126
  if (item.policytype == policytype) {
10978
11127
  policyobj = item;
10979
11128
  }
@@ -10982,7 +11131,7 @@
10982
11131
  };
10983
11132
  var relatedproducts = function relatedproducts() {
10984
11133
  if (Relatedproducts.length != 0) {
10985
- var _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36;
11134
+ var _authdetailsContext$i34, _authdetailsContext$i35, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38;
10986
11135
  return /*#__PURE__*/React__default["default"].createElement("div", {
10987
11136
  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",
10988
11137
  style: {
@@ -11004,9 +11153,9 @@
11004
11153
  }, /*#__PURE__*/React__default["default"].createElement("div", {
11005
11154
  className: "row m-0 w-100",
11006
11155
  style: {
11007
- background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
11156
+ background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
11008
11157
  }
11009
- }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
11158
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
11010
11159
  className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
11011
11160
  style: {
11012
11161
  justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
@@ -11025,7 +11174,7 @@
11025
11174
  background: sectionproperties.relatedproducttitlelinebgcolor,
11026
11175
  borderRadius: 5
11027
11176
  }
11028
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
11177
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
11029
11178
  className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center",
11030
11179
  style: {
11031
11180
  justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
@@ -11049,8 +11198,8 @@
11049
11198
  }, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
11050
11199
  transitionBehavior: 'auto',
11051
11200
  wrapperClassName: '',
11052
- itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
11053
- scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
11201
+ itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
11202
+ scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
11054
11203
  }, Relatedproducts.map(function (item, index) {
11055
11204
  if (item.productinfo != null) {
11056
11205
  var _fetchProductInfoQuer54;
@@ -11225,10 +11374,10 @@
11225
11374
  if (addtocartobjparam.variantid.length != 0) {
11226
11375
  runfunc = true;
11227
11376
  } else {
11228
- var _authdetailsContext$i37;
11377
+ var _authdetailsContext$i39;
11229
11378
  // here
11230
11379
  setvariantnotchosendisclaimer('This field is required');
11231
- NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
11380
+ NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
11232
11381
  }
11233
11382
  } else {
11234
11383
  runfunc = true;
@@ -11271,8 +11420,8 @@
11271
11420
  isVarianturlLoaded = _useState58[0],
11272
11421
  setisVarianturlLoaded = _useState58[1];
11273
11422
  React.useEffect(function () {
11274
- var _authdetailsContext$i38;
11275
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68f918a4ccb85') {
11423
+ var _authdetailsContext$i40;
11424
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '68f918a4ccb85') {
11276
11425
  var params = new URLSearchParams(window.location.search);
11277
11426
  var variantId = params.get('variant');
11278
11427
  if (isVarianturlLoaded == false) {
@@ -12167,7 +12316,7 @@
12167
12316
  })));
12168
12317
  };
12169
12318
  var StoreInfo = function StoreInfo(position) {
12170
- var _fetchProductInfoQuer86, _authdetailsContext$i40, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i41, _authdetailsContext$i43;
12319
+ var _fetchProductInfoQuer86, _authdetailsContext$i42, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i43, _authdetailsContext$i45;
12171
12320
  return /*#__PURE__*/React__default["default"].createElement("div", {
12172
12321
  "class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
12173
12322
  style: {
@@ -12246,8 +12395,8 @@
12246
12395
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
12247
12396
  className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
12248
12397
  onClick: function onClick() {
12249
- var _authdetailsContext$i39;
12250
- window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 || (_authdetailsContext$i39 = _authdetailsContext$i39.contactinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.email), '_self');
12398
+ var _authdetailsContext$i41;
12399
+ window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 || (_authdetailsContext$i41 = _authdetailsContext$i41.contactinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.email), '_self');
12251
12400
  }
12252
12401
  }, /*#__PURE__*/React__default["default"].createElement("div", {
12253
12402
  "class": productinfo_cssstyles.iconContainer + ' iconContainer '
@@ -12267,7 +12416,7 @@
12267
12416
  style: {
12268
12417
  textAlign: langdetect == 'en' ? 'left' : 'right'
12269
12418
  }
12270
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 || (_authdetailsContext$i40 = _authdetailsContext$i40.contactinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.email))), /*#__PURE__*/React__default["default"].createElement("div", {
12419
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 || (_authdetailsContext$i42 = _authdetailsContext$i42.contactinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.email))), /*#__PURE__*/React__default["default"].createElement("div", {
12271
12420
  "class": "col-lg-12 my-2",
12272
12421
  style: {
12273
12422
  display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
@@ -12319,25 +12468,25 @@
12319
12468
  }
12320
12469
  }, /*#__PURE__*/React__default["default"].createElement("p", {
12321
12470
  "class": "m-0 p-0"
12322
- }, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 || (_authdetailsContext$i41 = _authdetailsContext$i41.contactinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
12471
+ }, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 || (_authdetailsContext$i43 = _authdetailsContext$i43.contactinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
12323
12472
  "class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
12324
12473
  }, /*#__PURE__*/React__default["default"].createElement("button", {
12325
12474
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
12326
12475
  onClick: function onClick() {
12327
- var _authdetailsContext$i42;
12328
- window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 || (_authdetailsContext$i42 = _authdetailsContext$i42.contactinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.email), '_self');
12476
+ var _authdetailsContext$i44;
12477
+ window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 || (_authdetailsContext$i44 = _authdetailsContext$i44.contactinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.email), '_self');
12329
12478
  }
12330
12479
  }, /*#__PURE__*/React__default["default"].createElement("p", {
12331
12480
  "class": "m-0 p-0"
12332
- }, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
12481
+ }, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
12333
12482
  "class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : position == 'belowinfogoldlift' ? 'col-lg-6 allcentered mb-2 p-sm-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
12334
12483
  }, /*#__PURE__*/React__default["default"].createElement("button", {
12335
12484
  "class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
12336
12485
  onClick: function onClick() {
12337
- var _authdetailsContext$i44;
12338
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.whatsappnumber) != null) {
12339
- var _authdetailsContext$i45;
12340
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.whatsappnumber), '_blank');
12486
+ var _authdetailsContext$i46;
12487
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.whatsappnumber) != null) {
12488
+ var _authdetailsContext$i47;
12489
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.whatsappnumber), '_blank');
12341
12490
  }
12342
12491
  }
12343
12492
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -12433,7 +12582,7 @@
12433
12582
  lang: lang,
12434
12583
  srcfromprops: props.srcfromprops
12435
12584
  }, _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), "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"](_ref2, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
12436
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
12585
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
12437
12586
  actions: (_ref3 = {
12438
12587
  variantnotchosendisclaimer: variantnotchosendisclaimer,
12439
12588
  setisoutofstock: setisoutofstock,
@@ -12443,7 +12592,7 @@
12443
12592
  lang: lang,
12444
12593
  srcfromprops: props.srcfromprops
12445
12594
  }, _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"](_ref3, "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"](_ref3, "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"](_ref3, "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"](_ref3, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
12446
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
12595
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
12447
12596
  actions: (_ref4 = {
12448
12597
  isOptionInStock: isOptionInStock,
12449
12598
  variantnotchosendisclaimer: variantnotchosendisclaimer,
@@ -12469,7 +12618,7 @@
12469
12618
  lang: lang,
12470
12619
  srcfromprops: props.srcfromprops
12471
12620
  }, _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"](_ref5, "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"](_ref5, "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"](_ref5, "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"](_ref5, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
12472
- }), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '69a34ef02cc96' && /*#__PURE__*/React__default["default"].createElement("div", {
12621
+ }), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '69a34ef02cc96' && /*#__PURE__*/React__default["default"].createElement("div", {
12473
12622
  "class": 'row m-0 w-100 px-md-2 pb-5',
12474
12623
  style: {
12475
12624
  paddingLeft: 100,
@@ -12548,7 +12697,7 @@
12548
12697
  }, /*#__PURE__*/React__default["default"].createElement("p", {
12549
12698
  className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
12550
12699
  style: {}
12551
- }, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React__default["default"].createElement("div", {
12700
+ }, langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policypagename_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React__default["default"].createElement("div", {
12552
12701
  "class": 'row m-0 w-100 px-md-0 pb-5',
12553
12702
  style: {
12554
12703
  paddingLeft: 100,
@@ -12627,7 +12776,7 @@
12627
12776
  }, /*#__PURE__*/React__default["default"].createElement("p", {
12628
12777
  className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
12629
12778
  style: {}
12630
- }, langdetect == 'en' ? (_returnpolicyobj1 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj1 === void 0 ? void 0 : _returnpolicyobj1.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React__default["default"].createElement("div", {
12779
+ }, langdetect == 'en' ? (_returnpolicyobj1 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj1 === void 0 ? void 0 : _returnpolicyobj1.policypagename_en : (_returnpolicyobj10 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj10 === void 0 ? void 0 : _returnpolicyobj10.policypagename_ar))))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React__default["default"].createElement("div", {
12631
12780
  "class": "rotating-text-container rotating-text-containermarqueesection"
12632
12781
  }, /*#__PURE__*/React__default["default"].createElement("span", {
12633
12782
  "class": sectionproperties.marqueemovementdirection == 'Right to Left' ? 'd-flex flex-row align-items-center rotating-text2' : 'd-flex flex-row align-items-center rotating-text-reverse2',
@@ -12655,7 +12804,7 @@
12655
12804
  height: '100%'
12656
12805
  }
12657
12806
  }));
12658
- }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React__default["default"].createElement("div", {
12807
+ }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) == '69fcb0672e838' && /*#__PURE__*/React__default["default"].createElement("div", {
12659
12808
  "class": "row m-0 w-100"
12660
12809
  }, /*#__PURE__*/React__default["default"].createElement("div", {
12661
12810
  "class": "col-12 p-0 text-center mb-3 mt-3"
@@ -12671,9 +12820,9 @@
12671
12820
  productinfo_cssstyles: productinfo_cssstyles,
12672
12821
  sectionproperties: sectionproperties
12673
12822
  })
12674
- })), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.contactinfo.instid) != '69ef34fd77c0f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.contactinfo.instid) != '69fcb0672e838' &&
12823
+ })), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i55 = authdetailsContext.instinfo) === null || _authdetailsContext$i55 === void 0 ? void 0 : _authdetailsContext$i55.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i56 = authdetailsContext.instinfo) === null || _authdetailsContext$i56 === void 0 ? void 0 : _authdetailsContext$i56.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i57 = authdetailsContext.instinfo) === null || _authdetailsContext$i57 === void 0 ? void 0 : _authdetailsContext$i57.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i58 = authdetailsContext.instinfo) === null || _authdetailsContext$i58 === void 0 ? void 0 : _authdetailsContext$i58.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i59 = authdetailsContext.instinfo) === null || _authdetailsContext$i59 === void 0 ? void 0 : _authdetailsContext$i59.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i60 = authdetailsContext.instinfo) === null || _authdetailsContext$i60 === void 0 ? void 0 : _authdetailsContext$i60.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i61 = authdetailsContext.instinfo) === null || _authdetailsContext$i61 === void 0 ? void 0 : _authdetailsContext$i61.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) != '69ef34fd77c0f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) != '69fcb0672e838' &&
12675
12824
  // move to spo
12676
- (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i62 = authdetailsContext.instinfo) === null || _authdetailsContext$i62 === void 0 ? void 0 : _authdetailsContext$i62.contactinfo.instid) != '6a5e2f3d879f1' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i63 = authdetailsContext.instinfo) === null || _authdetailsContext$i63 === void 0 ? void 0 : _authdetailsContext$i63.contactinfo.instid) != '6963a3b378483' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
12825
+ (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i64 = authdetailsContext.instinfo) === null || _authdetailsContext$i64 === void 0 ? void 0 : _authdetailsContext$i64.contactinfo.instid) != '6a5e2f3d879f1' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.contactinfo.instid) != '6963a3b378483' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
12677
12826
  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 ',
12678
12827
  style: {
12679
12828
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
@@ -12866,7 +13015,7 @@
12866
13015
  productinfo_cssstyles: productinfo_cssstyles,
12867
13016
  sectionproperties: sectionproperties
12868
13017
  })
12869
- }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i65 = authdetailsContext.instinfo) === null || _authdetailsContext$i65 === void 0 ? void 0 : _authdetailsContext$i65.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
13018
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
12870
13019
  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 ',
12871
13020
  style: {
12872
13021
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
@@ -13016,7 +13165,7 @@
13016
13165
  productinfo_cssstyles: productinfo_cssstyles,
13017
13166
  sectionproperties: sectionproperties
13018
13167
  })
13019
- }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i66 = authdetailsContext.instinfo) === null || _authdetailsContext$i66 === void 0 ? void 0 : _authdetailsContext$i66.contactinfo.instid) == '6a5e2f3d879f1' && /*#__PURE__*/React__default["default"].createElement("div", {
13168
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i68 = authdetailsContext.instinfo) === null || _authdetailsContext$i68 === void 0 ? void 0 : _authdetailsContext$i68.contactinfo.instid) == '6a5e2f3d879f1' && /*#__PURE__*/React__default["default"].createElement("div", {
13020
13169
  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 ',
13021
13170
  style: {
13022
13171
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
@@ -13140,7 +13289,7 @@
13140
13289
  productinfo_cssstyles: productinfo_cssstyles,
13141
13290
  sectionproperties: sectionproperties
13142
13291
  })
13143
- }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i67 = authdetailsContext.instinfo) === null || _authdetailsContext$i67 === void 0 ? void 0 : _authdetailsContext$i67.contactinfo.instid) == '6963a3b378483' && /*#__PURE__*/React__default["default"].createElement("div", {
13292
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.contactinfo.instid) == '6963a3b378483' && /*#__PURE__*/React__default["default"].createElement("div", {
13144
13293
  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 ',
13145
13294
  style: {
13146
13295
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
@@ -13312,7 +13461,7 @@
13312
13461
  productinfo_cssstyles: productinfo_cssstyles,
13313
13462
  sectionproperties: sectionproperties
13314
13463
  })
13315
- }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i68 = authdetailsContext.instinfo) === null || _authdetailsContext$i68 === void 0 ? void 0 : _authdetailsContext$i68.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
13464
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
13316
13465
  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 ',
13317
13466
  style: {
13318
13467
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
@@ -13454,7 +13603,7 @@
13454
13603
  productinfo_cssstyles: productinfo_cssstyles,
13455
13604
  sectionproperties: sectionproperties
13456
13605
  })
13457
- }))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i69 = authdetailsContext.instinfo) === null || _authdetailsContext$i69 === void 0 ? void 0 : _authdetailsContext$i69.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
13606
+ }))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
13458
13607
  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 ',
13459
13608
  style: {
13460
13609
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
@@ -13605,7 +13754,7 @@
13605
13754
  productinfo_cssstyles: productinfo_cssstyles,
13606
13755
  sectionproperties: sectionproperties
13607
13756
  })
13608
- }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i70 = authdetailsContext.instinfo) === null || _authdetailsContext$i70 === void 0 ? void 0 : _authdetailsContext$i70.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React__default["default"].createElement("div", {
13757
+ }))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i72 = authdetailsContext.instinfo) === null || _authdetailsContext$i72 === void 0 ? void 0 : _authdetailsContext$i72.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React__default["default"].createElement("div", {
13609
13758
  "class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
13610
13759
  }, productVideos.map(function (item, index) {
13611
13760
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -13622,7 +13771,7 @@
13622
13771
  loop: true,
13623
13772
  muted: true
13624
13773
  }));
13625
- })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i71 = authdetailsContext.instinfo) === null || _authdetailsContext$i71 === void 0 ? void 0 : _authdetailsContext$i71.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement("div", {
13774
+ })), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i73 = authdetailsContext.instinfo) === null || _authdetailsContext$i73 === void 0 ? void 0 : _authdetailsContext$i73.contactinfo.instid) == '699d7f217889a' && /*#__PURE__*/React__default["default"].createElement("div", {
13626
13775
  "class": 'row m-0 w-100 px-md-2 mb-5',
13627
13776
  style: {
13628
13777
  paddingLeft: 100,
@@ -13700,12 +13849,12 @@
13700
13849
  }, /*#__PURE__*/React__default["default"].createElement("p", {
13701
13850
  className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak text-center ',
13702
13851
  style: {}
13703
- }, langdetect == 'en' ? (_returnpolicyobj53 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj53 === void 0 ? void 0 : _returnpolicyobj53.policypagename_en : (_returnpolicyobj54 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj54 === void 0 ? void 0 : _returnpolicyobj54.policypagename_ar))))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i72 = authdetailsContext.instinfo) === null || _authdetailsContext$i72 === void 0 ? void 0 : _authdetailsContext$i72.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
13852
+ }, langdetect == 'en' ? (_returnpolicyobj53 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj53 === void 0 ? void 0 : _returnpolicyobj53.policypagename_en : (_returnpolicyobj54 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj54 === void 0 ? void 0 : _returnpolicyobj54.policypagename_ar))))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i74 = authdetailsContext.instinfo) === null || _authdetailsContext$i74 === void 0 ? void 0 : _authdetailsContext$i74.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
13704
13853
  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 ',
13705
13854
  style: {
13706
13855
  paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
13707
13856
  paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
13708
- marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i73 = authdetailsContext.instinfo) === null || _authdetailsContext$i73 === void 0 ? void 0 : _authdetailsContext$i73.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
13857
+ marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i75 = authdetailsContext.instinfo) === null || _authdetailsContext$i75 === void 0 ? void 0 : _authdetailsContext$i75.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
13709
13858
  }
13710
13859
  }, relatedproducts()))));
13711
13860
  };
@@ -36174,7 +36323,17 @@
36174
36323
  }
36175
36324
  }, /*#__PURE__*/React__default["default"].createElement("p", {
36176
36325
  "class": "m-0 p-0"
36177
- }, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), sectionproperties.showfloatingbtn == 'Show when logged in' && authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
36326
+ }, langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar)), sectionproperties.showfloatingbtn == 'Show' && authdetailsContext.instinfo.instid == '6a708efd56628' && /*#__PURE__*/React__default["default"].createElement("div", {
36327
+ "class": sectionproperties.cartBtnShow == 'Hide' ? langdetect == 'en' ? "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnar) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnen) + ' allcentered cursor-pointer ',
36328
+ style: {
36329
+ bottom: 70
36330
+ },
36331
+ onClick: function onClick() {
36332
+ window.open('https://book.yunzhan365.com/bookcase/decd/index.html?fbclid=IwdGRzaAUQ84BjbGNrBRDzanBkb2YFZXh0bgNhZW0CMTEAc3J0YwZhcHBfaWQMMzUwNjg1NTMxNzI4AAEezsk8CG0nQ4sZ9MQaNBB8d8dbWVDyu432tyaJXf_yfu0qvy7lqqV3ZrwmO58_aem_mM5sXBGG3WaMdzgQSqcQlQ&sfnsn=scwspwa', '_blank');
36333
+ }
36334
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
36335
+ "class": "m-0 p-0"
36336
+ }, langdetect == 'en' ? 'CATALOG' : 'الكتالوج')), sectionproperties.showfloatingbtn == 'Show when logged in' && authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
36178
36337
  style: {
36179
36338
  position: 'fixed',
36180
36339
  bottom: sectionproperties.floatingbtnfrombottom + 'px',
@@ -84543,7 +84702,9 @@
84543
84702
  if (sectionproperties.showplayer == 'Show') {
84544
84703
  setshowpopup(true);
84545
84704
  } else if (item.IsClickableimg == 'Yes') {
84546
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
84705
+ if (item.linktype == 'Image With External Link') {
84706
+ window.open(item.linkurl, '_blank');
84707
+ } else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
84547
84708
  routingcountext(item.clickableimg_page_route, false, '');
84548
84709
  } else {
84549
84710
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
@@ -84699,7 +84860,9 @@
84699
84860
  if (sectionproperties.showplayer == 'Show') {
84700
84861
  setshowpopup(true);
84701
84862
  } else if (item.IsClickableimg == 'Yes') {
84702
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
84863
+ if (item.linktype == 'Image With External Link') {
84864
+ window.open(item.linkurl, '_blank');
84865
+ } else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
84703
84866
  routingcountext(item.clickableimg_page_route, false, '');
84704
84867
  } else {
84705
84868
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
@@ -84740,7 +84903,9 @@
84740
84903
  if (sectionproperties.showplayer == 'Show') {
84741
84904
  setshowpopup(true);
84742
84905
  } else if (item.IsClickableimg == 'Yes') {
84743
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
84906
+ if (item.linktype == 'Image With External Link') {
84907
+ window.open(item.linkurl, '_blank');
84908
+ } else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
84744
84909
  routingcountext(item.clickableimg_page_route, false, '');
84745
84910
  } else {
84746
84911
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
@@ -84875,7 +85040,9 @@
84875
85040
  if (sectionproperties.showplayer == 'Show') {
84876
85041
  setshowpopup(true);
84877
85042
  } else if (item.IsClickableimg == 'Yes') {
84878
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
85043
+ if (item.linktype == 'Image With External Link') {
85044
+ window.open(item.linkurl, '_blank');
85045
+ } else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
84879
85046
  routingcountext(item.clickableimg_page_route, false, '');
84880
85047
  } else {
84881
85048
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
@@ -84915,7 +85082,9 @@
84915
85082
  if (sectionproperties.showplayer == 'Show') {
84916
85083
  setshowpopup(true);
84917
85084
  } else if (item.IsClickableimg == 'Yes') {
84918
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
85085
+ if (item.linktype == 'Image With External Link') {
85086
+ window.open(item.linkurl, '_blank');
85087
+ } else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
84919
85088
  routingcountext(item.clickableimg_page_route, false, '');
84920
85089
  } else {
84921
85090
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
@@ -85042,7 +85211,9 @@
85042
85211
  if (sectionproperties.showplayer == 'Show') {
85043
85212
  setshowpopup(true);
85044
85213
  } else if (item.IsClickableimg == 'Yes') {
85045
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
85214
+ if (item.linktype == 'Image With External Link') {
85215
+ window.open(item.linkurl, '_blank');
85216
+ } else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
85046
85217
  routingcountext(item.clickableimg_page_route, false, '');
85047
85218
  } else {
85048
85219
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
@@ -85082,7 +85253,9 @@
85082
85253
  if (sectionproperties.showplayer == 'Show') {
85083
85254
  setshowpopup(true);
85084
85255
  } else if (item.IsClickableimg == 'Yes') {
85085
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
85256
+ if (item.linktype == 'Image With External Link') {
85257
+ window.open(item.linkurl, '_blank');
85258
+ } else if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
85086
85259
  routingcountext(item.clickableimg_page_route, false, '');
85087
85260
  } else {
85088
85261
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
@@ -97944,6 +98117,7 @@
97944
98117
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
97945
98118
  secondimage = _useState6[0],
97946
98119
  setsecondimage = _useState6[1];
98120
+ var authdetailsContext = props.actions.authdetailsContext;
97947
98121
  React.useEffect(function () {
97948
98122
  var secpropobj = {};
97949
98123
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -97981,6 +98155,11 @@
97981
98155
  }
97982
98156
  }
97983
98157
  }, [props.cardinfoitemprops]);
98158
+ var plainString = function plainString(html) {
98159
+ var divContainer = document.createElement('div');
98160
+ divContainer.innerHTML = html;
98161
+ return divContainer.textContent || divContainer.innerText || '';
98162
+ };
97984
98163
  var card_cssstyles = {
97985
98164
  colorvariantcontainer: glamor.css({
97986
98165
  width: sectionproperties.variantcontainer_minwidth + 'vh',
@@ -98156,7 +98335,7 @@
98156
98335
  transition = true;
98157
98336
  }
98158
98337
  return /*#__PURE__*/React__default["default"].createElement("div", {
98159
- "class": "w-100 cursor-pointer",
98338
+ "class": authdetailsContext.instinfo.instid == '6aa2d0eec47d8' ? 'w-100 cursor-pointer h-100' : 'w-100 cursor-pointer',
98160
98339
  style: {
98161
98340
  position: 'relative'
98162
98341
  }
@@ -98277,7 +98456,7 @@
98277
98456
  fontSize: sectionproperties.pillfontSize + 'px',
98278
98457
  direction: 'ltr'
98279
98458
  }
98280
- }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
98459
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && authdetailsContext.instinfo.instid != '6aa2d0eec47d8' && /*#__PURE__*/React__default["default"].createElement("button", {
98281
98460
  "class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
98282
98461
  onClick: function onClick(e) {
98283
98462
  if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
@@ -98295,7 +98474,61 @@
98295
98474
  "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
98296
98475
  }, /*#__PURE__*/React__default["default"].createElement("p", {
98297
98476
  "class": "m-0 p-0"
98298
- }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
98477
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)), authdetailsContext.instinfo.instid == '6aa2d0eec47d8' && /*#__PURE__*/React__default["default"].createElement("div", {
98478
+ "class": 'row m-0 w-100 text-center mt-2 pt-4 pb-3 px-2',
98479
+ style: {
98480
+ background: 'rgba(226, 200, 227,0.7)',
98481
+ position: 'absolute',
98482
+ bottom: 0
98483
+ }
98484
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
98485
+ "class": "col-lg-12 p-0",
98486
+ style: {
98487
+ minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh'
98488
+ }
98489
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
98490
+ onClick: function onClick() {
98491
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
98492
+ },
98493
+ "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ' : sectionproperties.wordbreak == '2' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak2 text-center ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak3 text-center ',
98494
+ style: {
98495
+ // height: sectionproperties.wordbreak == '2' ? '6vh' : 'auto',
98496
+ }
98497
+ }, item.name)), /*#__PURE__*/React__default["default"].createElement("p", {
98498
+ "class": ' col-lg-12 wordbreak wordbreak2 p-0 mt-1 ',
98499
+ style: {
98500
+ textAlign: 'center',
98501
+ color: '#000',
98502
+ fontSize: '13px',
98503
+ fontWeight: 400
98504
+ }
98505
+ }, plainString(item.description)), /*#__PURE__*/React__default["default"].createElement("div", {
98506
+ "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
98507
+ style: {
98508
+ marginTop: sectionproperties.productpricemarginTop + 'px'
98509
+ }
98510
+ }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
98511
+ "class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 ASUL ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 '
98512
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
98513
+ "class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productSalePricestyles) + ' ASUL linethrough m-0 p-0 mr-2 ml-2 font-md-15 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 p-0 mr-2 ml-2 font-md-15 '
98514
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && authdetailsContext.instinfo.instid == '6aa2d0eec47d8' && /*#__PURE__*/React__default["default"].createElement("button", {
98515
+ "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex justify-content-center align-items-center cart_btn mt-3 ',
98516
+ onClick: function onClick(e) {
98517
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
98518
+ addtocartfunc();
98519
+ } else {
98520
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
98521
+ }
98522
+ // e.stopPropagation();
98523
+ // setShowProductInfoModalContext(true);
98524
+ // setProductIdProdutInfoModalContext(item.productid);
98525
+ },
98526
+ style: {
98527
+ position: 'relative'
98528
+ }
98529
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
98530
+ "class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
98531
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))), authdetailsContext.instinfo.instid != '6aa2d0eec47d8' && /*#__PURE__*/React__default["default"].createElement("div", {
98299
98532
  "class": sectionproperties.paddingLeft == 0 ? 'row m-0 w-100 text-center mt-2 px-2' : 'row m-0 w-100 text-center mt-2'
98300
98533
  }, /*#__PURE__*/React__default["default"].createElement("div", {
98301
98534
  "class": "col-12 p-0 d-flex flex-row align-items-center justify-content-center",