tabexseriescomponents 0.2.1290 → 0.2.1293
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +491 -211
- package/dist/index.esm.js +491 -211
- package/dist/index.umd.js +491 -211
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1593,29 +1593,33 @@
|
|
|
1593
1593
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
1594
1594
|
var is_value_permdisabled = 0;
|
|
1595
1595
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
1596
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
1596
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
|
|
1597
1597
|
// if()
|
|
1598
1598
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68d28fc494276') {
|
|
1599
1599
|
is_value_permdisabled = 1;
|
|
1600
1600
|
}
|
|
1601
|
+
// amiga
|
|
1602
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '670fc18477599') {
|
|
1603
|
+
is_value_permdisabled = 1;
|
|
1604
|
+
}
|
|
1601
1605
|
// vout
|
|
1602
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1606
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68f918a4ccb85') {
|
|
1603
1607
|
is_value_permdisabled = 1;
|
|
1604
1608
|
}
|
|
1605
1609
|
// puff
|
|
1606
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1610
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6899e604db87f') {
|
|
1607
1611
|
is_value_permdisabled = 1;
|
|
1608
1612
|
}
|
|
1609
1613
|
// dija
|
|
1610
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1614
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1611
1615
|
is_value_permdisabled = 1;
|
|
1612
1616
|
}
|
|
1613
1617
|
// angel
|
|
1614
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1618
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '67bda57bca71d') {
|
|
1615
1619
|
is_value_permdisabled = 1;
|
|
1616
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1620
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '69244cc88aa0a') {
|
|
1617
1621
|
is_value_permdisabled = 1;
|
|
1618
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1622
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '687ca57cc78e8') {
|
|
1619
1623
|
is_value_permdisabled = 1;
|
|
1620
1624
|
}
|
|
1621
1625
|
}
|
|
@@ -1644,7 +1648,7 @@
|
|
|
1644
1648
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1645
1649
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1646
1650
|
if (is_value_permdisabled == 0) {
|
|
1647
|
-
var _authdetailsContext$
|
|
1651
|
+
var _authdetailsContext$i9, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25;
|
|
1648
1652
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1649
1653
|
// className={
|
|
1650
1654
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1656,47 +1660,53 @@
|
|
|
1656
1660
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1657
1661
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1658
1662
|
// }
|
|
1659
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1663
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.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 : ''),
|
|
1660
1664
|
onClick: function onClick() {
|
|
1661
1665
|
if (isoptionvalueselected == 0) {
|
|
1662
|
-
var _authdetailsContext$
|
|
1663
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1666
|
+
var _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16;
|
|
1667
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68d28fc494276') {
|
|
1668
|
+
if (isValueinStock == 0) {
|
|
1669
|
+
return;
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
// amiga
|
|
1673
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '670fc18477599') {
|
|
1664
1674
|
if (isValueinStock == 0) {
|
|
1665
1675
|
return;
|
|
1666
1676
|
}
|
|
1667
1677
|
}
|
|
1668
1678
|
// vout
|
|
1669
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1679
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '68f918a4ccb85') {
|
|
1670
1680
|
if (isValueinStock == 0) {
|
|
1671
1681
|
return;
|
|
1672
1682
|
}
|
|
1673
1683
|
}
|
|
1674
1684
|
// puff
|
|
1675
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1685
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6899e604db87f') {
|
|
1676
1686
|
if (isValueinStock == 0) {
|
|
1677
1687
|
return;
|
|
1678
1688
|
}
|
|
1679
1689
|
}
|
|
1680
1690
|
// angel
|
|
1681
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1691
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '67bda57bca71d') {
|
|
1682
1692
|
if (isValueinStock == 0) {
|
|
1683
1693
|
return;
|
|
1684
1694
|
}
|
|
1685
1695
|
}
|
|
1686
1696
|
// dija
|
|
1687
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1697
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1688
1698
|
if (isValueinStock == 0) {
|
|
1689
1699
|
return;
|
|
1690
1700
|
}
|
|
1691
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1701
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '69244cc88aa0a') {
|
|
1692
1702
|
if (isValueinStock == 0) {
|
|
1693
1703
|
return;
|
|
1694
1704
|
}
|
|
1695
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1705
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '687ca57cc78e8') {
|
|
1696
1706
|
if (isValueinStock == 0) {
|
|
1697
1707
|
return;
|
|
1698
1708
|
}
|
|
1699
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1709
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '6899e604db87f') {
|
|
1700
1710
|
if (isValueinStock == 0) {
|
|
1701
1711
|
return;
|
|
1702
1712
|
}
|
|
@@ -1740,16 +1750,18 @@
|
|
|
1740
1750
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1741
1751
|
"class": "h-100 allcentered"
|
|
1742
1752
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1743
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1753
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1754
|
+
// amiga
|
|
1755
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1744
1756
|
// vout
|
|
1745
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1757
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1746
1758
|
// puff
|
|
1747
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1759
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1748
1760
|
// angel
|
|
1749
1761
|
|
|
1750
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1762
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1751
1763
|
// dija
|
|
1752
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1764
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.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$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '687ca57cc78e8' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1753
1765
|
style: {
|
|
1754
1766
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1755
1767
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -1758,49 +1770,55 @@
|
|
|
1758
1770
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1759
1771
|
}
|
|
1760
1772
|
} else {
|
|
1761
|
-
var _authdetailsContext$
|
|
1773
|
+
var _authdetailsContext$i26, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44;
|
|
1762
1774
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1763
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1775
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.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 : ''),
|
|
1764
1776
|
onClick: function onClick() {
|
|
1765
1777
|
if (isoptionvalueselected == 0) {
|
|
1766
|
-
var _authdetailsContext$
|
|
1767
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1778
|
+
var _authdetailsContext$i27, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35;
|
|
1779
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68d28fc494276') {
|
|
1780
|
+
if (isValueinStock == 0) {
|
|
1781
|
+
return;
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
// amiga
|
|
1785
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '670fc18477599') {
|
|
1768
1786
|
if (isValueinStock == 0) {
|
|
1769
1787
|
return;
|
|
1770
1788
|
}
|
|
1771
1789
|
}
|
|
1772
1790
|
// vout
|
|
1773
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1791
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68f918a4ccb85') {
|
|
1774
1792
|
if (isValueinStock == 0) {
|
|
1775
1793
|
return;
|
|
1776
1794
|
}
|
|
1777
1795
|
}
|
|
1778
1796
|
// puff n stuff
|
|
1779
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1797
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '6899e604db87f') {
|
|
1780
1798
|
if (isValueinStock == 0) {
|
|
1781
1799
|
return;
|
|
1782
1800
|
}
|
|
1783
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1801
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '69244cc88aa0a') {
|
|
1784
1802
|
if (isValueinStock == 0) {
|
|
1785
1803
|
return;
|
|
1786
1804
|
}
|
|
1787
1805
|
}
|
|
1788
1806
|
// angel
|
|
1789
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1807
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '67bda57bca71d') {
|
|
1790
1808
|
if (isValueinStock == 0) {
|
|
1791
1809
|
return;
|
|
1792
1810
|
}
|
|
1793
1811
|
}
|
|
1794
1812
|
// dija
|
|
1795
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1813
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '682cbb9bdcd57') {
|
|
1796
1814
|
if (isValueinStock == 0) {
|
|
1797
1815
|
return;
|
|
1798
1816
|
}
|
|
1799
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1817
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '687ca57cc78e8') {
|
|
1800
1818
|
if (isValueinStock == 0) {
|
|
1801
1819
|
return;
|
|
1802
1820
|
}
|
|
1803
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1821
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '6899e604db87f') {
|
|
1804
1822
|
if (isValueinStock == 0) {
|
|
1805
1823
|
return;
|
|
1806
1824
|
}
|
|
@@ -1824,15 +1842,17 @@
|
|
|
1824
1842
|
border: isoptionvalueselected == 1 ? '2px solid ' + sectionproperties.activeproductcolor : isoptionvaluedenabled == 1 ? '1px solid ' + sectionproperties.variantcontainerbordercolor : '1px solid ' + ' grey '
|
|
1825
1843
|
}
|
|
1826
1844
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1827
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1845
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1846
|
+
// amiga
|
|
1847
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '670fc18477599' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1828
1848
|
// vout
|
|
1829
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1849
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68f918a4ccb85' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1830
1850
|
// puff
|
|
1831
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1851
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '6899e604db87f' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1832
1852
|
// angel
|
|
1833
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1853
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '67bda57bca71d' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' :
|
|
1834
1854
|
// dija
|
|
1835
|
-
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1855
|
+
isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.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$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.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$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.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$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.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',
|
|
1836
1856
|
style: {
|
|
1837
1857
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1838
1858
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -7472,7 +7492,7 @@
|
|
|
7472
7492
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7473
7493
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7474
7494
|
var Productinfo = function Productinfo(props) {
|
|
7475
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7495
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i37, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i38, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i39, _authdetailsContext$i40, _authdetailsContext$i41, _authdetailsContext$i42, _authdetailsContext$i43, _authdetailsContext$i44, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47, _authdetailsContext$i48, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i49, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj19, _returnpolicyobj20, _returnpolicyobj21, _returnpolicyobj22, _authdetailsContext$i50, _returnpolicyobj23, _returnpolicyobj24, _returnpolicyobj25, _returnpolicyobj26, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _returnpolicyobj27, _returnpolicyobj28, _returnpolicyobj29, _returnpolicyobj30, _authdetailsContext$i51, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _returnpolicyobj31, _returnpolicyobj32, _returnpolicyobj33, _returnpolicyobj34, _authdetailsContext$i52, _authdetailsContext$i53, _authdetailsContext$i54;
|
|
7476
7496
|
var _useState = React.useState({}),
|
|
7477
7497
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7478
7498
|
ProductInfoObj = _useState2[0],
|
|
@@ -7975,7 +7995,7 @@
|
|
|
7975
7995
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
7976
7996
|
// };
|
|
7977
7997
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
7978
|
-
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10;
|
|
7998
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11;
|
|
7979
7999
|
// lord
|
|
7980
8000
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
7981
8001
|
var _ProductInfoObj$data;
|
|
@@ -8064,8 +8084,8 @@
|
|
|
8064
8084
|
});
|
|
8065
8085
|
return inStock ? 1 : 0;
|
|
8066
8086
|
}
|
|
8067
|
-
//
|
|
8068
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '
|
|
8087
|
+
// amiga
|
|
8088
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '670fc18477599') {
|
|
8069
8089
|
var _ProductInfoObj$data2;
|
|
8070
8090
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8071
8091
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8152,8 +8172,8 @@
|
|
|
8152
8172
|
});
|
|
8153
8173
|
return _inStock ? 1 : 0;
|
|
8154
8174
|
}
|
|
8155
|
-
//
|
|
8156
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '
|
|
8175
|
+
// vout
|
|
8176
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '68f918a4ccb85') {
|
|
8157
8177
|
var _ProductInfoObj$data3;
|
|
8158
8178
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8159
8179
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8240,8 +8260,8 @@
|
|
|
8240
8260
|
});
|
|
8241
8261
|
return _inStock2 ? 1 : 0;
|
|
8242
8262
|
}
|
|
8243
|
-
//
|
|
8244
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '
|
|
8263
|
+
// puff n stuff
|
|
8264
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6899e604db87f') {
|
|
8245
8265
|
var _ProductInfoObj$data4;
|
|
8246
8266
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8247
8267
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8328,8 +8348,8 @@
|
|
|
8328
8348
|
});
|
|
8329
8349
|
return _inStock3 ? 1 : 0;
|
|
8330
8350
|
}
|
|
8331
|
-
//
|
|
8332
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '
|
|
8351
|
+
// dija
|
|
8352
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8333
8353
|
var _ProductInfoObj$data5;
|
|
8334
8354
|
var _productinfo4 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data5 = ProductInfoObj.data) === null || _ProductInfoObj$data5 === void 0 ? void 0 : _ProductInfoObj$data5.productinfo;
|
|
8335
8355
|
var _options4 = (_productinfo4 === null || _productinfo4 === void 0 ? void 0 : _productinfo4.productoptions) || [];
|
|
@@ -8415,7 +8435,9 @@
|
|
|
8415
8435
|
}) && variantValueIds.includes(Currvalueid);
|
|
8416
8436
|
});
|
|
8417
8437
|
return _inStock4 ? 1 : 0;
|
|
8418
|
-
}
|
|
8438
|
+
}
|
|
8439
|
+
// angel secrets
|
|
8440
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '67bda57bca71d') {
|
|
8419
8441
|
var _ProductInfoObj$data6;
|
|
8420
8442
|
var _productinfo5 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data6 = ProductInfoObj.data) === null || _ProductInfoObj$data6 === void 0 ? void 0 : _ProductInfoObj$data6.productinfo;
|
|
8421
8443
|
var _options5 = (_productinfo5 === null || _productinfo5 === void 0 ? void 0 : _productinfo5.productoptions) || [];
|
|
@@ -8501,7 +8523,7 @@
|
|
|
8501
8523
|
}) && variantValueIds.includes(Currvalueid);
|
|
8502
8524
|
});
|
|
8503
8525
|
return _inStock5 ? 1 : 0;
|
|
8504
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '
|
|
8526
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '69244cc88aa0a') {
|
|
8505
8527
|
var _ProductInfoObj$data7;
|
|
8506
8528
|
var _productinfo6 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data7 = ProductInfoObj.data) === null || _ProductInfoObj$data7 === void 0 ? void 0 : _ProductInfoObj$data7.productinfo;
|
|
8507
8529
|
var _options6 = (_productinfo6 === null || _productinfo6 === void 0 ? void 0 : _productinfo6.productoptions) || [];
|
|
@@ -8587,13 +8609,99 @@
|
|
|
8587
8609
|
}) && variantValueIds.includes(Currvalueid);
|
|
8588
8610
|
});
|
|
8589
8611
|
return _inStock6 ? 1 : 0;
|
|
8612
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '687ca57cc78e8') {
|
|
8613
|
+
var _ProductInfoObj$data8;
|
|
8614
|
+
var _productinfo7 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data8 = ProductInfoObj.data) === null || _ProductInfoObj$data8 === void 0 ? void 0 : _ProductInfoObj$data8.productinfo;
|
|
8615
|
+
var _options7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.productoptions) || [];
|
|
8616
|
+
var _variants7 = (_productinfo7 === null || _productinfo7 === void 0 ? void 0 : _productinfo7.variants) || [];
|
|
8617
|
+
|
|
8618
|
+
// Collect selected option value IDs and find which option they belong to
|
|
8619
|
+
var _selectedValues7 = [];
|
|
8620
|
+
_options7.forEach(function (option) {
|
|
8621
|
+
option.optionvalues.forEach(function (value) {
|
|
8622
|
+
if (value.isselected === 1) {
|
|
8623
|
+
_selectedValues7.push({
|
|
8624
|
+
optionid: option.optionid,
|
|
8625
|
+
valueid: value.valueid
|
|
8626
|
+
});
|
|
8627
|
+
}
|
|
8628
|
+
});
|
|
8629
|
+
});
|
|
8630
|
+
_options7.length;
|
|
8631
|
+
var _selectedCount7 = _selectedValues7.length;
|
|
8632
|
+
var _inStockVariants7 = _variants7.filter(function (v) {
|
|
8633
|
+
return v.current_quantity > 0;
|
|
8634
|
+
});
|
|
8635
|
+
|
|
8636
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
8637
|
+
if (_selectedCount7 === 0) {
|
|
8638
|
+
return _inStockVariants7.some(function (variant) {
|
|
8639
|
+
return variant.variantoptions.some(function (opt) {
|
|
8640
|
+
return opt.valueid === Currvalueid;
|
|
8641
|
+
});
|
|
8642
|
+
}) ? 1 : 0;
|
|
8643
|
+
}
|
|
8644
|
+
|
|
8645
|
+
// 🧠 Case 2: Only one option selected
|
|
8646
|
+
if (_selectedCount7 === 1) {
|
|
8647
|
+
var _selected7 = _selectedValues7[0];
|
|
8648
|
+
var _selectedOptionId7 = _selected7.optionid;
|
|
8649
|
+
|
|
8650
|
+
// Find which option this Currvalueid belongs to
|
|
8651
|
+
var _currentOptionId7 = null;
|
|
8652
|
+
_options7.forEach(function (option) {
|
|
8653
|
+
option.optionvalues.forEach(function (v) {
|
|
8654
|
+
if (v.valueid === Currvalueid) _currentOptionId7 = option.optionid;
|
|
8655
|
+
});
|
|
8656
|
+
});
|
|
8657
|
+
|
|
8658
|
+
// Same option (e.g., selecting only size)
|
|
8659
|
+
if (_selectedOptionId7 === _currentOptionId7) {
|
|
8660
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
8661
|
+
return _inStockVariants7.some(function (variant) {
|
|
8662
|
+
return variant.variantoptions.some(function (opt) {
|
|
8663
|
+
return opt.valueid === Currvalueid;
|
|
8664
|
+
});
|
|
8665
|
+
}) ? 1 : 0;
|
|
8666
|
+
}
|
|
8667
|
+
|
|
8668
|
+
// Different option (e.g., color)
|
|
8669
|
+
// Only in-stock if a variant has both selected value + this value
|
|
8670
|
+
return _inStockVariants7.some(function (variant) {
|
|
8671
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8672
|
+
return v.valueid;
|
|
8673
|
+
});
|
|
8674
|
+
return variantValueIds.includes(_selected7.valueid) && variantValueIds.includes(Currvalueid);
|
|
8675
|
+
}) ? 1 : 0;
|
|
8676
|
+
}
|
|
8677
|
+
|
|
8678
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
8679
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
8680
|
+
var _inStock7 = _inStockVariants7.some(function (variant) {
|
|
8681
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8682
|
+
return v.valueid;
|
|
8683
|
+
});
|
|
8684
|
+
// Must match all selected except the one that belongs to same option
|
|
8685
|
+
return _selectedValues7.every(function (sel) {
|
|
8686
|
+
if (_options7.some(function (opt) {
|
|
8687
|
+
return opt.optionvalues.some(function (v) {
|
|
8688
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
8689
|
+
});
|
|
8690
|
+
})) {
|
|
8691
|
+
// Skip same option
|
|
8692
|
+
return true;
|
|
8693
|
+
}
|
|
8694
|
+
return variantValueIds.includes(sel.valueid);
|
|
8695
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
8696
|
+
});
|
|
8697
|
+
return _inStock7 ? 1 : 0;
|
|
8590
8698
|
} else {
|
|
8591
8699
|
return 1;
|
|
8592
8700
|
}
|
|
8593
8701
|
};
|
|
8594
8702
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8595
|
-
var _authdetailsContext$
|
|
8596
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8703
|
+
var _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18;
|
|
8704
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68d28fc494276') {
|
|
8597
8705
|
var _productarr$data, _productarr$data$prod;
|
|
8598
8706
|
var _productarr = ProductInfoObj;
|
|
8599
8707
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8647,7 +8755,7 @@
|
|
|
8647
8755
|
}
|
|
8648
8756
|
}
|
|
8649
8757
|
// vout
|
|
8650
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8758
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68f918a4ccb85') {
|
|
8651
8759
|
var _productarr2$data, _productarr2$data$pro;
|
|
8652
8760
|
var _productarr2 = ProductInfoObj;
|
|
8653
8761
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8701,7 +8809,7 @@
|
|
|
8701
8809
|
}
|
|
8702
8810
|
}
|
|
8703
8811
|
// puff n stuff
|
|
8704
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8812
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6899e604db87f') {
|
|
8705
8813
|
var _productarr3$data, _productarr3$data$pro;
|
|
8706
8814
|
var _productarr3 = ProductInfoObj;
|
|
8707
8815
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8755,7 +8863,7 @@
|
|
|
8755
8863
|
}
|
|
8756
8864
|
}
|
|
8757
8865
|
// dija
|
|
8758
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8866
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '682cbb9bdcd57') {
|
|
8759
8867
|
var _productarr4$data, _productarr4$data$pro;
|
|
8760
8868
|
var _productarr4 = ProductInfoObj;
|
|
8761
8869
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -8809,7 +8917,7 @@
|
|
|
8809
8917
|
}
|
|
8810
8918
|
}
|
|
8811
8919
|
// angel
|
|
8812
|
-
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8920
|
+
else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67bda57bca71d') {
|
|
8813
8921
|
var _productarr5$data, _productarr5$data$pro;
|
|
8814
8922
|
var _productarr5 = ProductInfoObj;
|
|
8815
8923
|
if (!(_productarr5 !== null && _productarr5 !== void 0 && (_productarr5$data = _productarr5.data) !== null && _productarr5$data !== void 0 && _productarr5$data.productinfo)) return;
|
|
@@ -8861,7 +8969,7 @@
|
|
|
8861
8969
|
// optional: show user message or disable click
|
|
8862
8970
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8863
8971
|
}
|
|
8864
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8972
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '69244cc88aa0a') {
|
|
8865
8973
|
var _productarr6$data, _productarr6$data$pro;
|
|
8866
8974
|
var _productarr6 = ProductInfoObj;
|
|
8867
8975
|
if (!(_productarr6 !== null && _productarr6 !== void 0 && (_productarr6$data = _productarr6.data) !== null && _productarr6$data !== void 0 && _productarr6$data.productinfo)) return;
|
|
@@ -8913,7 +9021,7 @@
|
|
|
8913
9021
|
// optional: show user message or disable click
|
|
8914
9022
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8915
9023
|
}
|
|
8916
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9024
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '687ca57cc78e8') {
|
|
8917
9025
|
var _productarr7$data, _productarr7$data$pro;
|
|
8918
9026
|
var _productarr7 = ProductInfoObj;
|
|
8919
9027
|
if (!(_productarr7 !== null && _productarr7 !== void 0 && (_productarr7$data = _productarr7.data) !== null && _productarr7$data !== void 0 && _productarr7$data.productinfo)) return;
|
|
@@ -9446,10 +9554,10 @@
|
|
|
9446
9554
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9447
9555
|
runfunc = true;
|
|
9448
9556
|
} else {
|
|
9449
|
-
var _authdetailsContext$
|
|
9557
|
+
var _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21;
|
|
9450
9558
|
// here
|
|
9451
9559
|
setvariantnotchosendisclaimer('This field is required');
|
|
9452
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9560
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
9453
9561
|
}
|
|
9454
9562
|
} else {
|
|
9455
9563
|
runfunc = true;
|
|
@@ -9533,9 +9641,9 @@
|
|
|
9533
9641
|
};
|
|
9534
9642
|
};
|
|
9535
9643
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9536
|
-
var _authdetailsContext$
|
|
9644
|
+
var _authdetailsContext$i22;
|
|
9537
9645
|
var policyobj = {};
|
|
9538
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9646
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.instpolicies) === null || _authdetailsContext$i22 === void 0 || _authdetailsContext$i22.forEach(function (item, index) {
|
|
9539
9647
|
if (item.policytype == policytype) {
|
|
9540
9648
|
policyobj = item;
|
|
9541
9649
|
}
|
|
@@ -9544,7 +9652,7 @@
|
|
|
9544
9652
|
};
|
|
9545
9653
|
var relatedproducts = function relatedproducts() {
|
|
9546
9654
|
if (Relatedproducts.length != 0) {
|
|
9547
|
-
var _authdetailsContext$
|
|
9655
|
+
var _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _authdetailsContext$i27;
|
|
9548
9656
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9549
9657
|
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",
|
|
9550
9658
|
style: {
|
|
@@ -9566,9 +9674,9 @@
|
|
|
9566
9674
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9567
9675
|
className: "row m-0 w-100",
|
|
9568
9676
|
style: {
|
|
9569
|
-
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9677
|
+
background: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69a3437faf64f' ? '#fff' : 'transparent'
|
|
9570
9678
|
}
|
|
9571
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9679
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9572
9680
|
className: "py-3 col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column mx-auto",
|
|
9573
9681
|
style: {
|
|
9574
9682
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9587,7 +9695,7 @@
|
|
|
9587
9695
|
background: sectionproperties.relatedproducttitlelinebgcolor,
|
|
9588
9696
|
borderRadius: 5
|
|
9589
9697
|
}
|
|
9590
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9698
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9591
9699
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 flex-column",
|
|
9592
9700
|
style: {
|
|
9593
9701
|
justifyContent: sectionproperties.relatedtitleposition == 'Centered' ? 'center' : 'start',
|
|
@@ -9608,8 +9716,8 @@
|
|
|
9608
9716
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
9609
9717
|
transitionBehavior: 'auto',
|
|
9610
9718
|
wrapperClassName: '',
|
|
9611
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9612
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9719
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9720
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9613
9721
|
}, Relatedproducts.map(function (item, index) {
|
|
9614
9722
|
if (item.productinfo != null) {
|
|
9615
9723
|
var _fetchProductInfoQuer49;
|
|
@@ -9679,10 +9787,10 @@
|
|
|
9679
9787
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9680
9788
|
runfunc = true;
|
|
9681
9789
|
} else {
|
|
9682
|
-
var _authdetailsContext$
|
|
9790
|
+
var _authdetailsContext$i28;
|
|
9683
9791
|
// here
|
|
9684
9792
|
setvariantnotchosendisclaimer('This field is required');
|
|
9685
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9793
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
9686
9794
|
}
|
|
9687
9795
|
} else {
|
|
9688
9796
|
runfunc = true;
|
|
@@ -9725,8 +9833,8 @@
|
|
|
9725
9833
|
isVarianturlLoaded = _useState58[0],
|
|
9726
9834
|
setisVarianturlLoaded = _useState58[1];
|
|
9727
9835
|
React.useEffect(function () {
|
|
9728
|
-
var _authdetailsContext$
|
|
9729
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9836
|
+
var _authdetailsContext$i29;
|
|
9837
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68f918a4ccb85') {
|
|
9730
9838
|
var params = new URLSearchParams(window.location.search);
|
|
9731
9839
|
var variantId = params.get('variant');
|
|
9732
9840
|
if (isVarianturlLoaded == false) {
|
|
@@ -10525,7 +10633,7 @@
|
|
|
10525
10633
|
})));
|
|
10526
10634
|
};
|
|
10527
10635
|
var StoreInfo = function StoreInfo(position) {
|
|
10528
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10636
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i31, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i32, _authdetailsContext$i34;
|
|
10529
10637
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10530
10638
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10531
10639
|
style: {
|
|
@@ -10604,8 +10712,8 @@
|
|
|
10604
10712
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10605
10713
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mt-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10606
10714
|
onClick: function onClick() {
|
|
10607
|
-
var _authdetailsContext$
|
|
10608
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10715
|
+
var _authdetailsContext$i30;
|
|
10716
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 || (_authdetailsContext$i30 = _authdetailsContext$i30.contactinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.email), '_self');
|
|
10609
10717
|
}
|
|
10610
10718
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10611
10719
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10625,7 +10733,7 @@
|
|
|
10625
10733
|
style: {
|
|
10626
10734
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10627
10735
|
}
|
|
10628
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10736
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 || (_authdetailsContext$i31 = _authdetailsContext$i31.contactinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10629
10737
|
"class": "col-lg-12 my-2",
|
|
10630
10738
|
style: {
|
|
10631
10739
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10677,25 +10785,25 @@
|
|
|
10677
10785
|
}
|
|
10678
10786
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10679
10787
|
"class": "m-0 p-0"
|
|
10680
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10788
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 || (_authdetailsContext$i32 = _authdetailsContext$i32.contactinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10681
10789
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10682
10790
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10683
10791
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10684
10792
|
onClick: function onClick() {
|
|
10685
|
-
var _authdetailsContext$
|
|
10686
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10793
|
+
var _authdetailsContext$i33;
|
|
10794
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 || (_authdetailsContext$i33 = _authdetailsContext$i33.contactinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.email), '_self');
|
|
10687
10795
|
}
|
|
10688
10796
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
10689
10797
|
"class": "m-0 p-0"
|
|
10690
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10798
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10691
10799
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10692
10800
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
10693
10801
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10694
10802
|
onClick: function onClick() {
|
|
10695
|
-
var _authdetailsContext$
|
|
10696
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10697
|
-
var _authdetailsContext$
|
|
10698
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10803
|
+
var _authdetailsContext$i35;
|
|
10804
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.whatsappnumber) != null) {
|
|
10805
|
+
var _authdetailsContext$i36;
|
|
10806
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.whatsappnumber), '_blank');
|
|
10699
10807
|
}
|
|
10700
10808
|
}
|
|
10701
10809
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -10791,7 +10899,7 @@
|
|
|
10791
10899
|
lang: lang,
|
|
10792
10900
|
srcfromprops: props.srcfromprops
|
|
10793
10901
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10794
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10902
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
10795
10903
|
actions: (_ref2 = {
|
|
10796
10904
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10797
10905
|
setisoutofstock: setisoutofstock,
|
|
@@ -10801,7 +10909,7 @@
|
|
|
10801
10909
|
lang: lang,
|
|
10802
10910
|
srcfromprops: props.srcfromprops
|
|
10803
10911
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
10804
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10912
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
10805
10913
|
actions: (_ref3 = {
|
|
10806
10914
|
isOptionInStock: isOptionInStock,
|
|
10807
10915
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10827,7 +10935,7 @@
|
|
|
10827
10935
|
lang: lang,
|
|
10828
10936
|
srcfromprops: props.srcfromprops
|
|
10829
10937
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10830
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10938
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) != '696b839eebc8c' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) != '68e7c7c93c5bd' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) != '69ef34fd77c0f' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10831
10939
|
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 ',
|
|
10832
10940
|
style: {
|
|
10833
10941
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11018,7 +11126,7 @@
|
|
|
11018
11126
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11019
11127
|
sectionproperties: sectionproperties
|
|
11020
11128
|
})
|
|
11021
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11129
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11022
11130
|
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 ',
|
|
11023
11131
|
style: {
|
|
11024
11132
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11168,7 +11276,7 @@
|
|
|
11168
11276
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11169
11277
|
sectionproperties: sectionproperties
|
|
11170
11278
|
})
|
|
11171
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11279
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i50 = authdetailsContext.instinfo) === null || _authdetailsContext$i50 === void 0 ? void 0 : _authdetailsContext$i50.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11172
11280
|
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 ',
|
|
11173
11281
|
style: {
|
|
11174
11282
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11310,7 +11418,7 @@
|
|
|
11310
11418
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11311
11419
|
sectionproperties: sectionproperties
|
|
11312
11420
|
})
|
|
11313
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11421
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i51 = authdetailsContext.instinfo) === null || _authdetailsContext$i51 === void 0 ? void 0 : _authdetailsContext$i51.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11314
11422
|
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 ',
|
|
11315
11423
|
style: {
|
|
11316
11424
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11461,7 +11569,7 @@
|
|
|
11461
11569
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11462
11570
|
sectionproperties: sectionproperties
|
|
11463
11571
|
})
|
|
11464
|
-
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11572
|
+
}))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i52 = authdetailsContext.instinfo) === null || _authdetailsContext$i52 === void 0 ? void 0 : _authdetailsContext$i52.contactinfo.instid) == '68e7c7c93c5bd' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11465
11573
|
"class": "row m-0 w-100 w-100 pl-5 pr-5 p-md-0 allcentered"
|
|
11466
11574
|
}, productVideos.map(function (item, index) {
|
|
11467
11575
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -11478,12 +11586,12 @@
|
|
|
11478
11586
|
loop: true,
|
|
11479
11587
|
muted: true
|
|
11480
11588
|
}));
|
|
11481
|
-
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11589
|
+
})), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i53 = authdetailsContext.instinfo) === null || _authdetailsContext$i53 === void 0 ? void 0 : _authdetailsContext$i53.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11482
11590
|
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 ',
|
|
11483
11591
|
style: {
|
|
11484
11592
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
11485
11593
|
paddingRight: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px' : 0,
|
|
11486
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11594
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i54 = authdetailsContext.instinfo) === null || _authdetailsContext$i54 === void 0 ? void 0 : _authdetailsContext$i54.contactinfo.instid) == '69a3437faf64f' ? 30 : 0
|
|
11487
11595
|
}
|
|
11488
11596
|
}, relatedproducts()))));
|
|
11489
11597
|
};
|
|
@@ -36982,42 +37090,45 @@
|
|
|
36982
37090
|
setChoosenindex(index);
|
|
36983
37091
|
}
|
|
36984
37092
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36985
|
-
className: ' row m-0 p-0 mb-
|
|
36986
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36987
|
-
className: ' row m-0 w-100 px-3 '
|
|
37093
|
+
className: header_cssstyles.catcontainer + ' row m-0 p-0 mb-3 px-3 '
|
|
36988
37094
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36989
|
-
className: "col-10
|
|
36990
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
36991
|
-
|
|
37095
|
+
className: "col-10 d-flex justify-content-start align-items-center"
|
|
37096
|
+
}, sectionproperties.catslidershowpcollimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37097
|
+
"class": header_cssstyles.pcollimage,
|
|
37098
|
+
style: {}
|
|
37099
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
37100
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
37101
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
37102
|
+
path: '/tr:w-500,h-500/' + item.parentcollectionlogo,
|
|
37103
|
+
style: {
|
|
37104
|
+
width: '100%',
|
|
37105
|
+
height: '100%',
|
|
37106
|
+
objectFit: 'cover',
|
|
37107
|
+
borderRadius: sectionproperties.catsliderpcollimageborderradius + 'px',
|
|
37108
|
+
border: sectionproperties.catsliderpcollimageborderwidth + 'px solid ' + sectionproperties.catsliderpcollimagebordercolor
|
|
37109
|
+
}
|
|
37110
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37111
|
+
className: "".concat(header_cssstyles.closesliderpcoll) + ' cattext mb-0 p-0 mx-3 '
|
|
36992
37112
|
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36993
|
-
className: "col-lg-2 col-md-2 col-sm-2
|
|
37113
|
+
className: "col-lg-2 col-md-2 col-sm-2 text-end"
|
|
36994
37114
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
36995
37115
|
if (state.expanded == true) {
|
|
36996
37116
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
36997
|
-
className: "".concat(header_cssstyles.
|
|
37117
|
+
className: "".concat(header_cssstyles.closesliderpcoll) + ' cattext h-100 d-flex align-items-center justify-content-end '
|
|
36998
37118
|
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, {
|
|
36999
37119
|
style: {
|
|
37000
|
-
// color: '#000',
|
|
37001
37120
|
fontSize: 15
|
|
37002
37121
|
}
|
|
37003
37122
|
}));
|
|
37004
37123
|
} else {
|
|
37005
37124
|
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
37006
|
-
className: "".concat(header_cssstyles.
|
|
37125
|
+
className: "".concat(header_cssstyles.closesliderpcoll) + ' cattext h-100 d-flex align-items-center justify-content-end '
|
|
37007
37126
|
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, {
|
|
37008
37127
|
style: {
|
|
37009
|
-
// color: '#000',
|
|
37010
37128
|
fontSize: 15
|
|
37011
37129
|
}
|
|
37012
37130
|
}));
|
|
37013
37131
|
}
|
|
37014
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37015
|
-
className: "col-lg-12 p-0"
|
|
37016
|
-
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
37017
|
-
className: "mt-4 mb-4",
|
|
37018
|
-
style: {
|
|
37019
|
-
borderColor: sectionproperties.resp_header_separatorbg
|
|
37020
|
-
}
|
|
37021
37132
|
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
37022
37133
|
className: "p-0"
|
|
37023
37134
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -37025,26 +37136,51 @@
|
|
|
37025
37136
|
}, Choosenindex.length != 0 && (item === null || item === void 0 ? void 0 : item.collections.length) != 0 && (item === null || item === void 0 || (_item$collections = item.collections) === null || _item$collections === void 0 ? void 0 : _item$collections.map(function (collitem, collindex) {
|
|
37026
37137
|
if (collitem.isshowntocustomers == 1) {
|
|
37027
37138
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37028
|
-
|
|
37029
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37030
|
-
className: ' row m-0 p-0 mb-2 '
|
|
37139
|
+
className: header_cssstyles.collcontainer + ' row m-0 p-0 mb-4 px-4 '
|
|
37031
37140
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37032
37141
|
className: ' row m-0 w-100 px-5 '
|
|
37033
37142
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37034
|
-
className: "col-
|
|
37143
|
+
className: "col-12 d-flex justify-content-start align-items-center p-0",
|
|
37035
37144
|
onClick: function onClick() {
|
|
37036
37145
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
37037
37146
|
}
|
|
37038
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
37039
|
-
|
|
37040
|
-
|
|
37041
|
-
|
|
37042
|
-
|
|
37043
|
-
|
|
37147
|
+
}, sectionproperties.catslidershowcollimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37148
|
+
"class": header_cssstyles.collimage,
|
|
37149
|
+
style: {}
|
|
37150
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
37151
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
37152
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
37153
|
+
path: '/tr:w-500,h-500/' + collitem.collectionlogo,
|
|
37044
37154
|
style: {
|
|
37045
|
-
|
|
37155
|
+
width: '100%',
|
|
37156
|
+
height: '100%',
|
|
37157
|
+
objectFit: 'contain',
|
|
37158
|
+
borderRadius: sectionproperties.catslidercollimageborderradius + 'px',
|
|
37159
|
+
border: sectionproperties.catslidercollimageborderwidth + 'px solid ' + sectionproperties.catslidercollimagebordercolor
|
|
37046
37160
|
}
|
|
37047
|
-
}))
|
|
37161
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37162
|
+
className: "".concat(header_cssstyles.closeslidercoll) + ' colltext mb-0 p-0 mx-3 '
|
|
37163
|
+
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar))))
|
|
37164
|
+
// <div class="col-lg-12 p-0">
|
|
37165
|
+
// <div className={' row m-0 p-0 mb-2 '}>
|
|
37166
|
+
// <div className={' row m-0 w-100 px-5 '}>
|
|
37167
|
+
// <div
|
|
37168
|
+
// className="col-10 p-0 text-start"
|
|
37169
|
+
// onClick={() => {
|
|
37170
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
37171
|
+
// }}
|
|
37172
|
+
// >
|
|
37173
|
+
// <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
|
|
37174
|
+
// {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
|
|
37175
|
+
// </p>
|
|
37176
|
+
// </div>
|
|
37177
|
+
// </div>
|
|
37178
|
+
// <div className="col-lg-12 p-0">
|
|
37179
|
+
// <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
|
|
37180
|
+
// </div>
|
|
37181
|
+
// </div>
|
|
37182
|
+
// </div>
|
|
37183
|
+
;
|
|
37048
37184
|
}
|
|
37049
37185
|
})))));
|
|
37050
37186
|
}
|
|
@@ -37080,23 +37216,7 @@
|
|
|
37080
37216
|
}
|
|
37081
37217
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
37082
37218
|
className: "".concat(header_cssstyles.closeslidercoll) + ' colltext mb-0 p-0 mx-3 '
|
|
37083
|
-
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar)))
|
|
37084
|
-
|
|
37085
|
-
// <div className={' row m-0 p-0 mb-2 w-100 '}>
|
|
37086
|
-
// <div
|
|
37087
|
-
// className="col-12 p-0 text-start px-3"
|
|
37088
|
-
// onClick={() => {
|
|
37089
|
-
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
|
|
37090
|
-
// }}
|
|
37091
|
-
// >
|
|
37092
|
-
// <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{langdetect == 'en' ? collitem.title_en : collitem.title_ar}</p>
|
|
37093
|
-
// </div>
|
|
37094
|
-
|
|
37095
|
-
// <div className="col-lg-12 p-0">
|
|
37096
|
-
// <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
|
|
37097
|
-
// </div>
|
|
37098
|
-
// </div>
|
|
37099
|
-
;
|
|
37219
|
+
}, langdetect == 'en' ? collitem.title_en : collitem.title_ar)));
|
|
37100
37220
|
}
|
|
37101
37221
|
}));
|
|
37102
37222
|
};
|
|
@@ -37232,7 +37352,7 @@
|
|
|
37232
37352
|
function ownKeys$1_(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; }
|
|
37233
37353
|
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
37234
37354
|
var Header8 = function Header8(props) {
|
|
37235
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$
|
|
37355
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i20, _authdetailsContext$i21, _authdetailsContext$i22, _authdetailsContext$i24, _authdetailsContext$i26, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
37236
37356
|
var actions = props.actions;
|
|
37237
37357
|
props.actions.history;
|
|
37238
37358
|
var lang = props.actions.lang;
|
|
@@ -37327,6 +37447,10 @@
|
|
|
37327
37447
|
flooringmenu2 = _useState36[0],
|
|
37328
37448
|
setflooringmenu2 = _useState36[1];
|
|
37329
37449
|
var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
|
|
37450
|
+
var _useState37 = React.useState(false),
|
|
37451
|
+
_useState38 = _slicedToArray__default["default"](_useState37, 2),
|
|
37452
|
+
menuactive = _useState38[0],
|
|
37453
|
+
setmenuactive = _useState38[1];
|
|
37330
37454
|
React.useEffect(function () {
|
|
37331
37455
|
var _StatePagePropertiesC;
|
|
37332
37456
|
var secpropobj = {};
|
|
@@ -37477,6 +37601,21 @@
|
|
|
37477
37601
|
})));
|
|
37478
37602
|
};
|
|
37479
37603
|
var header_cssstyles = {
|
|
37604
|
+
menuiconn: glamor.css({
|
|
37605
|
+
backgroundColor: sectionproperties.menuiconbgcolor,
|
|
37606
|
+
width: sectionproperties.menuiconwidth,
|
|
37607
|
+
height: sectionproperties.menuiconheight,
|
|
37608
|
+
marginRight: langdetect == 'en' ? 30 : 0,
|
|
37609
|
+
marginLeft: langdetect == 'en' ? 0 : 30,
|
|
37610
|
+
borderRadius: 100,
|
|
37611
|
+
color: sectionproperties.menuiconcolor,
|
|
37612
|
+
':hover': {
|
|
37613
|
+
transition: '.3s',
|
|
37614
|
+
cursor: 'pointer',
|
|
37615
|
+
backgroundColor: sectionproperties.menuiconbgcoloronhover,
|
|
37616
|
+
color: sectionproperties.menuiconcoloronhover
|
|
37617
|
+
}
|
|
37618
|
+
}),
|
|
37480
37619
|
floatingwaicon: glamor.css({
|
|
37481
37620
|
position: 'fixed',
|
|
37482
37621
|
bottom: sectionproperties.floatingwhatsapppositionfrombottom + 'px',
|
|
@@ -37865,11 +38004,13 @@
|
|
|
37865
38004
|
sectionpropertiesprops: sectionproperties,
|
|
37866
38005
|
templateproperties_contextprops: templateproperties_context,
|
|
37867
38006
|
actions: actions
|
|
37868
|
-
})), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(
|
|
38007
|
+
})), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38008
|
+
"class": "col-12 p-0 d-flex d-md-none"
|
|
38009
|
+
}, /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
37869
38010
|
sectionpropertiesprops: sectionproperties,
|
|
37870
38011
|
templateproperties_contextprops: templateproperties_context,
|
|
37871
38012
|
actions: actions
|
|
37872
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38013
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37873
38014
|
"class": "".concat(header_cssstyles.headercontainer) + ' row ml-0 mr-0 d-flex d-md-none align-items-center ',
|
|
37874
38015
|
style: {
|
|
37875
38016
|
position: sectionproperties.headerstyles_position,
|
|
@@ -37880,8 +38021,20 @@
|
|
|
37880
38021
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37881
38022
|
"class": header_cssstyles.upperheadersection + ' row w-100 m-0 align-items-center px-1025-1 '
|
|
37882
38023
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37883
|
-
"class": "col-lg-2 p-0"
|
|
37884
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38024
|
+
"class": "col-lg-2 p-0 d-flex align-items-center"
|
|
38025
|
+
}, sectionproperties.showmenuicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38026
|
+
style: {},
|
|
38027
|
+
"class": header_cssstyles.menuiconn + ' allcentered ',
|
|
38028
|
+
onClick: function onClick() {
|
|
38029
|
+
if (menuactive == true) {
|
|
38030
|
+
setmenuactive(false);
|
|
38031
|
+
} else {
|
|
38032
|
+
setmenuactive(true);
|
|
38033
|
+
}
|
|
38034
|
+
}
|
|
38035
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMenu.FiMenu, {
|
|
38036
|
+
size: sectionproperties.menuiconfontsize
|
|
38037
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
37885
38038
|
"class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
|
|
37886
38039
|
style: {
|
|
37887
38040
|
cursor: 'pointer'
|
|
@@ -37980,7 +38133,7 @@
|
|
|
37980
38133
|
}
|
|
37981
38134
|
}), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
37982
38135
|
"class": " ".concat(header_cssstyles.searchbar_icon_cont) + ' d-flex align-items-center justify-content-center '
|
|
37983
|
-
}, /*#__PURE__*/React__default["default"].createElement(BsSearch.BsSearch, {
|
|
38136
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '683c163d7f996' && langdetect == 'en' ? 'Search' : 'ابحث', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) != '683c163d7f996' && /*#__PURE__*/React__default["default"].createElement(BsSearch.BsSearch, {
|
|
37984
38137
|
color: sectionproperties.searchbaricon_color,
|
|
37985
38138
|
size: sectionproperties.searchbaricon_fontsize
|
|
37986
38139
|
})), /*#__PURE__*/React__default["default"].createElement(Searchlist$1, {
|
|
@@ -38005,7 +38158,7 @@
|
|
|
38005
38158
|
"class": "d-flex align-items-center flex-column"
|
|
38006
38159
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38007
38160
|
"class": header_cssstyles.storeinfotext + ' m-0 storeinfotext '
|
|
38008
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38161
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.contactinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.mobile), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38009
38162
|
"class": "mb-0 w-100",
|
|
38010
38163
|
style: {
|
|
38011
38164
|
textAlign: langdetect == 'en' ? 'right' : 'left',
|
|
@@ -38021,7 +38174,7 @@
|
|
|
38021
38174
|
paddingLeft: langdetect == 'en' ? sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '.3rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem' : 0,
|
|
38022
38175
|
paddingRight: langdetect == 'en' ? 0 : sectionproperties.showfooterphonenumber == 'Show' ? authdetailsContext.loggedin == true ? '1rem' : '3rem' : authdetailsContext.loggedin == true ? '4rem' : '6rem'
|
|
38023
38176
|
}
|
|
38024
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38177
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '696e02860f043' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
38025
38178
|
onClick: function onClick() {
|
|
38026
38179
|
routingcountext(StaticPagesLinksContext.Compare);
|
|
38027
38180
|
},
|
|
@@ -38030,7 +38183,7 @@
|
|
|
38030
38183
|
"class": header_cssstyles.wishlist_btn + ' allcentered p-0 '
|
|
38031
38184
|
}, /*#__PURE__*/React__default["default"].createElement(MdCompareArrows.MdCompareArrows, {
|
|
38032
38185
|
size: sectionproperties.userBtniconfontsize
|
|
38033
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38186
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
38034
38187
|
onClick: function onClick() {
|
|
38035
38188
|
routingcountext(StaticPagesLinksContext.Compare);
|
|
38036
38189
|
},
|
|
@@ -38138,9 +38291,9 @@
|
|
|
38138
38291
|
"class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
38139
38292
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38140
38293
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38141
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38294
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38142
38295
|
"class": "ml-2 mr-2"
|
|
38143
|
-
}, " ", langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38296
|
+
}, " ", langdetect == 'en' ? lang.wishlist : 'المفضلة'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38144
38297
|
"class": "ml-2 mr-2"
|
|
38145
38298
|
}, lang.wishlist)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
38146
38299
|
onClick: function onClick() {
|
|
@@ -38193,7 +38346,7 @@
|
|
|
38193
38346
|
"class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer d-flex align-items-center justify-content-center '
|
|
38194
38347
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38195
38348
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
|
|
38196
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
38349
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length : 0), sectionproperties.carticonstyle != "I'll use my own SVG" && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
38197
38350
|
"class": "h-100 allcentered"
|
|
38198
38351
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
38199
38352
|
size: sectionproperties.cartBtn_iconFontSize
|
|
@@ -38209,7 +38362,51 @@
|
|
|
38209
38362
|
size: sectionproperties.cartBtn_iconFontSize
|
|
38210
38363
|
}), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, {
|
|
38211
38364
|
size: sectionproperties.cartBtn_iconFontSize
|
|
38212
|
-
}))
|
|
38365
|
+
})), sectionproperties.carticonstyle == "I'll use my own SVG" && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38366
|
+
"class": "h-100 allcentered ",
|
|
38367
|
+
style: {
|
|
38368
|
+
width: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
38369
|
+
height: sectionproperties.cartBtn_iconFontSize + 'px'
|
|
38370
|
+
}
|
|
38371
|
+
// dangerouslySetInnerHTML={{ __html: sectionproperties.cartsvg }}
|
|
38372
|
+
}, /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
38373
|
+
viewBox: "0 0 24 24",
|
|
38374
|
+
fill: "none",
|
|
38375
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
38376
|
+
stroke: "#ffffff"
|
|
38377
|
+
}, /*#__PURE__*/React__default["default"].createElement("g", {
|
|
38378
|
+
id: "SVGRepo_bgCarrier",
|
|
38379
|
+
"stroke-width": "0"
|
|
38380
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
38381
|
+
id: "SVGRepo_tracerCarrier",
|
|
38382
|
+
"stroke-linecap": "round",
|
|
38383
|
+
"stroke-linejoin": "round"
|
|
38384
|
+
}), /*#__PURE__*/React__default["default"].createElement("g", {
|
|
38385
|
+
id: "SVGRepo_iconCarrier"
|
|
38386
|
+
}, ' ', /*#__PURE__*/React__default["default"].createElement("path", {
|
|
38387
|
+
d: "M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",
|
|
38388
|
+
stroke: "#ffffff",
|
|
38389
|
+
"stroke-width": "1.5"
|
|
38390
|
+
}), ' ', /*#__PURE__*/React__default["default"].createElement("path", {
|
|
38391
|
+
d: "M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",
|
|
38392
|
+
stroke: "#ffffff",
|
|
38393
|
+
"stroke-width": "1.5"
|
|
38394
|
+
}), ' ', /*#__PURE__*/React__default["default"].createElement("path", {
|
|
38395
|
+
d: "M9.5 9L10.0282 12.1179",
|
|
38396
|
+
stroke: "#ffffff",
|
|
38397
|
+
"stroke-width": "1.5",
|
|
38398
|
+
"stroke-linecap": "round"
|
|
38399
|
+
}), ' ', /*#__PURE__*/React__default["default"].createElement("path", {
|
|
38400
|
+
d: "M15.5283 9L15.0001 12.1179",
|
|
38401
|
+
stroke: "#ffffff",
|
|
38402
|
+
"stroke-width": "1.5",
|
|
38403
|
+
"stroke-linecap": "round"
|
|
38404
|
+
}), ' ', /*#__PURE__*/React__default["default"].createElement("path", {
|
|
38405
|
+
d: "M2 3L2.26121 3.09184C3.5628 3.54945 4.2136 3.77826 4.58584 4.32298C4.95808 4.86771 4.95808 5.59126 4.95808 7.03836V9.76C4.95808 12.7016 5.02132 13.6723 5.88772 14.5862C6.75412 15.5 8.14857 15.5 10.9375 15.5H12M16.2404 15.5C17.8014 15.5 18.5819 15.5 19.1336 15.0504C19.6853 14.6008 19.8429 13.8364 20.158 12.3075L20.6578 9.88275C21.0049 8.14369 21.1784 7.27417 20.7345 6.69708C20.2906 6.12 18.7738 6.12 17.0888 6.12H11.0235M4.95808 6.12H7",
|
|
38406
|
+
stroke: "#ffffff",
|
|
38407
|
+
"stroke-width": "1.5",
|
|
38408
|
+
"stroke-linecap": "round"
|
|
38409
|
+
}), ' ')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38213
38410
|
"class": langdetect == 'en' ? 'ml-2 d-flex d-lg-none' : 'mr-2 d-flex d-lg-none'
|
|
38214
38411
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38215
38412
|
"class": "row m-0 w-100 d-flex align-items-center flex-column justify-content-start"
|
|
@@ -38232,7 +38429,7 @@
|
|
|
38232
38429
|
fontWeight: sectionproperties.secondaryfontweight,
|
|
38233
38430
|
cursor: 'pointer'
|
|
38234
38431
|
}
|
|
38235
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38432
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) != '68c69dcc53e94' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) != '696691293c2a6' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) != '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38236
38433
|
"class": "d-flex flex-row justify-content-end align-items-center",
|
|
38237
38434
|
onClick: function onClick() {
|
|
38238
38435
|
if (langdetect == 'en') {
|
|
@@ -38253,7 +38450,7 @@
|
|
|
38253
38450
|
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
|
|
38254
38451
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38255
38452
|
"class": "mx-2"
|
|
38256
|
-
}, sectionproperties.englishlanguagetext))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38453
|
+
}, sectionproperties.englishlanguagetext))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '696691293c2a6' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
38257
38454
|
"class": "".concat(header_cssstyles.header_menu2) + ' allcentered mx-2 '
|
|
38258
38455
|
}, langdetect == 'ar' &&
|
|
38259
38456
|
/*#__PURE__*/
|
|
@@ -38291,7 +38488,7 @@
|
|
|
38291
38488
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38292
38489
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38293
38490
|
"class": "ml-2 mr-2"
|
|
38294
|
-
}, 'English')))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38491
|
+
}, 'English')))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '69a3437faf64f' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
38295
38492
|
"class": "".concat(header_cssstyles.languagecontainer) + ' allcentered mx-2 '
|
|
38296
38493
|
}, /*#__PURE__*/React__default["default"].createElement(BiGlobe.BiGlobe, {
|
|
38297
38494
|
size: 23
|
|
@@ -38317,7 +38514,7 @@
|
|
|
38317
38514
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38318
38515
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38319
38516
|
"class": "ml-2 mr-2"
|
|
38320
|
-
}, 'English')))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38517
|
+
}, 'English')))))), sectionproperties.showlanuagecontainer == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '68c69dcc53e94' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
38321
38518
|
"class": "".concat(header_cssstyles.header_menu) + ' allcentered mx-2 '
|
|
38322
38519
|
}, langdetect == 'ar' &&
|
|
38323
38520
|
/*#__PURE__*/
|
|
@@ -38355,7 +38552,7 @@
|
|
|
38355
38552
|
"class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
|
|
38356
38553
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38357
38554
|
"class": "ml-2 mr-2"
|
|
38358
|
-
}, 'English')))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38555
|
+
}, 'English')))))), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.instcurrencies) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38359
38556
|
"class": langdetect == 'en' ? 'col-lasdg-2 d-flex align-items-center justify-content-end ml-2 ' : 'col-lasdg-2 d-flex align-items-center justify-content-end mr-2 '
|
|
38360
38557
|
}, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"], null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Toggle, null, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
38361
38558
|
"class": ' d-flex align-items-center justify-content-center ',
|
|
@@ -38370,8 +38567,8 @@
|
|
|
38370
38567
|
"class": ' row m-0 w-100 d-flex align-items-center '
|
|
38371
38568
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
38372
38569
|
"class": "m-0 p-0 ml-2 mr-2"
|
|
38373
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38374
|
-
var _authdetailsContext$
|
|
38570
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(MdKeyboardArrowDown.MdKeyboardArrowDown, null)))), /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.instcurrencies) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.map(function (item, index) {
|
|
38571
|
+
var _authdetailsContext$i23;
|
|
38375
38572
|
return /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
38376
38573
|
onClick: function onClick() {
|
|
38377
38574
|
setcurrencyfunccontext(item);
|
|
@@ -38391,7 +38588,7 @@
|
|
|
38391
38588
|
}
|
|
38392
38589
|
}, /*#__PURE__*/React__default["default"].createElement(FaMoneyBillWave.FaMoneyBillWave, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
38393
38590
|
"class": 'ml-2 mr-2'
|
|
38394
|
-
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38591
|
+
}, langdetect == 'en' ? item.currencyname_en : item.currencyname_ar)))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 || (_authdetailsContext$i23 = _authdetailsContext$i23.instcurrencies) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.length) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38395
38592
|
"class": "col-lg-12 p-0"
|
|
38396
38593
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
38397
38594
|
"class": "m-0"
|
|
@@ -38423,9 +38620,9 @@
|
|
|
38423
38620
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("ul", {
|
|
38424
38621
|
"class": "w-100 mt-2",
|
|
38425
38622
|
style: {}
|
|
38426
|
-
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38427
|
-
var _authdetailsContext$
|
|
38428
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38623
|
+
}, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.instcategories) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.map(function (item, index) {
|
|
38624
|
+
var _authdetailsContext$i25;
|
|
38625
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.instcategories;
|
|
38429
38626
|
if (item.isshowntocustomers == 1) {
|
|
38430
38627
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38431
38628
|
"class": "w-100"
|
|
@@ -38438,9 +38635,9 @@
|
|
|
38438
38635
|
"class": "w-100"
|
|
38439
38636
|
}, ButtonDropdown(item, index, fetchedarray));
|
|
38440
38637
|
}
|
|
38441
|
-
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38442
|
-
var _authdetailsContext$
|
|
38443
|
-
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38638
|
+
})), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 || (_authdetailsContext$i26 = _authdetailsContext$i26.instcollections) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.map(function (item, index) {
|
|
38639
|
+
var _authdetailsContext$i27;
|
|
38640
|
+
var fetchedarray = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.instcollections;
|
|
38444
38641
|
if (item.isshowntocustomers == 1) {
|
|
38445
38642
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38446
38643
|
"class": "w-100"
|
|
@@ -38456,15 +38653,15 @@
|
|
|
38456
38653
|
justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
38457
38654
|
}
|
|
38458
38655
|
}, templatepropcontext.pagesnprop.map(function (item, index) {
|
|
38459
|
-
var _authdetailsContext$
|
|
38656
|
+
var _authdetailsContext$i28;
|
|
38460
38657
|
var activeclass = '';
|
|
38461
38658
|
if (item.isselected) {
|
|
38462
38659
|
activeclass = header_cssstyles.navbar_item_active;
|
|
38463
38660
|
}
|
|
38464
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38661
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.instid) == '68c69dcc53e94') {
|
|
38465
38662
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
38466
38663
|
if (item.pagename != 'Services' && item.pagename != 'Isolation' && item.pagename != 'Flooring' && item.pagename != 'Projects') {
|
|
38467
|
-
var _authdetailsContext$
|
|
38664
|
+
var _authdetailsContext$i29, _authdetailsContext$i30;
|
|
38468
38665
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38469
38666
|
"class": "".concat(activeclass) + ' cursor-pointer scrollhorizontalcard ',
|
|
38470
38667
|
onClick: function onClick() {
|
|
@@ -38473,21 +38670,21 @@
|
|
|
38473
38670
|
style: {
|
|
38474
38671
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
38475
38672
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
38476
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38477
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38673
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
38674
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
38478
38675
|
}
|
|
38479
38676
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38480
38677
|
"class": "".concat(header_cssstyles.navbar_item_text)
|
|
38481
38678
|
}, " ", langdetect == 'en' ? item.pagename : item.pagename_ar));
|
|
38482
38679
|
} else if (item.pagename == 'Services') {
|
|
38483
|
-
var _authdetailsContext$
|
|
38680
|
+
var _authdetailsContext$i31, _authdetailsContext$i32;
|
|
38484
38681
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38485
38682
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
38486
38683
|
style: {
|
|
38487
38684
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
38488
38685
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
38489
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38490
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38686
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
38687
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
38491
38688
|
},
|
|
38492
38689
|
onMouseEnter: function onMouseEnter() {
|
|
38493
38690
|
setservicesmenu(true);
|
|
@@ -38663,14 +38860,14 @@
|
|
|
38663
38860
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
38664
38861
|
}, langdetect == 'en' ? 'Soil drying' : 'تجفيف التربة'))))))));
|
|
38665
38862
|
} else if (item.pagename == 'Isolation') {
|
|
38666
|
-
var _authdetailsContext$
|
|
38863
|
+
var _authdetailsContext$i33, _authdetailsContext$i34;
|
|
38667
38864
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
38668
38865
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
38669
38866
|
style: {
|
|
38670
38867
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
38671
38868
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
38672
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38673
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
38869
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
38870
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
38674
38871
|
},
|
|
38675
38872
|
onMouseEnter: function onMouseEnter() {
|
|
38676
38873
|
setisolationmenu(true);
|
|
@@ -39074,14 +39271,14 @@
|
|
|
39074
39271
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39075
39272
|
}, "\u0641\u064A\u0646\u064A\u0644")))))))))))));
|
|
39076
39273
|
} else if (item.pagename == 'Flooring') {
|
|
39077
|
-
var _authdetailsContext$
|
|
39274
|
+
var _authdetailsContext$i35, _authdetailsContext$i36;
|
|
39078
39275
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39079
39276
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39080
39277
|
style: {
|
|
39081
39278
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39082
39279
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39083
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39084
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39280
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39281
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39085
39282
|
},
|
|
39086
39283
|
onMouseEnter: function onMouseEnter() {
|
|
39087
39284
|
setflooringmenu(true);
|
|
@@ -39418,14 +39615,14 @@
|
|
|
39418
39615
|
"class": "".concat(header_cssstyles.navbar_item_text) + ' mb-0 p-0 ml-md-3 mr-md-3 text-black '
|
|
39419
39616
|
}, "\u0627\u0631\u0636\u064A\u0627\u062A \u0627\u0644\u0635\u0627\u0644\u0627\u062A \u0627\u0644\u0631\u064A\u0627\u0636\u064A\u0629"))))))));
|
|
39420
39617
|
} else if (item.pagename == 'Projects') {
|
|
39421
|
-
var _authdetailsContext$
|
|
39618
|
+
var _authdetailsContext$i37, _authdetailsContext$i38;
|
|
39422
39619
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39423
39620
|
"class": "".concat(activeclass) + ' cursor-pointer dropdownoutersecuritykey ',
|
|
39424
39621
|
style: {
|
|
39425
39622
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
39426
39623
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
39427
|
-
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39428
|
-
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
39624
|
+
paddingTop: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingtop + 'px' : 0,
|
|
39625
|
+
paddingBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '68c69dcc53e94' ? sectionproperties.lowersection_paddingbottom + 'px' : 0
|
|
39429
39626
|
},
|
|
39430
39627
|
onMouseEnter: function onMouseEnter() {
|
|
39431
39628
|
setflooringmenu2(true);
|
|
@@ -39576,7 +39773,57 @@
|
|
|
39576
39773
|
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader Only' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
39577
39774
|
sectionpropertiesprops: sectionproperties,
|
|
39578
39775
|
actions: actions
|
|
39579
|
-
})
|
|
39776
|
+
}), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
39777
|
+
show: menuactive,
|
|
39778
|
+
onHide: function onHide() {
|
|
39779
|
+
setmenuactive(false);
|
|
39780
|
+
},
|
|
39781
|
+
placement: langdetect == 'en' ? 'start' : 'end',
|
|
39782
|
+
scroll: true,
|
|
39783
|
+
style: {
|
|
39784
|
+
width: sectionproperties.categoriessliderwidth + '%',
|
|
39785
|
+
background: sectionproperties.categoriessliderbgcolor
|
|
39786
|
+
},
|
|
39787
|
+
backdrop: true
|
|
39788
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39789
|
+
className: "row m-0 w-100 mb-4 pt-4 pl-3 pr-3",
|
|
39790
|
+
style: {}
|
|
39791
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39792
|
+
className: 'col-9 d-flex align-items-center '
|
|
39793
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
39794
|
+
className: "m-0 p-0",
|
|
39795
|
+
style: {
|
|
39796
|
+
fontWeight: sectionproperties.categoriesslidertitlefontweight,
|
|
39797
|
+
fontSize: sectionproperties.categoriesslidertitlefontsize + 'px',
|
|
39798
|
+
color: sectionproperties.categoriesslidertitlecolor
|
|
39799
|
+
}
|
|
39800
|
+
}, langdetect == 'en' ? sectionproperties.categoriesslidertitleenglish : sectionproperties.categoriesslidertitlearabic)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39801
|
+
"class": "col-3 text-end",
|
|
39802
|
+
onClick: function onClick() {
|
|
39803
|
+
setmenuactive(false);
|
|
39804
|
+
}
|
|
39805
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39806
|
+
"class": "allcentered",
|
|
39807
|
+
style: {
|
|
39808
|
+
width: sectionproperties.categoriesslidercloseiconwidth,
|
|
39809
|
+
height: sectionproperties.categoriesslidercloseiconheight,
|
|
39810
|
+
background: sectionproperties.categoriesslidercloseiconbgcolor,
|
|
39811
|
+
cursor: 'pointer'
|
|
39812
|
+
}
|
|
39813
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
|
|
39814
|
+
color: sectionproperties.categoriesslidercloseiconcolor,
|
|
39815
|
+
size: sectionproperties.categoriesslidercloseiconsize
|
|
39816
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39817
|
+
"class": "col-12 mt-3"
|
|
39818
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
39819
|
+
style: {
|
|
39820
|
+
borderBottom: sectionproperties.categoriesslidertitleborderwidth + 'px solid ' + sectionproperties.categoriesslidertitlebordercolor
|
|
39821
|
+
}
|
|
39822
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Body, null, /*#__PURE__*/React__default["default"].createElement(SubheaderDropdown, {
|
|
39823
|
+
sectionpropertiesprops: sectionproperties,
|
|
39824
|
+
actions: actions,
|
|
39825
|
+
setmenuactive: setmenuactive
|
|
39826
|
+
}))));
|
|
39580
39827
|
};
|
|
39581
39828
|
|
|
39582
39829
|
var css_248z$u = ".headerresturant-module_header_innercontainer__K3I1g {\r\n display: flex;\r\n align-items: center;\r\n align-content: center;\r\n z-index: 10;\r\n}\r\n/* .header_innercontainer .navbar ul {\r\n margin: 0;\r\n padding: 0;\r\n display: flex;\r\n list-style: none;\r\n align-items: center;\r\n}\r\n.header_innercontainer .navbar ul li {\r\n position: relative !important;\r\n} */\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item__Exl8b {\r\n position: relative;\r\n cursor: pointer;\r\n white-space: nowrap;\r\n display: flex;\r\n align-items: center;\r\n}\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item__Exl8b .headerresturant-module_navbar_item_text__psv09 {\r\n transition: transform 0.3s cubic-bezier(0.2, 1, 0.8, 1);\r\n transition: 0.3s;\r\n padding: 0;\r\n}\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item__Exl8b .headerresturant-module_navbar_item_text__psv09:after {\r\n content: '';\r\n width: 7px;\r\n height: 7px;\r\n position: absolute;\r\n left: -12px !important;\r\n bottom: 0;\r\n top:0;\r\n margin: auto !important;\r\n border-radius: 50%;\r\n margin: 0 auto;\r\n opacity: 0;\r\n -webkit-transition: all, 0.3s;\r\n -moz-transition: all, 0.3s;\r\n -ms-transition: all, 0.3s;\r\n -o-transition: all, 0.3s;\r\n transition: all, 0.3s;\r\n}\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item__Exl8b:hover .headerresturant-module_navbar_item_text__psv09:after {\r\n opacity: 1;\r\n}\r\n.headerresturant-module_navbar_item_active__8BCbD .headerresturant-module_navbar_item_text__psv09:after{\r\n opacity: 1 !important;\r\n}\r\n/* Side Nav Active */\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_navbar_item_active__8BCbD .headerresturant-module_navbar_item_text__psv09:after {\r\n opacity: 1;\r\n}\r\n\r\n/* Search Bar */\r\n.headerresturant-module_header_innercontainer__K3I1g .headerresturant-module_searchbarcont__4VPWj input::placeholder {\r\n color: #8c8c8c;\r\n font-weight: normal;\r\n}\r\n\r\n/* Language Container */\r\n.headerresturant-module_language_cont__LwHIK {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n text-align: center;\r\n width: 3.5vh;\r\n height: 3.5vh;\r\n border-radius: 5px;\r\n /* color: #022648; */\r\n /* background-color: white; */\r\n font-size: 13px;\r\n line-height: 4vh;\r\n transition: 0.3s ease, color 0.3s ease;\r\n font-weight: 600;\r\n}\r\n\r\n/* Badge */\r\n.headerresturant-module_badge_counter_header_notifications__mGA2- {\r\n position: absolute;\r\n transform: scale(0.3);\r\n transform-origin: top right;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}";
|
|
@@ -41450,11 +41697,13 @@
|
|
|
41450
41697
|
}, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
41451
41698
|
sectionpropertiesprops: sectionproperties,
|
|
41452
41699
|
actions: actions
|
|
41453
|
-
}), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(
|
|
41700
|
+
}), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41701
|
+
"class": "col-12 d-flex d-md-none p-0"
|
|
41702
|
+
}, /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
41454
41703
|
sectionpropertiesprops: sectionproperties,
|
|
41455
41704
|
templateproperties_contextprops: templateproperties_context,
|
|
41456
41705
|
actions: actions
|
|
41457
|
-
}), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41706
|
+
})), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
41458
41707
|
"class": "col-lg-12 p-0 d-md-none",
|
|
41459
41708
|
style: {
|
|
41460
41709
|
zIndex: 100
|
|
@@ -76808,16 +77057,31 @@
|
|
|
76808
77057
|
}
|
|
76809
77058
|
}),
|
|
76810
77059
|
sectiontitlespan: glamor.css({
|
|
77060
|
+
color: sectionproperties.sectionTitleColor,
|
|
77061
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
77062
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
77063
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
77064
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
76811
77065
|
':after': {
|
|
76812
77066
|
width: sectionproperties.sectitle_lineafterwidth + '%',
|
|
76813
77067
|
backgroundColor: sectionproperties.linebgcolor
|
|
77068
|
+
},
|
|
77069
|
+
'@media (max-width: 800px)': {
|
|
77070
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
76814
77071
|
}
|
|
76815
77072
|
}),
|
|
76816
77073
|
sectiontitlespan2: glamor.css({
|
|
77074
|
+
color: sectionproperties.sectionTitleColor,
|
|
77075
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
77076
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
77077
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
76817
77078
|
':after': {
|
|
76818
77079
|
width: sectionproperties.sectitle_lineafterwidth + 'px',
|
|
76819
77080
|
height: '100%',
|
|
76820
77081
|
backgroundColor: sectionproperties.linebgcolor
|
|
77082
|
+
},
|
|
77083
|
+
'@media (max-width: 800px)': {
|
|
77084
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
76821
77085
|
}
|
|
76822
77086
|
})
|
|
76823
77087
|
};
|
|
@@ -76890,13 +77154,7 @@
|
|
|
76890
77154
|
}
|
|
76891
77155
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76892
77156
|
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(section_styles.sectiontitlespan) + ' PacificoFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(section_styles.sectiontitlespan) + ' PlayfairFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(section_styles.sectiontitlespan) + ' GreatvibesFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(section_styles.sectiontitlespan) + ' QuicksandFont mb-0 pb-0 wordbreak ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(section_styles.sectiontitlespan) + ' SatisfyFont mb-0 pb-0 wordbreak ' : "".concat(section_styles.sectiontitlespan) + ' mb-0 pb-0 wordbreak ',
|
|
76893
|
-
style: {
|
|
76894
|
-
color: sectionproperties.sectionTitleColor,
|
|
76895
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
76896
|
-
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
76897
|
-
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
76898
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
76899
|
-
}
|
|
77157
|
+
style: {}
|
|
76900
77158
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.sectiontitleshow == 'Show' && sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76901
77159
|
"class": "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0",
|
|
76902
77160
|
style: {
|
|
@@ -76910,12 +77168,7 @@
|
|
|
76910
77168
|
}
|
|
76911
77169
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76912
77170
|
"class": "".concat(section_styles.sectiontitlespan2),
|
|
76913
|
-
style: {
|
|
76914
|
-
color: sectionproperties.sectionTitleColor,
|
|
76915
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
76916
|
-
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
76917
|
-
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
76918
|
-
}
|
|
77171
|
+
style: {}
|
|
76919
77172
|
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar))), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76920
77173
|
"class": ' col-lg-12 col-md-12 col-sm-12 d-flex d-md-none align-items-center p-0 ',
|
|
76921
77174
|
style: {
|
|
@@ -93056,14 +93309,15 @@
|
|
|
93056
93309
|
height: sectionproperties.cartBtnHeight + 'px',
|
|
93057
93310
|
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
93058
93311
|
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
93059
|
-
color: sectionproperties.
|
|
93312
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
93060
93313
|
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
93061
93314
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
93062
93315
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
93063
93316
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
93064
93317
|
':hover': {
|
|
93065
93318
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93066
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93319
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
93320
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
93067
93321
|
}
|
|
93068
93322
|
}),
|
|
93069
93323
|
cart_btn_bottom: glamor.css((_css = {
|
|
@@ -93075,9 +93329,10 @@
|
|
|
93075
93329
|
margin: 'auto',
|
|
93076
93330
|
transition: 'all, 0.3s',
|
|
93077
93331
|
width: sectionproperties.cartBtnWidth + 'px'
|
|
93078
|
-
}, _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"](_css, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.
|
|
93332
|
+
}, _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"](_css, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cartBtnTextcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty__default["default"](_css, ':hover', {
|
|
93079
93333
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93080
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93334
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
93335
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
93081
93336
|
}))),
|
|
93082
93337
|
cart_btn_center: glamor.css((_css2 = {
|
|
93083
93338
|
position: 'absolute',
|
|
@@ -93088,9 +93343,10 @@
|
|
|
93088
93343
|
margin: 'auto',
|
|
93089
93344
|
transition: 'all, 0.3s',
|
|
93090
93345
|
width: sectionproperties.cartBtnWidth + 'px'
|
|
93091
|
-
}, _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"](_css2, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.
|
|
93346
|
+
}, _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"](_css2, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cartBtnTextcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty__default["default"](_css2, ':hover', {
|
|
93092
93347
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93093
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93348
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
93349
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
93094
93350
|
}))),
|
|
93095
93351
|
productcard: glamor.css({
|
|
93096
93352
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
@@ -93129,9 +93385,10 @@
|
|
|
93129
93385
|
margin: 'auto',
|
|
93130
93386
|
transition: 'all, 0.3s',
|
|
93131
93387
|
width: sectionproperties.cartBtnWidth + 'px'
|
|
93132
|
-
}, _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"](_css3, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.
|
|
93388
|
+
}, _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"](_css3, "width", sectionproperties.cartBtnWidth + '%'), "maxWidth", '100%'), "height", sectionproperties.cartBtnHeight + 'px'), "background", sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor), "borderRadius", sectionproperties.cart_btn_borderBottomLeftRadius + 'px'), "color", sectionproperties.cartBtnTextcolor), "fontSize", sectionproperties.cartBtnTextfontsize + 'px'), "textTransform", sectionproperties.cartBtnTexttransform), "fontWeight", sectionproperties.cartBtnTextfontweight), "border", sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor), _defineProperty__default["default"](_css3, ':hover', {
|
|
93133
93389
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
93134
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
93390
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
93391
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
93135
93392
|
}))),
|
|
93136
93393
|
imageContainer: glamor.css({
|
|
93137
93394
|
backgroundColor: sectionproperties.image_bgcolor,
|
|
@@ -93309,13 +93566,36 @@
|
|
|
93309
93566
|
"class": "m-0 p-0"
|
|
93310
93567
|
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93311
93568
|
"class": sectionproperties.paddingLeft == 0 ? 'row m-0 w-100 text-center mt-2 px-2' : 'row m-0 w-100 text-center mt-2'
|
|
93312
|
-
},
|
|
93569
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93570
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center justify-content-center",
|
|
93571
|
+
style: {
|
|
93572
|
+
visibility: item.quantavailtype == 'nolimit' ? 'visible' : item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
93573
|
+
}
|
|
93574
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93575
|
+
"class": "m-0 p-0",
|
|
93576
|
+
style: {
|
|
93577
|
+
width: 8,
|
|
93578
|
+
height: 8,
|
|
93579
|
+
borderRadius: 100,
|
|
93580
|
+
background: 'green'
|
|
93581
|
+
}
|
|
93582
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93583
|
+
"class": 'm-0 mx-2 p-0',
|
|
93584
|
+
style: {
|
|
93585
|
+
color: 'green',
|
|
93586
|
+
fontSize: 13,
|
|
93587
|
+
fontWeight: 400
|
|
93588
|
+
}
|
|
93589
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93313
93590
|
"class": "col-lg-12 p-0"
|
|
93314
93591
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
93315
93592
|
onClick: function onClick() {
|
|
93316
93593
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
93317
93594
|
},
|
|
93318
|
-
"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 '
|
|
93595
|
+
"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 ',
|
|
93596
|
+
style: {
|
|
93597
|
+
// height: sectionproperties.wordbreak == '2' ? '6vh' : 'auto',
|
|
93598
|
+
}
|
|
93319
93599
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
93320
93600
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
|
|
93321
93601
|
style: {
|