tabexseriescomponents 0.2.1273 → 0.2.1275

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -2529,7 +2529,7 @@
2529
2529
  };
2530
2530
 
2531
2531
  var ProductHeaderPricing = function ProductHeaderPricing(props) {
2532
- var _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19;
2532
+ var _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer0, _fetchProductInfoQuer1, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21;
2533
2533
  props.actions.lang;
2534
2534
  var langdetect = props.actions.langdetect;
2535
2535
  var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
@@ -2633,26 +2633,28 @@
2633
2633
  justifyContent: props.srcfromprops == 'servicestyle2' ? 'center' : 'start'
2634
2634
  }
2635
2635
  }, /*#__PURE__*/React__default["default"].createElement("p", {
2636
- "class": "m-0 p-0"
2636
+ "class": "m-0 p-0 d-flex flex-row align-items-center"
2637
2637
  }, /*#__PURE__*/React__default["default"].createElement("span", {
2638
2638
  style: {
2639
2639
  fontSize: sectionproperties.defaultPriceFontSize + 'px',
2640
2640
  fontWeight: sectionproperties.defaultPriceFontWeight,
2641
2641
  color: sectionproperties.defaultPriceColor
2642
2642
  }
2643
- }, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.variants[variantindexcompleted]) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.hassale) == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.variants[variantindexcompleted]) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.hassale) == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
2643
+ }, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.currencyname_en : '', " ", variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.variants[variantindexcompleted]) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.hassale) == 1 && getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer6 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.data) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.productinfo) === null || _fetchProductInfoQuer6 === void 0 || (_fetchProductInfoQuer6 = _fetchProductInfoQuer6.variants[variantindexcompleted]) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.hassale) == 0 && getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
2644
+ "class": "mx-2",
2644
2645
  style: {
2645
2646
  fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
2646
2647
  fontWeight: sectionproperties.defaultSalePriceFontWeight,
2647
2648
  color: sectionproperties.defaultSalePriceColor
2648
2649
  }
2649
- }, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1 && variantindexcompleted != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.variants[variantindexcompleted]) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
2650
+ }, "-"), fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1 && variantindexcompleted != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.variants[variantindexcompleted]) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
2651
+ "class": "mx-2",
2650
2652
  style: {
2651
2653
  fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
2652
2654
  fontWeight: sectionproperties.defaultSalePriceFontWeight,
2653
2655
  color: sectionproperties.defaultSalePriceColor
2654
2656
  }
2655
- }, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
2657
+ }, "-"), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
2656
2658
  "class": "linethrough",
2657
2659
  style: {
2658
2660
  fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
@@ -2666,7 +2668,31 @@
2666
2668
  fontWeight: sectionproperties.defaultSalePriceFontWeight,
2667
2669
  color: sectionproperties.defaultSalePriceColor
2668
2670
  }
2669
- }, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.currencyname_en : '', ' ', getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.currencyname_ar)), sectionproperties.showmeasurementunit == 'Show' && sectionproperties.measurementunitposition == 'Besides Price' && /*#__PURE__*/React__default["default"].createElement("p", {
2671
+ }, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.currencyname_en : '', ' ', getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer12 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer12 === void 0 || (_fetchProductInfoQuer12 = _fetchProductInfoQuer12.data) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.currencyname_ar), sectionproperties.showpill == 'Show' && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React__default["default"].createElement("div", {
2672
+ "class": 'mx-3 px-2 allcentered',
2673
+ style: {
2674
+ background: sectionproperties.pillbgcolor,
2675
+ width: 'fit-content',
2676
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
2677
+ border: sectionproperties.pillBorderWidth + 'px solid ' + sectionproperties.pillBorderColor,
2678
+ direction: 'ltr',
2679
+ height: sectionproperties.pillheight + 'px'
2680
+ }
2681
+ }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
2682
+ "class": "m-0 p-0",
2683
+ style: {
2684
+ color: sectionproperties.counterValueColor,
2685
+ fontWeight: sectionproperties.counterValueFontWeight,
2686
+ fontSize: sectionproperties.counterValueFontSize + 'px'
2687
+ }
2688
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseInt(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseInt(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
2689
+ "class": "m-0 p-0 text-uppercase",
2690
+ style: {
2691
+ color: sectionproperties.counterValueColor,
2692
+ fontWeight: sectionproperties.counterValueFontWeight,
2693
+ fontSize: sectionproperties.counterValueFontSize + 'px'
2694
+ }
2695
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseInt(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted)))).toFixed(0), ' ', langdetect == 'en' ? '' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.currencyname_ar))), sectionproperties.showmeasurementunit == 'Show' && sectionproperties.measurementunitposition == 'Besides Price' && /*#__PURE__*/React__default["default"].createElement("p", {
2670
2696
  className: ' m-0 p-0 wordbreak d-flex justify-content-start mt-auto mb-auto px-2 ',
2671
2697
  style: {
2672
2698
  textAlign: langdetect == 'en' ? 'left' : 'right',
@@ -2674,16 +2700,11 @@
2674
2700
  color: sectionproperties.measurementunitcolor,
2675
2701
  fontSize: sectionproperties.measurementunitcolor + 'px'
2676
2702
  }
2677
- }, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && sectionproperties.showpill == 'Show' && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2703
+ }, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && sectionproperties.showpill == 'Show' && variantindexcompleted.length == 0 && sectionproperties.counterposition == 'Below Pricing' && /*#__PURE__*/React__default["default"].createElement("div", {
2678
2704
  "class": "col-lg-12 p-0 d-flex align-items-center justift-content-start"
2679
- }, SaleCounterPill()), fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1 && variantindexcompleted != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.productinfo) === null || _fetchProductInfoQuer13 === void 0 || (_fetchProductInfoQuer13 = _fetchProductInfoQuer13.variants[variantindexcompleted]) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.hassale) == 1 &&
2680
- /*#__PURE__*/
2681
- // fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1 &&
2682
- // variantindexcompleted != undefined &&
2683
- // fetchProductInfoQueryContext?.data?.data?.productinfo?.variants[variantindexcompleted]?.hassale == 1 &&
2684
- React__default["default"].createElement("div", {
2705
+ }, SaleCounterPill()), fetchProductInfoQueryContext.data.data.productinfo.hasvariants == 1 && variantindexcompleted != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.productinfo) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.variants[variantindexcompleted]) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.hassale) == 1 && sectionproperties.showpill == 'Show' && sectionproperties.counterposition == 'Below Pricing' && /*#__PURE__*/React__default["default"].createElement("div", {
2685
2706
  "class": "col-lg-12 p-0 d-flex align-items-center justift-content-start"
2686
- }, SaleCounterPill()))), sectionproperties.showcashbackcontainer == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer14 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.data) === null || _fetchProductInfoQuer14 === void 0 || (_fetchProductInfoQuer14 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : _fetchProductInfoQuer14.productcashbackvalue) > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2707
+ }, SaleCounterPill()))), sectionproperties.showcashbackcontainer == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.productcashbackvalue) > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2687
2708
  "class": "col-lg-12 p-0 d-flex justify-content-start mt-1 mb-2"
2688
2709
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2689
2710
  "class": "".concat(productinfo_cssstyles.cashbackoutercontainer) + ' d-flex flex-row allcentered px-2 '
@@ -2697,7 +2718,7 @@
2697
2718
  style: {
2698
2719
  fontWeight: 600
2699
2720
  }
2700
- }, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer15 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer15 === void 0 || (_fetchProductInfoQuer15 = _fetchProductInfoQuer15.data) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.currencyname_en : '', " ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer16 === void 0 || (_fetchProductInfoQuer16 = _fetchProductInfoQuer16.productinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.productcashbackvalue, ' ', langdetect == 'en' ? '' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.currencyname_ar))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2721
+ }, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 || (_fetchProductInfoQuer17 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : _fetchProductInfoQuer17.currencyname_en : '', " ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.productcashbackvalue, ' ', langdetect == 'en' ? '' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.currencyname_ar))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
2701
2722
  "class": "col-lg-12 p-0 mb-2"
2702
2723
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2703
2724
  "class": productinfo_cssstyles.profitcontainer + ' allcentered '
@@ -2712,7 +2733,7 @@
2712
2733
  style: {
2713
2734
  fontWeight: sectionproperties.profitcontainersecondaryfontweight
2714
2735
  }
2715
- }, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer18 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer18 === void 0 || (_fetchProductInfoQuer18 = _fetchProductInfoQuer18.data) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.currencyname_ar))))));
2736
+ }, langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.currencyname_ar))))));
2716
2737
  };
2717
2738
 
2718
2739
  function ownKeys$2I(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; }
@@ -3744,7 +3765,7 @@
3744
3765
  };
3745
3766
 
3746
3767
  function ownKeys$2F(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;}function _objectSpread$2F(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys$2F(Object(t),!0).forEach(function(r){_defineProperty__default["default"](e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys$2F(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}//productidprops
3747
- var Product_itemtype=function Product_itemtype(props){var _authdetailsContext$i,_authdetailsContext$i2,_authdetailsContext$i4,_authdetailsContext$i5,_authdetailsContext$i6,_authdetailsContext$i7,_authdetailsContext$i8,_fetchProductInfoQuer33,_fetchProductInfoQuer34,_fetchProductInfoQuer35,_fetchProductInfoQuer36,_authdetailsContext$i9,_authdetailsContext$i0,_authdetailsContext$i1,_fetchProductInfoQuer37,_fetchProductInfoQuer38,_fetchProductInfoQuer39,_fetchProductInfoQuer40,_fetchProductInfoQuer41,_fetchProductInfoQuer42,_fetchProductInfoQuer43,_fetchProductInfoQuer44,_fetchProductInfoQuer45,_fetchProductInfoQuer46,_fetchProductInfoQuer47,_fetchProductInfoQuer48,_authdetailsContext$i10,_authdetailsContext$i11,_authdetailsContext$i12,_authdetailsContext$i13,_fetchProductInfoQuer50,_fetchProductInfoQuer51,_fetchProductInfoQuer52,_fetchProductInfoQuer53,_fetchProductInfoQuer54,_fetchProductInfoQuer55,_fetchProductInfoQuer56,_authdetailsContext$i14,_fetchProductInfoQuer57,_fetchProductInfoQuer58,_fetchProductInfoQuer59,_fetchProductInfoQuer60,_fetchProductInfoQuer61,_fetchProductInfoQuer63,_fetchProductInfoQuer64,_authdetailsContext$i15,_authdetailsContext$i16,_fetchProductInfoQuer65,_fetchProductInfoQuer67,_fetchProductInfoQuer68,_authdetailsContext$i17,_fetchProductInfoQuer69,_authdetailsContext$i18,_authdetailsContext$i19,_fetchProductInfoQuer70,_fetchProductInfoQuer71,_fetchProductInfoQuer72,_fetchProductInfoQuer73,_fetchProductInfoQuer74,_fetchProductInfoQuer75,_authdetailsContext$i20,_returnpolicyobj,_returnpolicyobj2,_returnpolicyobj3,_returnpolicyobj4,_returnpolicyobj5,_returnpolicyobj6,_returnpolicyobj7,_returnpolicyobj8,_fetchProductInfoQuer76,_fetchProductInfoQuer77,_authdetailsContext$i21,_authdetailsContext$i22,_authdetailsContext$i23,_fetchProductInfoQuer78,_fetchProductInfoQuer79,_fetchProductInfoQuer80,_fetchProductInfoQuer81,_fetchProductInfoQuer82,_authdetailsContext$i24,_fetchProductInfoQuer83,_fetchProductInfoQuer84,_fetchProductInfoQuer85,_fetchProductInfoQuer86,_fetchProductInfoQuer87,_authdetailsContext$i25,_authdetailsContext$i26,_authdetailsContext$i27,_authdetailsContext$i28,_authdetailsContext$i29,_authdetailsContext$i30,_fetchProductInfoQuer88,_authdetailsContext$i31,_authdetailsContext$i32,_authdetailsContext$i33,_authdetailsContext$i34,_authdetailsContext$i35,_authdetailsContext$i36,_fetchProductInfoQuer89,_fetchProductInfoQuer90,_fetchProductInfoQuer91,_fetchProductInfoQuer92,_fetchProductInfoQuer93,_fetchProductInfoQuer94,_fetchProductInfoQuer95,_fetchProductInfoQuer96,_fetchProductInfoQuer97,_fetchProductInfoQuer98,_fetchProductInfoQuer99,_fetchProductInfoQuer100,_fetchProductInfoQuer101,_fetchProductInfoQuer103,_fetchProductInfoQuer104,_fetchProductInfoQuer105,_fetchProductInfoQuer106,_fetchProductInfoQuer107,_fetchProductInfoQuer108,_fetchProductInfoQuer109,_fetchProductInfoQuer110,_fetchProductInfoQuer111,_fetchProductInfoQuer112,_fetchProductInfoQuer113,_fetchProductInfoQuer114,_fetchProductInfoQuer116,_fetchProductInfoQuer117,_fetchProductInfoQuer118,_fetchProductInfoQuer120,_fetchProductInfoQuer121,_fetchProductInfoQuer122,_fetchProductInfoQuer123,_fetchProductInfoQuer124,_fetchProductInfoQuer125,_fetchProductInfoQuer126,_fetchProductInfoQuer127,_fetchProductInfoQuer128,_returnpolicyobj9,_returnpolicyobj0,_returnpolicyobj1,_returnpolicyobj10,_returnpolicyobj11,_returnpolicyobj12,_returnpolicyobj13,_returnpolicyobj14,_fetchProductInfoQuer129,_fetchProductInfoQuer130,_fetchProductInfoQuer131,_fetchProductInfoQuer132,_fetchProductInfoQuer133,_fetchProductInfoQuer134,_fetchProductInfoQuer135,_fetchProductInfoQuer136,_fetchProductInfoQuer137,_fetchProductInfoQuer138,_fetchProductInfoQuer139,_fetchProductInfoQuer140,_authdetailsContext$i37,_authdetailsContext$i38,_authdetailsContext$i39,_fetchProductInfoQuer141,_fetchProductInfoQuer142,_fetchProductInfoQuer143,_fetchProductInfoQuer144,_fetchProductInfoQuer145,_fetchProductInfoQuer146,_fetchProductInfoQuer147,_fetchProductInfoQuer148,_authdetailsContext$i40,_fetchProductInfoQuer149,_fetchProductInfoQuer150,_fetchProductInfoQuer151,_fetchProductInfoQuer152,_fetchProductInfoQuer153,_fetchProductInfoQuer154,_fetchProductInfoQuer155,_fetchProductInfoQuer158,_fetchProductInfoQuer159,_authdetailsContext$i41,_fetchProductInfoQuer160,_fetchProductInfoQuer161,_fetchProductInfoQuer162,_fetchProductInfoQuer163,_fetchProductInfoQuer164,_fetchProductInfoQuer165,_fetchProductInfoQuer166,_fetchProductInfoQuer169,_fetchProductInfoQuer170,_sizeguideimage$,_authdetailsContext$i42,_fetchProductInfoQuer172,_fetchProductInfoQuer173;var lang=props.actions.lang;var actions=props.actions;var langdetect=props.actions.langdetect;props.actions.srcfromprops;var returnpolicyobj=props.actions.returnpolicyobj;var productinfo_cssstyles=props.actions.productinfo_cssstyles;var addtocartfunc=props.actions.addtocartfunc;props.actions.selectproductoptionvalue;props.actions.clearchoosenvaluesbutkeepcurrentvalue;props.actions.fetchAuthorizationQueryContext;var productimagesarray=props.actions.productimagesarray;var fetchProductInfoQueryContext=props.actions.fetchProductInfoQueryContext;var sectionproperties=props.actions.sectionproperties;var addtocardpayloadobj=props.actions.addtocardpayloadobj;var setaddtocardpayloadobj=props.actions.setaddtocardpayloadobj;var routingcountext=props.actions.routingcountext;var AddtoCartMutationContext=props.actions.AddtoCartMutationContext;var authdetailsContext=props.actions.authdetailsContext;var variantsku=props.actions.variantsku;var addtofavoritescontext=props.actions.addtofavoritescontext;var variantindexcompleted=props.actions.variantindexcompleted;var productVideos=props.actions.productVideos;props.actions.ProductInfoObj;var NotificationManager=props.actions.NotificationManager;var StaticPagesLinksContext=props.actions.StaticPagesLinksContext;var getprice_discountpriceprops=props.actions.getprice_discountpriceprops;props.actions.addtocartfunc_extras;// const getprice_discountpricepropsnormalonly = props.actions.getprice_discountpricepropsnormalonly;
3768
+ var Product_itemtype=function Product_itemtype(props){var _authdetailsContext$i,_authdetailsContext$i2,_authdetailsContext$i4,_authdetailsContext$i5,_authdetailsContext$i6,_authdetailsContext$i7,_authdetailsContext$i8,_fetchProductInfoQuer33,_fetchProductInfoQuer34,_fetchProductInfoQuer35,_fetchProductInfoQuer36,_authdetailsContext$i9,_authdetailsContext$i0,_authdetailsContext$i1,_fetchProductInfoQuer37,_fetchProductInfoQuer38,_fetchProductInfoQuer39,_fetchProductInfoQuer40,_fetchProductInfoQuer41,_fetchProductInfoQuer42,_fetchProductInfoQuer43,_fetchProductInfoQuer44,_fetchProductInfoQuer45,_fetchProductInfoQuer46,_fetchProductInfoQuer47,_fetchProductInfoQuer48,_fetchProductInfoQuer49,_authdetailsContext$i10,_authdetailsContext$i11,_authdetailsContext$i12,_authdetailsContext$i13,_fetchProductInfoQuer51,_fetchProductInfoQuer52,_fetchProductInfoQuer53,_fetchProductInfoQuer54,_fetchProductInfoQuer55,_fetchProductInfoQuer56,_fetchProductInfoQuer57,_fetchProductInfoQuer58,_authdetailsContext$i14,_fetchProductInfoQuer59,_fetchProductInfoQuer60,_fetchProductInfoQuer61,_fetchProductInfoQuer62,_fetchProductInfoQuer63,_fetchProductInfoQuer65,_fetchProductInfoQuer66,_authdetailsContext$i15,_authdetailsContext$i16,_fetchProductInfoQuer67,_fetchProductInfoQuer69,_fetchProductInfoQuer70,_authdetailsContext$i17,_fetchProductInfoQuer71,_authdetailsContext$i18,_fetchProductInfoQuer72,_fetchProductInfoQuer73,_fetchProductInfoQuer74,_fetchProductInfoQuer75,_fetchProductInfoQuer76,_fetchProductInfoQuer77,_authdetailsContext$i19,_returnpolicyobj,_returnpolicyobj2,_returnpolicyobj3,_returnpolicyobj4,_returnpolicyobj5,_returnpolicyobj6,_returnpolicyobj7,_returnpolicyobj8,_fetchProductInfoQuer78,_fetchProductInfoQuer79,_authdetailsContext$i20,_authdetailsContext$i21,_authdetailsContext$i22,_authdetailsContext$i23,_authdetailsContext$i24,_authdetailsContext$i25,_authdetailsContext$i26,_fetchProductInfoQuer80,_authdetailsContext$i27,_authdetailsContext$i28,_authdetailsContext$i29,_authdetailsContext$i30,_authdetailsContext$i31,_authdetailsContext$i32,_fetchProductInfoQuer81,_fetchProductInfoQuer82,_fetchProductInfoQuer83,_fetchProductInfoQuer84,_fetchProductInfoQuer85,_fetchProductInfoQuer86,_fetchProductInfoQuer87,_fetchProductInfoQuer88,_fetchProductInfoQuer89,_fetchProductInfoQuer90,_fetchProductInfoQuer91,_fetchProductInfoQuer92,_fetchProductInfoQuer93,_fetchProductInfoQuer94,_fetchProductInfoQuer96,_fetchProductInfoQuer97,_fetchProductInfoQuer98,_fetchProductInfoQuer99,_fetchProductInfoQuer100,_fetchProductInfoQuer101,_fetchProductInfoQuer102,_fetchProductInfoQuer103,_fetchProductInfoQuer104,_fetchProductInfoQuer105,_fetchProductInfoQuer106,_fetchProductInfoQuer107,_fetchProductInfoQuer108,_fetchProductInfoQuer110,_fetchProductInfoQuer111,_fetchProductInfoQuer112,_fetchProductInfoQuer114,_fetchProductInfoQuer115,_fetchProductInfoQuer116,_fetchProductInfoQuer117,_fetchProductInfoQuer118,_fetchProductInfoQuer119,_fetchProductInfoQuer120,_fetchProductInfoQuer121,_fetchProductInfoQuer122,_returnpolicyobj9,_returnpolicyobj0,_returnpolicyobj1,_returnpolicyobj10,_returnpolicyobj11,_returnpolicyobj12,_returnpolicyobj13,_returnpolicyobj14,_fetchProductInfoQuer123,_fetchProductInfoQuer124,_fetchProductInfoQuer125,_fetchProductInfoQuer126,_fetchProductInfoQuer127,_fetchProductInfoQuer128,_fetchProductInfoQuer129,_fetchProductInfoQuer130,_fetchProductInfoQuer131,_fetchProductInfoQuer132,_fetchProductInfoQuer133,_fetchProductInfoQuer134,_authdetailsContext$i33,_authdetailsContext$i34,_authdetailsContext$i35,_fetchProductInfoQuer135,_fetchProductInfoQuer136,_fetchProductInfoQuer137,_fetchProductInfoQuer138,_fetchProductInfoQuer139,_fetchProductInfoQuer140,_fetchProductInfoQuer141,_fetchProductInfoQuer142,_authdetailsContext$i36,_fetchProductInfoQuer143,_fetchProductInfoQuer144,_fetchProductInfoQuer145,_fetchProductInfoQuer146,_fetchProductInfoQuer147,_fetchProductInfoQuer148,_fetchProductInfoQuer149,_fetchProductInfoQuer152,_fetchProductInfoQuer153,_authdetailsContext$i37,_fetchProductInfoQuer154,_fetchProductInfoQuer155,_fetchProductInfoQuer156,_fetchProductInfoQuer157,_fetchProductInfoQuer158,_fetchProductInfoQuer159,_fetchProductInfoQuer160,_fetchProductInfoQuer163,_fetchProductInfoQuer164,_sizeguideimage$,_authdetailsContext$i38,_fetchProductInfoQuer166,_fetchProductInfoQuer167;var lang=props.actions.lang;var actions=props.actions;var langdetect=props.actions.langdetect;props.actions.srcfromprops;var returnpolicyobj=props.actions.returnpolicyobj;var productinfo_cssstyles=props.actions.productinfo_cssstyles;var addtocartfunc=props.actions.addtocartfunc;props.actions.selectproductoptionvalue;props.actions.clearchoosenvaluesbutkeepcurrentvalue;props.actions.fetchAuthorizationQueryContext;var productimagesarray=props.actions.productimagesarray;var fetchProductInfoQueryContext=props.actions.fetchProductInfoQueryContext;var sectionproperties=props.actions.sectionproperties;var addtocardpayloadobj=props.actions.addtocardpayloadobj;var setaddtocardpayloadobj=props.actions.setaddtocardpayloadobj;var routingcountext=props.actions.routingcountext;var AddtoCartMutationContext=props.actions.AddtoCartMutationContext;var authdetailsContext=props.actions.authdetailsContext;var variantsku=props.actions.variantsku;var addtofavoritescontext=props.actions.addtofavoritescontext;var variantindexcompleted=props.actions.variantindexcompleted;props.actions.productVideos;props.actions.ProductInfoObj;var NotificationManager=props.actions.NotificationManager;var StaticPagesLinksContext=props.actions.StaticPagesLinksContext;var getprice_discountpriceprops=props.actions.getprice_discountpriceprops;props.actions.addtocartfunc_extras;// const getprice_discountpricepropsnormalonly = props.actions.getprice_discountpricepropsnormalonly;
3748
3769
  var ikimagecredcontext=props.actions.ikimagecredcontext;var currentshowingimageindex_pro=props.actions.currentshowingimageindex;var StoreInfoprops=props.actions.StoreInfoprops;props.actions.productimagesarray;var sizeguideimage=props.actions.sizeguideimage;// const setopensizeguidemodal = props.actions.setopensizeguidemodal;
3749
3770
  // const opensizeguidemodal = props.actions.opensizeguidemodal;
3750
3771
  var _useState=React.useState(false),_useState2=_slicedToArray__default["default"](_useState,2),opensizeguidemodal=_useState2[0],setopensizeguidemodal=_useState2[1];var productpdfsarray=props.actions.productpdfsarray;var _useState3=React.useState(false),_useState4=_slicedToArray__default["default"](_useState3,2),isCompared=_useState4[0],setIsCompared=_useState4[1];var whatsappUrl="https://wa.me/".concat(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i=authdetailsContext.instinfo)===null||_authdetailsContext$i===void 0?void 0:_authdetailsContext$i.whatsappnumber,"?text=").concat(sectionproperties.directwabtnmessageen+' '+'https://'+authdetailsContext.instinfo.instcred.instexternaldomain+'/productinfo/'+fetchProductInfoQueryContext.data.data.productinfo.productid);var whatsappUrl_ar="https://wa.me/".concat(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i2=authdetailsContext.instinfo)===null||_authdetailsContext$i2===void 0?void 0:_authdetailsContext$i2.whatsappnumber,"?text=").concat(sectionproperties.directwabtnmessagear+' '+'https://'+authdetailsContext.instinfo.instcred.instexternaldomain+'/productinfo/'+fetchProductInfoQueryContext.data.data.productinfo.productid);var _useState5=React.useState(currentshowingimageindex_pro),_useState6=_slicedToArray__default["default"](_useState5,2),currentshowingimageindex=_useState6[0],setcurrentshowingimageindex=_useState6[1];// const DescriptionContent = props.actions.DescriptionContent;
@@ -3768,7 +3789,7 @@
3768
3789
  // setcurrentshowingimageindex(currentshowingimageindex_pro);
3769
3790
  // }
3770
3791
  // }, [currentshowingimageindex_pro]);
3771
- React.useEffect(function(){if(currentshowingimageindex_pro==0){setcurrentshowingimageindex(currentshowingimageindex_pro);}else {if(currentshowingimageindex_pro!=undefined&&currentshowingimageindex_pro!=null&&currentshowingimageindex_pro!=''&&typeof currentshowingimageindex_pro==='number'&&isFinite(currentshowingimageindex_pro)&&currentshowingimageindex_pro>=0){setcurrentshowingimageindex(currentshowingimageindex_pro);}}},[currentshowingimageindex_pro]);var PDFContainer=function PDFContainer(){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},productpdfsarray.length!=0&&(productpdfsarray===null||productpdfsarray===void 0?void 0:productpdfsarray.map(function(pdfitem,pdfindex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){window.open((ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint)+pdfitem,'_blank');}},/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect==='ar'?'تحميل ال PDF':langdetect==='chin'?'下载 PDF':langdetect==='es'?'Descargar PDF':langdetect==='fr'?'Télécharger le PDF':langdetect==='rus'?'Скачать PDF':'Download PDF')));})));};var ProductsSKUContainer=function ProductsSKUContainer(){return/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("span",{style:{color:sectionproperties.skuColor,fontWeight:sectionproperties.skuFontWeight,fontSize:sectionproperties.skuFontSize+'px',textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?sectionproperties.skutitleEn:sectionproperties.skutitleAr,":",' '),/*#__PURE__*/React__default["default"].createElement("span",{"class":"ml-1 mr-1",style:{color:'#7e859b',fontWeight:sectionproperties.skuSecondaryFontWeight,fontSize:sectionproperties.skuFontSize+'px',textAlign:langdetect=='en'?'left':'right'}},sectionproperties.showvariantsku=='Show'&&variantsku!=''?variantsku:fetchProductInfoQueryContext.data.data.productinfo.sku));};var MeasurementUnitSection=function MeasurementUnitSection(){return/*#__PURE__*/React__default["default"].createElement("div",{className:'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak d-flex justify-content-start ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.measurementunitfontweight,color:sectionproperties.measurementunitcolor,fontSize:sectionproperties.measurementunitcolor+'px'}},fetchProductInfoQueryContext.data.data.productinfo.measurmentunit));};var ProductNameSection=function ProductNameSection(){return/*#__PURE__*/React__default["default"].createElement("p",{className:props.actions.srcfromprops=='templatedraftrouter'?"".concat(productinfo_cssstyles.productname," ").concat(productinfo_cssstyles.productnamehover)+' m-0 p-0 wordbreak d-flex cursor-pointer font-sm-15 ':"".concat(productinfo_cssstyles.productname)+' m-0 p-0 wordbreak d-flex font-sm-15 ',onClick:function onClick(){if(props.actions.srcfromprops=='templatedraftrouter'){routingcountext(StaticPagesLinksContext.productinfo,true,fetchProductInfoQueryContext.data.data.productinfo.productid);}},style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right'}},langdetect=='en'?fetchProductInfoQueryContext.data.data.productinfo.name_en:fetchProductInfoQueryContext.data.data.productinfo.name_ar);};var ShortDescriptionTitle=function ShortDescriptionTitle(){return/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.shortdescriptiontitle_en:sectionproperties.shortdescriptiontitle_ar);};var ProductFeaturesTable=function ProductFeaturesTable(){var _fetchProductInfoQuer4;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-3 text-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.featurestitlecolor,fontSize:sectionproperties.featurestitlefontsize+'px',fontWeight:600}},langdetect=='en'?sectionproperties.featurestitleen:sectionproperties.featurestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer4=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer4===void 0||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.data)===null||_fetchProductInfoQuer4===void 0||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.productinfo)===null||_fetchProductInfoQuer4===void 0||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.productfeatures)===null||_fetchProductInfoQuer4===void 0?void 0:_fetchProductInfoQuer4.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"d-flex flex-row",style:{color:sectionproperties.featurecolor}},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))));};var DescriptionAccordion=function DescriptionAccordion(){return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:0},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mt-3"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'collap'}))));};var TotalSection=function TotalSection(){var _fetchProductInfoQuer5,_fetchProductInfoQuer6,_fetchProductInfoQuer7,_fetchProductInfoQuer8,_fetchProductInfoQuer9,_fetchProductInfoQuer0,_fetchProductInfoQuer1,_fetchProductInfoQuer10,_fetchProductInfoQuer11;return/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100 d-flex flex-row"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.total_color,fontSize:sectionproperties.total_fontsize+'px',fontWeight:sectionproperties.total_fontweight,textTransform:sectionproperties.total_texttransform}},lang.total,":"),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak d-flex align-items-center justify-content-end',style:{fontSize:sectionproperties.prodpriceFontSize+'px',fontWeight:sectionproperties.prodPriceFontWeight,color:sectionproperties.prodPriceColor}},/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right ':' d-flex align-items-center justify-content-end wordbreak text-left '},langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer5=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer5===void 0||(_fetchProductInfoQuer5=_fetchProductInfoQuer5.data)===null||_fetchProductInfoQuer5===void 0?void 0:_fetchProductInfoQuer5.currencyname_en:'',' ',variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer6=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.data)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.productinfo)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.variants[variantindexcompleted])===null||_fetchProductInfoQuer6===void 0?void 0:_fetchProductInfoQuer6.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer7=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer7===void 0||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.data)===null||_fetchProductInfoQuer7===void 0||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.productinfo)===null||_fetchProductInfoQuer7===void 0||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.variants[variantindexcompleted])===null||_fetchProductInfoQuer7===void 0?void 0:_fetchProductInfoQuer7.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer8=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer8===void 0||(_fetchProductInfoQuer8=_fetchProductInfoQuer8.data)===null||_fetchProductInfoQuer8===void 0?void 0:_fetchProductInfoQuer8.currencyname_ar)),/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 linethrough wordbreak',style:{color:sectionproperties.prodsalePriceColor,fontSize:sectionproperties.prodsalepriceFontSize+'px',fontWeight:sectionproperties.prodsalePriceFontWeight}},fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&variantindexcompleted!=undefined&&variantindexcompleted.length==0&&/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer9=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer9===void 0||(_fetchProductInfoQuer9=_fetchProductInfoQuer9.data)===null||_fetchProductInfoQuer9===void 0?void 0:_fetchProductInfoQuer9.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer0=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer0===void 0||(_fetchProductInfoQuer0=_fetchProductInfoQuer0.data)===null||_fetchProductInfoQuer0===void 0?void 0:_fetchProductInfoQuer0.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer1=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.data)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.productinfo)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.variants[variantindexcompleted])===null||_fetchProductInfoQuer1===void 0?void 0:_fetchProductInfoQuer1.hassale)==1&&/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer10=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer10===void 0||(_fetchProductInfoQuer10=_fetchProductInfoQuer10.data)===null||_fetchProductInfoQuer10===void 0?void 0:_fetchProductInfoQuer10.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer11=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer11===void 0||(_fetchProductInfoQuer11=_fetchProductInfoQuer11.data)===null||_fetchProductInfoQuer11===void 0?void 0:_fetchProductInfoQuer11.currencyname_ar))));};var QuantityButton=function QuantityButton(position){var _authdetailsContext$i3;return/*#__PURE__*/React__default["default"].createElement("button",{className:position=='fixedcontainer'?" ".concat(productinfo_cssstyles.quantitybtn)+' p-0 d-flex align-items-center justify-content-center inputrangedark ':" ".concat(productinfo_cssstyles.quantitybtn)+' p-0 d-flex align-items-center justify-content-center mb-sm-2 inputrangedark ',style:{height:sectionproperties.quantitybtneditable=='Slider'?'auto':sectionproperties.quantitybtn_height+'px',width:position=='fixedcontainer'?'100%':sectionproperties.quantitybtneditable=='Slider'?'100%':sectionproperties.quantitybtn_width+'px',flexDirection:'row',direction:'ltr',// background: 'transparent',
3792
+ React.useEffect(function(){if(currentshowingimageindex_pro==0){setcurrentshowingimageindex(currentshowingimageindex_pro);}else {if(currentshowingimageindex_pro!=undefined&&currentshowingimageindex_pro!=null&&currentshowingimageindex_pro!=''&&typeof currentshowingimageindex_pro==='number'&&isFinite(currentshowingimageindex_pro)&&currentshowingimageindex_pro>=0){setcurrentshowingimageindex(currentshowingimageindex_pro);}}},[currentshowingimageindex_pro]);var PDFContainer=function PDFContainer(){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},productpdfsarray.length!=0&&(productpdfsarray===null||productpdfsarray===void 0?void 0:productpdfsarray.map(function(pdfitem,pdfindex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){window.open((ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint)+pdfitem,'_blank');}},/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect==='ar'?'تحميل ال PDF':langdetect==='chin'?'下载 PDF':langdetect==='es'?'Descargar PDF':langdetect==='fr'?'Télécharger le PDF':langdetect==='rus'?'Скачать PDF':'Download PDF')));})));};var ProductsSKUContainer=function ProductsSKUContainer(){return/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("span",{style:{color:sectionproperties.skuColor,fontWeight:sectionproperties.skuFontWeight,fontSize:sectionproperties.skuFontSize+'px',textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?sectionproperties.skutitleEn:sectionproperties.skutitleAr,":",' '),/*#__PURE__*/React__default["default"].createElement("span",{"class":"ml-1 mr-1",style:{color:'#7e859b',fontWeight:sectionproperties.skuSecondaryFontWeight,fontSize:sectionproperties.skuFontSize+'px',textAlign:langdetect=='en'?'left':'right'}},sectionproperties.showvariantsku=='Show'&&variantsku!=''?variantsku:fetchProductInfoQueryContext.data.data.productinfo.sku));};var MeasurementUnitSection=function MeasurementUnitSection(){return/*#__PURE__*/React__default["default"].createElement("div",{className:'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak d-flex justify-content-start ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.measurementunitfontweight,color:sectionproperties.measurementunitcolor,fontSize:sectionproperties.measurementunitcolor+'px'}},fetchProductInfoQueryContext.data.data.productinfo.measurmentunit));};var ProductNameSection=function ProductNameSection(){return/*#__PURE__*/React__default["default"].createElement("p",{className:props.actions.srcfromprops=='templatedraftrouter'?"".concat(productinfo_cssstyles.productname," ").concat(productinfo_cssstyles.productnamehover)+' m-0 p-0 wordbreak d-flex cursor-pointer ':"".concat(productinfo_cssstyles.productname)+' m-0 p-0 wordbreak d-flex ',onClick:function onClick(){if(props.actions.srcfromprops=='templatedraftrouter'){routingcountext(StaticPagesLinksContext.productinfo,true,fetchProductInfoQueryContext.data.data.productinfo.productid);}},style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right'}},langdetect=='en'?fetchProductInfoQueryContext.data.data.productinfo.name_en:fetchProductInfoQueryContext.data.data.productinfo.name_ar);};var ShortDescriptionTitle=function ShortDescriptionTitle(){return/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.shortdescriptiontitle_en:sectionproperties.shortdescriptiontitle_ar);};var ProductFeaturesTable=function ProductFeaturesTable(){var _fetchProductInfoQuer4;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-3 text-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.featurestitlecolor,fontSize:sectionproperties.featurestitlefontsize+'px',fontWeight:600}},langdetect=='en'?sectionproperties.featurestitleen:sectionproperties.featurestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer4=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer4===void 0||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.data)===null||_fetchProductInfoQuer4===void 0||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.productinfo)===null||_fetchProductInfoQuer4===void 0||(_fetchProductInfoQuer4=_fetchProductInfoQuer4.productfeatures)===null||_fetchProductInfoQuer4===void 0?void 0:_fetchProductInfoQuer4.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"d-flex flex-row",style:{color:sectionproperties.featurecolor}},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))));};var DescriptionAccordion=function DescriptionAccordion(){return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:0},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mt-3"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'collap'}))));};var TotalSection=function TotalSection(){var _fetchProductInfoQuer5,_fetchProductInfoQuer6,_fetchProductInfoQuer7,_fetchProductInfoQuer8,_fetchProductInfoQuer9,_fetchProductInfoQuer0,_fetchProductInfoQuer1,_fetchProductInfoQuer10,_fetchProductInfoQuer11;return/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100 d-flex flex-row"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.total_color,fontSize:sectionproperties.total_fontsize+'px',fontWeight:sectionproperties.total_fontweight,textTransform:sectionproperties.total_texttransform}},lang.total,":"),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak d-flex align-items-center justify-content-end',style:{fontSize:sectionproperties.prodpriceFontSize+'px',fontWeight:sectionproperties.prodPriceFontWeight,color:sectionproperties.prodPriceColor}},/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right ':' d-flex align-items-center justify-content-end wordbreak text-left '},langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer5=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer5===void 0||(_fetchProductInfoQuer5=_fetchProductInfoQuer5.data)===null||_fetchProductInfoQuer5===void 0?void 0:_fetchProductInfoQuer5.currencyname_en:'',' ',variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer6=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.data)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.productinfo)===null||_fetchProductInfoQuer6===void 0||(_fetchProductInfoQuer6=_fetchProductInfoQuer6.variants[variantindexcompleted])===null||_fetchProductInfoQuer6===void 0?void 0:_fetchProductInfoQuer6.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer7=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer7===void 0||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.data)===null||_fetchProductInfoQuer7===void 0||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.productinfo)===null||_fetchProductInfoQuer7===void 0||(_fetchProductInfoQuer7=_fetchProductInfoQuer7.variants[variantindexcompleted])===null||_fetchProductInfoQuer7===void 0?void 0:_fetchProductInfoQuer7.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer8=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer8===void 0||(_fetchProductInfoQuer8=_fetchProductInfoQuer8.data)===null||_fetchProductInfoQuer8===void 0?void 0:_fetchProductInfoQuer8.currencyname_ar)),/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 linethrough wordbreak',style:{color:sectionproperties.prodsalePriceColor,fontSize:sectionproperties.prodsalepriceFontSize+'px',fontWeight:sectionproperties.prodsalePriceFontWeight}},fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&variantindexcompleted!=undefined&&variantindexcompleted.length==0&&/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer9=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer9===void 0||(_fetchProductInfoQuer9=_fetchProductInfoQuer9.data)===null||_fetchProductInfoQuer9===void 0?void 0:_fetchProductInfoQuer9.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer0=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer0===void 0||(_fetchProductInfoQuer0=_fetchProductInfoQuer0.data)===null||_fetchProductInfoQuer0===void 0?void 0:_fetchProductInfoQuer0.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer1=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.data)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.productinfo)===null||_fetchProductInfoQuer1===void 0||(_fetchProductInfoQuer1=_fetchProductInfoQuer1.variants[variantindexcompleted])===null||_fetchProductInfoQuer1===void 0?void 0:_fetchProductInfoQuer1.hassale)==1&&/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer10=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer10===void 0||(_fetchProductInfoQuer10=_fetchProductInfoQuer10.data)===null||_fetchProductInfoQuer10===void 0?void 0:_fetchProductInfoQuer10.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer11=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer11===void 0||(_fetchProductInfoQuer11=_fetchProductInfoQuer11.data)===null||_fetchProductInfoQuer11===void 0?void 0:_fetchProductInfoQuer11.currencyname_ar))));};var QuantityButton=function QuantityButton(position){var _authdetailsContext$i3;return/*#__PURE__*/React__default["default"].createElement("button",{className:position=='fixedcontainer'?" ".concat(productinfo_cssstyles.quantitybtn)+' p-0 d-flex align-items-center justify-content-center inputrangedark ':" ".concat(productinfo_cssstyles.quantitybtn)+' p-0 d-flex align-items-center justify-content-center mb-sm-2 inputrangedark ',style:{height:sectionproperties.quantitybtneditable=='Slider'?'auto':sectionproperties.quantitybtn_height+'px',width:position=='fixedcontainer'?'100%':sectionproperties.quantitybtneditable=='Slider'?'100%':sectionproperties.quantitybtn_width+'px',flexDirection:'row',direction:'ltr',// background: 'transparent',
3772
3793
  borderRadius:sectionproperties.quantitybtneditable=='Slider'?0:''}},sectionproperties.quantitybtneditable=='Slider'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 px-3 px-sm-3 pt-3 pinfo-slider"},/*#__PURE__*/React__default["default"].createElement(InputRange__default["default"],{draggableTrack:true,formatLabel:function formatLabel(value){return "".concat(value);},maxValue:fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant,minValue:fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant,value:parseInt(addtocardpayloadobj.quantity),step:1,onChange:function onChange(value){var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);tempaddtocardpayloadobj.quantity=value;setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-4 col-md-12 mt-4 mt-md-5 pt-md-4 col-md-12 mx-auto allcentered"},/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.minus_quantitybtn_icon_container)+' m-1 ',onClick:function onClick(){var _fetchProductInfoQuer12,_fetchProductInfoQuer13,_fetchProductInfoQuer14,_fetchProductInfoQuer15;var quantitystepincrearse=1;var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);if((fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer12=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer12===void 0||(_fetchProductInfoQuer12=_fetchProductInfoQuer12.data)===null||_fetchProductInfoQuer12===void 0||(_fetchProductInfoQuer12=_fetchProductInfoQuer12.productinfo)===null||_fetchProductInfoQuer12===void 0?void 0:_fetchProductInfoQuer12.quantitystepincrearse)!=undefined&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer13=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer13===void 0||(_fetchProductInfoQuer13=_fetchProductInfoQuer13.data)===null||_fetchProductInfoQuer13===void 0||(_fetchProductInfoQuer13=_fetchProductInfoQuer13.productinfo)===null||_fetchProductInfoQuer13===void 0?void 0:_fetchProductInfoQuer13.quantitystepincrearse)!=null&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer14=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer14===void 0||(_fetchProductInfoQuer14=_fetchProductInfoQuer14.data)===null||_fetchProductInfoQuer14===void 0||(_fetchProductInfoQuer14=_fetchProductInfoQuer14.productinfo)===null||_fetchProductInfoQuer14===void 0?void 0:_fetchProductInfoQuer14.quantitystepincrearse)!=1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer15=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer15===void 0||(_fetchProductInfoQuer15=_fetchProductInfoQuer15.data)===null||_fetchProductInfoQuer15===void 0||(_fetchProductInfoQuer15=_fetchProductInfoQuer15.productinfo)===null||_fetchProductInfoQuer15===void 0?void 0:_fetchProductInfoQuer15.quantitystepincrearse)!=''){var _fetchProductInfoQuer16;quantitystepincrearse=parseFloat(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer16=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer16===void 0||(_fetchProductInfoQuer16=_fetchProductInfoQuer16.data)===null||_fetchProductInfoQuer16===void 0||(_fetchProductInfoQuer16=_fetchProductInfoQuer16.productinfo)===null||_fetchProductInfoQuer16===void 0?void 0:_fetchProductInfoQuer16.quantitystepincrearse);}var finalquantity=tempaddtocardpayloadobj.quantity-quantitystepincrearse;if(finalquantity>=0){tempaddtocardpayloadobj.quantity=finalquantity;}setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}},/*#__PURE__*/React__default["default"].createElement("i",{className:sectionproperties.quantityiconstyle=='Arrows'?'fa fa-chevron-down':'h-100 allcentered',style:{fontSize:sectionproperties.remove_quantitybtn_textfontsize+'px'}},sectionproperties.quantityiconstyle=='Plus/Minus'&&/*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus,{size:sectionproperties.remove_quantitybtn_textfontsize}))),/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.quantitybtn_text)},parseInt(addtocardpayloadobj.quantity)),/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.add_quantitybtn_icon_container)+' m-1 ',onClick:function onClick(){var _fetchProductInfoQuer17,_fetchProductInfoQuer18,_fetchProductInfoQuer19,_fetchProductInfoQuer20;var quantitystepincrearse=1;var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);if((fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer17=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer17===void 0||(_fetchProductInfoQuer17=_fetchProductInfoQuer17.data)===null||_fetchProductInfoQuer17===void 0||(_fetchProductInfoQuer17=_fetchProductInfoQuer17.productinfo)===null||_fetchProductInfoQuer17===void 0?void 0:_fetchProductInfoQuer17.quantitystepincrearse)!=undefined&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer18=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer18===void 0||(_fetchProductInfoQuer18=_fetchProductInfoQuer18.data)===null||_fetchProductInfoQuer18===void 0||(_fetchProductInfoQuer18=_fetchProductInfoQuer18.productinfo)===null||_fetchProductInfoQuer18===void 0?void 0:_fetchProductInfoQuer18.quantitystepincrearse)!=null&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer19=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer19===void 0||(_fetchProductInfoQuer19=_fetchProductInfoQuer19.data)===null||_fetchProductInfoQuer19===void 0||(_fetchProductInfoQuer19=_fetchProductInfoQuer19.productinfo)===null||_fetchProductInfoQuer19===void 0?void 0:_fetchProductInfoQuer19.quantitystepincrearse)!=1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer20=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer20===void 0||(_fetchProductInfoQuer20=_fetchProductInfoQuer20.data)===null||_fetchProductInfoQuer20===void 0||(_fetchProductInfoQuer20=_fetchProductInfoQuer20.productinfo)===null||_fetchProductInfoQuer20===void 0?void 0:_fetchProductInfoQuer20.quantitystepincrearse)!=''){var _fetchProductInfoQuer21;quantitystepincrearse=parseFloat(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer21=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer21===void 0||(_fetchProductInfoQuer21=_fetchProductInfoQuer21.data)===null||_fetchProductInfoQuer21===void 0||(_fetchProductInfoQuer21=_fetchProductInfoQuer21.productinfo)===null||_fetchProductInfoQuer21===void 0?void 0:_fetchProductInfoQuer21.quantitystepincrearse);}tempaddtocardpayloadobj.quantity=tempaddtocardpayloadobj.quantity+quantitystepincrearse;setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}},/*#__PURE__*/React__default["default"].createElement("i",{className:sectionproperties.quantityiconstyle=='Arrows'?'fa fa-chevron-up':'h-100 allcentered',style:{fontSize:sectionproperties.add_quantitybtn_textfontsize+'px'}},sectionproperties.quantityiconstyle=='Plus/Minus'&&/*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus,{size:sectionproperties.add_quantitybtn_textfontsize})))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 mt-5 pt-1 my-3"},TotalSection())),sectionproperties.quantitybtneditable=='No'&&/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.minus_quantitybtn_icon_container)+' m-1 ',onClick:function onClick(){var _fetchProductInfoQuer22,_fetchProductInfoQuer23,_fetchProductInfoQuer24,_fetchProductInfoQuer25;var quantitystepincrearse=1;var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);if((fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer22=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer22===void 0||(_fetchProductInfoQuer22=_fetchProductInfoQuer22.data)===null||_fetchProductInfoQuer22===void 0||(_fetchProductInfoQuer22=_fetchProductInfoQuer22.productinfo)===null||_fetchProductInfoQuer22===void 0?void 0:_fetchProductInfoQuer22.quantitystepincrearse)!=undefined&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer23=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer23===void 0||(_fetchProductInfoQuer23=_fetchProductInfoQuer23.data)===null||_fetchProductInfoQuer23===void 0||(_fetchProductInfoQuer23=_fetchProductInfoQuer23.productinfo)===null||_fetchProductInfoQuer23===void 0?void 0:_fetchProductInfoQuer23.quantitystepincrearse)!=null&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer24=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer24===void 0||(_fetchProductInfoQuer24=_fetchProductInfoQuer24.data)===null||_fetchProductInfoQuer24===void 0||(_fetchProductInfoQuer24=_fetchProductInfoQuer24.productinfo)===null||_fetchProductInfoQuer24===void 0?void 0:_fetchProductInfoQuer24.quantitystepincrearse)!=1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer25=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer25===void 0||(_fetchProductInfoQuer25=_fetchProductInfoQuer25.data)===null||_fetchProductInfoQuer25===void 0||(_fetchProductInfoQuer25=_fetchProductInfoQuer25.productinfo)===null||_fetchProductInfoQuer25===void 0?void 0:_fetchProductInfoQuer25.quantitystepincrearse)!=''){var _fetchProductInfoQuer26;quantitystepincrearse=parseFloat(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer26=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer26===void 0||(_fetchProductInfoQuer26=_fetchProductInfoQuer26.data)===null||_fetchProductInfoQuer26===void 0||(_fetchProductInfoQuer26=_fetchProductInfoQuer26.productinfo)===null||_fetchProductInfoQuer26===void 0?void 0:_fetchProductInfoQuer26.quantitystepincrearse);}var finalquantity=tempaddtocardpayloadobj.quantity-quantitystepincrearse;if(finalquantity>=0){tempaddtocardpayloadobj.quantity=finalquantity;}setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}},/*#__PURE__*/React__default["default"].createElement("i",{className:sectionproperties.quantityiconstyle=='Arrows'?'fa fa-chevron-down':'h-100 allcentered',style:{fontSize:sectionproperties.remove_quantitybtn_textfontsize+'px'}},sectionproperties.quantityiconstyle=='Plus/Minus'&&/*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus,{size:sectionproperties.remove_quantitybtn_textfontsize}))),sectionproperties.quantitybtneditable=='No'&&/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.quantitybtn_text)},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.contactinfo.instid)=='66d6de1a1e04a'?parseFloat(addtocardpayloadobj.quantity).toFixed(3):parseInt(addtocardpayloadobj.quantity)),sectionproperties.quantitybtneditable=='No'&&/*#__PURE__*/React__default["default"].createElement("span",{className:"".concat(productinfo_cssstyles.add_quantitybtn_icon_container)+' m-1 ',onClick:function onClick(){var _fetchProductInfoQuer27,_fetchProductInfoQuer28,_fetchProductInfoQuer29,_fetchProductInfoQuer30;var quantitystepincrearse=1;var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);if((fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer27=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer27===void 0||(_fetchProductInfoQuer27=_fetchProductInfoQuer27.data)===null||_fetchProductInfoQuer27===void 0||(_fetchProductInfoQuer27=_fetchProductInfoQuer27.productinfo)===null||_fetchProductInfoQuer27===void 0?void 0:_fetchProductInfoQuer27.quantitystepincrearse)!=undefined&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer28=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer28===void 0||(_fetchProductInfoQuer28=_fetchProductInfoQuer28.data)===null||_fetchProductInfoQuer28===void 0||(_fetchProductInfoQuer28=_fetchProductInfoQuer28.productinfo)===null||_fetchProductInfoQuer28===void 0?void 0:_fetchProductInfoQuer28.quantitystepincrearse)!=null&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer29=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer29===void 0||(_fetchProductInfoQuer29=_fetchProductInfoQuer29.data)===null||_fetchProductInfoQuer29===void 0||(_fetchProductInfoQuer29=_fetchProductInfoQuer29.productinfo)===null||_fetchProductInfoQuer29===void 0?void 0:_fetchProductInfoQuer29.quantitystepincrearse)!=1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer30=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer30===void 0||(_fetchProductInfoQuer30=_fetchProductInfoQuer30.data)===null||_fetchProductInfoQuer30===void 0||(_fetchProductInfoQuer30=_fetchProductInfoQuer30.productinfo)===null||_fetchProductInfoQuer30===void 0?void 0:_fetchProductInfoQuer30.quantitystepincrearse)!=''){var _fetchProductInfoQuer31;quantitystepincrearse=parseFloat(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer31=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer31===void 0||(_fetchProductInfoQuer31=_fetchProductInfoQuer31.data)===null||_fetchProductInfoQuer31===void 0||(_fetchProductInfoQuer31=_fetchProductInfoQuer31.productinfo)===null||_fetchProductInfoQuer31===void 0?void 0:_fetchProductInfoQuer31.quantitystepincrearse);}tempaddtocardpayloadobj.quantity=tempaddtocardpayloadobj.quantity+quantitystepincrearse;setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}},/*#__PURE__*/React__default["default"].createElement("i",{className:sectionproperties.quantityiconstyle=='Arrows'?'fa fa-chevron-up':'h-100 allcentered',style:{fontSize:sectionproperties.add_quantitybtn_textfontsize+'px'}},sectionproperties.quantityiconstyle=='Plus/Minus'&&/*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus,{size:sectionproperties.add_quantitybtn_textfontsize}))),sectionproperties.quantitybtneditable=='Yes'&&/*#__PURE__*/React__default["default"].createElement("input",{type:"number",style:{width:100,height:40,background:sectionproperties.quantitybtn_bgcolor,fontWeight:sectionproperties.quantitybtn_textfontweight,color:sectionproperties.quantitybtn_textcolor,fontSize:sectionproperties.quantitybtn_textfontsize+'px',textAlign:'center'},value:addtocardpayloadobj.quantity,onChange:function onChange(event){if(event.target.value==NaN||event.target.value==undefined||event.target.value==null||event.target.value==''){var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);tempaddtocardpayloadobj.quantity=1;setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}else {var tempaddtocardpayloadobj=_objectSpread$2F({},addtocardpayloadobj);tempaddtocardpayloadobj.quantity=parseInt(event.target.value);setaddtocardpayloadobj(_objectSpread$2F({},tempaddtocardpayloadobj));}}}));};var ProductFeaturesArray=function ProductFeaturesArray(){var _fetchProductInfoQuer32;return/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer32=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer32===void 0||(_fetchProductInfoQuer32=_fetchProductInfoQuer32.data)===null||_fetchProductInfoQuer32===void 0||(_fetchProductInfoQuer32=_fetchProductInfoQuer32.productinfo)===null||_fetchProductInfoQuer32===void 0||(_fetchProductInfoQuer32=_fetchProductInfoQuer32.productfeatures)===null||_fetchProductInfoQuer32===void 0?void 0:_fetchProductInfoQuer32.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.featureimagewidthheight+'px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize+'px'}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize+'px'}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}));};return/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.productInformationType=='Portfolio'?' row m-0 w-100 p-0 ':sectionproperties.card_marginLeft!=0?' row m-0 w-100 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 p-sm-0 ':' row m-0 w-100 p-sm-0 ',style:{// paddingLeft: sectionproperties.productInformationType == 'Portfolio' ? 0 : srcfromprops == 'Productinfomodel' ? (langdetect == 'en' ? 10 : 10) : 0,
3773
3794
  // paddingRight:
3774
3795
  // sectionproperties.productInformationType == 'Portfolio'
@@ -3816,8 +3837,8 @@
3816
3837
  // : 'col-xl-6 col-lg-8 col-md-12 col-sm-12 pl-0 pr-4 p-md-0'
3817
3838
  // : 'col-xl-12 col-lg-12 col-md-12 col-sm-12 px-3 px-md-2'
3818
3839
  // }
3819
- },/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.quantityshow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.quantityfontsize,color:sectionproperties.quantitycolor,fontWeight:sectionproperties.quantityfontweight}},langdetect=='en'?sectionproperties.qtytextinen:sectionproperties.qtytextinar,":",' ',fetchProductInfoQueryContext.data.data.productinfo.currentquantity)),/*#__PURE__*/React__default["default"].createElement("div",{className:(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer37=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.productinfo)===null||_fetchProductInfoQuer37===void 0?void 0:_fetchProductInfoQuer37.productcanrate)==1?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.btnposition=='Top'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer38=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.productinfo)===null||_fetchProductInfoQuer38===void 0?void 0:_fetchProductInfoQuer38.productcanrate)==1&&sectionproperties.showrating=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},/*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"],{count:5,value:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer39=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.productinfo)===null||_fetchProductInfoQuer39===void 0?void 0:_fetchProductInfoQuer39.productoverallrate,edit:false,size:18,emptyIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"far fa-star",style:{color:'#FAB400'}}),halfIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star-half-alt style={{ color: '#FAB400' }}"}),filledIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star",style:{color:'#FAB400'}}),activeColor:"#ffd700"})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer40=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.productinfo)===null||_fetchProductInfoQuer40===void 0?void 0:_fetchProductInfoQuer40.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3 mx-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity))),sectionproperties.btnposition=='Top'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Top'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":'col-lg-12 p-0 my-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.defaultpricingposition=='Under Name'&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer41=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.productinfo)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.productfeatures)===null||_fetchProductInfoQuer41===void 0?void 0:_fetchProductInfoQuer41.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.descriptionposition=='Under Name'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor}},ShortDescriptionTitle())),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer42=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.productinfo)===null||_fetchProductInfoQuer42===void 0?void 0:_fetchProductInfoQuer42.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer43=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.productinfo)===null||_fetchProductInfoQuer43===void 0?void 0:_fetchProductInfoQuer43.short_description_ar}})))),sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),sectionproperties.featuresposition=='Under Pricing'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer44=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.productinfo)===null||_fetchProductInfoQuer44===void 0?void 0:_fetchProductInfoQuer44.short_description_en)!=null&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer45=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.productinfo)===null||_fetchProductInfoQuer45===void 0?void 0:_fetchProductInfoQuer45.short_description_en}}))),langdetect=='ar'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer46=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.productinfo)===null||_fetchProductInfoQuer46===void 0?void 0:_fetchProductInfoQuer46.short_description_ar)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer47=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.productinfo)===null||_fetchProductInfoQuer47===void 0?void 0:_fetchProductInfoQuer47.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer48=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.productinfo)===null||_fetchProductInfoQuer48===void 0?void 0:_fetchProductInfoQuer48.vendorinfo)!=null&&sectionproperties.showvendor=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:'#000',cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':''},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer49;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer49=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.productinfo)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.vendorinfo)===null||_fetchProductInfoQuer49===void 0?void 0:_fetchProductInfoQuer49.vendorid]})));}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i10=authdetailsContext.instinfo)===null||_authdetailsContext$i10===void 0?void 0:_authdetailsContext$i10.contactinfo.instid)!='683c163d7f996'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i11=authdetailsContext.instinfo)===null||_authdetailsContext$i11===void 0?void 0:_authdetailsContext$i11.contactinfo.instid)!='67f3c23abb18f'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i12=authdetailsContext.instinfo)===null||_authdetailsContext$i12===void 0?void 0:_authdetailsContext$i12.contactinfo.instid)!='6805437ab0f3b'&&/*#__PURE__*/React__default["default"].createElement("span",null," ",langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,": "),/*#__PURE__*/React__default["default"].createElement("span",{style:{fontWeight:600,textDecoration:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i13=authdetailsContext.instinfo)===null||_authdetailsContext$i13===void 0?void 0:_authdetailsContext$i13.contactinfo.instid)=='67f3c23abb18f'?'underline':'none'}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer50=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.productinfo)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.vendorinfo)===null||_fetchProductInfoQuer50===void 0?void 0:_fetchProductInfoQuer50.vendorname))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Bottom'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer51=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.productinfo)===null||_fetchProductInfoQuer51===void 0?void 0:_fetchProductInfoQuer51.deliverydatetext)!=null?'col-lg-12 p-0 mb-2 d-flex justify-content-start':'col-lg-12 p-0 mb-3 d-flex justify-content-start'},ProductsSKUContainer()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer52=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.productinfo)===null||_fetchProductInfoQuer52===void 0?void 0:_fetchProductInfoQuer52.currentquantity)<1&&sectionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer53=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.productinfo)===null||_fetchProductInfoQuer53===void 0?void 0:_fetchProductInfoQuer53.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer54=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.productinfo)===null||_fetchProductInfoQuer54===void 0?void 0:_fetchProductInfoQuer54.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer55=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.productinfo)===null||_fetchProductInfoQuer55===void 0?void 0:_fetchProductInfoQuer55.deliverydatetext)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React__default["default"].createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer56=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.productinfo)===null||_fetchProductInfoQuer56===void 0?void 0:_fetchProductInfoQuer56.deliverydatetext)),sectionproperties.descriptionposition!='Under Name'&&sectionproperties.descriptionposition=='Top'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.prodCatShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})),sectionproperties.defaultpricingposition=='Under Description'&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),/*#__PURE__*/React__default["default"].createElement(Variantoptions,{actions:props.actions}),/*#__PURE__*/React__default["default"].createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React__default["default"].createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&&sectionproperties.prodCatShow=='Show'&&sectionproperties.descriptionposition!='Top'&&/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i14=authdetailsContext.instinfo)===null||_authdetailsContext$i14===void 0?void 0:_authdetailsContext$i14.contactinfo.instid)=='68ada0669b7c7'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(ProductFileUploader,{actions:props.actions})),sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition=='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0 mb-3"},ProductFeaturesArray()),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3",style:{// display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex',
3820
- }},/*#__PURE__*/React__default["default"].createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer57=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.productinfo)===null||_fetchProductInfoQuer57===void 0?void 0:_fetchProductInfoQuer57.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer58=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.productinfo)===null||_fetchProductInfoQuer58===void 0?void 0:_fetchProductInfoQuer58.isproducthasquantitychange)==1&&sectionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer59=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.productinfo)===null||_fetchProductInfoQuer59===void 0?void 0:_fetchProductInfoQuer59.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer60=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.productinfo)===null||_fetchProductInfoQuer60===void 0?void 0:_fetchProductInfoQuer60.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.cartbtnalone=='Besides Other Buttons'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer61=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.productinfo)===null||_fetchProductInfoQuer61===void 0?void 0:_fetchProductInfoQuer61.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer62;window.open('tel:'+((_fetchProductInfoQuer62=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer62===void 0?void 0:_fetchProductInfoQuer62.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer63=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.productinfo)===null||_fetchProductInfoQuer63===void 0?void 0:_fetchProductInfoQuer63.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer64=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer64===void 0||(_fetchProductInfoQuer64=_fetchProductInfoQuer64.data)===null||_fetchProductInfoQuer64===void 0||(_fetchProductInfoQuer64=_fetchProductInfoQuer64.productinfo)===null||_fetchProductInfoQuer64===void 0?void 0:_fetchProductInfoQuer64.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar)),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i15=authdetailsContext.instinfo)===null||_authdetailsContext$i15===void 0?void 0:_authdetailsContext$i15.contactinfo.instid)=='694befd291698'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 mt-3"},/*#__PURE__*/React__default["default"].createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
3840
+ },/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.quantityshow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.quantityfontsize,color:sectionproperties.quantitycolor,fontWeight:sectionproperties.quantityfontweight}},langdetect=='en'?sectionproperties.qtytextinen:sectionproperties.qtytextinar,":",' ',fetchProductInfoQueryContext.data.data.productinfo.currentquantity)),/*#__PURE__*/React__default["default"].createElement("div",{className:(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer37=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.data)===null||_fetchProductInfoQuer37===void 0||(_fetchProductInfoQuer37=_fetchProductInfoQuer37.productinfo)===null||_fetchProductInfoQuer37===void 0?void 0:_fetchProductInfoQuer37.productcanrate)==1?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.btnposition=='Top'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer38=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.data)===null||_fetchProductInfoQuer38===void 0||(_fetchProductInfoQuer38=_fetchProductInfoQuer38.productinfo)===null||_fetchProductInfoQuer38===void 0?void 0:_fetchProductInfoQuer38.productcanrate)==1&&sectionproperties.showrating=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},/*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"],{count:5,value:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer39=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.data)===null||_fetchProductInfoQuer39===void 0||(_fetchProductInfoQuer39=_fetchProductInfoQuer39.productinfo)===null||_fetchProductInfoQuer39===void 0?void 0:_fetchProductInfoQuer39.productoverallrate,edit:false,size:18,emptyIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"far fa-star",style:{color:'#FAB400'}}),halfIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star-half-alt style={{ color: '#FAB400' }}"}),filledIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star",style:{color:'#FAB400'}}),activeColor:"#ffd700"})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer40=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.data)===null||_fetchProductInfoQuer40===void 0||(_fetchProductInfoQuer40=_fetchProductInfoQuer40.productinfo)===null||_fetchProductInfoQuer40===void 0?void 0:_fetchProductInfoQuer40.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3 mx-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity))),sectionproperties.btnposition=='Top'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Top'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":'col-lg-12 p-0 my-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.defaultpricingposition=='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer41=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.data)===null||_fetchProductInfoQuer41===void 0||(_fetchProductInfoQuer41=_fetchProductInfoQuer41.productinfo)===null||_fetchProductInfoQuer41===void 0?void 0:_fetchProductInfoQuer41.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer42=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.data)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.productinfo)===null||_fetchProductInfoQuer42===void 0||(_fetchProductInfoQuer42=_fetchProductInfoQuer42.productfeatures)===null||_fetchProductInfoQuer42===void 0?void 0:_fetchProductInfoQuer42.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.descriptionposition=='Under Name'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor}},ShortDescriptionTitle())),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer43=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.data)===null||_fetchProductInfoQuer43===void 0||(_fetchProductInfoQuer43=_fetchProductInfoQuer43.productinfo)===null||_fetchProductInfoQuer43===void 0?void 0:_fetchProductInfoQuer43.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer44=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.data)===null||_fetchProductInfoQuer44===void 0||(_fetchProductInfoQuer44=_fetchProductInfoQuer44.productinfo)===null||_fetchProductInfoQuer44===void 0?void 0:_fetchProductInfoQuer44.short_description_ar}})))),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Pricing'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer45=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.data)===null||_fetchProductInfoQuer45===void 0||(_fetchProductInfoQuer45=_fetchProductInfoQuer45.productinfo)===null||_fetchProductInfoQuer45===void 0?void 0:_fetchProductInfoQuer45.short_description_en)!=null&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer46=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.data)===null||_fetchProductInfoQuer46===void 0||(_fetchProductInfoQuer46=_fetchProductInfoQuer46.productinfo)===null||_fetchProductInfoQuer46===void 0?void 0:_fetchProductInfoQuer46.short_description_en}}))),langdetect=='ar'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer47=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.data)===null||_fetchProductInfoQuer47===void 0||(_fetchProductInfoQuer47=_fetchProductInfoQuer47.productinfo)===null||_fetchProductInfoQuer47===void 0?void 0:_fetchProductInfoQuer47.short_description_ar)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer48=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.data)===null||_fetchProductInfoQuer48===void 0||(_fetchProductInfoQuer48=_fetchProductInfoQuer48.productinfo)===null||_fetchProductInfoQuer48===void 0?void 0:_fetchProductInfoQuer48.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer49=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.data)===null||_fetchProductInfoQuer49===void 0||(_fetchProductInfoQuer49=_fetchProductInfoQuer49.productinfo)===null||_fetchProductInfoQuer49===void 0?void 0:_fetchProductInfoQuer49.vendorinfo)!=null&&sectionproperties.showvendor=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:'#000',cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':''},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer50;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer50=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.data)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.productinfo)===null||_fetchProductInfoQuer50===void 0||(_fetchProductInfoQuer50=_fetchProductInfoQuer50.vendorinfo)===null||_fetchProductInfoQuer50===void 0?void 0:_fetchProductInfoQuer50.vendorid]})));}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i10=authdetailsContext.instinfo)===null||_authdetailsContext$i10===void 0?void 0:_authdetailsContext$i10.contactinfo.instid)!='683c163d7f996'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i11=authdetailsContext.instinfo)===null||_authdetailsContext$i11===void 0?void 0:_authdetailsContext$i11.contactinfo.instid)!='67f3c23abb18f'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i12=authdetailsContext.instinfo)===null||_authdetailsContext$i12===void 0?void 0:_authdetailsContext$i12.contactinfo.instid)!='6805437ab0f3b'&&/*#__PURE__*/React__default["default"].createElement("span",null," ",langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,": "),/*#__PURE__*/React__default["default"].createElement("span",{style:{fontWeight:600,textDecoration:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i13=authdetailsContext.instinfo)===null||_authdetailsContext$i13===void 0?void 0:_authdetailsContext$i13.contactinfo.instid)=='67f3c23abb18f'?'underline':'none'}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer51=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.data)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.productinfo)===null||_fetchProductInfoQuer51===void 0||(_fetchProductInfoQuer51=_fetchProductInfoQuer51.vendorinfo)===null||_fetchProductInfoQuer51===void 0?void 0:_fetchProductInfoQuer51.vendorname))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Bottom'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer52=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.data)===null||_fetchProductInfoQuer52===void 0||(_fetchProductInfoQuer52=_fetchProductInfoQuer52.productinfo)===null||_fetchProductInfoQuer52===void 0?void 0:_fetchProductInfoQuer52.deliverydatetext)!=null?'col-lg-12 p-0 mb-2 d-flex justify-content-start':'col-lg-12 p-0 mb-3 d-flex justify-content-start'},ProductsSKUContainer()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer53=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.data)===null||_fetchProductInfoQuer53===void 0||(_fetchProductInfoQuer53=_fetchProductInfoQuer53.productinfo)===null||_fetchProductInfoQuer53===void 0?void 0:_fetchProductInfoQuer53.currentquantity)<1&&sectionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer54=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.data)===null||_fetchProductInfoQuer54===void 0||(_fetchProductInfoQuer54=_fetchProductInfoQuer54.productinfo)===null||_fetchProductInfoQuer54===void 0?void 0:_fetchProductInfoQuer54.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer55=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.data)===null||_fetchProductInfoQuer55===void 0||(_fetchProductInfoQuer55=_fetchProductInfoQuer55.productinfo)===null||_fetchProductInfoQuer55===void 0?void 0:_fetchProductInfoQuer55.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer56=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.data)===null||_fetchProductInfoQuer56===void 0||(_fetchProductInfoQuer56=_fetchProductInfoQuer56.productinfo)===null||_fetchProductInfoQuer56===void 0?void 0:_fetchProductInfoQuer56.deliverydatetext)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React__default["default"].createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer57=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.data)===null||_fetchProductInfoQuer57===void 0||(_fetchProductInfoQuer57=_fetchProductInfoQuer57.productinfo)===null||_fetchProductInfoQuer57===void 0?void 0:_fetchProductInfoQuer57.deliverydatetext)),sectionproperties.descriptionposition!='Under Name'&&sectionproperties.descriptionposition=='Top'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.prodCatShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})),sectionproperties.defaultpricingposition=='Under Description'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer58=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.data)===null||_fetchProductInfoQuer58===void 0||(_fetchProductInfoQuer58=_fetchProductInfoQuer58.productinfo)===null||_fetchProductInfoQuer58===void 0?void 0:_fetchProductInfoQuer58.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),/*#__PURE__*/React__default["default"].createElement(Variantoptions,{actions:props.actions}),/*#__PURE__*/React__default["default"].createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React__default["default"].createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&&sectionproperties.prodCatShow=='Show'&&sectionproperties.descriptionposition!='Top'&&/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i14=authdetailsContext.instinfo)===null||_authdetailsContext$i14===void 0?void 0:_authdetailsContext$i14.contactinfo.instid)=='68ada0669b7c7'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(ProductFileUploader,{actions:props.actions})),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition=='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0 mb-3"},ProductFeaturesArray()),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3",style:{// display: sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? 'none' : 'flex',
3841
+ }},/*#__PURE__*/React__default["default"].createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer59=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.data)===null||_fetchProductInfoQuer59===void 0||(_fetchProductInfoQuer59=_fetchProductInfoQuer59.productinfo)===null||_fetchProductInfoQuer59===void 0?void 0:_fetchProductInfoQuer59.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer60=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.data)===null||_fetchProductInfoQuer60===void 0||(_fetchProductInfoQuer60=_fetchProductInfoQuer60.productinfo)===null||_fetchProductInfoQuer60===void 0?void 0:_fetchProductInfoQuer60.isproducthasquantitychange)==1&&sectionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer61=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.data)===null||_fetchProductInfoQuer61===void 0||(_fetchProductInfoQuer61=_fetchProductInfoQuer61.productinfo)===null||_fetchProductInfoQuer61===void 0?void 0:_fetchProductInfoQuer61.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer62=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer62===void 0||(_fetchProductInfoQuer62=_fetchProductInfoQuer62.data)===null||_fetchProductInfoQuer62===void 0||(_fetchProductInfoQuer62=_fetchProductInfoQuer62.productinfo)===null||_fetchProductInfoQuer62===void 0?void 0:_fetchProductInfoQuer62.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.cartbtnalone=='Besides Other Buttons'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer63=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.data)===null||_fetchProductInfoQuer63===void 0||(_fetchProductInfoQuer63=_fetchProductInfoQuer63.productinfo)===null||_fetchProductInfoQuer63===void 0?void 0:_fetchProductInfoQuer63.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth==100?'auto':sectionproperties.cartBtnWidth+'%',flex:sectionproperties.cartBtnWidth==100?1:''},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer64;window.open('tel:'+((_fetchProductInfoQuer64=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer64===void 0?void 0:_fetchProductInfoQuer64.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer65=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.productinfo)===null||_fetchProductInfoQuer65===void 0?void 0:_fetchProductInfoQuer65.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer66=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer66===void 0||(_fetchProductInfoQuer66=_fetchProductInfoQuer66.data)===null||_fetchProductInfoQuer66===void 0||(_fetchProductInfoQuer66=_fetchProductInfoQuer66.productinfo)===null||_fetchProductInfoQuer66===void 0?void 0:_fetchProductInfoQuer66.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar)),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i15=authdetailsContext.instinfo)===null||_authdetailsContext$i15===void 0?void 0:_authdetailsContext$i15.contactinfo.instid)=='694befd291698'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 mt-3"},/*#__PURE__*/React__default["default"].createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
3821
3842
  var key='comparedProducts';// Get current list from localStorage
3822
3843
  var existing=JSON.parse(localStorage.getItem(key))||[];// Check if the product is already in the list
3823
3844
  var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (toggle off)
@@ -3831,43 +3852,41 @@
3831
3852
  existing.splice(index,1);setIsCompared(false);}else {// If not, add it (toggle on)
3832
3853
  existing.push(productId);setIsCompared(true);}// Update localStorage
3833
3854
  localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (remove this in production)
3834
- }},isCompared?lang.remove:lang.compare))),sectionproperties.cartbtnalone=='Alone'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer65=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.data)===null||_fetchProductInfoQuer65===void 0||(_fetchProductInfoQuer65=_fetchProductInfoQuer65.productinfo)===null||_fetchProductInfoQuer65===void 0?void 0:_fetchProductInfoQuer65.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer66;window.open('tel:'+((_fetchProductInfoQuer66=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer66===void 0?void 0:_fetchProductInfoQuer66.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer67=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.productinfo)===null||_fetchProductInfoQuer67===void 0?void 0:_fetchProductInfoQuer67.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer68=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.productinfo)===null||_fetchProductInfoQuer68===void 0?void 0:_fetchProductInfoQuer68.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i17=authdetailsContext.instinfo)===null||_authdetailsContext$i17===void 0?void 0:_authdetailsContext$i17.contactinfo.instid)=='6995aff955278'&&fetchProductInfoQueryContext.data.data.productinfo.productid!='69c4fffc42d0b'&&/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){routingcountext('productinfo/69c4fffc42d0b',false,'');window.location.reload();}},langdetect=='en'?'Get The Card':'احصل على البطاقة'),productpdfsarray.length!=0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer69=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.productinfo)===null||_fetchProductInfoQuer69===void 0?void 0:_fetchProductInfoQuer69.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){addtocartfunc(1);},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i18=authdetailsContext.instinfo)===null||_authdetailsContext$i18===void 0?void 0:_authdetailsContext$i18.contactinfo.instid)=='69a3437faf64f'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 mt-3 mb-3"},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 mb-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
3855
+ }},isCompared?lang.remove:lang.compare))),sectionproperties.cartbtnalone=='Alone'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer67=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.productinfo)===null||_fetchProductInfoQuer67===void 0?void 0:_fetchProductInfoQuer67.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer68;window.open('tel:'+((_fetchProductInfoQuer68=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer68===void 0?void 0:_fetchProductInfoQuer68.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer69=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.productinfo)===null||_fetchProductInfoQuer69===void 0?void 0:_fetchProductInfoQuer69.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer70=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.productinfo)===null||_fetchProductInfoQuer70===void 0?void 0:_fetchProductInfoQuer70.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i17=authdetailsContext.instinfo)===null||_authdetailsContext$i17===void 0?void 0:_authdetailsContext$i17.contactinfo.instid)=='6995aff955278'&&fetchProductInfoQueryContext.data.data.productinfo.productid!='69c4fffc42d0b'&&/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){routingcountext('productinfo/69c4fffc42d0b',false,'');window.location.reload();}},langdetect=='en'?'Get The Card':'احصل على البطاقة'),productpdfsarray.length!=0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer71=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.productinfo)===null||_fetchProductInfoQuer71===void 0?void 0:_fetchProductInfoQuer71.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){addtocartfunc(1);},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i18=authdetailsContext.instinfo)===null||_authdetailsContext$i18===void 0?void 0:_authdetailsContext$i18.contactinfo.instid)=='69a3437faf64f'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 mt-3 mb-3"},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 mb-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
3835
3856
  var key='comparedProducts';// Get current list from localStorage
3836
3857
  var existing=JSON.parse(localStorage.getItem(key))||[];// Check if the product is already in the list
3837
3858
  var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (toggle off)
3838
3859
  existing.splice(index,1);setIsCompared(false);}else {// If not, add it (toggle on)
3839
3860
  existing.push(productId);setIsCompared(true);}// Update localStorage
3840
3861
  localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (remove this in production)
3841
- }},isCompared?lang.remove:lang.compare)),sectionproperties.featuresposition=='Under CTA'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),sectionproperties.showpaymentfooter=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-5 allcentered"// style={{ overflow: 'hidden', border: '1px solid #ccc', borderRadius: 10 }}
3842
- },sectionproperties.showvisa=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'60px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/visa.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmastercard=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/mastercard.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showfawry=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'70px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/fawry.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmeeza=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/meezaimage.png',style:{maxWidth:'100%',maxHeight:'100%'}}))),sectionproperties.storeinfoposition=='Below Information'&&props.actions.srcfromprops!='templatedraftrouter'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i19=authdetailsContext.instinfo)===null||_authdetailsContext$i19===void 0?void 0:_authdetailsContext$i19.instid)=='69ce49ee861df'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition!='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer70=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.productinfo)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.productfeatures)===null||_fetchProductInfoQuer70===void 0?void 0:_fetchProductInfoQuer70.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer71=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.productinfo)===null||_fetchProductInfoQuer71===void 0?void 0:_fetchProductInfoQuer71.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer72=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productinfo)===null||_fetchProductInfoQuer72===void 0?void 0:_fetchProductInfoQuer72.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer73=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productinfo)===null||_fetchProductInfoQuer73===void 0?void 0:_fetchProductInfoQuer73.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer74=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productinfo)===null||_fetchProductInfoQuer74===void 0?void 0:_fetchProductInfoQuer74.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer75=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.productinfo)===null||_fetchProductInfoQuer75===void 0?void 0:_fetchProductInfoQuer75.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i20=authdetailsContext.instinfo)===null||_authdetailsContext$i20===void 0?void 0:_authdetailsContext$i20.contactinfo.instid)!='6852e5ed44e14'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3',style:{display:sectionproperties.showfirstpolicy=='Hide'&&sectionproperties.showsecondpolicy=='Hide'?'none':'flex'}},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(FiBox$1.FiBox,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj===void 0?void 0:_returnpolicyobj.policypagename_en:(_returnpolicyobj2=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj2===void 0?void 0:_returnpolicyobj2.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj3=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj3===void 0?void 0:_returnpolicyobj3.policysummary_en:(_returnpolicyobj4=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj4===void 0?void 0:_returnpolicyobj4.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(RiArrowGoBackLine.RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj5=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj5===void 0?void 0:_returnpolicyobj5.policypagename_en:(_returnpolicyobj6=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj6===void 0?void 0:_returnpolicyobj6.policypagename_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj7=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj7===void 0?void 0:_returnpolicyobj7.policysummary_en:(_returnpolicyobj8=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj8===void 0?void 0:_returnpolicyobj8.policysummary_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
3862
+ }},isCompared?lang.remove:lang.compare)),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under CTA'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),sectionproperties.showpaymentfooter=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-5 allcentered"// style={{ overflow: 'hidden', border: '1px solid #ccc', borderRadius: 10 }}
3863
+ },sectionproperties.showvisa=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'60px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/visa.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmastercard=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/mastercard.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showfawry=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'70px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/fawry.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmeeza=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React__default["default"].createElement("img",{src:'https://tabex-co.com/storage/StaticImages/meezaimage.png',style:{maxWidth:'100%',maxHeight:'100%'}}))),sectionproperties.storeinfoposition=='Below Information'&&props.actions.srcfromprops!='templatedraftrouter'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionposition=='Under CTA'&&sectionproperties.prodCatShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mt-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2 "},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.descriptionContentEn:sectionproperties.descriptionContentAr)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition!='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer72=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productinfo)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productfeatures)===null||_fetchProductInfoQuer72===void 0?void 0:_fetchProductInfoQuer72.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer73=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productinfo)===null||_fetchProductInfoQuer73===void 0?void 0:_fetchProductInfoQuer73.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer74=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productinfo)===null||_fetchProductInfoQuer74===void 0?void 0:_fetchProductInfoQuer74.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer75=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.productinfo)===null||_fetchProductInfoQuer75===void 0?void 0:_fetchProductInfoQuer75.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer76=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.productinfo)===null||_fetchProductInfoQuer76===void 0?void 0:_fetchProductInfoQuer76.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer77=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.productinfo)===null||_fetchProductInfoQuer77===void 0?void 0:_fetchProductInfoQuer77.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i19=authdetailsContext.instinfo)===null||_authdetailsContext$i19===void 0?void 0:_authdetailsContext$i19.contactinfo.instid)!='6852e5ed44e14'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3',style:{display:sectionproperties.showfirstpolicy=='Hide'&&sectionproperties.showsecondpolicy=='Hide'?'none':'flex'}},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(FiBox$1.FiBox,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj===void 0?void 0:_returnpolicyobj.policypagename_en:(_returnpolicyobj2=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj2===void 0?void 0:_returnpolicyobj2.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj3=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj3===void 0?void 0:_returnpolicyobj3.policysummary_en:(_returnpolicyobj4=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj4===void 0?void 0:_returnpolicyobj4.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(RiArrowGoBackLine.RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj5=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj5===void 0?void 0:_returnpolicyobj5.policypagename_en:(_returnpolicyobj6=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj6===void 0?void 0:_returnpolicyobj6.policypagename_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj7=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj7===void 0?void 0:_returnpolicyobj7.policysummary_en:(_returnpolicyobj8=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj8===void 0?void 0:_returnpolicyobj8.policysummary_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
3843
3864
  // srcfromprops={'collapsepinfo'}
3844
- })))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer76=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.productinfo)===null||_fetchProductInfoQuer76===void 0?void 0:_fetchProductInfoQuer76.isproducttobesold)==1&&sectionproperties.showtotalsection=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3"},TotalSection()),sectionproperties.availabilitybtnposition=='Bottom'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer77=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.productinfo)===null||_fetchProductInfoQuer77===void 0?void 0:_fetchProductInfoQuer77.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i21=authdetailsContext.instinfo)===null||_authdetailsContext$i21===void 0?void 0:_authdetailsContext$i21.contactinfo.instid)!='69a3437faf64f'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i22=authdetailsContext.instinfo)===null||_authdetailsContext$i22===void 0?void 0:_authdetailsContext$i22.contactinfo.instid)!='69a3437faf64f'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i23=authdetailsContext.instinfo)===null||_authdetailsContext$i23===void 0?void 0:_authdetailsContext$i23.contactinfo.instid)=='68a9e83c05b75'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 pt-4 mt-3 px-5 px-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer78=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.productinfo)===null||_fetchProductInfoQuer78===void 0?void 0:_fetchProductInfoQuer78.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer79=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.productinfo)===null||_fetchProductInfoQuer79===void 0?void 0:_fetchProductInfoQuer79.short_description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0 mt-5"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer80=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.productinfo)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.productfeatures)===null||_fetchProductInfoQuer80===void 0?void 0:_fetchProductInfoQuer80.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
3845
- color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 d-flex align-items-center"},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-6 col-md-12 mt-5"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:'#000000'},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer81=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.productinfo)===null||_fetchProductInfoQuer81===void 0?void 0:_fetchProductInfoQuer81.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer82=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.productinfo)===null||_fetchProductInfoQuer82===void 0?void 0:_fetchProductInfoQuer82.description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-6 col-md-12 mt-5"},productVideos.length!=0&&/*#__PURE__*/React__default["default"].createElement("div",{className:"w-100",style:{height:400}},/*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"],{url:productVideos[0].videourl,height:'100%',width:'100%',playing:false,controls:true,loop:true,muted:true})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i24=authdetailsContext.instinfo)===null||_authdetailsContext$i24===void 0?void 0:_authdetailsContext$i24.contactinfo.instid)=='68c27b4570751'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 pt-4 mt-3 px-5 px-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer83=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer83===void 0||(_fetchProductInfoQuer83=_fetchProductInfoQuer83.data)===null||_fetchProductInfoQuer83===void 0||(_fetchProductInfoQuer83=_fetchProductInfoQuer83.productinfo)===null||_fetchProductInfoQuer83===void 0?void 0:_fetchProductInfoQuer83.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer84=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer84===void 0||(_fetchProductInfoQuer84=_fetchProductInfoQuer84.data)===null||_fetchProductInfoQuer84===void 0||(_fetchProductInfoQuer84=_fetchProductInfoQuer84.productinfo)===null||_fetchProductInfoQuer84===void 0?void 0:_fetchProductInfoQuer84.short_description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0 mt-5"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},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||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.productfeatures)===null||_fetchProductInfoQuer85===void 0?void 0:_fetchProductInfoQuer85.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
3846
- color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 d-flex align-items-center"},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-6 col-md-12 mt-5"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:'#000000'},dangerouslySetInnerHTML:{__html:langdetect=='en'?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.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer87=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.productinfo)===null||_fetchProductInfoQuer87===void 0?void 0:_fetchProductInfoQuer87.description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-6 col-md-12 mt-5"},productVideos.length!=0&&/*#__PURE__*/React__default["default"].createElement("div",{className:"w-100",style:{height:400}},/*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"],{url:productVideos[0].videourl,height:'100%',width:'100%',playing:false,controls:true,loop:true,muted:true})))))),sectionproperties.storeinfoposition=='On The Right'&&/*#__PURE__*/React__default["default"].createElement("div",{className:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i25=authdetailsContext.instinfo)===null||_authdetailsContext$i25===void 0?void 0:_authdetailsContext$i25.contactinfo.instid)=='69a3437faf64f'?langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pl-md-0 pr-md-0':langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',style:{borderLeft:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i26=authdetailsContext.instinfo)===null||_authdetailsContext$i26===void 0?void 0:_authdetailsContext$i26.contactinfo.instid)=='69a3437faf64f'?0:langdetect=='en'?'1px solid #eee':0,borderRight:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i27=authdetailsContext.instinfo)===null||_authdetailsContext$i27===void 0?void 0:_authdetailsContext$i27.contactinfo.instid)=='69a3437faf64f'?0:langdetect=='ar'?'1px solid #eee':0,display:sectionproperties.showfooterphonenumber=='Hide'&&sectionproperties.showfooteremail=='Hide'&&sectionproperties.showstoreinfo2=='Hide'&&sectionproperties.showstoreinfo1=='Hide'?'none':'block'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i28=authdetailsContext.instinfo)===null||_authdetailsContext$i28===void 0?void 0:_authdetailsContext$i28.contactinfo.instid)=='69a3437faf64f'?' px-3 px-msd-0 row m-0 w-100 py-4':' row m-0 w-100',style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0,background:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i29=authdetailsContext.instinfo)===null||_authdetailsContext$i29===void 0?void 0:_authdetailsContext$i29.contactinfo.instid)=='69a3437faf64f'?'#fff':'transparent',borderRadius:10,border:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i30=authdetailsContext.instinfo)===null||_authdetailsContext$i30===void 0?void 0:_authdetailsContext$i30.contactinfo.instid)=='69a3437faf64f'?'1px solid #eee':0}},StoreInfoprops(),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer88=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.productinfo)===null||_fetchProductInfoQuer88===void 0?void 0:_fetchProductInfoQuer88.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 allcentered mb-2 p-sm-0 mt-2"},/*#__PURE__*/React__default["default"].createElement("button",{"class":productinfo_cssstyles.sizeguidebtn,style:{width:'100%',height:50,border:'1px solid '+sectionproperties.footerinfotext_color,borderRadius:sectionproperties.storeinfobtnborderradius+'px',textDecoration:'none',fontSize:18,fontWeight:600},onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 allcentered mt-2"},ShareButtonsContainer())),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i31=authdetailsContext.instinfo)===null||_authdetailsContext$i31===void 0?void 0:_authdetailsContext$i31.contactinfo.instid)=='69a3437faf64f'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i32=authdetailsContext.instinfo)===null||_authdetailsContext$i32===void 0?void 0:_authdetailsContext$i32.contactinfo.instid)=='69a3437faf64f'?' px-3 px-md-0 row m-0 w-100 py-4 mt-4':' row m-0 w-100',style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0,background:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i33=authdetailsContext.instinfo)===null||_authdetailsContext$i33===void 0?void 0:_authdetailsContext$i33.contactinfo.instid)=='69a3437faf64f'?'#fff':'transparent',borderRadius:10,border:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i34=authdetailsContext.instinfo)===null||_authdetailsContext$i34===void 0?void 0:_authdetailsContext$i34.contactinfo.instid)=='69a3437faf64f'?'1px solid #eee':0}},ShareButtonsContainer())))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i35=authdetailsContext.instinfo)===null||_authdetailsContext$i35===void 0?void 0:_authdetailsContext$i35.contactinfo.instid)=='68ee3bb0c9b16'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"my-4 col-lg-12 text-start p-0"},ProductFeaturesTable())),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i36=authdetailsContext.instinfo)===null||_authdetailsContext$i36===void 0?void 0:_authdetailsContext$i36.contactinfo.instid)=='684fdf3f9e856'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',style:{minHeight:sectionproperties.height+'vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.infomarionsectionpaddinghorizontal==0?'row mx-0 w-100':'row mx-0 w-100'// class={sectionproperties.infomarionsectionpaddinghorizontal == 0 ? 'row mx-0 w-100' : 'row mx-0 w-100 px-md-3'}
3865
+ })))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer78=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.productinfo)===null||_fetchProductInfoQuer78===void 0?void 0:_fetchProductInfoQuer78.isproducttobesold)==1&&sectionproperties.showtotalsection=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3"},TotalSection()),sectionproperties.availabilitybtnposition=='Bottom'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer79=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.productinfo)===null||_fetchProductInfoQuer79===void 0?void 0:_fetchProductInfoQuer79.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i20=authdetailsContext.instinfo)===null||_authdetailsContext$i20===void 0?void 0:_authdetailsContext$i20.contactinfo.instid)!='69a3437faf64f'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))))),sectionproperties.storeinfoposition=='On The Right'&&/*#__PURE__*/React__default["default"].createElement("div",{className:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i21=authdetailsContext.instinfo)===null||_authdetailsContext$i21===void 0?void 0:_authdetailsContext$i21.contactinfo.instid)=='69a3437faf64f'?langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pl-md-0 pr-md-0':langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',style:{borderLeft:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i22=authdetailsContext.instinfo)===null||_authdetailsContext$i22===void 0?void 0:_authdetailsContext$i22.contactinfo.instid)=='69a3437faf64f'?0:langdetect=='en'?'1px solid #eee':0,borderRight:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i23=authdetailsContext.instinfo)===null||_authdetailsContext$i23===void 0?void 0:_authdetailsContext$i23.contactinfo.instid)=='69a3437faf64f'?0:langdetect=='ar'?'1px solid #eee':0,display:sectionproperties.showfooterphonenumber=='Hide'&&sectionproperties.showfooteremail=='Hide'&&sectionproperties.showstoreinfo2=='Hide'&&sectionproperties.showstoreinfo1=='Hide'?'none':'block'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i24=authdetailsContext.instinfo)===null||_authdetailsContext$i24===void 0?void 0:_authdetailsContext$i24.contactinfo.instid)=='69a3437faf64f'?' px-3 px-msd-0 row m-0 w-100 py-4':' row m-0 w-100',style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0,background:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i25=authdetailsContext.instinfo)===null||_authdetailsContext$i25===void 0?void 0:_authdetailsContext$i25.contactinfo.instid)=='69a3437faf64f'?'#fff':'transparent',borderRadius:10,border:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i26=authdetailsContext.instinfo)===null||_authdetailsContext$i26===void 0?void 0:_authdetailsContext$i26.contactinfo.instid)=='69a3437faf64f'?'1px solid #eee':0}},StoreInfoprops(),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer80=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.productinfo)===null||_fetchProductInfoQuer80===void 0?void 0:_fetchProductInfoQuer80.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 allcentered mb-2 p-sm-0 mt-2"},/*#__PURE__*/React__default["default"].createElement("button",{"class":productinfo_cssstyles.sizeguidebtn,style:{width:'100%',height:50,border:'1px solid '+sectionproperties.footerinfotext_color,borderRadius:sectionproperties.storeinfobtnborderradius+'px',textDecoration:'none',fontSize:18,fontWeight:600},onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 allcentered mt-2"},ShareButtonsContainer())),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i27=authdetailsContext.instinfo)===null||_authdetailsContext$i27===void 0?void 0:_authdetailsContext$i27.contactinfo.instid)=='69a3437faf64f'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i28=authdetailsContext.instinfo)===null||_authdetailsContext$i28===void 0?void 0:_authdetailsContext$i28.contactinfo.instid)=='69a3437faf64f'?' px-3 px-md-0 row m-0 w-100 py-4 mt-4':' row m-0 w-100',style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0,background:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i29=authdetailsContext.instinfo)===null||_authdetailsContext$i29===void 0?void 0:_authdetailsContext$i29.contactinfo.instid)=='69a3437faf64f'?'#fff':'transparent',borderRadius:10,border:(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i30=authdetailsContext.instinfo)===null||_authdetailsContext$i30===void 0?void 0:_authdetailsContext$i30.contactinfo.instid)=='69a3437faf64f'?'1px solid #eee':0}},ShareButtonsContainer())))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i31=authdetailsContext.instinfo)===null||_authdetailsContext$i31===void 0?void 0:_authdetailsContext$i31.contactinfo.instid)=='68ee3bb0c9b16'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"my-4 col-lg-12 text-start p-0"},ProductFeaturesTable())),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i32=authdetailsContext.instinfo)===null||_authdetailsContext$i32===void 0?void 0:_authdetailsContext$i32.contactinfo.instid)=='684fdf3f9e856'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',style:{minHeight:sectionproperties.height+'vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.infomarionsectionpaddinghorizontal==0?'row mx-0 w-100':'row mx-0 w-100'// class={sectionproperties.infomarionsectionpaddinghorizontal == 0 ? 'row mx-0 w-100' : 'row mx-0 w-100 px-md-3'}
3847
3866
  ,style:{marginTop:sectionproperties.gallerystyle=='Style 2'?'3rem':0,paddingLeft:sectionproperties.infomarionsectionpaddinghorizontal+'px',paddingRight:sectionproperties.infomarionsectionpaddinghorizontal+'px'}},/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.showfooterphonenumber=='Hide'&&sectionproperties.showfooteremail=='Hide'&&sectionproperties.showstoreinfo2=='Hide'&&sectionproperties.showstoreinfo1=='Hide'?'col-lg-12':sectionproperties.storeinfoposition=='Below Information'?'col-lg-12':langdetect=='en'?'col-lg-9 pl-0 mb-md-3 p-md-0':'col-lg-9 pr-0 mb-md-3 p-md-0',style:{marginBottom:sectionproperties.evencols=='Yes'?'60px':0}},/*#__PURE__*/React__default["default"].createElement("div",{className:'row m-0 w-100'},sectionproperties.gallerystyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{className:' col-xl-8 col-lg-6 col-md-12 col-sm-12 mb-md-2 pl-1 pr-1 evencols '},/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.maximizegalleryfullscreen=='Yes'?' col-lg-12 p-0 maximize ':'col-lg-12 p-0',style:{width:'100%'}},productimagesarray.length==0&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'100%',height:'30vh',background:'#eee',borderRadius:10}},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered text-light"},/*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers,{size:26}))),productimagesarray.length!=0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 d-md-none"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-6 p-0",style:{background:'#f1ede7'}},/*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"],{items:productimagesarray.slice(0,1)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
3848
3867
  ,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-6 p-0"},/*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"],{items:productimagesarray.slice(1,2)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
3849
3868
  ,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}})),(productimagesarray===null||productimagesarray===void 0?void 0:productimagesarray.length)>2&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-6 p-0"},/*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"],{items:productimagesarray.slice(2,3)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
3850
3869
  ,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}})),(productimagesarray===null||productimagesarray===void 0?void 0:productimagesarray.length)>2&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-6 p-0"},/*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"],{items:productimagesarray.slice(3,4)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
3851
- ,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}}))),productimagesarray.length!=0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"w-100 d-none d-md-block"},/*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"],{items:productimagesarray,thumbnailPosition:'bottom',showNav:false,showPlayButton:false,showFullscreenButton:sectionproperties.showgalleryfullscreenbtn=='Yes'?true:false,startIndex:currentshowingimageindex,showThumbnails:sectionproperties.showthumbnail=='Hide'?false:true,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},onClick:function onClick(){}})))),/*#__PURE__*/React__default["default"].createElement("div",{className:'col-xl-4 col-lg-6 col-md-12 col-sm-12 pl-4 px-md-2'},/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.quantityshow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.quantityfontsize,color:sectionproperties.quantitycolor,fontWeight:sectionproperties.quantityfontweight}},langdetect=='en'?sectionproperties.qtytextinen:sectionproperties.qtytextinar,":",' ',fetchProductInfoQueryContext.data.data.productinfo.currentquantity)),/*#__PURE__*/React__default["default"].createElement("div",{className:(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer89=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.productinfo)===null||_fetchProductInfoQuer89===void 0?void 0:_fetchProductInfoQuer89.productcanrate)==1?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.btnposition=='Top'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer90=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.productinfo)===null||_fetchProductInfoQuer90===void 0?void 0:_fetchProductInfoQuer90.productcanrate)==1&&sectionproperties.showrating=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},/*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"],{count:5,value:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer91=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.productinfo)===null||_fetchProductInfoQuer91===void 0?void 0:_fetchProductInfoQuer91.productoverallrate,edit:false,size:18,emptyIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"far fa-star",style:{color:'#FAB400'}}),halfIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star-half-alt style={{ color: '#FAB400' }}"}),filledIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star",style:{color:'#FAB400'}}),activeColor:"#ffd700"})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer92=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.productinfo)===null||_fetchProductInfoQuer92===void 0?void 0:_fetchProductInfoQuer92.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3 mx-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity))),sectionproperties.btnposition=='Top'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Top'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":'col-lg-12 p-0 my-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer93=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.productinfo)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.productfeatures)===null||_fetchProductInfoQuer93===void 0?void 0:_fetchProductInfoQuer93.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showshortdescription=='Show'&&sectionproperties.descriptionposition=='Under Name'&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor}},ShortDescriptionTitle())),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer94=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.productinfo)===null||_fetchProductInfoQuer94===void 0?void 0:_fetchProductInfoQuer94.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer95=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.productinfo)===null||_fetchProductInfoQuer95===void 0?void 0:_fetchProductInfoQuer95.short_description_ar}})))),sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.featurestitlecolor,fontSize:sectionproperties.featurestitlefontsize+'px',fontWeight:600}},langdetect=='en'?sectionproperties.featurestitleen:sectionproperties.featurestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer96=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.productinfo)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.productfeatures)===null||_fetchProductInfoQuer96===void 0?void 0:_fetchProductInfoQuer96.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
3852
- color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 d-flex align-items-center"},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))))),sectionproperties.defaultpricingposition=='Under Name'&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.featuresposition=='Under Pricing'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer97=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.productinfo)===null||_fetchProductInfoQuer97===void 0?void 0:_fetchProductInfoQuer97.short_description_en)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer98=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.productinfo)===null||_fetchProductInfoQuer98===void 0?void 0:_fetchProductInfoQuer98.short_description_en}}))),langdetect=='ar'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer99=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.productinfo)===null||_fetchProductInfoQuer99===void 0?void 0:_fetchProductInfoQuer99.short_description_ar)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer100=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.productinfo)===null||_fetchProductInfoQuer100===void 0?void 0:_fetchProductInfoQuer100.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer101=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.productinfo)===null||_fetchProductInfoQuer101===void 0?void 0:_fetchProductInfoQuer101.vendorinfo)!=null&&sectionproperties.showvendor=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:'#000',cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':''},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer102;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer102=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.productinfo)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.vendorinfo)===null||_fetchProductInfoQuer102===void 0?void 0:_fetchProductInfoQuer102.vendorid]})));}}},langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,":",' ',/*#__PURE__*/React__default["default"].createElement("span",{style:{fontWeight:600}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer103=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.productinfo)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.vendorinfo)===null||_fetchProductInfoQuer103===void 0?void 0:_fetchProductInfoQuer103.vendorname))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Bottom'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer104=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.productinfo)===null||_fetchProductInfoQuer104===void 0?void 0:_fetchProductInfoQuer104.deliverydatetext)!=null?'col-lg-12 p-0 mb-2 d-flex justify-content-start':'col-lg-12 p-0 mb-3 d-flex justify-content-start'},ProductsSKUContainer()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer105=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.productinfo)===null||_fetchProductInfoQuer105===void 0?void 0:_fetchProductInfoQuer105.currentquantity)<1&&sectionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer106=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.productinfo)===null||_fetchProductInfoQuer106===void 0?void 0:_fetchProductInfoQuer106.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer107=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.productinfo)===null||_fetchProductInfoQuer107===void 0?void 0:_fetchProductInfoQuer107.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer108=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.productinfo)===null||_fetchProductInfoQuer108===void 0?void 0:_fetchProductInfoQuer108.deliverydatetext)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React__default["default"].createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer109=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.productinfo)===null||_fetchProductInfoQuer109===void 0?void 0:_fetchProductInfoQuer109.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.descriptionposition!='Under Name'&&sectionproperties.descriptionposition=='Top'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2 "},/*#__PURE__*/React__default["default"].createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor,fontWeight:700,fontSize:17}},langdetect=='en'?'Description':'التفاصيل')),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),/*#__PURE__*/React__default["default"].createElement(Variantoptions,{actions:props.actions}),/*#__PURE__*/React__default["default"].createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React__default["default"].createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&&sectionproperties.prodCatShow=='Show'&&sectionproperties.descriptionposition!='Top'&&/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions}),sectionproperties.quantitybtn_show=='Show'&&sectionproperties.cartBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React__default["default"].createElement("hr",{className:"mb-0 mt-2"})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3",style:{display:sectionproperties.quantitybtn_show=='Hide'&&sectionproperties.cartBtnShow=='Hide'?'none':'flex'}},/*#__PURE__*/React__default["default"].createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer110=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.productinfo)===null||_fetchProductInfoQuer110===void 0?void 0:_fetchProductInfoQuer110.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer111=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer111===void 0||(_fetchProductInfoQuer111=_fetchProductInfoQuer111.data)===null||_fetchProductInfoQuer111===void 0||(_fetchProductInfoQuer111=_fetchProductInfoQuer111.productinfo)===null||_fetchProductInfoQuer111===void 0?void 0:_fetchProductInfoQuer111.isproducthasquantitychange)==1&&sectionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer112=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.productinfo)===null||_fetchProductInfoQuer112===void 0?void 0:_fetchProductInfoQuer112.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer113=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer113===void 0||(_fetchProductInfoQuer113=_fetchProductInfoQuer113.data)===null||_fetchProductInfoQuer113===void 0||(_fetchProductInfoQuer113=_fetchProductInfoQuer113.productinfo)===null||_fetchProductInfoQuer113===void 0?void 0:_fetchProductInfoQuer113.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition=='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},ProductFeaturesArray()),sectionproperties.cartbtnalone=='Besides Other Buttons'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer114=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.productinfo)===null||_fetchProductInfoQuer114===void 0?void 0:_fetchProductInfoQuer114.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer115;window.open('tel:'+((_fetchProductInfoQuer115=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer115===void 0?void 0:_fetchProductInfoQuer115.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer116=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.productinfo)===null||_fetchProductInfoQuer116===void 0?void 0:_fetchProductInfoQuer116.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer117=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.productinfo)===null||_fetchProductInfoQuer117===void 0?void 0:_fetchProductInfoQuer117.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar))),sectionproperties.cartbtnalone=='Alone'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer118=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.productinfo)===null||_fetchProductInfoQuer118===void 0?void 0:_fetchProductInfoQuer118.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer119;window.open('tel:'+((_fetchProductInfoQuer119=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer119===void 0?void 0:_fetchProductInfoQuer119.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer120=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.productinfo)===null||_fetchProductInfoQuer120===void 0?void 0:_fetchProductInfoQuer120.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer121=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.productinfo)===null||_fetchProductInfoQuer121===void 0?void 0:_fetchProductInfoQuer121.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),productpdfsarray.length!=0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&&sectionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer122=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.productinfo)===null||_fetchProductInfoQuer122===void 0?void 0:_fetchProductInfoQuer122.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){addtocartfunc('forcetocheckout');},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))),sectionproperties.storeinfoposition=='Below Information'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition!='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer123=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.productinfo)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.productfeatures)===null||_fetchProductInfoQuer123===void 0?void 0:_fetchProductInfoQuer123.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer124=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.productinfo)===null||_fetchProductInfoQuer124===void 0?void 0:_fetchProductInfoQuer124.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer125=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.productinfo)===null||_fetchProductInfoQuer125===void 0?void 0:_fetchProductInfoQuer125.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer126=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.productinfo)===null||_fetchProductInfoQuer126===void 0?void 0:_fetchProductInfoQuer126.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer127=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.productinfo)===null||_fetchProductInfoQuer127===void 0?void 0:_fetchProductInfoQuer127.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer128=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.productinfo)===null||_fetchProductInfoQuer128===void 0?void 0:_fetchProductInfoQuer128.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3'},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(FiBox$1.FiBox,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj9=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj9===void 0?void 0:_returnpolicyobj9.policypagename_en:(_returnpolicyobj0=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj0===void 0?void 0:_returnpolicyobj0.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj1=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj1===void 0?void 0:_returnpolicyobj1.policysummary_en:(_returnpolicyobj10=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj10===void 0?void 0:_returnpolicyobj10.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(RiArrowGoBackLine.RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj11=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj11===void 0?void 0:_returnpolicyobj11.policypagename_en:(_returnpolicyobj12=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj12===void 0?void 0:_returnpolicyobj12.policypagename_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj13=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj13===void 0?void 0:_returnpolicyobj13.policysummary_en:(_returnpolicyobj14=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj14===void 0?void 0:_returnpolicyobj14.policysummary_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
3870
+ ,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}}))),productimagesarray.length!=0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"w-100 d-none d-md-block"},/*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"],{items:productimagesarray,thumbnailPosition:'bottom',showNav:false,showPlayButton:false,showFullscreenButton:sectionproperties.showgalleryfullscreenbtn=='Yes'?true:false,startIndex:currentshowingimageindex,showThumbnails:sectionproperties.showthumbnail=='Hide'?false:true,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},onClick:function onClick(){}})))),/*#__PURE__*/React__default["default"].createElement("div",{className:'col-xl-4 col-lg-6 col-md-12 col-sm-12 pl-4 px-md-2'},/*#__PURE__*/React__default["default"].createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.quantityshow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.quantityfontsize,color:sectionproperties.quantitycolor,fontWeight:sectionproperties.quantityfontweight}},langdetect=='en'?sectionproperties.qtytextinen:sectionproperties.qtytextinar,":",' ',fetchProductInfoQueryContext.data.data.productinfo.currentquantity)),/*#__PURE__*/React__default["default"].createElement("div",{className:(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer81=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.productinfo)===null||_fetchProductInfoQuer81===void 0?void 0:_fetchProductInfoQuer81.productcanrate)==1?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.btnposition=='Top'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer82=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.productinfo)===null||_fetchProductInfoQuer82===void 0?void 0:_fetchProductInfoQuer82.productcanrate)==1&&sectionproperties.showrating=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},/*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"],{count:5,value:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer83=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer83===void 0||(_fetchProductInfoQuer83=_fetchProductInfoQuer83.data)===null||_fetchProductInfoQuer83===void 0||(_fetchProductInfoQuer83=_fetchProductInfoQuer83.productinfo)===null||_fetchProductInfoQuer83===void 0?void 0:_fetchProductInfoQuer83.productoverallrate,edit:false,size:18,emptyIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"far fa-star",style:{color:'#FAB400'}}),halfIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star-half-alt style={{ color: '#FAB400' }}"}),filledIcon:/*#__PURE__*/React__default["default"].createElement("i",{className:"fa fa-star",style:{color:'#FAB400'}}),activeColor:"#ffd700"})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},sectionproperties.availabilitybtnposition=='Top'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer84=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer84===void 0||(_fetchProductInfoQuer84=_fetchProductInfoQuer84.data)===null||_fetchProductInfoQuer84===void 0||(_fetchProductInfoQuer84=_fetchProductInfoQuer84.productinfo)===null||_fetchProductInfoQuer84===void 0?void 0:_fetchProductInfoQuer84.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3 mx-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity))),sectionproperties.btnposition=='Top'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Top'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":'col-lg-12 p-0 my-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},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||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.productfeatures)===null||_fetchProductInfoQuer85===void 0?void 0:_fetchProductInfoQuer85.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showshortdescription=='Show'&&sectionproperties.descriptionposition=='Under Name'&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor}},ShortDescriptionTitle())),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?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.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer87=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.productinfo)===null||_fetchProductInfoQuer87===void 0?void 0:_fetchProductInfoQuer87.short_description_ar}})))),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Name'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.featurestitlecolor,fontSize:sectionproperties.featurestitlefontsize+'px',fontWeight:600}},langdetect=='en'?sectionproperties.featurestitleen:sectionproperties.featurestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 m-0 w-100 p-0"},/*#__PURE__*/React__default["default"].createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer88=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.productinfo)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.productfeatures)===null||_fetchProductInfoQuer88===void 0?void 0:_fetchProductInfoQuer88.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("tr",null,/*#__PURE__*/React__default["default"].createElement("th",{style:{textTransform:'capitalize',// color: '#000',
3871
+ color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 d-flex align-items-center"},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))))),sectionproperties.defaultpricingposition=='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer89=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.productinfo)===null||_fetchProductInfoQuer89===void 0?void 0:_fetchProductInfoQuer89.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition=='Under Pricing'&&sectionproperties.featurestyle=='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer90=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.productinfo)===null||_fetchProductInfoQuer90===void 0?void 0:_fetchProductInfoQuer90.short_description_en)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer91=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.productinfo)===null||_fetchProductInfoQuer91===void 0?void 0:_fetchProductInfoQuer91.short_description_en}}))),langdetect=='ar'&&sectionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer92=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.productinfo)===null||_fetchProductInfoQuer92===void 0?void 0:_fetchProductInfoQuer92.short_description_ar)!=null&&sectionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer93=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.productinfo)===null||_fetchProductInfoQuer93===void 0?void 0:_fetchProductInfoQuer93.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer94=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.productinfo)===null||_fetchProductInfoQuer94===void 0?void 0:_fetchProductInfoQuer94.vendorinfo)!=null&&sectionproperties.showvendor=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:'#000',cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':''},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer95;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer95=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.productinfo)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.vendorinfo)===null||_fetchProductInfoQuer95===void 0?void 0:_fetchProductInfoQuer95.vendorid]})));}}},langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,":",' ',/*#__PURE__*/React__default["default"].createElement("span",{style:{fontWeight:600}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer96=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.productinfo)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.vendorinfo)===null||_fetchProductInfoQuer96===void 0?void 0:_fetchProductInfoQuer96.vendorname))),sectionproperties.showSKU=='Show'&&sectionproperties.skuposition=='Bottom'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer97=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.productinfo)===null||_fetchProductInfoQuer97===void 0?void 0:_fetchProductInfoQuer97.deliverydatetext)!=null?'col-lg-12 p-0 mb-2 d-flex justify-content-start':'col-lg-12 p-0 mb-3 d-flex justify-content-start'},ProductsSKUContainer()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer98=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.productinfo)===null||_fetchProductInfoQuer98===void 0?void 0:_fetchProductInfoQuer98.currentquantity)<1&&sectionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer99=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.productinfo)===null||_fetchProductInfoQuer99===void 0?void 0:_fetchProductInfoQuer99.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer100=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.productinfo)===null||_fetchProductInfoQuer100===void 0?void 0:_fetchProductInfoQuer100.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer101=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.productinfo)===null||_fetchProductInfoQuer101===void 0?void 0:_fetchProductInfoQuer101.deliverydatetext)!=null&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React__default["default"].createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer102=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.productinfo)===null||_fetchProductInfoQuer102===void 0?void 0:_fetchProductInfoQuer102.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer103=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.productinfo)===null||_fetchProductInfoQuer103===void 0?void 0:_fetchProductInfoQuer103.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.descriptionposition!='Under Name'&&sectionproperties.descriptionposition=='Top'&&sectionproperties.descriptionstyle=='Style 1'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-2 "},/*#__PURE__*/React__default["default"].createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor,fontWeight:700,fontSize:17}},langdetect=='en'?'Description':'التفاصيل')),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),/*#__PURE__*/React__default["default"].createElement(Variantoptions,{actions:props.actions}),/*#__PURE__*/React__default["default"].createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React__default["default"].createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&&sectionproperties.prodCatShow=='Show'&&sectionproperties.descriptionposition!='Top'&&/*#__PURE__*/React__default["default"].createElement(DescriptionContent,{actions:props.actions}),sectionproperties.quantitybtn_show=='Show'&&sectionproperties.cartBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React__default["default"].createElement("hr",{className:"mb-0 mt-2"})),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3",style:{display:sectionproperties.quantitybtn_show=='Hide'&&sectionproperties.cartBtnShow=='Hide'?'none':'flex'}},/*#__PURE__*/React__default["default"].createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer104=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.productinfo)===null||_fetchProductInfoQuer104===void 0?void 0:_fetchProductInfoQuer104.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer105=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.productinfo)===null||_fetchProductInfoQuer105===void 0?void 0:_fetchProductInfoQuer105.isproducthasquantitychange)==1&&sectionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer106=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.productinfo)===null||_fetchProductInfoQuer106===void 0?void 0:_fetchProductInfoQuer106.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer107=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.productinfo)===null||_fetchProductInfoQuer107===void 0?void 0:_fetchProductInfoQuer107.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition=='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},ProductFeaturesArray()),sectionproperties.cartbtnalone=='Besides Other Buttons'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer108=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.productinfo)===null||_fetchProductInfoQuer108===void 0?void 0:_fetchProductInfoQuer108.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer109;window.open('tel:'+((_fetchProductInfoQuer109=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer109===void 0?void 0:_fetchProductInfoQuer109.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer110=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.productinfo)===null||_fetchProductInfoQuer110===void 0?void 0:_fetchProductInfoQuer110.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer111=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer111===void 0||(_fetchProductInfoQuer111=_fetchProductInfoQuer111.data)===null||_fetchProductInfoQuer111===void 0||(_fetchProductInfoQuer111=_fetchProductInfoQuer111.productinfo)===null||_fetchProductInfoQuer111===void 0?void 0:_fetchProductInfoQuer111.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&&sectionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar))),sectionproperties.cartbtnalone=='Alone'&&sectionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer112=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.productinfo)===null||_fetchProductInfoQuer112===void 0?void 0:_fetchProductInfoQuer112.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer113;window.open('tel:'+((_fetchProductInfoQuer113=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer113===void 0?void 0:_fetchProductInfoQuer113.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer114=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.productinfo)===null||_fetchProductInfoQuer114===void 0?void 0:_fetchProductInfoQuer114.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer115=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer115===void 0||(_fetchProductInfoQuer115=_fetchProductInfoQuer115.data)===null||_fetchProductInfoQuer115===void 0||(_fetchProductInfoQuer115=_fetchProductInfoQuer115.productinfo)===null||_fetchProductInfoQuer115===void 0?void 0:_fetchProductInfoQuer115.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&&sectionproperties.favBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React__default["default"].createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),productpdfsarray.length!=0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&&sectionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer116=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.productinfo)===null||_fetchProductInfoQuer116===void 0?void 0:_fetchProductInfoQuer116.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){addtocartfunc('forcetocheckout');},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))),sectionproperties.storeinfoposition=='Below Information'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.showfeatures=='Show'&&sectionproperties.featuresposition!='Under Name'&&sectionproperties.featuresposition!='Under Description'&&sectionproperties.featurestyle!='Table'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer117=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.productinfo)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.productfeatures)===null||_fetchProductInfoQuer117===void 0?void 0:_fetchProductInfoQuer117.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer118=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.productinfo)===null||_fetchProductInfoQuer118===void 0?void 0:_fetchProductInfoQuer118.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer119=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.productinfo)===null||_fetchProductInfoQuer119===void 0?void 0:_fetchProductInfoQuer119.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer120=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.productinfo)===null||_fetchProductInfoQuer120===void 0?void 0:_fetchProductInfoQuer120.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer121=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.productinfo)===null||_fetchProductInfoQuer121===void 0?void 0:_fetchProductInfoQuer121.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer122=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.productinfo)===null||_fetchProductInfoQuer122===void 0?void 0:_fetchProductInfoQuer122.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3'},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(FiBox$1.FiBox,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj9=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj9===void 0?void 0:_returnpolicyobj9.policypagename_en:(_returnpolicyobj0=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj0===void 0?void 0:_returnpolicyobj0.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj1=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj1===void 0?void 0:_returnpolicyobj1.policysummary_en:(_returnpolicyobj10=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj10===void 0?void 0:_returnpolicyobj10.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React__default["default"].createElement(RiArrowGoBackLine.RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj11=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj11===void 0?void 0:_returnpolicyobj11.policypagename_en:(_returnpolicyobj12=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj12===void 0?void 0:_returnpolicyobj12.policypagename_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj13=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj13===void 0?void 0:_returnpolicyobj13.policysummary_en:(_returnpolicyobj14=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj14===void 0?void 0:_returnpolicyobj14.policysummary_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&sectionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React__default["default"].createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
3853
3872
  // srcfromprops={'collapsepinfo'}
3854
- })))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer129=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.data)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.productinfo)===null||_fetchProductInfoQuer129===void 0?void 0:_fetchProductInfoQuer129.isproducttobesold)==1&&sectionproperties.showtotalsection=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100 d-flex flex-row"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.total_color,fontSize:sectionproperties.total_fontsize+'px',fontWeight:sectionproperties.total_fontweight,textTransform:sectionproperties.total_texttransform}},lang.total,":"),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak d-flex align-items-center justify-content-end',style:{fontSize:sectionproperties.prodpriceFontSize+'px',fontWeight:sectionproperties.prodPriceFontWeight,color:sectionproperties.prodPriceColor}},/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right ':' d-flex align-items-center justify-content-end wordbreak text-left '},langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer130=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.data)===null||_fetchProductInfoQuer130===void 0?void 0:_fetchProductInfoQuer130.currencyname_en:'',' ',variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer131=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.data)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.productinfo)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.variants[variantindexcompleted])===null||_fetchProductInfoQuer131===void 0?void 0:_fetchProductInfoQuer131.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer132=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.productinfo)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.variants[variantindexcompleted])===null||_fetchProductInfoQuer132===void 0?void 0:_fetchProductInfoQuer132.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer133=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.data)===null||_fetchProductInfoQuer133===void 0?void 0:_fetchProductInfoQuer133.currencyname_ar)),/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 linethrough wordbreak',style:{color:sectionproperties.prodsalePriceColor,fontSize:sectionproperties.prodsalepriceFontSize+'px',fontWeight:sectionproperties.prodsalePriceFontWeight}},fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&variantindexcompleted!=undefined&&variantindexcompleted.length==0&&/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer134=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer134===void 0||(_fetchProductInfoQuer134=_fetchProductInfoQuer134.data)===null||_fetchProductInfoQuer134===void 0?void 0:_fetchProductInfoQuer134.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer135=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer135===void 0||(_fetchProductInfoQuer135=_fetchProductInfoQuer135.data)===null||_fetchProductInfoQuer135===void 0?void 0:_fetchProductInfoQuer135.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer136=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.productinfo)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.variants[variantindexcompleted])===null||_fetchProductInfoQuer136===void 0?void 0:_fetchProductInfoQuer136.hassale)==1&&/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer137=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.data)===null||_fetchProductInfoQuer137===void 0?void 0:_fetchProductInfoQuer137.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer138=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.data)===null||_fetchProductInfoQuer138===void 0?void 0:_fetchProductInfoQuer138.currencyname_ar))))),sectionproperties.availabilitybtnposition=='Bottom'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer139=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.productinfo)===null||_fetchProductInfoQuer139===void 0?void 0:_fetchProductInfoQuer139.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))))),sectionproperties.storeinfoposition=='On The Right'&&/*#__PURE__*/React__default["default"].createElement("div",{className:langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',style:{borderLeft:langdetect=='en'?'1px solid #eee':0,borderRight:langdetect=='ar'?'1px solid #eee':0,display:sectionproperties.showfooterphonenumber=='Hide'&&sectionproperties.showfooteremail=='Hide'&&sectionproperties.showstoreinfo2=='Hide'&&sectionproperties.showstoreinfo1=='Hide'?'none':'block'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100",style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0}},StoreInfoprops(),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer140=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.productinfo)===null||_fetchProductInfoQuer140===void 0?void 0:_fetchProductInfoQuer140.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 allcentered mb-2 p-sm-0 mt-2"},/*#__PURE__*/React__default["default"].createElement("button",{"class":productinfo_cssstyles.sizeguidebtn,style:{width:'100%',height:50,border:'1px solid '+sectionproperties.footerinfotext_color,borderRadius:sectionproperties.storeinfobtnborderradius+'px',textDecoration:'none',fontSize:18,fontWeight:600},onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 allcentered mt-2"},ShareButtonsContainer())))))),Object.keys(sectionproperties).length!=0&&sectionproperties.productInformationType=='Portfolio'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i37=authdetailsContext.instinfo)===null||_authdetailsContext$i37===void 0?void 0:_authdetailsContext$i37.contactinfo.instid)!='678d1831ef638'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i38=authdetailsContext.instinfo)===null||_authdetailsContext$i38===void 0?void 0:_authdetailsContext$i38.contactinfo.instid)!='6911f91dc52ac'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i39=authdetailsContext.instinfo)===null||_authdetailsContext$i39===void 0?void 0:_authdetailsContext$i39.contactinfo.instid)!='680a0b8a31930'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 ',style:{minHeight:sectionproperties.height+'vh',paddingLeft:sectionproperties.productInformationType=='Portfolio'?0:'',paddingRight:sectionproperties.productInformationType=='Portfolio'?0:''}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 allcentered p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("div",{className:"h-100",style:{width:sectionproperties.image_width+'%'}},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-'+sectionproperties.imagetr_w+',h-'+sectionproperties.imagetr_h+'/'+(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer141=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.data)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.productinfo)===null||_fetchProductInfoQuer141===void 0?void 0:_fetchProductInfoQuer141.productmainimage),style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"}))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"px-md-3 px-1025-1 col-12",style:{paddingRight:langdetect=='en'?sectionproperties.paddingRight+'px':sectionproperties.paddingLeft+'px',paddingLeft:langdetect=='en'?sectionproperties.paddingLeft+'px':sectionproperties.paddingRight+'px'}},sectionproperties.showmeasurementunit=='Show'&&MeasurementUnitSection(),/*#__PURE__*/React__default["default"].createElement("div",{className:'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer142=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer142===void 0||(_fetchProductInfoQuer142=_fetchProductInfoQuer142.data)===null||_fetchProductInfoQuer142===void 0||(_fetchProductInfoQuer142=_fetchProductInfoQuer142.productinfo)===null||_fetchProductInfoQuer142===void 0?void 0:_fetchProductInfoQuer142.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer143=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer143===void 0||(_fetchProductInfoQuer143=_fetchProductInfoQuer143.data)===null||_fetchProductInfoQuer143===void 0||(_fetchProductInfoQuer143=_fetchProductInfoQuer143.productinfo)===null||_fetchProductInfoQuer143===void 0?void 0:_fetchProductInfoQuer143.short_description_ar}})))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer144=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer144===void 0||(_fetchProductInfoQuer144=_fetchProductInfoQuer144.data)===null||_fetchProductInfoQuer144===void 0||(_fetchProductInfoQuer144=_fetchProductInfoQuer144.productinfo)===null||_fetchProductInfoQuer144===void 0||(_fetchProductInfoQuer144=_fetchProductInfoQuer144.productfeatures)===null||_fetchProductInfoQuer144===void 0?void 0:_fetchProductInfoQuer144.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-6 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-4"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer145=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer145===void 0||(_fetchProductInfoQuer145=_fetchProductInfoQuer145.data)===null||_fetchProductInfoQuer145===void 0||(_fetchProductInfoQuer145=_fetchProductInfoQuer145.productinfo)===null||_fetchProductInfoQuer145===void 0||(_fetchProductInfoQuer145=_fetchProductInfoQuer145.productimages)===null||_fetchProductInfoQuer145===void 0?void 0:_fetchProductInfoQuer145.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer146=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer146===void 0||(_fetchProductInfoQuer146=_fetchProductInfoQuer146.data)===null||_fetchProductInfoQuer146===void 0||(_fetchProductInfoQuer146=_fetchProductInfoQuer146.productinfo)===null||_fetchProductInfoQuer146===void 0?void 0:_fetchProductInfoQuer146.productimages.map(function(item,index){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-4 col-sm-12 mb-md-2 p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":' w-100 h-100',style:{}},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-500,h-500/'+item.path,style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"})));})))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-5"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer147=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer147===void 0||(_fetchProductInfoQuer147=_fetchProductInfoQuer147.data)===null||_fetchProductInfoQuer147===void 0||(_fetchProductInfoQuer147=_fetchProductInfoQuer147.productinfo)===null||_fetchProductInfoQuer147===void 0?void 0:_fetchProductInfoQuer147.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer148=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer148===void 0||(_fetchProductInfoQuer148=_fetchProductInfoQuer148.data)===null||_fetchProductInfoQuer148===void 0||(_fetchProductInfoQuer148=_fetchProductInfoQuer148.productinfo)===null||_fetchProductInfoQuer148===void 0?void 0:_fetchProductInfoQuer148.description_ar}}))))),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i40=authdetailsContext.instinfo)===null||_authdetailsContext$i40===void 0?void 0:_authdetailsContext$i40.contactinfo.instid)=='6911f91dc52ac'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',style:{minHeight:'100vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'// style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
3873
+ })))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer123=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.productinfo)===null||_fetchProductInfoQuer123===void 0?void 0:_fetchProductInfoQuer123.isproducttobesold)==1&&sectionproperties.showtotalsection=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100 d-flex flex-row"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.total_color,fontSize:sectionproperties.total_fontsize+'px',fontWeight:sectionproperties.total_fontweight,textTransform:sectionproperties.total_texttransform}},lang.total,":"),/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak d-flex align-items-center justify-content-end',style:{fontSize:sectionproperties.prodpriceFontSize+'px',fontWeight:sectionproperties.prodPriceFontWeight,color:sectionproperties.prodPriceColor}},/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right ':' d-flex align-items-center justify-content-end wordbreak text-left '},langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer124=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.data)===null||_fetchProductInfoQuer124===void 0?void 0:_fetchProductInfoQuer124.currencyname_en:'',' ',variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer125=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.productinfo)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.variants[variantindexcompleted])===null||_fetchProductInfoQuer125===void 0?void 0:_fetchProductInfoQuer125.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer126=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.productinfo)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.variants[variantindexcompleted])===null||_fetchProductInfoQuer126===void 0?void 0:_fetchProductInfoQuer126.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer127=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.data)===null||_fetchProductInfoQuer127===void 0?void 0:_fetchProductInfoQuer127.currencyname_ar)),/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 linethrough wordbreak',style:{color:sectionproperties.prodsalePriceColor,fontSize:sectionproperties.prodsalepriceFontSize+'px',fontWeight:sectionproperties.prodsalePriceFontWeight}},fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&variantindexcompleted!=undefined&&variantindexcompleted.length==0&&/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer128=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.data)===null||_fetchProductInfoQuer128===void 0?void 0:_fetchProductInfoQuer128.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer129=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.data)===null||_fetchProductInfoQuer129===void 0?void 0:_fetchProductInfoQuer129.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer130=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.productinfo)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.variants[variantindexcompleted])===null||_fetchProductInfoQuer130===void 0?void 0:_fetchProductInfoQuer130.hassale)==1&&/*#__PURE__*/React__default["default"].createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer131=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.data)===null||_fetchProductInfoQuer131===void 0?void 0:_fetchProductInfoQuer131.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer132=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.data)===null||_fetchProductInfoQuer132===void 0?void 0:_fetchProductInfoQuer132.currencyname_ar))))),sectionproperties.availabilitybtnposition=='Bottom'&&sectionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer133=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.productinfo)===null||_fetchProductInfoQuer133===void 0?void 0:_fetchProductInfoQuer133.isproducttobesold)==1&&/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React__default["default"].createElement("span",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React__default["default"].createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))))),sectionproperties.storeinfoposition=='On The Right'&&/*#__PURE__*/React__default["default"].createElement("div",{className:langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',style:{borderLeft:langdetect=='en'?'1px solid #eee':0,borderRight:langdetect=='ar'?'1px solid #eee':0,display:sectionproperties.showfooterphonenumber=='Hide'&&sectionproperties.showfooteremail=='Hide'&&sectionproperties.showstoreinfo2=='Hide'&&sectionproperties.showstoreinfo1=='Hide'?'none':'block'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100",style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0}},StoreInfoprops(),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer134=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer134===void 0||(_fetchProductInfoQuer134=_fetchProductInfoQuer134.data)===null||_fetchProductInfoQuer134===void 0||(_fetchProductInfoQuer134=_fetchProductInfoQuer134.productinfo)===null||_fetchProductInfoQuer134===void 0?void 0:_fetchProductInfoQuer134.hasvariants)==0&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 allcentered mb-2 p-sm-0 mt-2"},/*#__PURE__*/React__default["default"].createElement("button",{"class":productinfo_cssstyles.sizeguidebtn,style:{width:'100%',height:50,border:'1px solid '+sectionproperties.footerinfotext_color,borderRadius:sectionproperties.storeinfobtnborderradius+'px',textDecoration:'none',fontSize:18,fontWeight:600},onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React__default["default"].createElement("hr",{"class":"my-3"})),sectionproperties.showShareButton=='Show'&&sectionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 allcentered mt-2"},ShareButtonsContainer())))))),Object.keys(sectionproperties).length!=0&&sectionproperties.productInformationType=='Portfolio'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i33=authdetailsContext.instinfo)===null||_authdetailsContext$i33===void 0?void 0:_authdetailsContext$i33.contactinfo.instid)!='678d1831ef638'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i34=authdetailsContext.instinfo)===null||_authdetailsContext$i34===void 0?void 0:_authdetailsContext$i34.contactinfo.instid)!='6911f91dc52ac'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i35=authdetailsContext.instinfo)===null||_authdetailsContext$i35===void 0?void 0:_authdetailsContext$i35.contactinfo.instid)!='680a0b8a31930'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 ',style:{minHeight:sectionproperties.height+'vh',paddingLeft:sectionproperties.productInformationType=='Portfolio'?0:'',paddingRight:sectionproperties.productInformationType=='Portfolio'?0:''}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 allcentered p-0 mb-2"},/*#__PURE__*/React__default["default"].createElement("div",{className:"h-100",style:{width:sectionproperties.image_width+'%'}},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-'+sectionproperties.imagetr_w+',h-'+sectionproperties.imagetr_h+'/'+(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer135=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer135===void 0||(_fetchProductInfoQuer135=_fetchProductInfoQuer135.data)===null||_fetchProductInfoQuer135===void 0||(_fetchProductInfoQuer135=_fetchProductInfoQuer135.productinfo)===null||_fetchProductInfoQuer135===void 0?void 0:_fetchProductInfoQuer135.productmainimage),style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"}))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"px-md-3 px-1025-1 col-12",style:{paddingRight:langdetect=='en'?sectionproperties.paddingRight+'px':sectionproperties.paddingLeft+'px',paddingLeft:langdetect=='en'?sectionproperties.paddingLeft+'px':sectionproperties.paddingRight+'px'}},sectionproperties.showmeasurementunit=='Show'&&MeasurementUnitSection(),/*#__PURE__*/React__default["default"].createElement("div",{className:'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 mt-3"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer136=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.productinfo)===null||_fetchProductInfoQuer136===void 0?void 0:_fetchProductInfoQuer136.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer137=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.productinfo)===null||_fetchProductInfoQuer137===void 0?void 0:_fetchProductInfoQuer137.short_description_ar}})))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer138=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.data)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.productinfo)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.productfeatures)===null||_fetchProductInfoQuer138===void 0?void 0:_fetchProductInfoQuer138.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-6 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-4"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer139=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.productinfo)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.productimages)===null||_fetchProductInfoQuer139===void 0?void 0:_fetchProductInfoQuer139.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer140=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.productinfo)===null||_fetchProductInfoQuer140===void 0?void 0:_fetchProductInfoQuer140.productimages.map(function(item,index){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-4 col-sm-12 mb-md-2 p-md-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":' w-100 h-100',style:{}},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-500,h-500/'+item.path,style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"})));})))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 my-5"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React__default["default"].createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer141=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.data)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.productinfo)===null||_fetchProductInfoQuer141===void 0?void 0:_fetchProductInfoQuer141.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer142=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer142===void 0||(_fetchProductInfoQuer142=_fetchProductInfoQuer142.data)===null||_fetchProductInfoQuer142===void 0||(_fetchProductInfoQuer142=_fetchProductInfoQuer142.productinfo)===null||_fetchProductInfoQuer142===void 0?void 0:_fetchProductInfoQuer142.description_ar}}))))),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i36=authdetailsContext.instinfo)===null||_authdetailsContext$i36===void 0?void 0:_authdetailsContext$i36.contactinfo.instid)=='6911f91dc52ac'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',style:{minHeight:'100vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'// style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
3855
3874
  ,style:{height:'60vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":'h-sm-auto',style:{position:'relative',width:'100vw',// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
3856
- height:'60vh',overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide,_extends__default["default"]({},Slideshowsettings,{transitionDuration:1500,duration:1500,arrow:true,easing:"ease"}),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer149=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer149===void 0||(_fetchProductInfoQuer149=_fetchProductInfoQuer149.data)===null||_fetchProductInfoQuer149===void 0||(_fetchProductInfoQuer149=_fetchProductInfoQuer149.productinfo)===null||_fetchProductInfoQuer149===void 0||(_fetchProductInfoQuer149=_fetchProductInfoQuer149.productimages)===null||_fetchProductInfoQuer149===void 0?void 0:_fetchProductInfoQuer149.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer150=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer150===void 0||(_fetchProductInfoQuer150=_fetchProductInfoQuer150.data)===null||_fetchProductInfoQuer150===void 0||(_fetchProductInfoQuer150=_fetchProductInfoQuer150.productinfo)===null||_fetchProductInfoQuer150===void 0?void 0:_fetchProductInfoQuer150.productimages.map(function(item,index){if(item.is_size_guide!=1){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 h-sm-auto",style:{// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
3857
- height:'60vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":'p-0 align-items-center d-flex',key:index,style:_defineProperty__default["default"]({direction:langdetect=='en'?'ltr':'rtl',width:'100%',height:'100%'},"height",'60vh')},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-2000,h-700/'+item.path,style:{objectFit:sectionproperties.bgcovercontain=='Contain'?'contain':'cover',margin:0,padding:0,width:'100%',height:'100%'}})));}}))))))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 px-5 mt-3 px-md-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-9"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 "},sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:"".concat(productinfo_cssstyles.productname)+' m-0 p-0 wordbreak d-flex font-sm-15 ',style:{textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?fetchProductInfoQueryContext.data.data.productinfo.name_en:fetchProductInfoQueryContext.data.data.productinfo.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start mb-4"},/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start mb-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer151=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer151===void 0||(_fetchProductInfoQuer151=_fetchProductInfoQuer151.data)===null||_fetchProductInfoQuer151===void 0||(_fetchProductInfoQuer151=_fetchProductInfoQuer151.productinfo)===null||_fetchProductInfoQuer151===void 0?void 0:_fetchProductInfoQuer151.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer152=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer152===void 0||(_fetchProductInfoQuer152=_fetchProductInfoQuer152.data)===null||_fetchProductInfoQuer152===void 0||(_fetchProductInfoQuer152=_fetchProductInfoQuer152.productinfo)===null||_fetchProductInfoQuer152===void 0?void 0:_fetchProductInfoQuer152.description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-0 mb-4"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:0},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor,size:20}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor,size:20}));}}),/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 mx-4",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:500,// fontWeight: sectionproperties.prodCatFontWeight,
3875
+ height:'60vh',overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide,_extends__default["default"]({},Slideshowsettings,{transitionDuration:1500,duration:1500,arrow:true,easing:"ease"}),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer143=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer143===void 0||(_fetchProductInfoQuer143=_fetchProductInfoQuer143.data)===null||_fetchProductInfoQuer143===void 0||(_fetchProductInfoQuer143=_fetchProductInfoQuer143.productinfo)===null||_fetchProductInfoQuer143===void 0||(_fetchProductInfoQuer143=_fetchProductInfoQuer143.productimages)===null||_fetchProductInfoQuer143===void 0?void 0:_fetchProductInfoQuer143.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer144=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer144===void 0||(_fetchProductInfoQuer144=_fetchProductInfoQuer144.data)===null||_fetchProductInfoQuer144===void 0||(_fetchProductInfoQuer144=_fetchProductInfoQuer144.productinfo)===null||_fetchProductInfoQuer144===void 0?void 0:_fetchProductInfoQuer144.productimages.map(function(item,index){if(item.is_size_guide!=1){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 h-sm-auto",style:{// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
3876
+ height:'60vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":'p-0 align-items-center d-flex',key:index,style:_defineProperty__default["default"]({direction:langdetect=='en'?'ltr':'rtl',width:'100%',height:'100%'},"height",'60vh')},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-2000,h-700/'+item.path,style:{objectFit:sectionproperties.bgcovercontain=='Contain'?'contain':'cover',margin:0,padding:0,width:'100%',height:'100%'}})));}}))))))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 px-5 mt-3 px-md-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-9"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 "},sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:"".concat(productinfo_cssstyles.productname)+' m-0 p-0 wordbreak d-flex font-sm-15 ',style:{textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?fetchProductInfoQueryContext.data.data.productinfo.name_en:fetchProductInfoQueryContext.data.data.productinfo.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start mb-4"},/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start mb-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer145=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer145===void 0||(_fetchProductInfoQuer145=_fetchProductInfoQuer145.data)===null||_fetchProductInfoQuer145===void 0||(_fetchProductInfoQuer145=_fetchProductInfoQuer145.productinfo)===null||_fetchProductInfoQuer145===void 0?void 0:_fetchProductInfoQuer145.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer146=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer146===void 0||(_fetchProductInfoQuer146=_fetchProductInfoQuer146.data)===null||_fetchProductInfoQuer146===void 0||(_fetchProductInfoQuer146=_fetchProductInfoQuer146.productinfo)===null||_fetchProductInfoQuer146===void 0?void 0:_fetchProductInfoQuer146.description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-0 mb-4"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:0},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor,size:20}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor,size:20}));}}),/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 mx-4",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:500,// fontWeight: sectionproperties.prodCatFontWeight,
3858
3877
  color:sectionproperties.prodCatColor,// fontSize: sectionproperties.prodCatFontSize + 'px',
3859
- fontSize:'24px'}},langdetect=='en'?'Facilities':'Facilities')))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 pl-3 pr-3 mt-3"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer153=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer153===void 0||(_fetchProductInfoQuer153=_fetchProductInfoQuer153.data)===null||_fetchProductInfoQuer153===void 0||(_fetchProductInfoQuer153=_fetchProductInfoQuer153.productinfo)===null||_fetchProductInfoQuer153===void 0||(_fetchProductInfoQuer153=_fetchProductInfoQuer153.productfeatures)===null||_fetchProductInfoQuer153===void 0?void 0:_fetchProductInfoQuer153.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'30px'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:17// fontSize: sectionproperties.featurefontsize,
3878
+ fontSize:'24px'}},langdetect=='en'?'Facilities':'Facilities')))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 pl-3 pr-3 mt-3"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer147=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer147===void 0||(_fetchProductInfoQuer147=_fetchProductInfoQuer147.data)===null||_fetchProductInfoQuer147===void 0||(_fetchProductInfoQuer147=_fetchProductInfoQuer147.productinfo)===null||_fetchProductInfoQuer147===void 0||(_fetchProductInfoQuer147=_fetchProductInfoQuer147.productfeatures)===null||_fetchProductInfoQuer147===void 0?void 0:_fetchProductInfoQuer147.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'30px'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:17// fontSize: sectionproperties.featurefontsize,
3860
3879
  }},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),fitem.type!='Checkbox'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))))))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-0 mb-4"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:0},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor,size:20}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor,size:20}));}}),/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 mx-4",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:500,// fontWeight: sectionproperties.prodCatFontWeight,
3861
3880
  color:sectionproperties.prodCatColor,// fontSize: sectionproperties.prodCatFontSize + 'px',
3862
- fontSize:'24px'}},langdetect=='en'?'Developer':'Developer')))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 px-2 mt-3 d-flex flex-row",style:{color:'#000'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-2 col-md-12 mb-md-3"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'100px',borderRadius:100,border:'1px solid #ccc'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer154=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer154===void 0||(_fetchProductInfoQuer154=_fetchProductInfoQuer154.data)===null||_fetchProductInfoQuer154===void 0||(_fetchProductInfoQuer154=_fetchProductInfoQuer154.productinfo)===null||_fetchProductInfoQuer154===void 0||(_fetchProductInfoQuer154=_fetchProductInfoQuer154.vendorinfo)===null||_fetchProductInfoQuer154===void 0?void 0:_fetchProductInfoQuer154.vendorlogourl,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%',borderRadius:100}}))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-10 col-md-12"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:17,color:sectionproperties.featurecolor}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer155=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer155===void 0||(_fetchProductInfoQuer155=_fetchProductInfoQuer155.data)===null||_fetchProductInfoQuer155===void 0||(_fetchProductInfoQuer155=_fetchProductInfoQuer155.productinfo)===null||_fetchProductInfoQuer155===void 0||(_fetchProductInfoQuer155=_fetchProductInfoQuer155.vendorinfo)===null||_fetchProductInfoQuer155===void 0?void 0:_fetchProductInfoQuer155.address)))))))))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-3"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 text-end text-md-center mb-5 mb-md-4"},/*#__PURE__*/React__default["default"].createElement("button",{className:' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',onClick:function onClick(){var _fetchProductInfoQuer156;window.open('tel:'+((_fetchProductInfoQuer156=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer156===void 0?void 0:_fetchProductInfoQuer156.product_phonenumber),'_blank');},style:{width:'40%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#005495'}},/*#__PURE__*/React__default["default"].createElement(IoCall.IoCall,{size:16}),/*#__PURE__*/React__default["default"].createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"Call Us")),/*#__PURE__*/React__default["default"].createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'40%'},"class":"mx-md-2"},/*#__PURE__*/React__default["default"].createElement("button",{className:' d-flex align-items-center justify-content-center ',style:{width:'100%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#4cd964'}},/*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp,{size:16}),/*#__PURE__*/React__default["default"].createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"WhatsApp")))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 allcentered mb-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.sizeguidebtn2," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){setopensizeguidemodal(true);}},/*#__PURE__*/React__default["default"].createElement("p",{"class":' m-0 p-0 cursor-pointer '},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic))),sectionproperties.cartBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 allcentered p-md-0 mb-md-5"},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer157;window.open('tel:'+((_fetchProductInfoQuer157=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer157===void 0?void 0:_fetchProductInfoQuer157.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer158=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer158===void 0||(_fetchProductInfoQuer158=_fetchProductInfoQuer158.data)===null||_fetchProductInfoQuer158===void 0||(_fetchProductInfoQuer158=_fetchProductInfoQuer158.productinfo)===null||_fetchProductInfoQuer158===void 0?void 0:_fetchProductInfoQuer158.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer159=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer159===void 0||(_fetchProductInfoQuer159=_fetchProductInfoQuer159.data)===null||_fetchProductInfoQuer159===void 0||(_fetchProductInfoQuer159=_fetchProductInfoQuer159.productinfo)===null||_fetchProductInfoQuer159===void 0?void 0:_fetchProductInfoQuer159.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))))))))),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i41=authdetailsContext.instinfo)===null||_authdetailsContext$i41===void 0?void 0:_authdetailsContext$i41.contactinfo.instid)=='678d1831ef638'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',style:{minHeight:'100vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'// style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
3881
+ fontSize:'24px'}},langdetect=='en'?'Developer':'Developer')))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 px-2 mt-3 d-flex flex-row",style:{color:'#000'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-2 col-md-12 mb-md-3"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'100px',borderRadius:100,border:'1px solid #ccc'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer148=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer148===void 0||(_fetchProductInfoQuer148=_fetchProductInfoQuer148.data)===null||_fetchProductInfoQuer148===void 0||(_fetchProductInfoQuer148=_fetchProductInfoQuer148.productinfo)===null||_fetchProductInfoQuer148===void 0||(_fetchProductInfoQuer148=_fetchProductInfoQuer148.vendorinfo)===null||_fetchProductInfoQuer148===void 0?void 0:_fetchProductInfoQuer148.vendorlogourl,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%',borderRadius:100}}))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-10 col-md-12"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:17,color:sectionproperties.featurecolor}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer149=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer149===void 0||(_fetchProductInfoQuer149=_fetchProductInfoQuer149.data)===null||_fetchProductInfoQuer149===void 0||(_fetchProductInfoQuer149=_fetchProductInfoQuer149.productinfo)===null||_fetchProductInfoQuer149===void 0||(_fetchProductInfoQuer149=_fetchProductInfoQuer149.vendorinfo)===null||_fetchProductInfoQuer149===void 0?void 0:_fetchProductInfoQuer149.address)))))))))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-3"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 text-end text-md-center mb-5 mb-md-4"},/*#__PURE__*/React__default["default"].createElement("button",{className:' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',onClick:function onClick(){var _fetchProductInfoQuer150;window.open('tel:'+((_fetchProductInfoQuer150=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer150===void 0?void 0:_fetchProductInfoQuer150.product_phonenumber),'_blank');},style:{width:'40%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#005495'}},/*#__PURE__*/React__default["default"].createElement(IoCall.IoCall,{size:16}),/*#__PURE__*/React__default["default"].createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"Call Us")),/*#__PURE__*/React__default["default"].createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'40%'},"class":"mx-md-2"},/*#__PURE__*/React__default["default"].createElement("button",{className:' d-flex align-items-center justify-content-center ',style:{width:'100%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#4cd964'}},/*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp,{size:16}),/*#__PURE__*/React__default["default"].createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"WhatsApp")))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 allcentered mb-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.sizeguidebtn2," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){setopensizeguidemodal(true);}},/*#__PURE__*/React__default["default"].createElement("p",{"class":' m-0 p-0 cursor-pointer '},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic))),sectionproperties.cartBtnShow=='Show'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 allcentered p-md-0 mb-md-5"},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer151;window.open('tel:'+((_fetchProductInfoQuer151=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer151===void 0?void 0:_fetchProductInfoQuer151.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer152=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer152===void 0||(_fetchProductInfoQuer152=_fetchProductInfoQuer152.data)===null||_fetchProductInfoQuer152===void 0||(_fetchProductInfoQuer152=_fetchProductInfoQuer152.productinfo)===null||_fetchProductInfoQuer152===void 0?void 0:_fetchProductInfoQuer152.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer153=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer153===void 0||(_fetchProductInfoQuer153=_fetchProductInfoQuer153.data)===null||_fetchProductInfoQuer153===void 0||(_fetchProductInfoQuer153=_fetchProductInfoQuer153.productinfo)===null||_fetchProductInfoQuer153===void 0?void 0:_fetchProductInfoQuer153.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))))))))),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i37=authdetailsContext.instinfo)===null||_authdetailsContext$i37===void 0?void 0:_authdetailsContext$i37.contactinfo.instid)=='678d1831ef638'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',style:{minHeight:'100vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 mb-3"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'// style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
3863
3882
  ,style:{height:'60vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":'h-sm-auto',style:{position:'relative',width:'100vw',// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
3864
- height:'60vh',overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide,_extends__default["default"]({},Slideshowsettings,{transitionDuration:1500,duration:1500,arrow:true,easing:"ease"}),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer160=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer160===void 0||(_fetchProductInfoQuer160=_fetchProductInfoQuer160.data)===null||_fetchProductInfoQuer160===void 0||(_fetchProductInfoQuer160=_fetchProductInfoQuer160.productinfo)===null||_fetchProductInfoQuer160===void 0||(_fetchProductInfoQuer160=_fetchProductInfoQuer160.productimages)===null||_fetchProductInfoQuer160===void 0?void 0:_fetchProductInfoQuer160.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer161=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer161===void 0||(_fetchProductInfoQuer161=_fetchProductInfoQuer161.data)===null||_fetchProductInfoQuer161===void 0||(_fetchProductInfoQuer161=_fetchProductInfoQuer161.productinfo)===null||_fetchProductInfoQuer161===void 0?void 0:_fetchProductInfoQuer161.productimages.map(function(item,index){if(item.is_size_guide!=1){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 h-sm-auto",style:{// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
3865
- height:'60vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":'p-0 align-items-center d-flex',key:index,style:_defineProperty__default["default"]({direction:langdetect=='en'?'ltr':'rtl',width:'100%',height:'100%'},"height",'60vh')},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-2000,h-700/'+item.path,style:{objectFit:sectionproperties.bgcovercontain=='Contain'?'contain':'cover',margin:0,padding:0,width:'100%',height:'100%'}})));}}))))))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 px-5 mt-3 px-md-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-9"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 "},sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:"".concat(productinfo_cssstyles.productname)+' m-0 p-0 wordbreak d-flex font-sm-15 ',style:{textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?fetchProductInfoQueryContext.data.data.productinfo.name_en:fetchProductInfoQueryContext.data.data.productinfo.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start mb-4"},/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start mb-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer162=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer162===void 0||(_fetchProductInfoQuer162=_fetchProductInfoQuer162.data)===null||_fetchProductInfoQuer162===void 0||(_fetchProductInfoQuer162=_fetchProductInfoQuer162.productinfo)===null||_fetchProductInfoQuer162===void 0?void 0:_fetchProductInfoQuer162.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer163=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer163===void 0||(_fetchProductInfoQuer163=_fetchProductInfoQuer163.data)===null||_fetchProductInfoQuer163===void 0||(_fetchProductInfoQuer163=_fetchProductInfoQuer163.productinfo)===null||_fetchProductInfoQuer163===void 0?void 0:_fetchProductInfoQuer163.description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-0 mb-4"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:0},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor,size:20}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor,size:20}));}}),/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 mx-4",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:500,// fontWeight: sectionproperties.prodCatFontWeight,
3883
+ height:'60vh',overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement(reactSlideshowImage.Slide,_extends__default["default"]({},Slideshowsettings,{transitionDuration:1500,duration:1500,arrow:true,easing:"ease"}),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer154=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer154===void 0||(_fetchProductInfoQuer154=_fetchProductInfoQuer154.data)===null||_fetchProductInfoQuer154===void 0||(_fetchProductInfoQuer154=_fetchProductInfoQuer154.productinfo)===null||_fetchProductInfoQuer154===void 0||(_fetchProductInfoQuer154=_fetchProductInfoQuer154.productimages)===null||_fetchProductInfoQuer154===void 0?void 0:_fetchProductInfoQuer154.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer155=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer155===void 0||(_fetchProductInfoQuer155=_fetchProductInfoQuer155.data)===null||_fetchProductInfoQuer155===void 0||(_fetchProductInfoQuer155=_fetchProductInfoQuer155.productinfo)===null||_fetchProductInfoQuer155===void 0?void 0:_fetchProductInfoQuer155.productimages.map(function(item,index){if(item.is_size_guide!=1){return/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 h-sm-auto",style:{// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
3884
+ height:'60vh'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":'p-0 align-items-center d-flex',key:index,style:_defineProperty__default["default"]({direction:langdetect=='en'?'ltr':'rtl',width:'100%',height:'100%'},"height",'60vh')},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-2000,h-700/'+item.path,style:{objectFit:sectionproperties.bgcovercontain=='Contain'?'contain':'cover',margin:0,padding:0,width:'100%',height:'100%'}})));}}))))))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 px-5 mt-3 px-md-2"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-9"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 "},sectionproperties.showmeasurementunit=='Show'&&sectionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start mb-2"},/*#__PURE__*/React__default["default"].createElement("p",{className:"".concat(productinfo_cssstyles.productname)+' m-0 p-0 wordbreak d-flex font-sm-15 ',style:{textAlign:langdetect=='en'?'left':'right'}},langdetect=='en'?fetchProductInfoQueryContext.data.data.productinfo.name_en:fetchProductInfoQueryContext.data.data.productinfo.name_ar)),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start mb-4"},/*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing,{actions:props.actions})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 p-0 text-start mb-4"},/*#__PURE__*/React__default["default"].createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer156=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer156===void 0||(_fetchProductInfoQuer156=_fetchProductInfoQuer156.data)===null||_fetchProductInfoQuer156===void 0||(_fetchProductInfoQuer156=_fetchProductInfoQuer156.productinfo)===null||_fetchProductInfoQuer156===void 0?void 0:_fetchProductInfoQuer156.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer157=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer157===void 0||(_fetchProductInfoQuer157=_fetchProductInfoQuer157.data)===null||_fetchProductInfoQuer157===void 0||(_fetchProductInfoQuer157=_fetchProductInfoQuer157.productinfo)===null||_fetchProductInfoQuer157===void 0?void 0:_fetchProductInfoQuer157.description_ar}})),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-0 mb-4"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:0},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor,size:20}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor,size:20}));}}),/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 mx-4",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:500,// fontWeight: sectionproperties.prodCatFontWeight,
3866
3885
  color:sectionproperties.prodCatColor,// fontSize: sectionproperties.prodCatFontSize + 'px',
3867
- fontSize:'24px'}},langdetect=='en'?'Facilities':'Facilities')))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 pl-3 pr-3 mt-3"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer164=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer164===void 0||(_fetchProductInfoQuer164=_fetchProductInfoQuer164.data)===null||_fetchProductInfoQuer164===void 0||(_fetchProductInfoQuer164=_fetchProductInfoQuer164.productinfo)===null||_fetchProductInfoQuer164===void 0||(_fetchProductInfoQuer164=_fetchProductInfoQuer164.productfeatures)===null||_fetchProductInfoQuer164===void 0?void 0:_fetchProductInfoQuer164.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'30px'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:17// fontSize: sectionproperties.featurefontsize,
3886
+ fontSize:'24px'}},langdetect=='en'?'Facilities':'Facilities')))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 pl-3 pr-3 mt-3"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer158=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer158===void 0||(_fetchProductInfoQuer158=_fetchProductInfoQuer158.data)===null||_fetchProductInfoQuer158===void 0||(_fetchProductInfoQuer158=_fetchProductInfoQuer158.productinfo)===null||_fetchProductInfoQuer158===void 0||(_fetchProductInfoQuer158=_fetchProductInfoQuer158.productfeatures)===null||_fetchProductInfoQuer158===void 0?void 0:_fetchProductInfoQuer158.map(function(fitem,findex){return/*#__PURE__*/React__default["default"].createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-uppercase p-0"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'30px'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:17// fontSize: sectionproperties.featurefontsize,
3868
3887
  }},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),fitem.type!='Checkbox'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))))))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-12 col-md-12 p-0 mb-4"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:0},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,null,/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{className:"col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus,{color:sectionproperties.prodCatColor,size:20}));}else {return/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus,{color:sectionproperties.prodCatColor,size:20}));}}),/*#__PURE__*/React__default["default"].createElement("p",{className:"m-0 p-0 mx-4",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:500,// fontWeight: sectionproperties.prodCatFontWeight,
3869
3888
  color:sectionproperties.prodCatColor,// fontSize: sectionproperties.prodCatFontSize + 'px',
3870
- fontSize:'24px'}},langdetect=='en'?'Developer':'Developer')))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 px-2 mt-3 d-flex flex-row",style:{color:'#000'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-2 col-md-12 mb-md-3"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'100px',borderRadius:100,border:'1px solid #ccc'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer165=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer165===void 0||(_fetchProductInfoQuer165=_fetchProductInfoQuer165.data)===null||_fetchProductInfoQuer165===void 0||(_fetchProductInfoQuer165=_fetchProductInfoQuer165.productinfo)===null||_fetchProductInfoQuer165===void 0||(_fetchProductInfoQuer165=_fetchProductInfoQuer165.vendorinfo)===null||_fetchProductInfoQuer165===void 0?void 0:_fetchProductInfoQuer165.vendorlogourl,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%',borderRadius:100}}))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-10 col-md-12"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:17,color:sectionproperties.featurecolor}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer166=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer166===void 0||(_fetchProductInfoQuer166=_fetchProductInfoQuer166.data)===null||_fetchProductInfoQuer166===void 0||(_fetchProductInfoQuer166=_fetchProductInfoQuer166.productinfo)===null||_fetchProductInfoQuer166===void 0||(_fetchProductInfoQuer166=_fetchProductInfoQuer166.vendorinfo)===null||_fetchProductInfoQuer166===void 0?void 0:_fetchProductInfoQuer166.address)))))))))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-3"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 text-end text-md-center mb-5 mb-md-4"},/*#__PURE__*/React__default["default"].createElement("button",{className:' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',onClick:function onClick(){var _fetchProductInfoQuer167;window.open('tel:'+((_fetchProductInfoQuer167=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer167===void 0?void 0:_fetchProductInfoQuer167.product_phonenumber),'_blank');},style:{width:'40%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#005495'}},/*#__PURE__*/React__default["default"].createElement(IoCall.IoCall,{size:16}),/*#__PURE__*/React__default["default"].createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"Call Us")),/*#__PURE__*/React__default["default"].createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'40%'},"class":"mx-md-2"},/*#__PURE__*/React__default["default"].createElement("button",{className:' d-flex align-items-center justify-content-center ',style:{width:'100%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#4cd964'}},/*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp,{size:16}),/*#__PURE__*/React__default["default"].createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"WhatsApp")))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 allcentered mb-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.sizeguidebtn2," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){setopensizeguidemodal(true);}},/*#__PURE__*/React__default["default"].createElement("p",{"class":' m-0 p-0 cursor-pointer '},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 allcentered p-md-0 mb-md-5"},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer168;window.open('tel:'+((_fetchProductInfoQuer168=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer168===void 0?void 0:_fetchProductInfoQuer168.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer169=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer169===void 0||(_fetchProductInfoQuer169=_fetchProductInfoQuer169.data)===null||_fetchProductInfoQuer169===void 0||(_fetchProductInfoQuer169=_fetchProductInfoQuer169.productinfo)===null||_fetchProductInfoQuer169===void 0?void 0:_fetchProductInfoQuer169.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer170=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer170===void 0||(_fetchProductInfoQuer170=_fetchProductInfoQuer170.data)===null||_fetchProductInfoQuer170===void 0||(_fetchProductInfoQuer170=_fetchProductInfoQuer170.productinfo)===null||_fetchProductInfoQuer170===void 0?void 0:_fetchProductInfoQuer170.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))))))))),sizeguideimage.length!=0&&/*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal,{show:opensizeguidemodal,onHide:function onHide(){setopensizeguidemodal(false);},centered:true,size:'lg'},/*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body,null,/*#__PURE__*/React__default["default"].createElement("div",{className:"allcentered cursor-pointer",onClick:function onClick(){setopensizeguidemodal(false);},style:{position:'absolute',top:10,width:35,height:35,right:10}},/*#__PURE__*/React__default["default"].createElement("i",{"class":' h-100 allcentered text-black '},/*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose,{size:25,"class":productinfo_cssstyles.closemodalbtn}))),/*#__PURE__*/React__default["default"].createElement("div",{"class":' w-100 h-100 px-4 py-5 ',style:{}},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:(_sizeguideimage$=sizeguideimage[0])===null||_sizeguideimage$===void 0?void 0:_sizeguideimage$.original,style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"}))),/*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer,null)),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i42=authdetailsContext.instinfo)===null||_authdetailsContext$i42===void 0?void 0:_authdetailsContext$i42.contactinfo.instid)=='68319d088f13e'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0",style:{position:'fixed',bottom:0,background:'#fafafa',zIndex:999,boxShadow:'0 0 10px #ccc'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 px-2 py-3"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-5 allcentered"},QuantityButton('fixedcontainer')),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-5"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer171;window.open('tel:'+((_fetchProductInfoQuer171=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer171===void 0?void 0:_fetchProductInfoQuer171.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer172=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer172===void 0||(_fetchProductInfoQuer172=_fetchProductInfoQuer172.data)===null||_fetchProductInfoQuer172===void 0||(_fetchProductInfoQuer172=_fetchProductInfoQuer172.productinfo)===null||_fetchProductInfoQuer172===void 0?void 0:_fetchProductInfoQuer172.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer173=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer173===void 0||(_fetchProductInfoQuer173=_fetchProductInfoQuer173.data)===null||_fetchProductInfoQuer173===void 0||(_fetchProductInfoQuer173=_fetchProductInfoQuer173.productinfo)===null||_fetchProductInfoQuer173===void 0?void 0:_fetchProductInfoQuer173.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-2 col-md-12 mt-md-2 allcentered"},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){Ar_redirector();}},"DishDrop")))));};
3889
+ fontSize:'24px'}},langdetect=='en'?'Developer':'Developer')))),/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 px-2 mt-3 d-flex flex-row",style:{color:'#000'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-2 col-md-12 mb-md-3"},/*#__PURE__*/React__default["default"].createElement("div",{style:{width:'100px',borderRadius:100,border:'1px solid #ccc'},"class":langdetect=='en'?'mr-3':'ml-3'},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer159=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer159===void 0||(_fetchProductInfoQuer159=_fetchProductInfoQuer159.data)===null||_fetchProductInfoQuer159===void 0||(_fetchProductInfoQuer159=_fetchProductInfoQuer159.productinfo)===null||_fetchProductInfoQuer159===void 0||(_fetchProductInfoQuer159=_fetchProductInfoQuer159.vendorinfo)===null||_fetchProductInfoQuer159===void 0?void 0:_fetchProductInfoQuer159.vendorlogourl,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%',borderRadius:100}}))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-10 col-md-12"},/*#__PURE__*/React__default["default"].createElement("p",{"class":"m-0 p-0",style:{fontSize:17,color:sectionproperties.featurecolor}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer160=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer160===void 0||(_fetchProductInfoQuer160=_fetchProductInfoQuer160.data)===null||_fetchProductInfoQuer160===void 0||(_fetchProductInfoQuer160=_fetchProductInfoQuer160.productinfo)===null||_fetchProductInfoQuer160===void 0||(_fetchProductInfoQuer160=_fetchProductInfoQuer160.vendorinfo)===null||_fetchProductInfoQuer160===void 0?void 0:_fetchProductInfoQuer160.address)))))))))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-lg-3"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0 text-end text-md-center mb-5 mb-md-4"},/*#__PURE__*/React__default["default"].createElement("button",{className:' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',onClick:function onClick(){var _fetchProductInfoQuer161;window.open('tel:'+((_fetchProductInfoQuer161=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer161===void 0?void 0:_fetchProductInfoQuer161.product_phonenumber),'_blank');},style:{width:'40%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#005495'}},/*#__PURE__*/React__default["default"].createElement(IoCall.IoCall,{size:16}),/*#__PURE__*/React__default["default"].createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"Call Us")),/*#__PURE__*/React__default["default"].createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'40%'},"class":"mx-md-2"},/*#__PURE__*/React__default["default"].createElement("button",{className:' d-flex align-items-center justify-content-center ',style:{width:'100%',borderRadius:7,color:'white',fontSize:15,height:43,background:'#4cd964'}},/*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp,{size:16}),/*#__PURE__*/React__default["default"].createElement("span",{"class":langdetect=='en'?'ml-1':'mr-1'},"WhatsApp")))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 allcentered mb-3 p-md-0"},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.sizeguidebtn2," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){setopensizeguidemodal(true);}},/*#__PURE__*/React__default["default"].createElement("p",{"class":' m-0 p-0 cursor-pointer '},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 allcentered p-md-0 mb-md-5"},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer162;window.open('tel:'+((_fetchProductInfoQuer162=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer162===void 0?void 0:_fetchProductInfoQuer162.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer163=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer163===void 0||(_fetchProductInfoQuer163=_fetchProductInfoQuer163.data)===null||_fetchProductInfoQuer163===void 0||(_fetchProductInfoQuer163=_fetchProductInfoQuer163.productinfo)===null||_fetchProductInfoQuer163===void 0?void 0:_fetchProductInfoQuer163.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer164=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer164===void 0||(_fetchProductInfoQuer164=_fetchProductInfoQuer164.data)===null||_fetchProductInfoQuer164===void 0||(_fetchProductInfoQuer164=_fetchProductInfoQuer164.productinfo)===null||_fetchProductInfoQuer164===void 0?void 0:_fetchProductInfoQuer164.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))))))))),sizeguideimage.length!=0&&/*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal,{show:opensizeguidemodal,onHide:function onHide(){setopensizeguidemodal(false);},centered:true,size:'lg'},/*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body,null,/*#__PURE__*/React__default["default"].createElement("div",{className:"allcentered cursor-pointer",onClick:function onClick(){setopensizeguidemodal(false);},style:{position:'absolute',top:10,width:35,height:35,right:10}},/*#__PURE__*/React__default["default"].createElement("i",{"class":' h-100 allcentered text-black '},/*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose,{size:25,"class":productinfo_cssstyles.closemodalbtn}))),/*#__PURE__*/React__default["default"].createElement("div",{"class":' w-100 h-100 px-4 py-5 ',style:{}},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:(_sizeguideimage$=sizeguideimage[0])===null||_sizeguideimage$===void 0?void 0:_sizeguideimage$.original,style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"}))),/*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer,null)),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i38=authdetailsContext.instinfo)===null||_authdetailsContext$i38===void 0?void 0:_authdetailsContext$i38.contactinfo.instid)=='68319d088f13e'&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-12 p-0",style:{position:'fixed',bottom:0,background:'#fafafa',zIndex:999,boxShadow:'0 0 10px #ccc'}},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100 px-2 py-3"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-5 allcentered"},QuantityButton('fixedcontainer')),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-5"},/*#__PURE__*/React__default["default"].createElement("div",{"class":"row m-0 w-100",style:{overflow:'hidden'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer165;window.open('tel:'+((_fetchProductInfoQuer165=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer165===void 0?void 0:_fetchProductInfoQuer165.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React__default["default"].createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(IoBagHandleOutline.IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer166=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer166===void 0||(_fetchProductInfoQuer166=_fetchProductInfoQuer166.data)===null||_fetchProductInfoQuer166===void 0||(_fetchProductInfoQuer166=_fetchProductInfoQuer166.productinfo)===null||_fetchProductInfoQuer166===void 0?void 0:_fetchProductInfoQuer166.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer167=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer167===void 0||(_fetchProductInfoQuer167=_fetchProductInfoQuer167.data)===null||_fetchProductInfoQuer167===void 0||(_fetchProductInfoQuer167=_fetchProductInfoQuer167.productinfo)===null||_fetchProductInfoQuer167===void 0?void 0:_fetchProductInfoQuer167.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React__default["default"].createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))))),/*#__PURE__*/React__default["default"].createElement("div",{"class":"col-2 col-md-12 mt-md-2 allcentered"},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){Ar_redirector();}},"DishDrop")))));};
3871
3890
 
3872
3891
  function ownKeys$2E(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; }
3873
3892
  function _objectSpread$2E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2E(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -9935,7 +9954,7 @@
9935
9954
  alignItems: 'center',
9936
9955
  justifyContent: 'center',
9937
9956
  overflow: 'hidden',
9938
- width: sectionproperties.cartBtnWidth + 'px',
9957
+ width: sectionproperties.cartBtnWidth + '%',
9939
9958
  height: sectionproperties.cartBtnHeight + 'px',
9940
9959
  background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
9941
9960
  borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
@@ -10126,7 +10145,10 @@
10126
10145
  fontSize: sectionproperties.prodNameFontSize + 'px',
10127
10146
  textTransform: sectionproperties.prodNameTextTranform,
10128
10147
  fontWeight: sectionproperties.prodNameFontWeight,
10129
- color: sectionproperties.prodNameColor
10148
+ color: sectionproperties.prodNameColor,
10149
+ '@media (max-width: 800px)': {
10150
+ fontSize: sectionproperties.productnamefontsizeresp + 'px'
10151
+ }
10130
10152
  }),
10131
10153
  productnamehover: glamor.css({
10132
10154
  transition: '.3s',
@@ -37014,22 +37036,46 @@
37014
37036
  }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 || (_authdetailsContext$i = _authdetailsContext$i.instcollections) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.map(function (collitem, collindex) {
37015
37037
  if (collitem.isshowntocustomers == 1 == 1) {
37016
37038
  return /*#__PURE__*/React__default["default"].createElement("div", {
37017
- className: ' row m-0 p-0 mb-2 w-100 '
37039
+ className: header_cssstyles.collcontainer + ' row m-0 p-0 mb-4 px-4 '
37018
37040
  }, /*#__PURE__*/React__default["default"].createElement("div", {
37019
- className: "col-12 p-0 text-start px-3",
37041
+ className: "col-12 d-flex justify-content-start align-items-center p-0",
37020
37042
  onClick: function onClick() {
37021
37043
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
37044
+ props.setmenuactive(false);
37022
37045
  }
37023
- }, /*#__PURE__*/React__default["default"].createElement("p", {
37024
- className: "".concat(header_cssstyles.navbar_item_text_responsive) + ' mb-0 p-0 '
37025
- }, langdetect == 'en' ? collitem.title_en : collitem.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
37026
- className: "col-lg-12 p-0"
37027
- }, /*#__PURE__*/React__default["default"].createElement("hr", {
37028
- className: "mt-4 mb-4",
37046
+ }, sectionproperties.catslidershowcollimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
37047
+ "class": header_cssstyles.collimage,
37048
+ style: {}
37049
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
37050
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
37051
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
37052
+ path: collitem.collectionlogo,
37029
37053
  style: {
37030
- borderColor: sectionproperties.resp_header_separatorbg
37054
+ width: '100%',
37055
+ height: '100%',
37056
+ objectFit: 'contain',
37057
+ borderRadius: sectionproperties.catslidercollimageborderradius + 'px',
37058
+ border: sectionproperties.catslidercollimageborderwidth + 'px solid ' + sectionproperties.catslidercollimagebordercolor
37031
37059
  }
37032
- })));
37060
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
37061
+ className: "".concat(header_cssstyles.closeslidercoll) + ' colltext mb-0 p-0 mx-3 '
37062
+ }, langdetect == 'en' ? collitem.title_en : collitem.title_ar)))
37063
+
37064
+ // <div className={' row m-0 p-0 mb-2 w-100 '}>
37065
+ // <div
37066
+ // className="col-12 p-0 text-start px-3"
37067
+ // onClick={() => {
37068
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
37069
+ // }}
37070
+ // >
37071
+ // <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{langdetect == 'en' ? collitem.title_en : collitem.title_ar}</p>
37072
+ // </div>
37073
+
37074
+ // <div className="col-lg-12 p-0">
37075
+ // <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
37076
+ // </div>
37077
+ // </div>
37078
+ ;
37033
37079
  }
37034
37080
  }));
37035
37081
  };