tabexseriescomponents 0.50.192 → 0.50.194

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -82928,7 +82928,7 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
82928
82928
  "class": "".concat(card_cssstyles.outstockbadge) + " allcentered "
82929
82929
  }, /*#__PURE__*/React__default["default"].createElement("p", {
82930
82930
  "class": "m-0 p-0"
82931
- }, sectionproperties["outstock_content".concat(en)] || sectionproperties.outstock_contenten)))), /*#__PURE__*/React__default["default"].createElement("div", {
82931
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)))), /*#__PURE__*/React__default["default"].createElement("div", {
82932
82932
  "class": "col-lg-12 p-0"
82933
82933
  }, sectionproperties.prodNameShow == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
82934
82934
  "class": "row m-0 w-100 align-items-center justify-content-center text-center mb-2"
@@ -85212,7 +85212,7 @@ var Card23 = function Card23(props) {
85212
85212
  "class": "".concat(cardsstyles2.outstockbadge) + ' allcentered '
85213
85213
  }, /*#__PURE__*/React__default["default"].createElement("p", {
85214
85214
  "class": "m-0 p-0"
85215
- }, sectionproperties["outstock_content".concat(en)] || sectionproperties.outstock_contenten)));
85215
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)));
85216
85216
  };
85217
85217
  var _useState9 = React.useState(''),
85218
85218
  _useState0 = _slicedToArray__default["default"](_useState9, 2),
@@ -85844,7 +85844,7 @@ styleInject(css_248z$c);
85844
85844
  function ownKeys$w(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; }
85845
85845
  function _objectSpread$w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
85846
85846
  var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(props) {
85847
- var _useState = React.useState(""),
85847
+ var _useState = React.useState(''),
85848
85848
  _useState2 = _slicedToArray__default["default"](_useState, 2),
85849
85849
  sectionproperties = _useState2[0],
85850
85850
  setsectionproperties = _useState2[1];
@@ -85866,7 +85866,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
85866
85866
  var NotificationManager = props.actions.NotificationManager;
85867
85867
  var ikimagecredcontext = props.actions.ikimagecredcontext;
85868
85868
  React.useEffect(function () {
85869
- if (props.srcfrom == "addsectionform") {
85869
+ if (props.srcfrom == 'addsectionform') {
85870
85870
  var secpropobj = {};
85871
85871
  props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
85872
85872
  secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
@@ -85890,9 +85890,9 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
85890
85890
  var updatequantity = function updatequantity(type) {
85891
85891
  var tempitem = _objectSpread$w({}, item);
85892
85892
  tempitem.quantity = parseInt(tempitem.quantity);
85893
- if (type == "add") {
85893
+ if (type == 'add') {
85894
85894
  tempitem.quantity = tempitem.quantity + 1;
85895
- } else if (type == "remove") {
85895
+ } else if (type == 'remove') {
85896
85896
  tempitem.quantity = tempitem.quantity - 1;
85897
85897
  }
85898
85898
  if (tempitem.quantity <= 0) {
@@ -85902,9 +85902,9 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
85902
85902
  };
85903
85903
  var addtocartfunc = function addtocartfunc() {
85904
85904
  var addtocardpayloadobj = {
85905
- functype: "add",
85905
+ functype: 'add',
85906
85906
  productid: item.productid,
85907
- variantid: "",
85907
+ variantid: '',
85908
85908
  quantity: item.quantity,
85909
85909
  vendorid: item.vendorid
85910
85910
  };
@@ -85914,19 +85914,19 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
85914
85914
  if (addtocardpayloadobj.variantid.length != 0) {
85915
85915
  runfunc = true;
85916
85916
  } else {
85917
- NotificationManager.warning("", langdetect != "ar" ? "Please Choose Product Options" : "من فضلك اختر متغير");
85917
+ NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
85918
85918
  }
85919
85919
  } else {
85920
85920
  runfunc = true;
85921
85921
  }
85922
85922
  } else {
85923
- NotificationManager.warning("", langdetect != "ar" ? "Please Choose Quantity" : "من فضلك اختر الكمية");
85923
+ NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
85924
85924
  }
85925
85925
  if (runfunc == true) {
85926
85926
  AddtoCartContext(addtocardpayloadobj);
85927
85927
  }
85928
85928
  };
85929
- var _useState5 = React.useState(""),
85929
+ var _useState5 = React.useState(''),
85930
85930
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
85931
85931
  secondimage = _useState6[0],
85932
85932
  setsecondimage = _useState6[1];
@@ -85958,35 +85958,35 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
85958
85958
  }, [props.cardinfoitemprops]);
85959
85959
  var Image = function Image(type) {
85960
85960
  var transition = false;
85961
- if (sectionproperties.hideshowcardtransition == "Show" && type != "responsive") {
85961
+ if (sectionproperties.hideshowcardtransition == 'Show' && type != 'responsive') {
85962
85962
  transition = true;
85963
85963
  }
85964
85964
  return /*#__PURE__*/React__default["default"].createElement("div", {
85965
85965
  "class": "w-100 cursor-pointer h-100",
85966
85966
  style: {
85967
- position: "relative"
85967
+ position: 'relative'
85968
85968
  }
85969
85969
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
85970
- "class": transition ? cardsstyles$4.intialimage : "",
85970
+ "class": transition ? cardsstyles$4.intialimage : '',
85971
85971
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
85972
85972
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
85973
- path: "/tr:w-" + sectionproperties.imagetr_w + ",h-" + sectionproperties.imagetr_h + "/" + item.image,
85973
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
85974
85974
  loading: "lazy",
85975
85975
  style: {
85976
- width: "100%",
85977
- height: "100%",
85978
- objectFit: sectionproperties.bgcovercontain == "Cover" ? "cover" : "contain"
85976
+ width: '100%',
85977
+ height: '100%',
85978
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
85979
85979
  }
85980
85980
  }), transition && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
85981
85981
  "class": cardsstyles$4.secondaryimage,
85982
85982
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
85983
85983
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
85984
- path: "/tr:w-" + sectionproperties.imagetr_w + ",h-" + sectionproperties.imagetr_h + "/" + secondimage,
85984
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + secondimage,
85985
85985
  loading: "lazy",
85986
85986
  style: {
85987
- width: "100%",
85988
- height: "100%",
85989
- objectFit: sectionproperties.bgcovercontain == "Cover" ? "cover" : "contain"
85987
+ width: '100%',
85988
+ height: '100%',
85989
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
85990
85990
  }
85991
85991
  }));
85992
85992
  };
@@ -85996,171 +85996,171 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
85996
85996
  _useState8[1];
85997
85997
  var cardsstyles2 = {
85998
85998
  productcard: glamor.css({
85999
- background: sectionproperties.backgroundColortransparent == "Transparent" ? "transparent" : sectionproperties.backgroundColor,
85999
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
86000
86000
  opacity: sectionproperties.cardbg_opacity,
86001
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.borderBottomLeftRadius + "px" : sectionproperties.borderBottomRightRadius + "px",
86002
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.borderBottomRightRadius + "px" : sectionproperties.borderBottomRightRadius + "px",
86003
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.borderTopLeftRadius + "px" : sectionproperties.borderTopRightRadius + "px",
86004
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.borderTopRightRadius + "px" : sectionproperties.borderTopLeftRadius + "px",
86005
- paddingTop: sectionproperties.paddingTop + "px",
86006
- paddingBottom: sectionproperties.paddingBottom + "px",
86007
- paddingLeft: langdetect != "ar" ? sectionproperties.paddingLeft + "px" : sectionproperties.paddingRight + "px",
86008
- paddingRight: langdetect != "ar" ? sectionproperties.paddingRight + "px" : sectionproperties.paddingLeft + "px",
86009
- boxShadow: sectionproperties.sectioncardshadow == "Show" ? "0 0 10px " + sectionproperties.sectioncardshadowcolor : "none",
86010
- border: sectionproperties.sectioncardborderwidth + "px solid " + sectionproperties.sectioncardbordercolor,
86011
- transition: ".3s",
86012
- ":hover": {
86001
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
86002
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
86003
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
86004
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
86005
+ paddingTop: sectionproperties.paddingTop + 'px',
86006
+ paddingBottom: sectionproperties.paddingBottom + 'px',
86007
+ paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
86008
+ paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
86009
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
86010
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
86011
+ transition: '.3s',
86012
+ ':hover': {
86013
86013
  // zIndex: 1000,
86014
86014
  }
86015
86015
  }),
86016
86016
  productNameStyles: glamor.css({
86017
86017
  color: sectionproperties.prodNameColor,
86018
- fontSize: sectionproperties.prodNameFontSize + "px",
86018
+ fontSize: sectionproperties.prodNameFontSize + 'px',
86019
86019
  textTransform: sectionproperties.prodNameTextTranform,
86020
86020
  fontWeight: sectionproperties.prodNameFontWeight,
86021
- transition: ".3s",
86022
- cursor: "pointer",
86023
- ":hover": {
86021
+ transition: '.3s',
86022
+ cursor: 'pointer',
86023
+ ':hover': {
86024
86024
  color: sectionproperties.prodNameColorOnHover
86025
86025
  }
86026
86026
  }),
86027
86027
  productDescStyles: glamor.css({
86028
86028
  color: sectionproperties.prodCatColor,
86029
- fontSize: sectionproperties.prodCatFontSize + "px",
86029
+ fontSize: sectionproperties.prodCatFontSize + 'px',
86030
86030
  textTransform: sectionproperties.prodCatTextTranform,
86031
86031
  fontWeight: sectionproperties.prodCatFontWeight,
86032
- transition: ".3s"
86032
+ transition: '.3s'
86033
86033
  }),
86034
86034
  productPricestyles: glamor.css({
86035
86035
  color: sectionproperties.prodPriceColor,
86036
- fontSize: sectionproperties.prodpriceFontSize + "px",
86036
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
86037
86037
  fontWeight: sectionproperties.prodPriceFontWeight
86038
86038
  }),
86039
86039
  productSalePricestyles: glamor.css({
86040
86040
  color: sectionproperties.prodsalePriceColor,
86041
- fontSize: sectionproperties.prodsalepriceFontSize + "px",
86041
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
86042
86042
  fontWeight: sectionproperties.prodsalePriceFontWeight
86043
86043
  }),
86044
86044
  producttotalstyles: glamor.css({
86045
86045
  color: sectionproperties.total_color,
86046
- fontSize: sectionproperties.total_fontsize + "px",
86046
+ fontSize: sectionproperties.total_fontsize + 'px',
86047
86047
  fontWeight: 500
86048
86048
  }),
86049
86049
  wishlist_btn: glamor.css({
86050
- width: sectionproperties.favBtnWidth + "px",
86051
- height: sectionproperties.favBtnHeight + "px",
86052
- background: sectionproperties.favbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.favBtnbgColor,
86053
- borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + "px",
86050
+ width: sectionproperties.favBtnWidth + 'px',
86051
+ height: sectionproperties.favBtnHeight + 'px',
86052
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
86053
+ borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
86054
86054
  color: sectionproperties.favBtniconcolor,
86055
- fontSize: sectionproperties.favBtnTextfontsize + "px",
86055
+ fontSize: sectionproperties.favBtnTextfontsize + 'px',
86056
86056
  fontWeight: sectionproperties.favBtnTextfontweight,
86057
- transition: ".3s",
86058
- border: sectionproperties.favbtnborderwidth + "px solid " + sectionproperties.favbtnbordercolor,
86059
- ":hover": {
86060
- background: sectionproperties.favbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.favBtnbgColoronhover,
86057
+ transition: '.3s',
86058
+ border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
86059
+ ':hover': {
86060
+ background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
86061
86061
  color: sectionproperties.favBtnTextcoloronhover
86062
86062
  }
86063
86063
  }),
86064
86064
  cart_btn: glamor.css({
86065
- width: sectionproperties.cartBtnWidth + "px",
86066
- height: sectionproperties.cartBtnHeight + "px",
86067
- background: sectionproperties.cartbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColor,
86068
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + "px",
86065
+ width: sectionproperties.cartBtnWidth + 'px',
86066
+ height: sectionproperties.cartBtnHeight + 'px',
86067
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
86068
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
86069
86069
  color: sectionproperties.cartBtnTextcolor,
86070
- fontSize: sectionproperties.cartBtnTextfontsize + "px",
86070
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
86071
86071
  fontWeight: sectionproperties.cartBtnTextfontweight,
86072
- border: sectionproperties.cartbtnborderwidth + "px solid " + sectionproperties.cartbtnbordercolor,
86073
- transition: ".3s",
86074
- ":hover": {
86075
- background: sectionproperties.cartbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColoronhover,
86072
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
86073
+ transition: '.3s',
86074
+ ':hover': {
86075
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
86076
86076
  color: sectionproperties.cartBtnTextcoloronhover
86077
86077
  }
86078
86078
  }),
86079
86079
  img_container: glamor.css({
86080
- position: "relative",
86081
- height: sectionproperties.image_height + "px",
86082
- border: sectionproperties.image_borderwidth + "px solid " + sectionproperties.image_bordercolor,
86083
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.image_borderBottomLeftRadius + "px" : sectionproperties.image_borderBottomRightRadius + "px",
86084
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.image_borderBottomRightRadius + "px" : sectionproperties.image_borderBottomLeftRadius + "px",
86085
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.image_bordertopleftradius + "px" : sectionproperties.image_bordertoprightradius + "px",
86086
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.image_bordertoprightradius + "px" : sectionproperties.image_bordertopleftradius + "px",
86087
- background: sectionproperties.image_bgtransparent == "Transparent" ? "transparent" : sectionproperties.image_bgcolor,
86088
- opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" ? 0.4 : 1,
86089
- "@media (max-width: 800px)": {
86090
- height: sectionproperties.height_responsive + "px"
86080
+ position: 'relative',
86081
+ height: sectionproperties.image_height + 'px',
86082
+ border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
86083
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
86084
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
86085
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
86086
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
86087
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
86088
+ opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' ? 0.4 : 1,
86089
+ '@media (max-width: 800px)': {
86090
+ height: sectionproperties.height_responsive + 'px'
86091
86091
  }
86092
86092
  }),
86093
86093
  quantitybtn: glamor.css({
86094
86094
  flex: 1,
86095
- border: sectionproperties.quantitybtnborderwidth + "px solid " + sectionproperties.quantitybtnbordercolor,
86096
- height: sectionproperties.quantitybtn_height + "px",
86097
- display: "flex",
86098
- flexDirection: "row",
86099
- overflow: "hidden",
86100
- borderRadius: sectionproperties.quantitybtn_borderradius + "px",
86095
+ border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
86096
+ height: sectionproperties.quantitybtn_height + 'px',
86097
+ display: 'flex',
86098
+ flexDirection: 'row',
86099
+ overflow: 'hidden',
86100
+ borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
86101
86101
  background: sectionproperties.quantitybtn_bgcolor,
86102
- alignItems: "center",
86103
- justifyContent: "center",
86102
+ alignItems: 'center',
86103
+ justifyContent: 'center',
86104
86104
  margin: 0,
86105
- position: "relative",
86105
+ position: 'relative',
86106
86106
  fontWeight: sectionproperties.quantitybtn_textfontweight,
86107
86107
  color: sectionproperties.quantitybtn_textcolor,
86108
- fontSize: sectionproperties.quantitybtn_textfontsize + "px",
86109
- "@media (max-width: 800px)": {
86110
- width: "100%"
86108
+ fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
86109
+ '@media (max-width: 800px)': {
86110
+ width: '100%'
86111
86111
  }
86112
86112
  }),
86113
86113
  quantitybtn_text: glamor.css({
86114
- margin: "auto"
86114
+ margin: 'auto'
86115
86115
  }),
86116
86116
  add_quantitybtn_icon_container: glamor.css({
86117
- position: "relative",
86118
- width: sectionproperties.add_quantitybtn_width + "px",
86119
- height: sectionproperties.add_quantitybtn_height + "px",
86117
+ position: 'relative',
86118
+ width: sectionproperties.add_quantitybtn_width + 'px',
86119
+ height: sectionproperties.add_quantitybtn_height + 'px',
86120
86120
  background: sectionproperties.add_quantitybtn_bgcolor,
86121
- display: "flex",
86122
- alignItems: "center",
86123
- justifyContent: "center",
86124
- borderRadius: sectionproperties.add_quantitybtn_borderradius + "px",
86125
- fontSize: sectionproperties.add_quantitybtn_textfontsize + "px",
86121
+ display: 'flex',
86122
+ alignItems: 'center',
86123
+ justifyContent: 'center',
86124
+ borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
86125
+ fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
86126
86126
  color: sectionproperties.add_quantitybtn_textcolor,
86127
- transition: ".3s",
86128
- ":hover": {
86127
+ transition: '.3s',
86128
+ ':hover': {
86129
86129
  color: sectionproperties.add_quantitybtn_textcoloronhover,
86130
86130
  background: sectionproperties.add_quantitybtn_bgcoloronhover
86131
86131
  }
86132
86132
  }),
86133
86133
  minus_quantitybtn_icon_container: glamor.css({
86134
- position: "relative",
86135
- width: sectionproperties.remove_quantitybtn_width + "px",
86136
- height: sectionproperties.remove_quantitybtn_height + "px",
86134
+ position: 'relative',
86135
+ width: sectionproperties.remove_quantitybtn_width + 'px',
86136
+ height: sectionproperties.remove_quantitybtn_height + 'px',
86137
86137
  background: sectionproperties.remove_quantitybtn_bgcolor,
86138
- display: "flex",
86139
- alignItems: "center",
86140
- justifyContent: "center",
86141
- borderRadius: sectionproperties.remove_quantitybtn_borderradius + "px",
86142
- fontSize: sectionproperties.remove_quantitybtn_textfontsize + "25px",
86138
+ display: 'flex',
86139
+ alignItems: 'center',
86140
+ justifyContent: 'center',
86141
+ borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
86142
+ fontSize: sectionproperties.remove_quantitybtn_textfontsize + '25px',
86143
86143
  color: sectionproperties.remove_quantitybtn_textcolor,
86144
- transition: ".3s",
86145
- ":hover": {
86144
+ transition: '.3s',
86145
+ ':hover': {
86146
86146
  color: sectionproperties.remove_quantitybtn_textcoloronhover,
86147
86147
  background: sectionproperties.remove_quantitybtn_bgcoloronhover
86148
86148
  }
86149
86149
  }),
86150
86150
  outstockbadge: glamor.css({
86151
- width: sectionproperties.outstock_width + "px",
86152
- height: sectionproperties.outstock_height + "px",
86151
+ width: sectionproperties.outstock_width + 'px',
86152
+ height: sectionproperties.outstock_height + 'px',
86153
86153
  background: sectionproperties.outstock_bg,
86154
86154
  color: sectionproperties.outstock_color,
86155
- fontSize: sectionproperties.outstock_fontSize + "px",
86156
- borderRadius: sectionproperties.outstock_borderradius + "px",
86157
- position: "absolute",
86155
+ fontSize: sectionproperties.outstock_fontSize + 'px',
86156
+ borderRadius: sectionproperties.outstock_borderradius + 'px',
86157
+ position: 'absolute',
86158
86158
  zIndex: 2,
86159
86159
  top: 0,
86160
86160
  bottom: 0,
86161
86161
  left: 0,
86162
86162
  right: 0,
86163
- margin: "auto"
86163
+ margin: 'auto'
86164
86164
  })
86165
86165
  };
86166
86166
  var addtocartbuttonrender = function addtocartbuttonrender() {
@@ -86168,7 +86168,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
86168
86168
  var _AddtoCartMutationCon;
86169
86169
  if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
86170
86170
  return /*#__PURE__*/React__default["default"].createElement("div", {
86171
- "class": " d-flex align-items-center justify-content-center "
86171
+ "class": ' d-flex align-items-center justify-content-center '
86172
86172
  }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
86173
86173
  color: sectionproperties.cartBtnTextcolor,
86174
86174
  width: "20px",
@@ -86179,163 +86179,163 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
86179
86179
  return /*#__PURE__*/React__default["default"].createElement("span", {
86180
86180
  "class": "w-100 allcentered"
86181
86181
  }, /*#__PURE__*/React__default["default"].createElement("i", {
86182
- "class": langdetect != "ar" ? "h-100 mr-2 d-flex align-items-center justify-content-center" : "h-100 ml-2 d-flex align-items-center justify-content-center"
86183
- }, sectionproperties.carticonstyle == "Shopping bag 1" && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
86182
+ "class": langdetect != 'ar' ? 'h-100 mr-2 d-flex align-items-center justify-content-center' : 'h-100 ml-2 d-flex align-items-center justify-content-center'
86183
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
86184
86184
  "class": "",
86185
86185
  size: sectionproperties.cartBtn_iconFontSize
86186
- }), sectionproperties.carticonstyle == "Shopping bag 2" && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
86186
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
86187
86187
  "class": "",
86188
86188
  size: sectionproperties.cartBtn_iconFontSize
86189
- }), sectionproperties.carticonstyle == "Shopping bag 3" && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
86189
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
86190
86190
  "class": "",
86191
86191
  size: sectionproperties.cartBtn_iconFontSize
86192
- }), sectionproperties.carticonstyle == "Shopping bag 4" && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
86192
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
86193
86193
  size: sectionproperties.cartBtn_iconFontSize
86194
- }), sectionproperties.carticonstyle == "Shopping cart 1" && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
86194
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
86195
86195
  "class": "",
86196
86196
  size: sectionproperties.cartBtn_iconFontSize
86197
- }), sectionproperties.carticonstyle == "Shopping cart 2" && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
86197
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
86198
86198
  size: sectionproperties.cartBtn_iconFontSize
86199
- })), langdetect === "ar" ? sectionproperties.cartBtnContentarabic : langdetect === "chin" ? sectionproperties.cartBtnContentchin : langdetect === "es" ? sectionproperties.cartBtnContentspanish : langdetect === "fr" ? sectionproperties.cartBtnContentfrench : langdetect === "rus" ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish);
86199
+ })), langdetect === 'ar' ? sectionproperties.cartBtnContentarabic : langdetect === 'chin' ? sectionproperties.cartBtnContentchin : langdetect === 'es' ? sectionproperties.cartBtnContentspanish : langdetect === 'fr' ? sectionproperties.cartBtnContentfrench : langdetect === 'rus' ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish);
86200
86200
  }
86201
86201
  }
86202
86202
  if (!AddtoCartMutationContext.isLoading) {
86203
86203
  return /*#__PURE__*/React__default["default"].createElement("span", {
86204
86204
  "class": "w-100 allcentered"
86205
86205
  }, /*#__PURE__*/React__default["default"].createElement("i", {
86206
- "class": langdetect != "ar" ? "h-100 mr-2 d-flex align-items-center justify-content-center" : "h-100 ml-2 d-flex align-items-center justify-content-center"
86207
- }, sectionproperties.carticonstyle == "Shopping bag 1" && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
86206
+ "class": langdetect != 'ar' ? 'h-100 mr-2 d-flex align-items-center justify-content-center' : 'h-100 ml-2 d-flex align-items-center justify-content-center'
86207
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
86208
86208
  "class": "",
86209
86209
  size: sectionproperties.cartBtn_iconFontSize
86210
- }), sectionproperties.carticonstyle == "Shopping bag 2" && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
86210
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
86211
86211
  "class": "",
86212
86212
  size: sectionproperties.cartBtn_iconFontSize
86213
- }), sectionproperties.carticonstyle == "Shopping bag 3" && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
86213
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
86214
86214
  "class": "",
86215
86215
  size: sectionproperties.cartBtn_iconFontSize
86216
- }), sectionproperties.carticonstyle == "Shopping bag 4" && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
86216
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
86217
86217
  size: sectionproperties.cartBtn_iconFontSize
86218
- }), sectionproperties.carticonstyle == "Shopping cart 1" && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
86218
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
86219
86219
  "class": "",
86220
86220
  size: sectionproperties.cartBtn_iconFontSize
86221
- }), sectionproperties.carticonstyle == "Shopping cart 2" && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
86221
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
86222
86222
  size: sectionproperties.cartBtn_iconFontSize
86223
- })), langdetect === "ar" ? sectionproperties.cartBtnContentarabic : langdetect === "chin" ? sectionproperties.cartBtnContentchin : langdetect === "es" ? sectionproperties.cartBtnContentspanish : langdetect === "fr" ? sectionproperties.cartBtnContentfrench : langdetect === "rus" ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish);
86223
+ })), langdetect === 'ar' ? sectionproperties.cartBtnContentarabic : langdetect === 'chin' ? sectionproperties.cartBtnContentchin : langdetect === 'es' ? sectionproperties.cartBtnContentspanish : langdetect === 'fr' ? sectionproperties.cartBtnContentfrench : langdetect === 'rus' ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish);
86224
86224
  }
86225
86225
  };
86226
86226
  return /*#__PURE__*/React__default["default"].createElement("div", {
86227
86227
  "class": "row ml-0 mr-0 w-100 mb-sm-5",
86228
86228
  style: {
86229
- paddingLeft: langdetect != "ar" ? sectionproperties.card_marginLeft + "px" : sectionproperties.card_marginRight + "px",
86230
- paddingRight: langdetect != "ar" ? sectionproperties.card_marginRight + "px" : sectionproperties.card_marginLeft + "px",
86231
- marginBottom: sectionproperties.marginBottom + "px",
86232
- minHeight: "370px"
86229
+ paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
86230
+ paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
86231
+ marginBottom: sectionproperties.marginBottom + 'px',
86232
+ minHeight: '370px'
86233
86233
  }
86234
86234
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
86235
- "class": "".concat(cardsstyles$4.productcard, " ").concat(cardsstyles2.productcard) + " w-100 "
86235
+ "class": "".concat(cardsstyles$4.productcard, " ").concat(cardsstyles2.productcard) + ' w-100 '
86236
86236
  }, /*#__PURE__*/React__default["default"].createElement("div", {
86237
86237
  "class": "".concat(cardsstyles$4.card_inner)
86238
86238
  }, /*#__PURE__*/React__default["default"].createElement("div", {
86239
86239
  "class": "".concat(cardsstyles$4.card_thumbnail),
86240
86240
  style: {
86241
- position: "relative"
86241
+ position: 'relative'
86242
86242
  }
86243
86243
  }, /*#__PURE__*/React__default["default"].createElement("div", {
86244
- "class": "".concat(cardsstyles$4.img_container, " ").concat(cardsstyles2.img_container) + " w-100 allcentered ",
86244
+ "class": "".concat(cardsstyles$4.img_container, " ").concat(cardsstyles2.img_container) + ' w-100 allcentered ',
86245
86245
  onClick: function onClick() {
86246
86246
  setShowProductInfoModalContext(true);
86247
86247
  setProductIdProdutInfoModalContext(item.productid);
86248
86248
  },
86249
86249
  style: {
86250
- cursor: "pointer",
86251
- overflow: "hidden"
86250
+ cursor: 'pointer',
86251
+ overflow: 'hidden'
86252
86252
  }
86253
- }, Image("normal")), sectionproperties.favBtnShow == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
86253
+ }, Image('normal')), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
86254
86254
  "class": "".concat(cardsstyles$4.wishlistbtn),
86255
86255
  onClick: function onClick() {
86256
86256
  addtofavoritescontext(item.productid);
86257
86257
  }
86258
86258
  }, /*#__PURE__*/React__default["default"].createElement("button", {
86259
- "class": " ".concat(cardsstyles2.wishlist_btn) + " m-0 p-0 d-flex align-items-center justify-content-center ",
86259
+ "class": " ".concat(cardsstyles2.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
86260
86260
  style: {
86261
- position: "absolute",
86261
+ position: 'absolute',
86262
86262
  top: 10,
86263
86263
  right: 10,
86264
- background: item.IsFavExists == true ? sectionproperties.activebgcolor : ""
86264
+ background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
86265
86265
  }
86266
86266
  }, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
86267
86267
  "class": "h-100 d-flex align-items-center justify-content-center"
86268
- }, sectionproperties.faviconshape == "Star Shape" && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
86268
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
86269
86269
  size: sectionproperties.favBtnIconfontsize,
86270
86270
  style: {
86271
86271
  color: sectionproperties.activefaviconcolor
86272
86272
  }
86273
- }), sectionproperties.faviconshape == "Heart Shape" && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
86273
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
86274
86274
  size: sectionproperties.favBtnIconfontsize,
86275
86275
  style: {
86276
86276
  color: sectionproperties.activefaviconcolor
86277
86277
  }
86278
86278
  })), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
86279
86279
  "class": "h-100 d-flex align-items-center justify-content-center"
86280
- }, sectionproperties.faviconshape == "Star Shape" && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
86280
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
86281
86281
  size: sectionproperties.favBtnIconfontsize
86282
- }), sectionproperties.faviconshape == "Heart Shape" && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
86282
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
86283
86283
  size: sectionproperties.favBtnIconfontsize
86284
- })))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == "Show" && sectionproperties.showbadge == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
86284
+ })))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
86285
86285
  "class": "allcentered",
86286
86286
  style: {
86287
- position: "absolute",
86287
+ position: 'absolute',
86288
86288
  top: 10,
86289
86289
  left: 10,
86290
- width: sectionproperties.badge_width + "px",
86291
- height: sectionproperties.badge_height + "px",
86290
+ width: sectionproperties.badge_width + 'px',
86291
+ height: sectionproperties.badge_height + 'px',
86292
86292
  background: sectionproperties.badge_bgcolor,
86293
- borderRadius: sectionproperties.badge_borderradius + "px"
86293
+ borderRadius: sectionproperties.badge_borderradius + 'px'
86294
86294
  }
86295
86295
  }, /*#__PURE__*/React__default["default"].createElement("p", {
86296
86296
  "class": "m-0 p-0",
86297
86297
  style: {
86298
86298
  color: sectionproperties.badge_color,
86299
- fontSize: sectionproperties.badge_fontsize + "px"
86299
+ fontSize: sectionproperties.badge_fontsize + 'px'
86300
86300
  }
86301
- }, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == "Show" && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
86301
+ }, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
86302
86302
  style: {
86303
- position: "absolute",
86304
- top: sectionproperties.pillpositionfromtop + "px",
86305
- left: sectionproperties.pillpositionfromright + "px",
86303
+ position: 'absolute',
86304
+ top: sectionproperties.pillpositionfromtop + 'px',
86305
+ left: sectionproperties.pillpositionfromright + 'px',
86306
86306
  // right: langdetect != 'ar' ? '' : sectionproperties.pillpositionfromright + 'px',
86307
86307
  zIndex: 3
86308
86308
  }
86309
86309
  }, /*#__PURE__*/React__default["default"].createElement("div", {
86310
- "class": sectionproperties.pillwidth == 0 ? " px-2 allcentered" : "allcentered",
86310
+ "class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
86311
86311
  style: {
86312
86312
  zIndex: 2,
86313
- width: sectionproperties.pillwidth == 0 ? "auto" : sectionproperties.pillwidth + "px",
86314
- height: sectionproperties.pillheight + "px",
86313
+ width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
86314
+ height: sectionproperties.pillheight + 'px',
86315
86315
  background: sectionproperties.pillbgcolor,
86316
- borderRadius: sectionproperties.pillborderBottomLeftRadius + "px"
86316
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
86317
86317
  }
86318
- }, sectionproperties.countertype == "Percentage" && /*#__PURE__*/React__default["default"].createElement("p", {
86318
+ }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
86319
86319
  "class": "m-0 p-0",
86320
86320
  style: {
86321
86321
  color: sectionproperties.pillcolor,
86322
- fontSize: sectionproperties.pillfontSize + "px",
86323
- direction: "ltr"
86322
+ fontSize: sectionproperties.pillfontSize + 'px',
86323
+ direction: 'ltr'
86324
86324
  }
86325
- }, "-" + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + "%"), sectionproperties.countertype == "Value" && /*#__PURE__*/React__default["default"].createElement("p", {
86325
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
86326
86326
  "class": "m-0 p-0 text-uppercase",
86327
86327
  style: {
86328
86328
  color: sectionproperties.pillcolor,
86329
- fontSize: sectionproperties.pillfontSize + "px",
86330
- direction: "ltr"
86329
+ fontSize: sectionproperties.pillfontSize + 'px',
86330
+ direction: 'ltr'
86331
86331
  }
86332
- }, langdetect === "ar" ? "وفّر" : langdetect === "chin" ? "保存" : langdetect === "es" ? "Guardar" : langdetect === "fr" ? "Enregistrer" : langdetect === "rus" ? "Сохранить" : "Save", " ", langdetect != "ar" ? item.currencyname : "", " ", parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect != "ar" ? "" : item.currencyname))), item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" && /*#__PURE__*/React__default["default"].createElement("div", {
86333
- "class": "".concat(cardsstyles2.outstockbadge) + " allcentered "
86332
+ }, langdetect === 'ar' ? 'وفّر' : langdetect === 'chin' ? '保存' : langdetect === 'es' ? 'Guardar' : langdetect === 'fr' ? 'Enregistrer' : langdetect === 'rus' ? 'Сохранить' : 'Save', ' ', langdetect != 'ar' ? item.currencyname : '', " ", parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), ' ', langdetect != 'ar' ? '' : item.currencyname))), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && /*#__PURE__*/React__default["default"].createElement("div", {
86333
+ "class": "".concat(cardsstyles2.outstockbadge) + ' allcentered '
86334
86334
  }, /*#__PURE__*/React__default["default"].createElement("p", {
86335
86335
  "class": "m-0 p-0"
86336
- }, sectionproperties["outstock_content".concat(en)] || sectionproperties.outstock_contenten))), /*#__PURE__*/React__default["default"].createElement("div", {
86337
- "class": "".concat(cardsstyles$4.product_details) + " mb-2 "
86338
- }, sectionproperties.quantityshow == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
86336
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
86337
+ "class": "".concat(cardsstyles$4.product_details) + ' mb-2 '
86338
+ }, sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
86339
86339
  "class": "col-lg-12 p-0 allcentered"
86340
86340
  }, /*#__PURE__*/React__default["default"].createElement("p", {
86341
86341
  "class": "m-0 p-0",
@@ -86344,52 +86344,52 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
86344
86344
  color: sectionproperties.quantitycolor,
86345
86345
  fontWeight: sectionproperties.quantityfontweight
86346
86346
  }
86347
- }, sectionproperties["qtytextin".concat(langdetect)] || sectionproperties.qtytextinen, ": ", item.currentquantity)), sectionproperties.prodNameShow == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
86347
+ }, sectionproperties["qtytextin".concat(langdetect)] || sectionproperties.qtytextinen, ": ", item.currentquantity)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
86348
86348
  "class": "col-lg-12"
86349
86349
  }, /*#__PURE__*/React__default["default"].createElement("p", {
86350
86350
  onClick: function onClick() {
86351
86351
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
86352
86352
  },
86353
- "class": sectionproperties.wordbreak == "1" ? "".concat(cardsstyles2.productNameStyles) + " m-0 p-0 wordbreak wordbreak1 " : "".concat(cardsstyles2.productNameStyles) + " m-0 p-0 wordbreak wordbreak2 ",
86353
+ "class": sectionproperties.wordbreak == '1' ? "".concat(cardsstyles2.productNameStyles) + ' m-0 p-0 wordbreak wordbreak1 ' : "".concat(cardsstyles2.productNameStyles) + ' m-0 p-0 wordbreak wordbreak2 ',
86354
86354
  style: {
86355
- textAlign: langdetect != "ar" ? "left" : "right"
86355
+ textAlign: langdetect != 'ar' ? 'left' : 'right'
86356
86356
  }
86357
- }, item.name)), sectionproperties.showmeasurementunit == "Show" && /*#__PURE__*/React__default["default"].createElement("p", {
86358
- "class": " col-lg-12 wordbreak wordbreak1 mb-2 ",
86357
+ }, item.name)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
86358
+ "class": ' col-lg-12 wordbreak wordbreak1 mb-2 ',
86359
86359
  style: {
86360
- textAlign: langdetect != "ar" ? "left" : "right",
86361
- fontSize: sectionproperties.measurementunitfontsize + "px",
86360
+ textAlign: langdetect != 'ar' ? 'left' : 'right',
86361
+ fontSize: sectionproperties.measurementunitfontsize + 'px',
86362
86362
  color: sectionproperties.measurementunitcolor
86363
86363
  }
86364
86364
  }, item.measurmentunit), /*#__PURE__*/React__default["default"].createElement("div", {
86365
86365
  "class": "col-lg-12 d-flex align-items-center flex-md-column justify-content-start"
86366
- }, sectionproperties.prodPriceShow == "Show" && /*#__PURE__*/React__default["default"].createElement("p", {
86367
- "class": "".concat(cardsstyles2.productPricestyles) + " m-0 p-0 wordbreak w-md-100 ",
86366
+ }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
86367
+ "class": "".concat(cardsstyles2.productPricestyles) + ' m-0 p-0 wordbreak w-md-100 ',
86368
86368
  style: {
86369
- textAlign: langdetect != "ar" ? "left" : "right"
86369
+ textAlign: langdetect != 'ar' ? 'left' : 'right'
86370
86370
  }
86371
- }, langdetect != "ar" ? item.currencyname : "", " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != "ar" ? "" : item.currencyname), /*#__PURE__*/React__default["default"].createElement("p", {
86372
- "class": "".concat(cardsstyles2.productSalePricestyles) + " linethrough mt-auto mb-0 p-0 wordbreak mr-1 ml-1 w-md-100 ml-md-0 mr-md-0 ",
86371
+ }, langdetect != 'ar' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname), /*#__PURE__*/React__default["default"].createElement("p", {
86372
+ "class": "".concat(cardsstyles2.productSalePricestyles) + ' linethrough mt-auto mb-0 p-0 wordbreak mr-1 ml-1 w-md-100 ml-md-0 mr-md-0 ',
86373
86373
  style: {
86374
- textAlign: langdetect != "ar" ? "left" : "right",
86375
- visibility: item.hassale == 1 ? "visible" : "hidden"
86374
+ textAlign: langdetect != 'ar' ? 'left' : 'right',
86375
+ visibility: item.hassale == 1 ? 'visible' : 'hidden'
86376
86376
  }
86377
- }, langdetect != "ar" ? item.currencyname : "", " ", item.defaultprice, " ", langdetect != "ar" ? "" : item.currencyname))), /*#__PURE__*/React__default["default"].createElement("div", {
86377
+ }, langdetect != 'ar' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname))), /*#__PURE__*/React__default["default"].createElement("div", {
86378
86378
  "class": "".concat(cardsstyles$4.card_informationcontainer)
86379
86379
  }, /*#__PURE__*/React__default["default"].createElement("div", {
86380
86380
  "class": "row m-0 w-100 d-flex align-items-center"
86381
86381
  }, /*#__PURE__*/React__default["default"].createElement("button", {
86382
- "class": "".concat(cardsstyles2.quantitybtn) + " p-0 d-flex align-items-center justify-content-center "
86383
- }, langdetect != "ar" && /*#__PURE__*/React__default["default"].createElement("span", {
86384
- "class": "".concat(cardsstyles2.minus_quantitybtn_icon_container) + " m-1 ",
86382
+ "class": "".concat(cardsstyles2.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
86383
+ }, langdetect != 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
86384
+ "class": "".concat(cardsstyles2.minus_quantitybtn_icon_container) + ' m-1 ',
86385
86385
  style: {
86386
- transform: " rotate(-180deg)"
86386
+ transform: ' rotate(-180deg)'
86387
86387
  },
86388
86388
  onClick: function onClick() {
86389
- if (item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit") {
86390
- NotificationManager.warning("", langdetect != "ar" ? "Sold Out" : "نفذت الكمية");
86389
+ if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
86390
+ NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
86391
86391
  } else if (item.hasvariants == 0) {
86392
- updatequantity("remove");
86392
+ updatequantity('remove');
86393
86393
  } else {
86394
86394
  setShowProductInfoModalContext(true);
86395
86395
  setProductIdProdutInfoModalContext(item.productid);
@@ -86397,13 +86397,13 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
86397
86397
  }
86398
86398
  }, /*#__PURE__*/React__default["default"].createElement("i", {
86399
86399
  "class": "fa fa-chevron-up font-12"
86400
- })), langdetect == "ar" && /*#__PURE__*/React__default["default"].createElement("span", {
86401
- "class": "".concat(cardsstyles2.add_quantitybtn_icon_container) + " m-1 ",
86400
+ })), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
86401
+ "class": "".concat(cardsstyles2.add_quantitybtn_icon_container) + ' m-1 ',
86402
86402
  onClick: function onClick() {
86403
- if (item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit") {
86404
- NotificationManager.warning("", langdetect != "ar" ? "Sold Out" : "نفذت الكمية");
86403
+ if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
86404
+ NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
86405
86405
  } else if (item.hasvariants == 0) {
86406
- updatequantity("add");
86406
+ updatequantity('add');
86407
86407
  } else {
86408
86408
  setShowProductInfoModalContext(true);
86409
86409
  setProductIdProdutInfoModalContext(item.productid);
@@ -86412,17 +86412,17 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
86412
86412
  }, /*#__PURE__*/React__default["default"].createElement("i", {
86413
86413
  "class": "fa fa-chevron-up font-12"
86414
86414
  })), /*#__PURE__*/React__default["default"].createElement("span", {
86415
- "class": "".concat(cardsstyles2.quantitybtn_text) + " d-flex align-items-center justify-content-center "
86416
- }, item.quantity), langdetect == "ar" && /*#__PURE__*/React__default["default"].createElement("span", {
86417
- "class": "".concat(cardsstyles2.minus_quantitybtn_icon_container) + " m-1 ",
86415
+ "class": "".concat(cardsstyles2.quantitybtn_text) + ' d-flex align-items-center justify-content-center '
86416
+ }, item.quantity), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
86417
+ "class": "".concat(cardsstyles2.minus_quantitybtn_icon_container) + ' m-1 ',
86418
86418
  style: {
86419
- transform: " rotate(-180deg)"
86419
+ transform: ' rotate(-180deg)'
86420
86420
  },
86421
86421
  onClick: function onClick() {
86422
- if (item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit") {
86423
- NotificationManager.warning("", langdetect != "ar" ? "Sold Out" : "نفذت الكمية");
86422
+ if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
86423
+ NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
86424
86424
  } else if (item.hasvariants == 0) {
86425
- updatequantity("remove");
86425
+ updatequantity('remove');
86426
86426
  } else {
86427
86427
  setShowProductInfoModalContext(true);
86428
86428
  setProductIdProdutInfoModalContext(item.productid);
@@ -86430,13 +86430,13 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
86430
86430
  }
86431
86431
  }, /*#__PURE__*/React__default["default"].createElement("i", {
86432
86432
  "class": "fa fa-chevron-up font-12"
86433
- })), langdetect != "ar" && /*#__PURE__*/React__default["default"].createElement("span", {
86434
- "class": "".concat(cardsstyles2.add_quantitybtn_icon_container) + " m-1 ",
86433
+ })), langdetect != 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
86434
+ "class": "".concat(cardsstyles2.add_quantitybtn_icon_container) + ' m-1 ',
86435
86435
  onClick: function onClick() {
86436
- if (item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit") {
86437
- NotificationManager.warning("", langdetect != "ar" ? "Sold Out" : "نفذت الكمية");
86436
+ if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
86437
+ NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
86438
86438
  } else if (item.hasvariants == 0) {
86439
- updatequantity("add");
86439
+ updatequantity('add');
86440
86440
  } else {
86441
86441
  setShowProductInfoModalContext(true);
86442
86442
  setProductIdProdutInfoModalContext(item.productid);
@@ -86445,25 +86445,25 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
86445
86445
  }, /*#__PURE__*/React__default["default"].createElement("i", {
86446
86446
  "class": "fa fa-chevron-up font-12"
86447
86447
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
86448
- "class": sectionproperties.total_fontsize != 0 ? "d-flex justify-content-start pl-2 pr-2" : "d-flex d-md-none justify-content-start pl-2 pr-2",
86448
+ "class": sectionproperties.total_fontsize != 0 ? 'd-flex justify-content-start pl-2 pr-2' : 'd-flex d-md-none justify-content-start pl-2 pr-2',
86449
86449
  style: {
86450
86450
  flex: 1
86451
86451
  }
86452
86452
  }, /*#__PURE__*/React__default["default"].createElement("p", {
86453
- "class": "".concat(cardsstyles2.producttotalstyles) + " mb-0 ",
86453
+ "class": "".concat(cardsstyles2.producttotalstyles) + ' mb-0 ',
86454
86454
  style: {
86455
- textAlign: langdetect != "ar" ? "left" : "right"
86455
+ textAlign: langdetect != 'ar' ? 'left' : 'right'
86456
86456
  }
86457
86457
  }, lang.total, ": ", /*#__PURE__*/React__default["default"].createElement("br", null), /*#__PURE__*/React__default["default"].createElement("span", {
86458
86458
  style: {
86459
86459
  color: sectionproperties.total_secondaryColor,
86460
86460
  fontWeight: sectionproperties.total_fontweight,
86461
- textAlign: langdetect != "ar" ? "left" : "right"
86461
+ textAlign: langdetect != 'ar' ? 'left' : 'right'
86462
86462
  }
86463
- }, langdetect != "ar" ? item.currencyname : "", " ", item.hassale == 1 ? item.quantity * item.defaultsaleprice : item.quantity * item.defaultprice, " ", langdetect != "ar" ? "" : item.currencyname)))), /*#__PURE__*/React__default["default"].createElement("div", {
86463
+ }, langdetect != 'ar' ? item.currencyname : '', " ", item.hassale == 1 ? item.quantity * item.defaultsaleprice : item.quantity * item.defaultprice, ' ', langdetect != 'ar' ? '' : item.currencyname)))), /*#__PURE__*/React__default["default"].createElement("div", {
86464
86464
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 mb-2 mt-2"
86465
- }, sectionproperties.cartBtnShow == "Show" && /*#__PURE__*/React__default["default"].createElement("button", {
86466
- "class": "".concat(cardsstyles2.cart_btn) + " font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ",
86465
+ }, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
86466
+ "class": "".concat(cardsstyles2.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
86467
86467
  onClick: function onClick() {
86468
86468
  if (item.hasvariants == 0) {
86469
86469
  addtocartfunc();
@@ -88315,7 +88315,7 @@ var Horizontalcard = function Horizontalcard(props) {
88315
88315
  "class": "".concat(card_cssstyles.outstockbadge) + " allcentered "
88316
88316
  }, /*#__PURE__*/React__default["default"].createElement("p", {
88317
88317
  "class": "m-0 p-0"
88318
- }, sectionproperties["outstock_content".concat(en)] || sectionproperties.outstock_contenten))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
88318
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
88319
88319
  "class": "allcentered",
88320
88320
  style: {
88321
88321
  position: "absolute",
@@ -91313,7 +91313,7 @@ var Productcard_with_circularhover = function Productcard_with_circularhover(pro
91313
91313
  function ownKeys$f(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; }
91314
91314
  function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
91315
91315
  var Productcard_with_slideanimation = function Productcard_with_slideanimation(props) {
91316
- var _useState = React.useState(""),
91316
+ var _useState = React.useState(''),
91317
91317
  _useState2 = _slicedToArray__default["default"](_useState, 2),
91318
91318
  sectionproperties = _useState2[0],
91319
91319
  setsectionproperties = _useState2[1];
@@ -91346,257 +91346,257 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
91346
91346
  }, [props.cardinfoitemprops]);
91347
91347
  var card_cssstyles = {
91348
91348
  cardcont: glamor.css({
91349
- width: sectionproperties.width + "px"
91349
+ width: sectionproperties.width + 'px'
91350
91350
  }),
91351
91351
  productcard: glamor.css({
91352
- position: "relative",
91353
- background: sectionproperties.backgroundColortransparent == "Transparent" ? "transparent" : sectionproperties.backgroundColor,
91354
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.borderBottomLeftRadius + "px" : sectionproperties.borderBottomRightRadius + "px",
91355
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.borderBottomRightRadius + "px" : sectionproperties.borderBottomLeftRadius + "px",
91356
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.borderTopLeftRadius + "px" : sectionproperties.borderTopRightRadius + "px",
91357
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.borderTopRightRadius + "px" : sectionproperties.borderTopLeftRadius + "px",
91358
- marginTop: sectionproperties.marginTop + "px",
91359
- marginBottom: sectionproperties.marginBottom + "px",
91360
- paddingLeft: langdetect != "ar" ? sectionproperties.paddingLeft + "px" : sectionproperties.paddingRight + "px",
91361
- paddingRight: langdetect != "ar" ? sectionproperties.paddingRight + "px" : sectionproperties.paddingLeft + "px",
91362
- paddingTop: sectionproperties.paddingTop + "px",
91363
- paddingBottom: sectionproperties.paddingBottom + "px",
91364
- boxShadow: sectionproperties.sectioncardshadow == "Show" ? "0 0 10px " + sectionproperties.sectioncardshadowcolor : "none",
91365
- border: sectionproperties.sectioncardborderwidth + "px solid " + sectionproperties.sectioncardbordercolor,
91352
+ position: 'relative',
91353
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
91354
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
91355
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
91356
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
91357
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
91358
+ marginTop: sectionproperties.marginTop + 'px',
91359
+ marginBottom: sectionproperties.marginBottom + 'px',
91360
+ paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
91361
+ paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
91362
+ paddingTop: sectionproperties.paddingTop + 'px',
91363
+ paddingBottom: sectionproperties.paddingBottom + 'px',
91364
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
91365
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
91366
91366
  color: sectionproperties.prodNameColor,
91367
- transition: ".5s",
91368
- ":hover": {
91367
+ transition: '.5s',
91368
+ ':hover': {
91369
91369
  color: sectionproperties.prodNameColorOnHover
91370
91370
  },
91371
- ":hover .text_container": {
91372
- paddingLeft: "10px",
91373
- paddingRight: "10px"
91371
+ ':hover .text_container': {
91372
+ paddingLeft: '10px',
91373
+ paddingRight: '10px'
91374
91374
  }
91375
91375
  }),
91376
91376
  text_container: glamor.css({
91377
- padding: "5px",
91378
- transition: ".5s"
91377
+ padding: '5px',
91378
+ transition: '.5s'
91379
91379
  }),
91380
91380
  productcardimagecont: glamor.css({
91381
- position: "relative",
91382
- overflow: "hidden",
91383
- background: sectionproperties.image_bgcolortransparent == "Transparent" ? "" : sectionproperties.image_bgcolor,
91381
+ position: 'relative',
91382
+ overflow: 'hidden',
91383
+ background: sectionproperties.image_bgcolortransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
91384
91384
  opacity: sectionproperties.darknessopacity,
91385
- border: sectionproperties.image_borderwidth + "px solid " + sectionproperties.image_bordercolor,
91386
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.image_borderBottomLeftRadius + "px" : sectionproperties.image_borderBottomRightRadius + "px",
91387
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.image_borderBottomRightRadius + "px" : sectionproperties.image_borderBottomLeftRadius + "px",
91388
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.image_bordertopleftradius + "px" : sectionproperties.image_bordertoprightradius + "px",
91389
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.image_bordertoprightradius + "px" : sectionproperties.image_bordertopleftradius + "px",
91390
- ":hover": glamor.css({
91385
+ border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
91386
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
91387
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
91388
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
91389
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
91390
+ ':hover': glamor.css({
91391
91391
  opacity: sectionproperties.cardimg_opacityonhover
91392
91392
  })
91393
91393
  }),
91394
91394
  productNameStyles: glamor.css({
91395
- fontSize: sectionproperties.prodNameFontSize + "px",
91395
+ fontSize: sectionproperties.prodNameFontSize + 'px',
91396
91396
  textTransform: sectionproperties.prodNameTextTranform,
91397
91397
  fontWeight: sectionproperties.prodNameFontWeight,
91398
91398
  marginBottom: 3,
91399
- transition: ".3s",
91400
- cursor: "pointer"
91399
+ transition: '.3s',
91400
+ cursor: 'pointer'
91401
91401
  }),
91402
91402
  productPricestyles: glamor.css({
91403
91403
  color: sectionproperties.prodPriceColor,
91404
- fontSize: sectionproperties.prodpriceFontSize + "px",
91404
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
91405
91405
  fontWeight: sectionproperties.prodPriceFontWeight
91406
91406
  }),
91407
91407
  productSalePricestyles: glamor.css({
91408
91408
  color: sectionproperties.prodsalePriceColor,
91409
- fontSize: sectionproperties.prodsalepriceFontSize + "px",
91409
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
91410
91410
  fontWeight: sectionproperties.prodsalePriceFontWeight
91411
91411
  }),
91412
91412
  wishlist_btn: glamor.css({
91413
- width: sectionproperties.favBtnWidth + "px",
91414
- height: sectionproperties.favBtnHeight + "px",
91415
- background: sectionproperties.favbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.favBtnbgColor,
91416
- borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + "px",
91413
+ width: sectionproperties.favBtnWidth + 'px',
91414
+ height: sectionproperties.favBtnHeight + 'px',
91415
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
91416
+ borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
91417
91417
  color: sectionproperties.favBtniconcolor,
91418
- fontSize: sectionproperties.favBtnTextfontsize + "px",
91418
+ fontSize: sectionproperties.favBtnTextfontsize + 'px',
91419
91419
  textTransform: sectionproperties.favBtnTexttransform,
91420
91420
  fontWeight: sectionproperties.favBtnTextfontweight,
91421
- transition: ".3s",
91422
- border: sectionproperties.favbtnborderwidth + "px solid " + sectionproperties.favbtnbordercolor,
91423
- ":hover": {
91424
- background: sectionproperties.favbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.favBtnbgColoronhover,
91421
+ transition: '.3s',
91422
+ border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
91423
+ ':hover': {
91424
+ background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
91425
91425
  color: sectionproperties.favBtnTextcoloronhover,
91426
- borderColor: sectionproperties.favbtn_transparentbgcoloronhover == "Transparent" ? sectionproperties.favBtnTextcoloronhover : sectionproperties.favBtnbgColoronhover
91426
+ borderColor: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.favBtnTextcoloronhover : sectionproperties.favBtnbgColoronhover
91427
91427
  }
91428
91428
  }),
91429
91429
  cart_btn: glamor.css({
91430
- width: sectionproperties.cartBtnWidth == 0 ? "auto" : sectionproperties.cartBtnWidth + "px",
91431
- height: sectionproperties.cartBtnHeight == 0 ? "auto" : sectionproperties.cartBtnHeight + "px",
91432
- background: sectionproperties.cartbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColor,
91433
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + "px",
91430
+ width: sectionproperties.cartBtnWidth == 0 ? 'auto' : sectionproperties.cartBtnWidth + 'px',
91431
+ height: sectionproperties.cartBtnHeight == 0 ? 'auto' : sectionproperties.cartBtnHeight + 'px',
91432
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
91433
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
91434
91434
  color: sectionproperties.cartBtnTextcolor,
91435
- fontSize: sectionproperties.cartBtnTextfontsize + "px",
91435
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
91436
91436
  fontWeight: sectionproperties.cartBtnTextfontweight,
91437
- border: sectionproperties.cartbtnborderwidth + "px solid " + sectionproperties.cartbtnbordercolor,
91438
- transition: ".3s",
91439
- ":hover": {
91440
- background: sectionproperties.cartbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColoronhover,
91437
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
91438
+ transition: '.3s',
91439
+ ':hover': {
91440
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
91441
91441
  color: sectionproperties.cartBtnTextcoloronhover,
91442
91442
  borderColor: sectionproperties.cartBtnTextcoloronhover
91443
91443
  }
91444
91444
  }),
91445
91445
  outstockbadge: glamor.css({
91446
- width: sectionproperties.outstock_width + "px",
91447
- height: sectionproperties.outstock_height + "px",
91446
+ width: sectionproperties.outstock_width + 'px',
91447
+ height: sectionproperties.outstock_height + 'px',
91448
91448
  background: sectionproperties.outstock_bg,
91449
91449
  color: sectionproperties.outstock_color,
91450
- fontSize: sectionproperties.outstock_fontSize + "px",
91451
- borderRadius: sectionproperties.outstock_borderradius + "px",
91452
- position: "absolute",
91450
+ fontSize: sectionproperties.outstock_fontSize + 'px',
91451
+ borderRadius: sectionproperties.outstock_borderradius + 'px',
91452
+ position: 'absolute',
91453
91453
  zIndex: 2,
91454
91454
  top: 0,
91455
91455
  bottom: 0,
91456
91456
  left: 0,
91457
91457
  right: 0,
91458
- margin: "auto"
91458
+ margin: 'auto'
91459
91459
  })
91460
91460
  };
91461
91461
  return /*#__PURE__*/React__default["default"].createElement("div", {
91462
- "class": props.sectiontypeprops2 == "vertical" ? "w-100" : "".concat(card_cssstyles.cardcont)
91462
+ "class": props.sectiontypeprops2 == 'vertical' ? 'w-100' : "".concat(card_cssstyles.cardcont)
91463
91463
  }, /*#__PURE__*/React__default["default"].createElement("div", {
91464
91464
  "class": "row m-0 w-100 pl-sm-2 pr-sm-2",
91465
91465
  style: {
91466
- paddingLeft: langdetect != "ar" ? sectionproperties.card_marginLeft + "px" : sectionproperties.card_marginRight + "px",
91467
- paddingRight: langdetect != "ar" ? sectionproperties.card_marginRight + "px" : sectionproperties.card_marginLeft + "px"
91466
+ paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
91467
+ paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
91468
91468
  }
91469
91469
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
91470
- "class": "".concat(card_cssstyles.productcard) + " w-100 "
91470
+ "class": "".concat(card_cssstyles.productcard) + ' w-100 '
91471
91471
  }, /*#__PURE__*/React__default["default"].createElement("div", {
91472
91472
  onClick: function onClick() {
91473
91473
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
91474
91474
  },
91475
- "class": "".concat(card_cssstyles.productcardimagecont) + " p-0 cursor-pointer ",
91475
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' p-0 cursor-pointer ',
91476
91476
  style: {
91477
- height: sectionproperties.image_height + "px",
91478
- marginBottom: sectionproperties.image_mb + "px",
91479
- position: "relative"
91477
+ height: sectionproperties.image_height + 'px',
91478
+ marginBottom: sectionproperties.image_mb + 'px',
91479
+ position: 'relative'
91480
91480
  }
91481
91481
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
91482
91482
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
91483
91483
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
91484
- path: "/tr:w-" + sectionproperties.imagetr_w + ",h-" + sectionproperties.imagetr_w + "/" + item.image,
91484
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_w + '/' + item.image,
91485
91485
  loading: "lazy",
91486
91486
  style: {
91487
- width: sectionproperties.imageInnerWidth_Height + "%",
91488
- height: sectionproperties.imageInnerWidth_Height + "%",
91489
- objectFit: sectionproperties.bgcovercontain == "Cover" ? "cover" : "contain",
91490
- background: sectionproperties.image_bgcolortransparent == "Transparent" ? "" : sectionproperties.image_bgcolor,
91491
- border: sectionproperties.image_borderwidth + "px solid " + sectionproperties.image_bordercolor,
91492
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.image_borderBottomLeftRadius + "px" : sectionproperties.image_borderBottomRightRadius + "px",
91493
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.image_borderBottomRightRadius + "px" : sectionproperties.image_borderBottomLeftRadius + "px",
91494
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.image_bordertopleftradius + "px" : sectionproperties.image_bordertoprightradius + "px",
91495
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.image_bordertoprightradius + "px" : sectionproperties.image_bordertopleftradius + "px",
91496
- opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" && item.hasvariants == 0 ? 0.4 : 1
91487
+ width: sectionproperties.imageInnerWidth_Height + '%',
91488
+ height: sectionproperties.imageInnerWidth_Height + '%',
91489
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
91490
+ background: sectionproperties.image_bgcolortransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
91491
+ border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
91492
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
91493
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
91494
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
91495
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
91496
+ opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
91497
91497
  }
91498
- }), sectionproperties.showbadge == "Show" && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
91498
+ }), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
91499
91499
  "class": "allcentered",
91500
91500
  style: {
91501
- position: "absolute",
91502
- top: sectionproperties.badge_top + "px",
91503
- left: langdetect != "ar" ? "10px" : 0,
91504
- right: langdetect != "ar" ? 0 : "10px",
91505
- width: sectionproperties.badge_width + "px",
91506
- height: sectionproperties.badge_height + "px",
91501
+ position: 'absolute',
91502
+ top: sectionproperties.badge_top + 'px',
91503
+ left: langdetect != 'ar' ? '10px' : 0,
91504
+ right: langdetect != 'ar' ? 0 : '10px',
91505
+ width: sectionproperties.badge_width + 'px',
91506
+ height: sectionproperties.badge_height + 'px',
91507
91507
  background: sectionproperties.badge_bgcolor,
91508
- borderRadius: sectionproperties.badge_borderradius + "px"
91508
+ borderRadius: sectionproperties.badge_borderradius + 'px'
91509
91509
  }
91510
91510
  }, /*#__PURE__*/React__default["default"].createElement("p", {
91511
91511
  "class": "m-0 p-0 text-uppercase",
91512
91512
  style: {
91513
91513
  color: sectionproperties.badge_color,
91514
- fontSize: sectionproperties.badge_fontsize + "px"
91514
+ fontSize: sectionproperties.badge_fontsize + 'px'
91515
91515
  }
91516
- }, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == "Show" && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
91516
+ }, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
91517
91517
  "class": "allcentered",
91518
91518
  style: {
91519
- position: "absolute",
91520
- top: sectionproperties.pillpositionfromtop + "px",
91521
- left: sectionproperties.pillpositionfromright + "px",
91522
- width: sectionproperties.pillwidth + "px",
91523
- height: sectionproperties.pillheight + "px",
91519
+ position: 'absolute',
91520
+ top: sectionproperties.pillpositionfromtop + 'px',
91521
+ left: sectionproperties.pillpositionfromright + 'px',
91522
+ width: sectionproperties.pillwidth + 'px',
91523
+ height: sectionproperties.pillheight + 'px',
91524
91524
  background: sectionproperties.pillbgcolor,
91525
- borderRadius: sectionproperties.pillborderBottomLeftRadius + "px"
91525
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
91526
91526
  }
91527
91527
  }, /*#__PURE__*/React__default["default"].createElement("p", {
91528
91528
  "class": "m-0 p-0 text-uppercase",
91529
91529
  style: {
91530
91530
  color: sectionproperties.pillcolor,
91531
- fontSize: sectionproperties.pillfontSize + "px",
91532
- direction: "ltr"
91531
+ fontSize: sectionproperties.pillfontSize + 'px',
91532
+ direction: 'ltr'
91533
91533
  }
91534
- }, "-" + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + "%")), item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
91535
- "class": "".concat(card_cssstyles.outstockbadge) + " allcentered "
91534
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
91535
+ "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
91536
91536
  }, /*#__PURE__*/React__default["default"].createElement("p", {
91537
91537
  "class": "m-0 p-0"
91538
- }, sectionproperties["outstock_content".concat(en)] || sectionproperties.outstock_contenten))), /*#__PURE__*/React__default["default"].createElement("div", {
91539
- "class": card_cssstyles.text_container + " row m-0 w-100 text_container "
91540
- }, sectionproperties.prodNameShow == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
91538
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
91539
+ "class": card_cssstyles.text_container + ' row m-0 w-100 text_container '
91540
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
91541
91541
  onClick: function onClick() {
91542
91542
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
91543
91543
  },
91544
91544
  "class": "col-lg-12 p-0 d-flex justify-content-stretch"
91545
91545
  }, /*#__PURE__*/React__default["default"].createElement("p", {
91546
- "class": "".concat(card_cssstyles.productNameStyles) + " p-0 wordbreak wordbreak1 m-0 "
91546
+ "class": "".concat(card_cssstyles.productNameStyles) + ' p-0 wordbreak wordbreak1 m-0 '
91547
91547
  }, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
91548
91548
  "class": "col-lg-12 d-flex align-items-center p-0 mb-1"
91549
- }, sectionproperties.prodPriceShow == "Show" && /*#__PURE__*/React__default["default"].createElement("p", {
91550
- "class": "".concat(card_cssstyles.productPricestyles) + " m-0 "
91551
- }, langdetect != "ar" ? item.currencyname : "", " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != "ar" ? "" : item.currencyname), sectionproperties.prodsalePriceshow == "Show" && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
91552
- "class": "".concat(card_cssstyles.productSalePricestyles) + " linethrough m-0 mr-2 ml-2 "
91553
- }, langdetect != "ar" ? item.currencyname : "", " ", item.defaultprice, " ", langdetect != "ar" ? "" : item.currencyname)), /*#__PURE__*/React__default["default"].createElement("div", {
91549
+ }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
91550
+ "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
91551
+ }, langdetect != 'ar' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
91552
+ "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
91553
+ }, langdetect != 'ar' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname)), /*#__PURE__*/React__default["default"].createElement("div", {
91554
91554
  "class": "col-lg-12 d-flex align-items-center p-0 "
91555
91555
  }, /*#__PURE__*/React__default["default"].createElement("div", {
91556
91556
  "class": "col-lg-9 col-md-9 d-flex align-items-center justify-content-start p-0"
91557
- }, sectionproperties.cartBtnShow == "Show" && /*#__PURE__*/React__default["default"].createElement("p", {
91558
- "class": "".concat(card_cssstyles.cart_btn) + " m-0 p-0 d-flex align-items-center justify-content-center cursor-pointer ",
91557
+ }, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
91558
+ "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center cursor-pointer ',
91559
91559
  onClick: function onClick() {
91560
- if (item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" && item.hasvariants == 0) {
91561
- NotificationManager.warning("", langdetect != "ar" ? "Sold Out" : "نفذت الكمية");
91560
+ if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
91561
+ NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
91562
91562
  } else {
91563
91563
  setShowProductInfoModalContext(true);
91564
91564
  setProductIdProdutInfoModalContext(item.productid);
91565
91565
  }
91566
91566
  }
91567
91567
  }, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
91568
- className: langdetect != "ar" ? "mr-2" : "ml-2",
91568
+ className: langdetect != 'ar' ? 'mr-2' : 'ml-2',
91569
91569
  style: {
91570
- fontSize: sectionproperties.cartBtn_iconFontSize + "px"
91570
+ fontSize: sectionproperties.cartBtn_iconFontSize + 'px'
91571
91571
  }
91572
- }, "+"), langdetect === "ar" ? sectionproperties.cartBtnContentarabic : langdetect === "chin" ? sectionproperties.cartBtnContentchin : langdetect === "es" ? sectionproperties.cartBtnContentspanish : langdetect === "fr" ? sectionproperties.cartBtnContentfrench : langdetect === "rus" ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish)), /*#__PURE__*/React__default["default"].createElement("div", {
91572
+ }, "+"), langdetect === 'ar' ? sectionproperties.cartBtnContentarabic : langdetect === 'chin' ? sectionproperties.cartBtnContentchin : langdetect === 'es' ? sectionproperties.cartBtnContentspanish : langdetect === 'fr' ? sectionproperties.cartBtnContentfrench : langdetect === 'rus' ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish)), /*#__PURE__*/React__default["default"].createElement("div", {
91573
91573
  "class": "col-lg-3 col-md-3 d-flex align-items-center justify-content-end p-0"
91574
- }, sectionproperties.favBtnShow == "Show" && /*#__PURE__*/React__default["default"].createElement("button", {
91575
- "class": " ".concat(card_cssstyles.wishlist_btn) + " m-0 p-0 d-flex align-items-center justify-content-center ",
91574
+ }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
91575
+ "class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
91576
91576
  onClick: function onClick() {
91577
91577
  addtofavoritescontext(item.productid);
91578
91578
  },
91579
91579
  style: {
91580
- background: item.IsFavExists ? sectionproperties.activebgcolor : "",
91581
- borderColor: item.IsFavExists == true ? sectionproperties.activefaviconcolor : ""
91580
+ background: item.IsFavExists ? sectionproperties.activebgcolor : '',
91581
+ borderColor: item.IsFavExists == true ? sectionproperties.activefaviconcolor : ''
91582
91582
  }
91583
91583
  }, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
91584
91584
  "class": "h-100 d-flex align-items-center justify-content-center"
91585
- }, sectionproperties.faviconshape == "Star Shape" && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
91585
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
91586
91586
  size: sectionproperties.favBtnIconfontsize,
91587
91587
  style: {
91588
91588
  color: sectionproperties.activefaviconcolor
91589
91589
  }
91590
- }), sectionproperties.faviconshape == "Heart Shape" && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
91590
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
91591
91591
  size: sectionproperties.favBtnIconfontsize,
91592
91592
  style: {
91593
91593
  color: sectionproperties.activefaviconcolor
91594
91594
  }
91595
91595
  })), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
91596
91596
  "class": "h-100 d-flex align-items-center justify-content-center"
91597
- }, sectionproperties.faviconshape == "Star Shape" && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
91597
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
91598
91598
  size: sectionproperties.favBtnIconfontsize
91599
- }), sectionproperties.faviconshape == "Heart Shape" && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
91599
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
91600
91600
  size: sectionproperties.favBtnIconfontsize
91601
91601
  })))))))));
91602
91602
  };
@@ -91604,7 +91604,7 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
91604
91604
  function ownKeys$e(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; }
91605
91605
  function _objectSpread$e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$e(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
91606
91606
  var Productcard_with_variants = function Productcard_with_variants(props) {
91607
- var _useState = React.useState(""),
91607
+ var _useState = React.useState(''),
91608
91608
  _useState2 = _slicedToArray__default["default"](_useState, 2),
91609
91609
  sectionproperties = _useState2[0],
91610
91610
  setsectionproperties = _useState2[1];
@@ -91625,7 +91625,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
91625
91625
  var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
91626
91626
  var ikimagecredcontext = props.actions.ikimagecredcontext;
91627
91627
  props.actions.NotificationManager;
91628
- var _useState5 = React.useState(""),
91628
+ var _useState5 = React.useState(''),
91629
91629
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
91630
91630
  secondimage = _useState6[0],
91631
91631
  setsecondimage = _useState6[1];
@@ -91668,223 +91668,223 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
91668
91668
  }, [props.cardinfoitemprops]);
91669
91669
  var card_cssstyles = {
91670
91670
  colorvariantcontainer: glamor.css({
91671
- width: sectionproperties.variantcontainer_minwidth + "vh",
91672
- height: sectionproperties.variantcontainer_height + "vh",
91673
- borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + "px"
91671
+ width: sectionproperties.variantcontainer_minwidth + 'vh',
91672
+ height: sectionproperties.variantcontainer_height + 'vh',
91673
+ borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
91674
91674
  }),
91675
91675
  productcard_imgcontainer: glamor.css({
91676
- height: sectionproperties.image_height + "px",
91677
- background: sectionproperties.image_bgtransparent == "Transparent" ? "" : sectionproperties.image_bgcolor,
91678
- border: sectionproperties.image_borderwidth + "px solid " + sectionproperties.image_bordercolor,
91679
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.image_borderBottomLeftRadius + "px" : sectionproperties.image_borderBottomRightRadius + "px",
91680
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.image_borderBottomRightRadius + "px" : sectionproperties.image_borderBottomLeftRadius + "px",
91681
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.image_bordertopleftradius + "px" : sectionproperties.image_bordertoprightradius + "px",
91682
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.image_bordertoprightradius + "px" : sectionproperties.image_bordertopleftradius + "px",
91683
- transition: ".3s"
91676
+ height: sectionproperties.image_height + 'px',
91677
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
91678
+ border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
91679
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
91680
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
91681
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
91682
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
91683
+ transition: '.3s'
91684
91684
  }),
91685
91685
  productNameStyles: glamor.css({
91686
- fontSize: sectionproperties.prodNameFontSize + "px",
91686
+ fontSize: sectionproperties.prodNameFontSize + 'px',
91687
91687
  textTransform: sectionproperties.prodNameTextTranform,
91688
91688
  fontWeight: sectionproperties.prodNameFontWeight,
91689
- cursor: "pointer",
91690
- transition: ".3s",
91691
- ":hover": {
91689
+ cursor: 'pointer',
91690
+ transition: '.3s',
91691
+ ':hover': {
91692
91692
  color: sectionproperties.prodNameColorOnHover
91693
91693
  }
91694
91694
  }),
91695
91695
  productPricestyles: glamor.css({
91696
91696
  color: sectionproperties.prodPriceColor,
91697
- fontSize: sectionproperties.prodpriceFontSize + "px",
91697
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
91698
91698
  fontWeight: sectionproperties.prodPriceFontWeight
91699
91699
  }),
91700
91700
  productSalePricestyles: glamor.css({
91701
91701
  color: sectionproperties.prodsalePriceColor,
91702
- fontSize: sectionproperties.prodsalepriceFontSize + "px",
91702
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
91703
91703
  fontWeight: sectionproperties.prodsalePriceFontWeight
91704
91704
  }),
91705
91705
  wishlist_btn: glamor.css({
91706
- position: "absolute",
91706
+ position: 'absolute',
91707
91707
  top: 6,
91708
91708
  right: 13,
91709
- left: langdetect != "ar" ? "" : sectionproperties.favbtn_marginRight + "px",
91710
- width: sectionproperties.favBtnWidth + "px",
91711
- height: sectionproperties.favBtnHeight + "px",
91712
- background: sectionproperties.favbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.favBtnbgColor,
91713
- borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + "px",
91709
+ left: langdetect != 'ar' ? '' : sectionproperties.favbtn_marginRight + 'px',
91710
+ width: sectionproperties.favBtnWidth + 'px',
91711
+ height: sectionproperties.favBtnHeight + 'px',
91712
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
91713
+ borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
91714
91714
  color: sectionproperties.favBtnTextcolor,
91715
- fontSize: sectionproperties.favBtnTextfontsize + "px",
91715
+ fontSize: sectionproperties.favBtnTextfontsize + 'px',
91716
91716
  textTransform: sectionproperties.favBtnTexttransform,
91717
91717
  fontWeight: sectionproperties.favBtnTextfontweight,
91718
- transition: ".3s",
91719
- border: sectionproperties.favbtnborderwidth + "px solid " + sectionproperties.favbtnbordercolor,
91720
- ":hover": {
91718
+ transition: '.3s',
91719
+ border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
91720
+ ':hover': {
91721
91721
  color: sectionproperties.favBtnTextcoloronhover,
91722
- background: sectionproperties.favbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.favBtnbgColoronhover
91722
+ background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover
91723
91723
  }
91724
91724
  }),
91725
91725
  cart_btn: glamor.css({
91726
- position: "absolute",
91726
+ position: 'absolute',
91727
91727
  left: 0,
91728
91728
  right: 0,
91729
- bottom: "10px",
91729
+ bottom: '10px',
91730
91730
  opacity: 1,
91731
- margin: "auto",
91732
- transition: "all, 0.3s",
91733
- width: sectionproperties.cartBtnWidth + "px",
91734
- maxWidth: "100%",
91735
- height: sectionproperties.cartBtnHeight + "px",
91736
- background: sectionproperties.cartbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColor,
91737
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + "px",
91731
+ margin: 'auto',
91732
+ transition: 'all, 0.3s',
91733
+ width: sectionproperties.cartBtnWidth + 'px',
91734
+ maxWidth: '100%',
91735
+ height: sectionproperties.cartBtnHeight + 'px',
91736
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
91737
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
91738
91738
  color: sectionproperties.cart_iconcolor,
91739
- fontSize: sectionproperties.cartBtnTextfontsize + "px",
91739
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
91740
91740
  textTransform: sectionproperties.cartBtnTexttransform,
91741
91741
  fontWeight: sectionproperties.cartBtnTextfontweight,
91742
- border: sectionproperties.cartbtnborderwidth + "px solid " + sectionproperties.cartbtnbordercolor,
91743
- ":hover": {
91744
- background: sectionproperties.cartbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColoronhover,
91742
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
91743
+ ':hover': {
91744
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
91745
91745
  color: sectionproperties.cartBtnTextcoloronhover
91746
91746
  }
91747
91747
  }),
91748
91748
  cart_btn_bottom: glamor.css({
91749
- position: "absolute",
91749
+ position: 'absolute',
91750
91750
  left: 0,
91751
91751
  right: 0,
91752
- bottom: "-20px",
91752
+ bottom: '-20px',
91753
91753
  opacity: 0,
91754
- margin: "auto",
91755
- transition: "all, 0.3s",
91756
- width: sectionproperties.cartBtnWidth + "px",
91757
- height: sectionproperties.cartBtnHeight + "px",
91758
- background: sectionproperties.cartbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColor,
91759
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + "px",
91754
+ margin: 'auto',
91755
+ transition: 'all, 0.3s',
91756
+ width: sectionproperties.cartBtnWidth + 'px',
91757
+ height: sectionproperties.cartBtnHeight + 'px',
91758
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
91759
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
91760
91760
  color: sectionproperties.cart_iconcolor,
91761
- fontSize: sectionproperties.cartBtnTextfontsize + "px",
91761
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
91762
91762
  textTransform: sectionproperties.cartBtnTexttransform,
91763
91763
  fontWeight: sectionproperties.cartBtnTextfontweight,
91764
- border: sectionproperties.cartbtnborderwidth + "px solid " + sectionproperties.cartbtnbordercolor,
91765
- ":hover": {
91766
- background: sectionproperties.cartbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColoronhover,
91764
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
91765
+ ':hover': {
91766
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
91767
91767
  color: sectionproperties.cartBtnTextcoloronhover
91768
91768
  }
91769
91769
  }),
91770
91770
  cart_btn_center: glamor.css({
91771
- position: "absolute",
91771
+ position: 'absolute',
91772
91772
  left: 0,
91773
91773
  right: 0,
91774
- bottom: "60px",
91774
+ bottom: '60px',
91775
91775
  opacity: 0,
91776
- margin: "auto",
91777
- transition: "all, 0.3s",
91778
- width: sectionproperties.cartBtnWidth + "px",
91779
- height: sectionproperties.cartBtnHeight + "px",
91780
- background: sectionproperties.cartbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColor,
91781
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + "px",
91776
+ margin: 'auto',
91777
+ transition: 'all, 0.3s',
91778
+ width: sectionproperties.cartBtnWidth + 'px',
91779
+ height: sectionproperties.cartBtnHeight + 'px',
91780
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
91781
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
91782
91782
  color: sectionproperties.cart_iconcolor,
91783
- fontSize: sectionproperties.cartBtnTextfontsize + "px",
91783
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
91784
91784
  textTransform: sectionproperties.cartBtnTexttransform,
91785
91785
  fontWeight: sectionproperties.cartBtnTextfontweight,
91786
- border: sectionproperties.cartbtnborderwidth + "px solid " + sectionproperties.cartbtnbordercolor,
91787
- ":hover": {
91788
- background: sectionproperties.cartbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColoronhover,
91786
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
91787
+ ':hover': {
91788
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
91789
91789
  color: sectionproperties.cartBtnTextcoloronhover
91790
91790
  }
91791
91791
  }),
91792
91792
  productcard: glamor.css({
91793
- background: sectionproperties.backgroundColortransparent == "Transparent" ? "transparent" : sectionproperties.backgroundColor,
91794
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.borderBottomLeftRadius + "px" : sectionproperties.borderBottomRightRadius + "px",
91795
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.borderBottomRightRadius + "px" : sectionproperties.borderBottomLeftRadius + "px",
91796
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.borderTopLeftRadius + "px" : sectionproperties.borderTopRightRadius + "px",
91797
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.borderTopRightRadius + "px" : sectionproperties.borderTopLeftRadius + "px",
91798
- marginTop: sectionproperties.marginTop + "px",
91799
- marginBottom: sectionproperties.marginBottom + "px",
91800
- paddingLeft: langdetect != "ar" ? sectionproperties.paddingLeft + "px" : sectionproperties.paddingRight + "px",
91801
- paddingRight: langdetect != "ar" ? sectionproperties.paddingRight + "px" : sectionproperties.paddingLeft + "px",
91802
- paddingTop: sectionproperties.paddingTop + "px",
91803
- paddingBottom: sectionproperties.paddingBottom + "px",
91804
- border: sectionproperties.sectioncardborderwidth + "px solid " + sectionproperties.sectioncardbordercolor,
91793
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
91794
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
91795
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
91796
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
91797
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
91798
+ marginTop: sectionproperties.marginTop + 'px',
91799
+ marginBottom: sectionproperties.marginBottom + 'px',
91800
+ paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
91801
+ paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
91802
+ paddingTop: sectionproperties.paddingTop + 'px',
91803
+ paddingBottom: sectionproperties.paddingBottom + 'px',
91804
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
91805
91805
  color: sectionproperties.prodNameColor,
91806
- transition: ".3s",
91807
- ":hover .wishlist_btn": {
91808
- marginRight: langdetect != "ar" ? "10px" : 0,
91809
- marginLeft: langdetect != "ar" ? 0 : "10px"
91806
+ transition: '.3s',
91807
+ ':hover .wishlist_btn': {
91808
+ marginRight: langdetect != 'ar' ? '10px' : 0,
91809
+ marginLeft: langdetect != 'ar' ? 0 : '10px'
91810
91810
  },
91811
- ":hover .cart_btn_bottom": {
91811
+ ':hover .cart_btn_bottom': {
91812
91812
  opacity: 1,
91813
- bottom: "10px"
91813
+ bottom: '10px'
91814
91814
  },
91815
- ":hover .cart_btn_center": {
91815
+ ':hover .cart_btn_center': {
91816
91816
  opacity: 1,
91817
- bottom: "40%"
91817
+ bottom: '40%'
91818
91818
  }
91819
91819
  }),
91820
91820
  cart_btnresponsive: glamor.css({
91821
- position: "absolute",
91821
+ position: 'absolute',
91822
91822
  opacity: 1,
91823
- bottom: "10px",
91823
+ bottom: '10px',
91824
91824
  left: 0,
91825
91825
  right: 0,
91826
- margin: "auto",
91827
- transition: "all, 0.3s",
91828
- width: sectionproperties.cartBtnWidth + "px",
91829
- height: sectionproperties.cartBtnHeight + "px",
91830
- background: sectionproperties.cartbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColor,
91831
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + "px",
91826
+ margin: 'auto',
91827
+ transition: 'all, 0.3s',
91828
+ width: sectionproperties.cartBtnWidth + 'px',
91829
+ height: sectionproperties.cartBtnHeight + 'px',
91830
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
91831
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
91832
91832
  color: sectionproperties.cart_iconcolor,
91833
- fontSize: sectionproperties.cartBtnTextfontsize + "px",
91833
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
91834
91834
  textTransform: sectionproperties.cartBtnTexttransform,
91835
91835
  fontWeight: sectionproperties.cartBtnTextfontweight,
91836
- border: sectionproperties.cartbtnborderwidth + "px solid " + sectionproperties.cartbtnbordercolor,
91837
- ":hover": {
91838
- background: sectionproperties.cartbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColoronhover,
91836
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
91837
+ ':hover': {
91838
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
91839
91839
  color: sectionproperties.cartBtnTextcoloronhover
91840
91840
  }
91841
91841
  }),
91842
91842
  imageContainer: glamor.css({
91843
91843
  backgroundColor: sectionproperties.image_bgcolor,
91844
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.image_borderBottomLeftRadius + "px" : sectionproperties.image_borderBottomRightRadius + "px",
91845
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.image_borderBottomRightRadius + "px" : sectionproperties.image_borderBottomLeftRadius + "px",
91846
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.image_bordertopleftradius + "px" : sectionproperties.image_bordertoprightradius + "px",
91847
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.image_bordertoprightradius + "px" : sectionproperties.image_bordertopleftradius + "px",
91848
- height: sectionproperties.image_height == 0 ? "auto" : sectionproperties.image_height + "px",
91849
- marginBottom: sectionproperties.image_mb + "px",
91850
- "@media (max-width: 800px)": {
91851
- height: sectionproperties.height_responsive == 0 ? "auto" : sectionproperties.height_responsive + "px"
91844
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
91845
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
91846
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
91847
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
91848
+ height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
91849
+ marginBottom: sectionproperties.image_mb + 'px',
91850
+ '@media (max-width: 800px)': {
91851
+ height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px'
91852
91852
  }
91853
91853
  }),
91854
91854
  productoutercard: glamor.css({
91855
- minWidth: sectionproperties.width + "px",
91856
- maxWidth: sectionproperties.width + "px",
91857
- "@media (max-width: 800px)": {
91858
- minWidth: sectionproperties.widthresponsive + "px",
91859
- maxWidth: sectionproperties.widthresponsive + "px"
91855
+ minWidth: sectionproperties.width + 'px',
91856
+ maxWidth: sectionproperties.width + 'px',
91857
+ '@media (max-width: 800px)': {
91858
+ minWidth: sectionproperties.widthresponsive + 'px',
91859
+ maxWidth: sectionproperties.widthresponsive + 'px'
91860
91860
  }
91861
91861
  })
91862
91862
  };
91863
91863
  var Image = function Image(type) {
91864
91864
  var transition = false;
91865
- if (sectionproperties.showimagetransition == "Show" && type != "responsive") {
91865
+ if (sectionproperties.showimagetransition == 'Show' && type != 'responsive') {
91866
91866
  transition = true;
91867
91867
  }
91868
91868
  return /*#__PURE__*/React__default["default"].createElement("div", {
91869
91869
  "class": "w-100 cursor-pointer",
91870
91870
  style: {
91871
- position: "relative"
91871
+ position: 'relative'
91872
91872
  }
91873
91873
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
91874
- "class": transition ? generalCardsStyles.intialimage : "",
91874
+ "class": transition ? generalCardsStyles.intialimage : '',
91875
91875
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
91876
91876
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
91877
- path: "/tr:w-" + sectionproperties.imagetr_w + ",h-" + sectionproperties.imagetr_h + "/" + item.image,
91877
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
91878
91878
  style: _defineProperty__default["default"](_defineProperty__default["default"]({
91879
- opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" && item.hasvariants == 0 ? sectionproperties.outofstockimageopcity : 1,
91880
- width: sectionproperties.imageInnerWidth_Height + "%",
91881
- height: sectionproperties.imageInnerWidth_Height + "%",
91882
- objectFit: sectionproperties.bgcovercontain == "Cover" ? "cover" : "contain",
91883
- borderBottomLeftRadius: sectionproperties.bgcovercontain == "Cover" ? langdetect != "ar" ? sectionproperties.image_borderBottomLeftRadius + "px" : sectionproperties.image_borderBottomRightRadius + "px" : 0,
91884
- borderBottomRightRadius: sectionproperties.bgcovercontain == "Cover" ? langdetect != "ar" ? sectionproperties.image_borderBottomRightRadius + "px" : sectionproperties.image_borderBottomLeftRadius + "px" : 0,
91885
- borderTopLeftRadius: sectionproperties.bgcovercontain == "Cover" ? langdetect != "ar" ? sectionproperties.image_bordertopleftradius + "px" : sectionproperties.image_bordertoprightradius + "px" : 0,
91886
- borderTopRightRadius: sectionproperties.bgcovercontain == "Cover" ? langdetect != "ar" ? sectionproperties.image_bordertoprightradius + "px" : sectionproperties.image_bordertopleftradius + "px" : 0
91887
- }, "width", "100%"), "height", "100%"),
91879
+ opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? sectionproperties.outofstockimageopcity : 1,
91880
+ width: sectionproperties.imageInnerWidth_Height + '%',
91881
+ height: sectionproperties.imageInnerWidth_Height + '%',
91882
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
91883
+ borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
91884
+ borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
91885
+ borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
91886
+ borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
91887
+ }, "width", '100%'), "height", '100%'),
91888
91888
  loading: "lazy",
91889
91889
  onClick: function onClick() {
91890
91890
  setShowProductInfoModalContext(true);
@@ -91894,23 +91894,23 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
91894
91894
  "class": generalCardsStyles.secondaryimage,
91895
91895
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
91896
91896
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
91897
- path: "/tr:w-" + sectionproperties.imagetr_w + ",h-" + sectionproperties.imagetr_h + "/" + secondimage,
91897
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + secondimage,
91898
91898
  style: {
91899
- width: "100%",
91900
- height: "100%",
91901
- objectFit: sectionproperties.bgcovercontain == "Cover" ? "cover" : "contain",
91902
- borderBottomLeftRadius: sectionproperties.bgcovercontain == "Cover" ? langdetect != "ar" ? sectionproperties.image_borderBottomLeftRadius + "px" : sectionproperties.image_borderBottomRightRadius + "px" : 0,
91903
- borderBottomRightRadius: sectionproperties.bgcovercontain == "Cover" ? langdetect != "ar" ? sectionproperties.image_borderBottomRightRadius + "px" : sectionproperties.image_borderBottomLeftRadius + "px" : 0,
91904
- borderTopLeftRadius: sectionproperties.bgcovercontain == "Cover" ? langdetect != "ar" ? sectionproperties.image_bordertopleftradius + "px" : sectionproperties.image_bordertoprightradius + "px" : 0,
91905
- borderTopRightRadius: sectionproperties.bgcovercontain == "Cover" ? langdetect != "ar" ? sectionproperties.image_bordertoprightradius + "px" : sectionproperties.image_bordertopleftradius + "px" : 0
91899
+ width: '100%',
91900
+ height: '100%',
91901
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
91902
+ borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
91903
+ borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
91904
+ borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
91905
+ borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
91906
91906
  },
91907
91907
  loading: "lazy",
91908
91908
  onClick: function onClick() {
91909
91909
  setShowProductInfoModalContext(true);
91910
91910
  setProductIdProdutInfoModalContext(item.productid);
91911
91911
  }
91912
- }), sectionproperties.favBtnShow == "Show" && /*#__PURE__*/React__default["default"].createElement("p", {
91913
- "class": "".concat(card_cssstyles.wishlist_btn) + " wishlist_btn cursor-pointer ",
91912
+ }), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
91913
+ "class": "".concat(card_cssstyles.wishlist_btn) + ' wishlist_btn cursor-pointer ',
91914
91914
  onClick: function onClick(e) {
91915
91915
  e.stopPropagation();
91916
91916
  addtofavoritescontext(item.productid);
@@ -91919,108 +91919,108 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
91919
91919
  "class": "h-100 d-flex align-items-center justify-content-center"
91920
91920
  }, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
91921
91921
  "class": "h-100 d-flex align-items-center justify-content-center"
91922
- }, sectionproperties.faviconshape == "Star Shape" && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
91922
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
91923
91923
  size: sectionproperties.favBtnIconfontsize,
91924
91924
  style: {
91925
91925
  color: sectionproperties.activefaviconcolor
91926
91926
  }
91927
- }), sectionproperties.faviconshape == "Heart Shape" && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
91927
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
91928
91928
  size: sectionproperties.favBtnIconfontsize,
91929
91929
  style: {
91930
91930
  color: sectionproperties.activefaviconcolor
91931
91931
  }
91932
91932
  })), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
91933
91933
  "class": "h-100 d-flex align-items-center justify-content-center"
91934
- }, sectionproperties.faviconshape == "Star Shape" && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
91934
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
91935
91935
  size: sectionproperties.favBtnIconfontsize
91936
- }), sectionproperties.faviconshape == "Heart Shape" && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
91936
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
91937
91937
  size: sectionproperties.favBtnIconfontsize
91938
- })))), sectionproperties.showbadge == "Show" && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
91938
+ })))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
91939
91939
  "class": "allcentered",
91940
91940
  style: {
91941
- position: "absolute",
91942
- top: sectionproperties.badge_top + "px",
91943
- left: sectionproperties.badge_right + "px",
91944
- width: sectionproperties.badge_width + "px",
91945
- height: sectionproperties.badge_height + "px",
91941
+ position: 'absolute',
91942
+ top: sectionproperties.badge_top + 'px',
91943
+ left: sectionproperties.badge_right + 'px',
91944
+ width: sectionproperties.badge_width + 'px',
91945
+ height: sectionproperties.badge_height + 'px',
91946
91946
  background: sectionproperties.badge_bgcolor,
91947
- borderRadius: sectionproperties.badge_borderradius + "px"
91947
+ borderRadius: sectionproperties.badge_borderradius + 'px'
91948
91948
  }
91949
91949
  }, /*#__PURE__*/React__default["default"].createElement("p", {
91950
- "class": props.fontFamilyprops == "ASUL" ? " ASUL m-0 p-0 text-uppercase" : " m-0 p-0 text-uppercase",
91950
+ "class": props.fontFamilyprops == 'ASUL' ? ' ASUL m-0 p-0 text-uppercase' : ' m-0 p-0 text-uppercase',
91951
91951
  style: {
91952
91952
  color: sectionproperties.badge_color,
91953
- fontSize: sectionproperties.badge_fontsize + "px"
91953
+ fontSize: sectionproperties.badge_fontsize + 'px'
91954
91954
  }
91955
- }, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == "Show" && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
91955
+ }, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
91956
91956
  "class": "allcentered",
91957
91957
  style: {
91958
- position: "absolute",
91959
- top: sectionproperties.pillpositionfromtop + "px",
91960
- left: sectionproperties.pillpositionfromright + "px",
91961
- width: sectionproperties.pillwidth + "px",
91962
- height: sectionproperties.pillheight + "px",
91958
+ position: 'absolute',
91959
+ top: sectionproperties.pillpositionfromtop + 'px',
91960
+ left: sectionproperties.pillpositionfromright + 'px',
91961
+ width: sectionproperties.pillwidth + 'px',
91962
+ height: sectionproperties.pillheight + 'px',
91963
91963
  background: sectionproperties.pillbgcolor,
91964
- borderRadius: sectionproperties.pillborderBottomLeftRadius + "px"
91964
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
91965
91965
  }
91966
- }, sectionproperties.countertype == "Percentage" && /*#__PURE__*/React__default["default"].createElement("p", {
91966
+ }, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
91967
91967
  "class": "m-0 p-0 text-uppercase",
91968
91968
  style: {
91969
91969
  color: sectionproperties.pillcolor,
91970
- fontSize: sectionproperties.pillfontSize + "px",
91971
- direction: "ltr"
91970
+ fontSize: sectionproperties.pillfontSize + 'px',
91971
+ direction: 'ltr'
91972
91972
  }
91973
- }, "-" + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + "%"), sectionproperties.countertype == "Value" && /*#__PURE__*/React__default["default"].createElement("p", {
91973
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
91974
91974
  "class": "m-0 p-0 text-uppercase",
91975
91975
  style: {
91976
91976
  color: sectionproperties.pillcolor,
91977
- fontSize: sectionproperties.pillfontSize + "px",
91978
- direction: "ltr"
91977
+ fontSize: sectionproperties.pillfontSize + 'px',
91978
+ direction: 'ltr'
91979
91979
  }
91980
- }, langdetect === "ar" ? "وفّر" : langdetect === "chin" ? "保存" : langdetect === "es" ? "Guardar" : langdetect === "fr" ? "Enregistrer" : langdetect === "rus" ? "Сохранить" : "Save", " ", langdetect != "ar" ? item.currencyname : "", " ", parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect != "ar" ? "" : item.currencyname)), sectionproperties.cartBtnShow == "Show" && /*#__PURE__*/React__default["default"].createElement("button", {
91981
- "class": sectionproperties.transition == "Bottom" ? "".concat(card_cssstyles.cart_btn_bottom) + " cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom " : sectionproperties.transition == "Center" ? "".concat(card_cssstyles.cart_btn_center) + " cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center " : "".concat(card_cssstyles.cart_btn) + " cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ",
91980
+ }, langdetect === 'ar' ? 'وفّر' : langdetect === 'chin' ? '保存' : langdetect === 'es' ? 'Guardar' : langdetect === 'fr' ? 'Enregistrer' : langdetect === 'rus' ? 'Сохранить' : 'Save', ' ', langdetect != 'ar' ? item.currencyname : '', " ", parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), ' ', langdetect != 'ar' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
91981
+ "class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
91982
91982
  onClick: function onClick(e) {
91983
91983
  e.stopPropagation();
91984
91984
  setShowProductInfoModalContext(true);
91985
91985
  setProductIdProdutInfoModalContext(item.productid);
91986
91986
  }
91987
91987
  }, /*#__PURE__*/React__default["default"].createElement("span", {
91988
- "class": props.fontFamilyprops == "ASUL" ? "ASUL" : ""
91989
- }, langdetect === "ar" ? sectionproperties.cartBtnContentarabic : langdetect === "chin" ? sectionproperties.cartBtnContentchin : langdetect === "es" ? sectionproperties.cartBtnContentspanish : langdetect === "fr" ? sectionproperties.cartBtnContentfrench : langdetect === "rus" ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish)), item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
91990
- "class": "".concat(card_cssstyles.outstockbadge) + " allcentered "
91988
+ "class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
91989
+ }, langdetect === 'ar' ? sectionproperties.cartBtnContentarabic : langdetect === 'chin' ? sectionproperties.cartBtnContentchin : langdetect === 'es' ? sectionproperties.cartBtnContentspanish : langdetect === 'fr' ? sectionproperties.cartBtnContentfrench : langdetect === 'rus' ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish)), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
91990
+ "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
91991
91991
  }, /*#__PURE__*/React__default["default"].createElement("p", {
91992
91992
  "class": "m-0 p-0"
91993
- }, sectionproperties["outstock_content".concat(en)] || sectionproperties.outstock_contenten)));
91993
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)));
91994
91994
  };
91995
91995
  return /*#__PURE__*/React__default["default"].createElement("div", {
91996
- "class": props.sectiontypeprops2 == "vertical" ? "row m-0 w-100" : " ".concat(card_cssstyles.productoutercard),
91996
+ "class": props.sectiontypeprops2 == 'vertical' ? 'row m-0 w-100' : " ".concat(card_cssstyles.productoutercard),
91997
91997
  style: {
91998
- paddingLeft: langdetect != "ar" ? sectionproperties.card_marginLeft + "px" : sectionproperties.card_marginRight + "px",
91999
- paddingRight: langdetect != "ar" ? sectionproperties.card_marginRight + "px" : sectionproperties.card_marginLeft + "px"
91998
+ paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
91999
+ paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
92000
92000
  }
92001
92001
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
92002
- "class": "".concat(card_cssstyles.productcard) + " w-100 "
92002
+ "class": "".concat(card_cssstyles.productcard) + ' w-100 '
92003
92003
  }, /*#__PURE__*/React__default["default"].createElement("div", {
92004
- "class": sectionproperties.showimagetransition == "Show" ? " ".concat(card_cssstyles.imageContainer, " ").concat(generalCardsStyles.imagecontainer) + " d-flex " : " ".concat(card_cssstyles.imageContainer, " ") + " allcentered "
92005
- }, Image("normal")), /*#__PURE__*/React__default["default"].createElement("div", {
92006
- "class": "row m-0 w-100 text-center mt-2"
92007
- }, sectionproperties.prodNameShow == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
92004
+ "class": sectionproperties.showimagetransition == 'Show' ? " ".concat(card_cssstyles.imageContainer, " ").concat(generalCardsStyles.imagecontainer) + ' d-flex ' : " ".concat(card_cssstyles.imageContainer, " ") + ' allcentered '
92005
+ }, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
92006
+ "class": 'row m-0 w-100 text-center mt-2'
92007
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
92008
92008
  "class": "col-lg-12 p-0"
92009
92009
  }, /*#__PURE__*/React__default["default"].createElement("p", {
92010
92010
  onClick: function onClick() {
92011
92011
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
92012
92012
  },
92013
- "class": props.fontFamilyprops == "ASUL" && sectionproperties.prodNameFontWeight > 100 && sectionproperties.prodNameFontWeight < 600 ? "".concat(card_cssstyles.productNameStyles) + " p-0 m-0 wordbreak wordbreak1 text-center ASUL-400 " : props.fontFamilyprops == "ASUL" && sectionproperties.prodNameFontWeight > 600 ? "".concat(card_cssstyles.productNameStyles) + " p-0 m-0 wordbreak wordbreak1 text-center ASUL-700 " : "".concat(card_cssstyles.productNameStyles) + " p-0 m-0 wordbreak wordbreak1 text-center "
92013
+ "class": props.fontFamilyprops == 'ASUL' && sectionproperties.prodNameFontWeight > 100 && sectionproperties.prodNameFontWeight < 600 ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ASUL-400 ' : props.fontFamilyprops == 'ASUL' && sectionproperties.prodNameFontWeight > 600 ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ASUL-700 ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center '
92014
92014
  }, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
92015
92015
  "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
92016
92016
  style: {
92017
- marginTop: sectionproperties.productpricemarginTop + "px"
92017
+ marginTop: sectionproperties.productpricemarginTop + 'px'
92018
92018
  }
92019
- }, sectionproperties.prodPriceShow == "Show" && /*#__PURE__*/React__default["default"].createElement("p", {
92020
- "class": props.fontFamilyprops == "ASUL" ? "".concat(card_cssstyles.productPricestyles) + " m-0 p-0 font-md-15 ASUL " : "".concat(card_cssstyles.productPricestyles) + " m-0 p-0 font-md-15 "
92021
- }, langdetect != "ar" ? "EGP" : "", " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != "ar" ? "" : "ج.م"), sectionproperties.prodsalePriceshow == "Show" && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
92022
- "class": props.fontFamilyprops == "ASUL" ? "".concat(card_cssstyles.productSalePricestyles) + " ASUL linethrough m-0 p-0 mr-2 ml-2 font-md-15 " : "".concat(card_cssstyles.productSalePricestyles) + " linethrough m-0 p-0 mr-2 ml-2 font-md-15 "
92023
- }, langdetect != "ar" ? "EGP" : "", " ", item.defaultprice, " ", langdetect != "ar" ? "" : "ج.م")))));
92019
+ }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
92020
+ "class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 ASUL ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 '
92021
+ }, langdetect != 'ar' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
92022
+ "class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productSalePricestyles) + ' ASUL linethrough m-0 p-0 mr-2 ml-2 font-md-15 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 p-0 mr-2 ml-2 font-md-15 '
92023
+ }, langdetect != 'ar' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : 'ج.م')))));
92024
92024
  };
92025
92025
 
92026
92026
  var css_248z$3 = ".Productcard6-module_productcard__Vx7dM {\r\n position: relative;\r\n cursor: pointer;\r\n transition: 0.3s !important;\r\n}\r\n\r\n.Productcard6-module_addbtn__x6bMd:hover {\r\n transition: 0.3s;\r\n}\r\n";
@@ -95784,7 +95784,7 @@ var CardAll = function CardAll(props) {
95784
95784
  function ownKeys$2(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; }
95785
95785
  function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
95786
95786
  var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(props) {
95787
- var _useState = React.useState(""),
95787
+ var _useState = React.useState(''),
95788
95788
  _useState2 = _slicedToArray__default["default"](_useState, 2),
95789
95789
  sectionproperties = _useState2[0],
95790
95790
  setsectionproperties = _useState2[1];
@@ -95836,9 +95836,9 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
95836
95836
  }, [props.cardinfoitemprops]);
95837
95837
  var addtocartfunc = function addtocartfunc(type, quantity) {
95838
95838
  var addtocardpayloadobj = {
95839
- functype: "add",
95839
+ functype: 'add',
95840
95840
  productid: item.productid,
95841
- variantid: "",
95841
+ variantid: '',
95842
95842
  quantity: quantity
95843
95843
  };
95844
95844
  var runfunc = false;
@@ -95847,13 +95847,13 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
95847
95847
  if (addtocardpayloadobj.variantid.length != 0) {
95848
95848
  runfunc = true;
95849
95849
  } else {
95850
- NotificationManager.warning("", langdetect != "ar" ? "Please Choose Product Options" : "من فضلك اختر متغير");
95850
+ NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
95851
95851
  }
95852
95852
  } else {
95853
95853
  runfunc = true;
95854
95854
  }
95855
95855
  } else {
95856
- NotificationManager.warning("", langdetect != "ar" ? "Please Choose Quantity" : "من فضلك اختر الكمية");
95856
+ NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
95857
95857
  }
95858
95858
  if (runfunc == true) {
95859
95859
  AddtoCartContext(addtocardpayloadobj);
@@ -95864,7 +95864,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
95864
95864
  var _AddtoCartMutationCon;
95865
95865
  if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
95866
95866
  return /*#__PURE__*/React__default["default"].createElement("div", {
95867
- "class": " d-flex align-items-center justify-content-center "
95867
+ "class": ' d-flex align-items-center justify-content-center '
95868
95868
  }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
95869
95869
  color: sectionproperties.quantitybtn_textcolor,
95870
95870
  width: "20px",
@@ -95881,353 +95881,353 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
95881
95881
  };
95882
95882
  var card_cssstyles = {
95883
95883
  productcard: glamor.css({
95884
- minWidth: props.sectiontypeprops2 == "vertical" ? "100%" : sectionproperties.width + "px",
95885
- maxWidth: props.sectiontypeprops2 == "vertical" ? "100%" : sectionproperties.width + "px",
95886
- "@media (max-width: 800px)": {
95887
- minWidth: props.sectiontypeprops2 == "vertical" ? "100%" : sectionproperties.widthresponsive + "px",
95888
- maxWidth: props.sectiontypeprops2 == "vertical" ? "100%" : sectionproperties.widthresponsive + "px"
95884
+ minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
95885
+ maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
95886
+ '@media (max-width: 800px)': {
95887
+ minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
95888
+ maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
95889
95889
  }
95890
95890
  }),
95891
95891
  productcardimagecont: glamor.css({
95892
- position: "relative",
95893
- overflow: "hidden",
95894
- height: sectionproperties.image_height + "px",
95895
- background: sectionproperties.image_bgtransparent == "Transparent" ? "transparent" : sectionproperties.image_bgcolor,
95896
- border: sectionproperties.image_borderwidth + "px solid " + sectionproperties.image_bordercolor,
95897
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.image_borderBottomLeftRadius + "px" : sectionproperties.image_borderBottomRightRadius + "px",
95898
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.image_borderBottomRightRadius + "px" : sectionproperties.image_borderBottomLeftRadius + "px",
95899
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.image_bordertopleftradius + "px" : sectionproperties.image_bordertoprightradius + "px",
95900
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.image_bordertoprightradius + "px" : sectionproperties.image_bordertopleftradius + "px",
95901
- opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" && item.hasvariants == 0 ? sectionproperties.outofstockimageopcity : 1,
95902
- transition: ".3s"
95892
+ position: 'relative',
95893
+ overflow: 'hidden',
95894
+ height: sectionproperties.image_height + 'px',
95895
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
95896
+ border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
95897
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
95898
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
95899
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
95900
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
95901
+ opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? sectionproperties.outofstockimageopcity : 1,
95902
+ transition: '.3s'
95903
95903
  }),
95904
95904
  productNameStyles: glamor.css({
95905
95905
  color: sectionproperties.prodNameColor,
95906
- fontSize: sectionproperties.prodNameFontSize + "px",
95906
+ fontSize: sectionproperties.prodNameFontSize + 'px',
95907
95907
  textTransform: sectionproperties.prodNameTextTranform,
95908
95908
  fontWeight: sectionproperties.prodNameFontWeight,
95909
- transition: ".3s",
95910
- cursor: "pointer",
95911
- ":hover": {
95909
+ transition: '.3s',
95910
+ cursor: 'pointer',
95911
+ ':hover': {
95912
95912
  color: sectionproperties.prodNameColorOnHover
95913
95913
  }
95914
95914
  }),
95915
95915
  productPricestyles: glamor.css({
95916
95916
  color: sectionproperties.prodPriceColor,
95917
- fontSize: sectionproperties.prodpriceFontSize + "px",
95917
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
95918
95918
  fontWeight: sectionproperties.prodPriceFontWeight
95919
95919
  }),
95920
95920
  productSalePricestyles: glamor.css({
95921
95921
  color: sectionproperties.prodsalePriceColor,
95922
- fontSize: sectionproperties.prodsalepriceFontSize + "px",
95922
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
95923
95923
  fontWeight: sectionproperties.prodsalePriceFontWeight
95924
95924
  }),
95925
95925
  wishlist_btn: glamor.css({
95926
- width: sectionproperties.favBtnWidth + "px",
95927
- height: sectionproperties.favBtnHeight + "px",
95928
- background: sectionproperties.favbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.favBtnbgColor,
95929
- borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + "px",
95930
- border: sectionproperties.favbtnborderwidth + "px solid " + sectionproperties.favbtnbordercolor,
95926
+ width: sectionproperties.favBtnWidth + 'px',
95927
+ height: sectionproperties.favBtnHeight + 'px',
95928
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
95929
+ borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
95930
+ border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
95931
95931
  color: sectionproperties.favBtniconcolor,
95932
- transition: ".3s",
95933
- ":hover": {
95934
- background: sectionproperties.favbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.favBtnbgColoronhover,
95932
+ transition: '.3s',
95933
+ ':hover': {
95934
+ background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
95935
95935
  color: sectionproperties.favBtnTextcoloronhover
95936
95936
  }
95937
95937
  }),
95938
95938
  cart_btn: glamor.css({
95939
- position: "absolute",
95939
+ position: 'absolute',
95940
95940
  bottom: 10,
95941
95941
  right: 10,
95942
- width: sectionproperties.cartBtnWidth + "px",
95943
- height: sectionproperties.cartBtnHeight + "px",
95944
- background: sectionproperties.cartbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColor,
95945
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + "px",
95942
+ width: sectionproperties.cartBtnWidth + 'px',
95943
+ height: sectionproperties.cartBtnHeight + 'px',
95944
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
95945
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
95946
95946
  color: sectionproperties.cart_iconcolor,
95947
- border: sectionproperties.cartbtnborderwidth + "px solid " + sectionproperties.cartbtnbordercolor,
95947
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
95948
95948
  zIndex: 100,
95949
- transition: ".3s",
95950
- ":hover": {
95951
- background: sectionproperties.cartbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColoronhover,
95949
+ transition: '.3s',
95950
+ ':hover': {
95951
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
95952
95952
  color: sectionproperties.cartBtnTextcoloronhover,
95953
95953
  borderColor: sectionproperties.cartBtnTextcoloronhover
95954
95954
  }
95955
95955
  }),
95956
95956
  outstockbadge: glamor.css({
95957
- position: "absolute",
95958
- top: sectionproperties.outstock_top + "px",
95959
- left: langdetect != "ar" ? sectionproperties.outstock_right + "px" : "",
95960
- right: langdetect != "ar" ? "" : sectionproperties.outstock_right + "px",
95961
- width: sectionproperties.outstock_width + "px",
95962
- height: sectionproperties.outstock_height + "px",
95957
+ position: 'absolute',
95958
+ top: sectionproperties.outstock_top + 'px',
95959
+ left: langdetect != 'ar' ? sectionproperties.outstock_right + 'px' : '',
95960
+ right: langdetect != 'ar' ? '' : sectionproperties.outstock_right + 'px',
95961
+ width: sectionproperties.outstock_width + 'px',
95962
+ height: sectionproperties.outstock_height + 'px',
95963
95963
  background: sectionproperties.outstock_bg,
95964
95964
  color: sectionproperties.outstock_color,
95965
- fontSize: sectionproperties.outstock_fontSize + "px",
95966
- borderRadius: sectionproperties.outstock_borderradius + "px",
95965
+ fontSize: sectionproperties.outstock_fontSize + 'px',
95966
+ borderRadius: sectionproperties.outstock_borderradius + 'px',
95967
95967
  zIndex: 2
95968
95968
  }),
95969
95969
  outstockbadgecentered: glamor.css({
95970
- position: "absolute",
95970
+ position: 'absolute',
95971
95971
  top: 0,
95972
95972
  bottom: 0,
95973
95973
  left: 0,
95974
95974
  right: 0,
95975
- margin: "auto",
95976
- width: sectionproperties.outstock_width + "px",
95977
- height: sectionproperties.outstock_height + "px",
95975
+ margin: 'auto',
95976
+ width: sectionproperties.outstock_width + 'px',
95977
+ height: sectionproperties.outstock_height + 'px',
95978
95978
  background: sectionproperties.outstock_bg,
95979
95979
  color: sectionproperties.outstock_color,
95980
- fontSize: sectionproperties.outstock_fontSize + "px",
95981
- borderRadius: sectionproperties.outstock_borderradius + "px",
95980
+ fontSize: sectionproperties.outstock_fontSize + 'px',
95981
+ borderRadius: sectionproperties.outstock_borderradius + 'px',
95982
95982
  zIndex: 2
95983
95983
  }),
95984
95984
  quantity: glamor.css({
95985
95985
  color: sectionproperties.quantitycolor,
95986
- fontSize: sectionproperties.quantityfontsize + "px",
95986
+ fontSize: sectionproperties.quantityfontsize + 'px',
95987
95987
  fontWeight: sectionproperties.quantityfontweight
95988
95988
  }),
95989
95989
  quantitybtn: glamor.css({
95990
- height: sectionproperties.quantitybtn_height + "px",
95991
- width: sectionproperties.quantitybtn_width + "px",
95992
- display: "flex",
95993
- flexDirection: "row",
95994
- overflow: "hidden",
95995
- borderRadius: sectionproperties.quantitybtn_borderradius + "px",
95990
+ height: sectionproperties.quantitybtn_height + 'px',
95991
+ width: sectionproperties.quantitybtn_width + 'px',
95992
+ display: 'flex',
95993
+ flexDirection: 'row',
95994
+ overflow: 'hidden',
95995
+ borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
95996
95996
  background: sectionproperties.quantitybtn_bgcolor,
95997
- alignItems: "center",
95998
- justifyContent: "center",
95997
+ alignItems: 'center',
95998
+ justifyContent: 'center',
95999
95999
  margin: 0,
96000
- position: "relative",
96000
+ position: 'relative',
96001
96001
  fontWeight: sectionproperties.quantitybtn_textfontweight,
96002
96002
  color: sectionproperties.quantitybtn_textcolor,
96003
- fontSize: sectionproperties.quantitybtn_textfontsize + "px",
96004
- border: sectionproperties.quantitybtnborderwidth + "px solid " + sectionproperties.quantitybtnbordercolor,
96003
+ fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
96004
+ border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
96005
96005
  zIndex: 100
96006
96006
  }),
96007
96007
  quantitybtn_text: glamor.css({
96008
- margin: "auto"
96008
+ margin: 'auto'
96009
96009
  }),
96010
96010
  add_quantitybtn_icon_container: glamor.css({
96011
- position: "relative",
96012
- width: sectionproperties.add_quantitybtn_width + "px",
96013
- height: sectionproperties.add_quantitybtn_height + "px",
96011
+ position: 'relative',
96012
+ width: sectionproperties.add_quantitybtn_width + 'px',
96013
+ height: sectionproperties.add_quantitybtn_height + 'px',
96014
96014
  background: sectionproperties.add_quantitybtn_bgcolor,
96015
- display: "flex",
96016
- alignItems: "center",
96017
- justifyContent: "center",
96018
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.add_quantitybtn_leftborderradius + "px" : sectionproperties.add_quantitybtn_rightborderradius + "px",
96019
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.add_quantitybtn_leftborderradius + "px" : sectionproperties.add_quantitybtn_rightborderradius + "px",
96020
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.add_quantitybtn_rightborderradius + "px" : sectionproperties.add_quantitybtn_leftborderradius + "px",
96021
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.add_quantitybtn_rightborderradius + "px" : sectionproperties.add_quantitybtn_leftborderradius + "px",
96022
- fontSize: sectionproperties.add_quantitybtn_textfontsize + "px",
96015
+ display: 'flex',
96016
+ alignItems: 'center',
96017
+ justifyContent: 'center',
96018
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
96019
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
96020
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
96021
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
96022
+ fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
96023
96023
  color: sectionproperties.add_quantitybtn_textcolor,
96024
- transition: ".3s",
96025
- ":hover": {
96024
+ transition: '.3s',
96025
+ ':hover': {
96026
96026
  color: sectionproperties.add_quantitybtn_textcoloronhover,
96027
96027
  background: sectionproperties.add_quantitybtn_bgcoloronhover
96028
96028
  },
96029
- ":hover .addbtn": {
96029
+ ':hover .addbtn': {
96030
96030
  color: sectionproperties.add_quantitybtn_textcoloronhover,
96031
- transition: ".3s"
96031
+ transition: '.3s'
96032
96032
  }
96033
96033
  }),
96034
96034
  minus_quantitybtn_icon_container: glamor.css({
96035
- position: "relative",
96036
- display: "flex",
96037
- alignItems: "center",
96038
- justifyContent: "center",
96039
- width: sectionproperties.remove_quantitybtn_width + "px",
96040
- height: sectionproperties.remove_quantitybtn_height + "px",
96035
+ position: 'relative',
96036
+ display: 'flex',
96037
+ alignItems: 'center',
96038
+ justifyContent: 'center',
96039
+ width: sectionproperties.remove_quantitybtn_width + 'px',
96040
+ height: sectionproperties.remove_quantitybtn_height + 'px',
96041
96041
  background: sectionproperties.remove_quantitybtn_bgcolor,
96042
- fontSize: sectionproperties.remove_quantitybtn_textfontsize + "px",
96042
+ fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
96043
96043
  color: sectionproperties.remove_quantitybtn_textcolor,
96044
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.remove_quantitybtn_leftborderradius + "px" : sectionproperties.remove_quantitybtn_rightborderradius + "px",
96045
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.remove_quantitybtn_leftborderradius + "px" : sectionproperties.remove_quantitybtn_rightborderradius + "px",
96046
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.remove_quantitybtn_rightborderradius + "px" : sectionproperties.remove_quantitybtn_leftborderradius + "px",
96047
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.remove_quantitybtn_rightborderradius + "px" : sectionproperties.remove_quantitybtn_leftborderradius + "px",
96048
- transition: ".3s",
96049
- ":hover": {
96044
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
96045
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
96046
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
96047
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
96048
+ transition: '.3s',
96049
+ ':hover': {
96050
96050
  color: sectionproperties.remove_quantitybtn_textcoloronhover,
96051
96051
  background: sectionproperties.remove_quantitybtn_bgcoloronhover
96052
96052
  },
96053
- ":hover .minusbtn": {
96054
- transition: ".3s",
96053
+ ':hover .minusbtn': {
96054
+ transition: '.3s',
96055
96055
  color: sectionproperties.remove_quantitybtn_textcoloronhover
96056
96056
  }
96057
96057
  })
96058
96058
  };
96059
96059
  return /*#__PURE__*/React__default["default"].createElement("div", {
96060
- "class": props.sectiontypeprops2 == "vertical" ? "".concat(card_cssstyles.productcard) + " w-100 " : " ".concat(card_cssstyles.productcard),
96060
+ "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard),
96061
96061
  style: {
96062
- paddingLeft: langdetect != "ar" ? sectionproperties.card_marginLeft + "px" : sectionproperties.card_marginRight + "px",
96063
- paddingRight: langdetect != "ar" ? sectionproperties.card_marginRight + "px" : sectionproperties.card_marginLeft + "px"
96062
+ paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
96063
+ paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
96064
96064
  }
96065
96065
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
96066
- "class": " cursor-pointer w-100 ",
96066
+ "class": ' cursor-pointer w-100 ',
96067
96067
  style: {
96068
96068
  background: sectionproperties.backgroundColor,
96069
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.borderBottomLeftRadius + "px" : sectionproperties.borderBottomRightRadius + "px",
96070
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.borderBottomRightRadius + "px" : sectionproperties.borderBottomLeftRadius + "px",
96071
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.borderTopLeftRadius + "px" : sectionproperties.borderTopRightRadius + "px",
96072
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.borderTopRightRadius + "px" : sectionproperties.borderTopLeftRadius + "px",
96073
- marginTop: sectionproperties.marginTop + "px",
96074
- marginBottom: sectionproperties.marginBottom + "px",
96075
- border: sectionproperties.sectioncardborderwidth + "px solid " + sectionproperties.sectioncardbordercolor,
96076
- paddingTop: sectionproperties.paddingTop + "px",
96077
- paddingBottom: sectionproperties.paddingBottom + "px",
96078
- paddingLeft: langdetect != "ar" ? sectionproperties.paddingLeft + "px" : sectionproperties.paddingRight + "px",
96079
- paddingRight: langdetect != "ar" ? sectionproperties.paddingRight + "px" : sectionproperties.paddingLeft + "px",
96080
- transition: ".3s"
96069
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
96070
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
96071
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
96072
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
96073
+ marginTop: sectionproperties.marginTop + 'px',
96074
+ marginBottom: sectionproperties.marginBottom + 'px',
96075
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
96076
+ paddingTop: sectionproperties.paddingTop + 'px',
96077
+ paddingBottom: sectionproperties.paddingBottom + 'px',
96078
+ paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
96079
+ paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
96080
+ transition: '.3s'
96081
96081
  }
96082
96082
  }, /*#__PURE__*/React__default["default"].createElement("div", {
96083
96083
  "class": "w-100",
96084
96084
  style: {
96085
- position: "relative"
96085
+ position: 'relative'
96086
96086
  }
96087
- }, sectionproperties.favBtnShow == "Show" && /*#__PURE__*/React__default["default"].createElement("button", {
96088
- "class": " ".concat(card_cssstyles.wishlist_btn) + " m-0 p-0 d-flex align-items-center justify-content-center ",
96087
+ }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
96088
+ "class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
96089
96089
  onClick: function onClick(e) {
96090
96090
  e.stopPropagation();
96091
96091
  addtofavoritescontext(item.productid);
96092
96092
  },
96093
96093
  style: {
96094
96094
  zIndex: 2,
96095
- position: "absolute",
96095
+ position: 'absolute',
96096
96096
  top: 5,
96097
- right: langdetect != "ar" ? 5 : "",
96098
- left: langdetect != "ar" ? "" : 5,
96099
- background: item.IsFavExists == true ? sectionproperties.favbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.activebgcolor : ""
96097
+ right: langdetect != 'ar' ? 5 : '',
96098
+ left: langdetect != 'ar' ? '' : 5,
96099
+ background: item.IsFavExists == true ? sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.activebgcolor : ''
96100
96100
  }
96101
96101
  }, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
96102
96102
  "class": "h-100 d-flex align-items-center justify-content-center"
96103
- }, sectionproperties.faviconshape == "Star Shape" && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
96103
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
96104
96104
  size: sectionproperties.favBtnIconfontsize,
96105
96105
  style: {
96106
96106
  color: sectionproperties.activefaviconcolor
96107
96107
  }
96108
- }), sectionproperties.faviconshape == "Heart Shape" && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
96108
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
96109
96109
  size: sectionproperties.favBtnIconfontsize,
96110
96110
  style: {
96111
96111
  color: sectionproperties.activefaviconcolor
96112
96112
  }
96113
96113
  })), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
96114
96114
  "class": "h-100 d-flex align-items-center justify-content-center"
96115
- }, sectionproperties.faviconshape == "Star Shape" && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
96115
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
96116
96116
  size: sectionproperties.favBtnIconfontsize
96117
- }), sectionproperties.faviconshape == "Heart Shape" && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
96117
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
96118
96118
  size: sectionproperties.favBtnIconfontsize
96119
- }))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
96119
+ }))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
96120
96120
  "class": "align-items-center justify-content-center font-weight-500",
96121
96121
  style: {
96122
96122
  zIndex: 2,
96123
- position: "absolute",
96124
- top: sectionproperties.badge_top + "px",
96125
- left: langdetect != "ar" ? sectionproperties.badge_right + "px" : "",
96126
- right: langdetect != "ar" ? "" : sectionproperties.badge_right + "px",
96127
- width: sectionproperties.badge_width + "px",
96128
- height: sectionproperties.badge_height + "px",
96123
+ position: 'absolute',
96124
+ top: sectionproperties.badge_top + 'px',
96125
+ left: langdetect != 'ar' ? sectionproperties.badge_right + 'px' : '',
96126
+ right: langdetect != 'ar' ? '' : sectionproperties.badge_right + 'px',
96127
+ width: sectionproperties.badge_width + 'px',
96128
+ height: sectionproperties.badge_height + 'px',
96129
96129
  background: sectionproperties.badge_bgcolor,
96130
- borderRadius: sectionproperties.badge_borderradius + "px",
96131
- display: item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" && item.hasvariants == 0 && sectionproperties.outofstock_replacebadges == "Replace" ? "none" : "flex"
96130
+ borderRadius: sectionproperties.badge_borderradius + 'px',
96131
+ display: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && sectionproperties.outofstock_replacebadges == 'Replace' ? 'none' : 'flex'
96132
96132
  }
96133
96133
  }, /*#__PURE__*/React__default["default"].createElement("p", {
96134
96134
  "class": "m-0 p-0",
96135
96135
  style: {
96136
96136
  color: sectionproperties.badge_color,
96137
- fontSize: sectionproperties.badge_fontsize + "px"
96137
+ fontSize: sectionproperties.badge_fontsize + 'px'
96138
96138
  }
96139
- }, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == "Show" && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
96139
+ }, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
96140
96140
  "class": "align-items-center justify-content-center",
96141
96141
  style: {
96142
96142
  zIndex: 2,
96143
- position: "absolute",
96144
- top: sectionproperties.pillpositionfromtop + "px",
96145
- left: langdetect != "ar" ? sectionproperties.pillpositionfromright + "px" : "",
96146
- right: langdetect != "ar" ? "" : sectionproperties.pillpositionfromright + "px",
96147
- width: sectionproperties.pillwidth + "px",
96148
- height: sectionproperties.pillheight + "px",
96143
+ position: 'absolute',
96144
+ top: sectionproperties.pillpositionfromtop + 'px',
96145
+ left: langdetect != 'ar' ? sectionproperties.pillpositionfromright + 'px' : '',
96146
+ right: langdetect != 'ar' ? '' : sectionproperties.pillpositionfromright + 'px',
96147
+ width: sectionproperties.pillwidth + 'px',
96148
+ height: sectionproperties.pillheight + 'px',
96149
96149
  background: sectionproperties.pillbgcolor,
96150
- borderRadius: sectionproperties.pillborderBottomLeftRadius + "px",
96151
- display: item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" && item.hasvariants == 0 && sectionproperties.outofstock_replacebadges == "Replace" ? "none" : "flex"
96150
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
96151
+ display: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && sectionproperties.outofstock_replacebadges == 'Replace' ? 'none' : 'flex'
96152
96152
  }
96153
96153
  }, /*#__PURE__*/React__default["default"].createElement("p", {
96154
96154
  "class": "m-0 p-0 text-uppercase",
96155
96155
  style: {
96156
96156
  color: sectionproperties.pillcolor,
96157
- fontSize: sectionproperties.pillfontSize + "px",
96158
- direction: "ltr"
96157
+ fontSize: sectionproperties.pillfontSize + 'px',
96158
+ direction: 'ltr'
96159
96159
  }
96160
- }, "-" + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + "%")), /*#__PURE__*/React__default["default"].createElement("div", {
96160
+ }, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), /*#__PURE__*/React__default["default"].createElement("div", {
96161
96161
  onClick: function onClick() {
96162
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == "Product Information") {
96162
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
96163
96163
  setShowProductInfoModalContext(true);
96164
96164
  setProductIdProdutInfoModalContext(item.productid);
96165
96165
  } else {
96166
96166
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
96167
96167
  }
96168
96168
  },
96169
- "class": "".concat(card_cssstyles.productcardimagecont) + " w-100 p-0 d-flex align-items-center justify-content-center d-md-none ",
96169
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center d-md-none ',
96170
96170
  style: {
96171
96171
  zIndex: 1,
96172
- marginBottom: sectionproperties.image_mb + "px"
96172
+ marginBottom: sectionproperties.image_mb + 'px'
96173
96173
  }
96174
- }, item.image != "" && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
96174
+ }, item.image != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
96175
96175
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
96176
96176
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
96177
- path: "/tr:w-" + sectionproperties.imagetr_w + ",h-" + sectionproperties.imagetr_h + "/" + item.image,
96177
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
96178
96178
  loading: "lazy",
96179
96179
  style: {
96180
- width: sectionproperties.imageInnerWidth_Height + "%",
96181
- height: sectionproperties.imageInnerWidth_Height + "%",
96182
- objectFit: sectionproperties.bgcovercontain == "Cover" ? "cover" : "contain"
96180
+ width: sectionproperties.imageInnerWidth_Height + '%',
96181
+ height: sectionproperties.imageInnerWidth_Height + '%',
96182
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
96183
96183
  }
96184
96184
  })), /*#__PURE__*/React__default["default"].createElement("div", {
96185
96185
  onClick: function onClick() {
96186
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == "Product Information") {
96186
+ if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
96187
96187
  setShowProductInfoModalContext(true);
96188
96188
  setProductIdProdutInfoModalContext(item.productid);
96189
96189
  } else {
96190
96190
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
96191
96191
  }
96192
96192
  },
96193
- "class": "".concat(card_cssstyles.productcardimagecont) + " w-100 p-0 d-none d-md-flex align-items-center justify-content-center ",
96193
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-none d-md-flex align-items-center justify-content-center ',
96194
96194
  style: {
96195
96195
  zIndex: 1,
96196
- marginBottom: sectionproperties.image_mb + "px",
96197
- height: sectionproperties.height_responsive == 0 ? "auto" : sectionproperties.height_responsive + "px"
96196
+ marginBottom: sectionproperties.image_mb + 'px',
96197
+ height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px'
96198
96198
  }
96199
- }, item.image != "" && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
96199
+ }, item.image != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
96200
96200
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
96201
96201
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
96202
- path: "/tr:w-" + sectionproperties.imagetr_w + ",h-" + sectionproperties.imagetr_h + "/" + item.image,
96202
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
96203
96203
  loading: "lazy",
96204
96204
  style: {
96205
- width: sectionproperties.imageInnerWidth_Height + "%",
96206
- height: sectionproperties.imageInnerWidth_Height + "%",
96207
- objectFit: sectionproperties.bgcovercontain == "Cover" ? "cover" : "contain"
96205
+ width: sectionproperties.imageInnerWidth_Height + '%',
96206
+ height: sectionproperties.imageInnerWidth_Height + '%',
96207
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
96208
96208
  }
96209
- })), item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" && item.hasvariants == 0 && sectionproperties.outofstock_centered == "Not centered" && /*#__PURE__*/React__default["default"].createElement("div", {
96210
- "class": "".concat(card_cssstyles.outstockbadge) + " allcentered "
96209
+ })), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && sectionproperties.outofstock_centered == 'Not centered' && /*#__PURE__*/React__default["default"].createElement("div", {
96210
+ "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
96211
96211
  }, /*#__PURE__*/React__default["default"].createElement("p", {
96212
96212
  "class": "m-0 p-0"
96213
- }, sectionproperties["outstock_content".concat(en)] || sectionproperties.outstock_contenten)), item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" && item.hasvariants == 0 && sectionproperties.outofstock_centered == "Centered" && /*#__PURE__*/React__default["default"].createElement("div", {
96214
- "class": "".concat(card_cssstyles.outstockbadgecentered) + " allcentered "
96213
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && sectionproperties.outofstock_centered == 'Centered' && /*#__PURE__*/React__default["default"].createElement("div", {
96214
+ "class": "".concat(card_cssstyles.outstockbadgecentered) + ' allcentered '
96215
96215
  }, /*#__PURE__*/React__default["default"].createElement("p", {
96216
96216
  "class": "m-0 p-0"
96217
- }, sectionproperties["outstock_content".concat(en)] || sectionproperties.outstock_contenten)), sectionproperties.cartBtnShow == "Show" && showquantity == false && /*#__PURE__*/React__default["default"].createElement("div", {
96218
- "class": "".concat(card_cssstyles.cart_btn) + " m-0 p-0 d-flex align-items-center justify-content-center mt-1 ",
96217
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)), sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React__default["default"].createElement("div", {
96218
+ "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
96219
96219
  onClick: function onClick() {
96220
- if (sectionproperties.quantitybtn_show == "Show" && showquantity == false) {
96220
+ if (sectionproperties.quantitybtn_show == 'Show' && showquantity == false) {
96221
96221
  setshowquantity(true);
96222
96222
  if (item.hasvariants == 0) {
96223
96223
  var tempitem = _objectSpread$2({}, item);
96224
96224
  tempitem.quantity = 1;
96225
96225
  setitem(_objectSpread$2({}, tempitem));
96226
- addtocartfunc("add", tempitem.quantity);
96226
+ addtocartfunc('add', tempitem.quantity);
96227
96227
  }
96228
96228
  } else {
96229
- if (item.currentquantity < 1 && sectionproperties.showoutofstock == "Show" && item.quantavailtype == "limit" && item.hasvariants == 0) {
96230
- NotificationManager.warning("", langdetect != "ar" ? "Sold Out" : "نفذت الكمية");
96229
+ if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
96230
+ NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
96231
96231
  } else {
96232
96232
  setShowProductInfoModalContext(true);
96233
96233
  setProductIdProdutInfoModalContext(item.productid);
@@ -96235,36 +96235,36 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
96235
96235
  }
96236
96236
  }
96237
96237
  }, /*#__PURE__*/React__default["default"].createElement("i", {
96238
- "class": "h-100 allcentered"
96239
- }, sectionproperties.carticonstyle == "Shopping bag 1" && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
96238
+ "class": 'h-100 allcentered'
96239
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
96240
96240
  "class": "",
96241
96241
  size: sectionproperties.cartBtn_iconFontSize
96242
- }), sectionproperties.carticonstyle == "Shopping bag 2" && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
96242
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
96243
96243
  "class": "",
96244
96244
  size: sectionproperties.cartBtn_iconFontSize
96245
- }), sectionproperties.carticonstyle == "Shopping bag 3" && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
96245
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
96246
96246
  "class": "",
96247
96247
  size: sectionproperties.cartBtn_iconFontSize
96248
- }), sectionproperties.carticonstyle == "Shopping bag 4" && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
96248
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
96249
96249
  size: sectionproperties.cartBtn_iconFontSize
96250
- }), sectionproperties.carticonstyle == "Shopping cart 1" && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
96250
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
96251
96251
  "class": "",
96252
96252
  size: sectionproperties.cartBtn_iconFontSize
96253
- }), sectionproperties.carticonstyle == "Shopping cart 2" && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
96253
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
96254
96254
  size: sectionproperties.cartBtn_iconFontSize
96255
- }), sectionproperties.carticonstyle == "Plus Icon" && /*#__PURE__*/React__default["default"].createElement(HiOutlinePlus.HiOutlinePlus, {
96255
+ }), sectionproperties.carticonstyle == 'Plus Icon' && /*#__PURE__*/React__default["default"].createElement(HiOutlinePlus.HiOutlinePlus, {
96256
96256
  size: sectionproperties.cartBtn_iconFontSize
96257
- }))), showquantity == true && sectionproperties.quantitybtn_show == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
96257
+ }))), showquantity == true && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
96258
96258
  "class": "row m-0 w-100 d-flex align-items-center justify-content-end",
96259
96259
  style: {
96260
- position: "absolute",
96260
+ position: 'absolute',
96261
96261
  bottom: 10,
96262
96262
  right: 10
96263
96263
  }
96264
96264
  }, /*#__PURE__*/React__default["default"].createElement("div", {
96265
- "class": "".concat(card_cssstyles.quantitybtn) + " p-0 d-flex align-items-center justify-content-center ",
96265
+ "class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center ',
96266
96266
  style: {
96267
- direction: "ltr"
96267
+ direction: 'ltr'
96268
96268
  }
96269
96269
  }, /*#__PURE__*/React__default["default"].createElement("button", {
96270
96270
  "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
@@ -96277,7 +96277,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
96277
96277
  tempitem.quantity = 0;
96278
96278
  }
96279
96279
  setitem(_objectSpread$2({}, tempitem));
96280
- addtocartfunc("add", tempitem.quantity);
96280
+ addtocartfunc('add', tempitem.quantity);
96281
96281
  } else {
96282
96282
  setShowProductInfoModalContext(true);
96283
96283
  setProductIdProdutInfoModalContext(item.productid);
@@ -96287,7 +96287,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
96287
96287
  }, /*#__PURE__*/React__default["default"].createElement("i", {
96288
96288
  "class": "h-100 allcentered minusbtn"
96289
96289
  }, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, null))), /*#__PURE__*/React__default["default"].createElement("span", {
96290
- "class": "".concat(card_cssstyles.quantitybtn_text) + " d-flex align-items-center justify-content-center "
96290
+ "class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center '
96291
96291
  }, addtocartbuttonrender()), /*#__PURE__*/React__default["default"].createElement("button", {
96292
96292
  "class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
96293
96293
  onClick: function onClick() {
@@ -96299,7 +96299,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
96299
96299
  tempitem.quantity = 0;
96300
96300
  }
96301
96301
  setitem(_objectSpread$2({}, tempitem));
96302
- addtocartfunc("add", tempitem.quantity);
96302
+ addtocartfunc('add', tempitem.quantity);
96303
96303
  } else {
96304
96304
  setShowProductInfoModalContext(true);
96305
96305
  setProductIdProdutInfoModalContext(item.productid);
@@ -96314,27 +96314,27 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
96314
96314
  "class": "col-lg-12 p-0 mb-1"
96315
96315
  }, /*#__PURE__*/React__default["default"].createElement("div", {
96316
96316
  "class": "row m-0 w-100 d-flex align-items-center justify-content-start"
96317
- }, sectionproperties.prodPriceShow == "Show" && /*#__PURE__*/React__default["default"].createElement("p", {
96318
- "class": "".concat(card_cssstyles.productPricestyles) + " m-0 "
96319
- }, langdetect != "ar" ? "EGP" : "", " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != "ar" ? "" : "ج.م"), sectionproperties.prodsalePriceshow == "Show" && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
96317
+ }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
96318
+ "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
96319
+ }, langdetect != 'ar' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
96320
96320
  "class": " d-flex align-items-center justify-content-center p-0 mb-0"
96321
96321
  }, /*#__PURE__*/React__default["default"].createElement("p", {
96322
- "class": "".concat(card_cssstyles.productSalePricestyles) + " linethrough m-0 mr-2 ml-2 "
96323
- }, langdetect != "ar" ? "EGP" : "", " ", item.defaultprice, " ", langdetect != "ar" ? "" : "ج.م")))), sectionproperties.prodNameShow == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
96322
+ "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
96323
+ }, langdetect != 'ar' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : 'ج.م')))), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
96324
96324
  "class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
96325
96325
  }, /*#__PURE__*/React__default["default"].createElement("p", {
96326
96326
  onClick: function onClick() {
96327
96327
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
96328
96328
  },
96329
- "class": sectionproperties.wordbreak == "1" ? "".concat(card_cssstyles.productNameStyles) + " wordbreak wordbreak1 m-0 " : "".concat(card_cssstyles.productNameStyles) + " wordbreak wordbreak2 m-0 ",
96329
+ "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 m-0 ',
96330
96330
  style: {
96331
- textAlign: langdetect != "ar" ? "left" : "right",
96332
- height: sectionproperties.wordbreak == "2" ? "6vh" : "auto"
96331
+ textAlign: langdetect != 'ar' ? 'left' : 'right',
96332
+ height: sectionproperties.wordbreak == '2' ? '6vh' : 'auto'
96333
96333
  }
96334
- }, item.name)), sectionproperties.quantityshow == "Show" && item.quantity != null && /*#__PURE__*/React__default["default"].createElement("div", {
96334
+ }, item.name)), sectionproperties.quantityshow == 'Show' && item.quantity != null && /*#__PURE__*/React__default["default"].createElement("div", {
96335
96335
  "class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
96336
96336
  }, /*#__PURE__*/React__default["default"].createElement("p", {
96337
- "class": "".concat(card_cssstyles.quantity) + " m-0 "
96337
+ "class": "".concat(card_cssstyles.quantity) + ' m-0 '
96338
96338
  }, item.measurmentunit))))));
96339
96339
  };
96340
96340