tabexseriescomponents 0.2.1285 → 0.2.1287
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 +75 -17
- package/dist/index.esm.js +75 -17
- package/dist/index.umd.js +75 -17
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3999,7 +3999,7 @@ var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (togg
|
|
|
3999
3999
|
existing.splice(index,1);setIsCompared(false);}else {// If not, add it (toggle on)
|
|
4000
4000
|
existing.push(productId);setIsCompared(true);}// Update localStorage
|
|
4001
4001
|
localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (remove this in production)
|
|
4002
|
-
}},isCompared?lang.remove:lang.compare))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer67=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.productinfo)===null||_fetchProductInfoQuer67===void 0?void 0:_fetchProductInfoQuer67.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer68;window.open('tel:'+((_fetchProductInfoQuer68=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer68===void 0?void 0:_fetchProductInfoQuer68.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer69=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.productinfo)===null||_fetchProductInfoQuer69===void 0?void 0:_fetchProductInfoQuer69.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer70=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.productinfo)===null||_fetchProductInfoQuer70===void 0?void 0:_fetchProductInfoQuer70.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i17=authdetailsContext.instinfo)===null||_authdetailsContext$i17===void 0?void 0:_authdetailsContext$i17.contactinfo.instid)=='6995aff955278'&&fetchProductInfoQueryContext.data.data.productinfo.productid!='69c4fffc42d0b'&&/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){routingcountext('productinfo/69c4fffc42d0b',false,'');window.location.reload();}},langdetect=='en'?'Get The Card':'احصل على البطاقة'),productpdfsarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer71=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.productinfo)===null||_fetchProductInfoQuer71===void 0?void 0:_fetchProductInfoQuer71.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{
|
|
4002
|
+
}},isCompared?lang.remove:lang.compare))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer67=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.data)===null||_fetchProductInfoQuer67===void 0||(_fetchProductInfoQuer67=_fetchProductInfoQuer67.productinfo)===null||_fetchProductInfoQuer67===void 0?void 0:_fetchProductInfoQuer67.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer68;window.open('tel:'+((_fetchProductInfoQuer68=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer68===void 0?void 0:_fetchProductInfoQuer68.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer69=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.data)===null||_fetchProductInfoQuer69===void 0||(_fetchProductInfoQuer69=_fetchProductInfoQuer69.productinfo)===null||_fetchProductInfoQuer69===void 0?void 0:_fetchProductInfoQuer69.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer70=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.productinfo)===null||_fetchProductInfoQuer70===void 0?void 0:_fetchProductInfoQuer70.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i17=authdetailsContext.instinfo)===null||_authdetailsContext$i17===void 0?void 0:_authdetailsContext$i17.contactinfo.instid)=='6995aff955278'&&fetchProductInfoQueryContext.data.data.productinfo.productid!='69c4fffc42d0b'&&/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%',borderRadius:sectionproperties.cart_btn_borderBottomLeftRadius+'px'},onClick:function onClick(){routingcountext('productinfo/69c4fffc42d0b',false,'');window.location.reload();}},langdetect=='en'?'Get The Card':'احصل على البطاقة'),productpdfsarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer71=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.data)===null||_fetchProductInfoQuer71===void 0||(_fetchProductInfoQuer71=_fetchProductInfoQuer71.productinfo)===null||_fetchProductInfoQuer71===void 0?void 0:_fetchProductInfoQuer71.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{},onClick:function onClick(){addtocartfunc(1);},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i18=authdetailsContext.instinfo)===null||_authdetailsContext$i18===void 0?void 0:_authdetailsContext$i18.contactinfo.instid)=='69a3437faf64f'&&/*#__PURE__*/React.createElement("div",{"class":"col-12 p-0 mt-3 mb-3"},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 mb-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){var productId=fetchProductInfoQueryContext.data.data.productinfo.productid;// Replace this with a real ID (e.g., passed via props)
|
|
4003
4003
|
var key='comparedProducts';// Get current list from localStorage
|
|
4004
4004
|
var existing=JSON.parse(localStorage.getItem(key))||[];// Check if the product is already in the list
|
|
4005
4005
|
var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (toggle off)
|
|
@@ -4015,7 +4015,7 @@ localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (
|
|
|
4015
4015
|
,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}})),(productimagesarray===null||productimagesarray===void 0?void 0:productimagesarray.length)>2&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-6 p-0"},/*#__PURE__*/React.createElement(ImageGallery,{items:productimagesarray.slice(2,3)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
|
|
4016
4016
|
,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}})),(productimagesarray===null||productimagesarray===void 0?void 0:productimagesarray.length)>2&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-6 p-0"},/*#__PURE__*/React.createElement(ImageGallery,{items:productimagesarray.slice(3,4)// thumbnailPosition={sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left'}
|
|
4017
4017
|
,showNav:false,showPlayButton:false,showFullscreenButton:false,startIndex:currentshowingimageindex,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},showThumbnails:false,ref:function ref(el){return setGallery(el);},onClick:function onClick(){if(sectionproperties.showgalleryfullscreenbtn=='Yes'){toggleFullScreen();}}}))),productimagesarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"w-100 d-none d-md-block"},/*#__PURE__*/React.createElement(ImageGallery,{items:productimagesarray,thumbnailPosition:'bottom',showNav:false,showPlayButton:false,showFullscreenButton:sectionproperties.showgalleryfullscreenbtn=='Yes'?true:false,startIndex:currentshowingimageindex,showThumbnails:sectionproperties.showthumbnail=='Hide'?false:true,onSlide:function onSlide(d){setcurrentshowingimageindex(d);},onClick:function onClick(){}})))),/*#__PURE__*/React.createElement("div",{className:'col-xl-4 col-lg-6 col-md-12 col-sm-12 pl-4 px-md-2'},/*#__PURE__*/React.createElement("div",{className:sectionproperties.evencols=='Yes'?'row m-0 w-100':'row m-0 w-100'},sectionproperties.quantityshow=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 text-start"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.quantityfontsize,color:sectionproperties.quantitycolor,fontWeight:sectionproperties.quantityfontweight}},langdetect=='en'?sectionproperties.qtytextinen:sectionproperties.qtytextinar,":",' ',fetchProductInfoQueryContext.data.data.productinfo.currentquantity)),/*#__PURE__*/React.createElement("div",{className:(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer81=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.productinfo)===null||_fetchProductInfoQuer81===void 0?void 0:_fetchProductInfoQuer81.productcanrate)==1?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.btnposition=='Top'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':sectionproperties.availabilitybtnposition=='Top'&§ionproperties.show_availability=='Show'?'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center':'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer82=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.productinfo)===null||_fetchProductInfoQuer82===void 0?void 0:_fetchProductInfoQuer82.productcanrate)==1&§ionproperties.showrating=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},/*#__PURE__*/React.createElement(ReactStars,{count:5,value:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer83=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer83===void 0||(_fetchProductInfoQuer83=_fetchProductInfoQuer83.data)===null||_fetchProductInfoQuer83===void 0||(_fetchProductInfoQuer83=_fetchProductInfoQuer83.productinfo)===null||_fetchProductInfoQuer83===void 0?void 0:_fetchProductInfoQuer83.productoverallrate,edit:false,size:18,emptyIcon:/*#__PURE__*/React.createElement("i",{className:"far fa-star",style:{color:'#FAB400'}}),halfIcon:/*#__PURE__*/React.createElement("i",{className:"fa fa-star-half-alt style={{ color: '#FAB400' }}"}),filledIcon:/*#__PURE__*/React.createElement("i",{className:"fa fa-star",style:{color:'#FAB400'}}),activeColor:"#ffd700"})),/*#__PURE__*/React.createElement("div",{className:"col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"},sectionproperties.availabilitybtnposition=='Top'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer84=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer84===void 0||(_fetchProductInfoQuer84=_fetchProductInfoQuer84.data)===null||_fetchProductInfoQuer84===void 0||(_fetchProductInfoQuer84=_fetchProductInfoQuer84.productinfo)===null||_fetchProductInfoQuer84===void 0?void 0:_fetchProductInfoQuer84.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3 mx-2"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React.createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity))),sectionproperties.btnposition=='Top'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Top'&&/*#__PURE__*/React.createElement("div",{"class":'col-lg-12 p-0 my-3 d-flex justify-content-start'},ProductsSKUContainer()),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition=='Under Name'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer85=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer85===void 0||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.data)===null||_fetchProductInfoQuer85===void 0||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.productinfo)===null||_fetchProductInfoQuer85===void 0||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.productfeatures)===null||_fetchProductInfoQuer85===void 0?void 0:_fetchProductInfoQuer85.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showshortdescription=='Show'&§ionproperties.descriptionposition=='Under Name'&§ionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React.createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor}},ShortDescriptionTitle())),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer86=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer86===void 0||(_fetchProductInfoQuer86=_fetchProductInfoQuer86.data)===null||_fetchProductInfoQuer86===void 0||(_fetchProductInfoQuer86=_fetchProductInfoQuer86.productinfo)===null||_fetchProductInfoQuer86===void 0?void 0:_fetchProductInfoQuer86.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer87=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.productinfo)===null||_fetchProductInfoQuer87===void 0?void 0:_fetchProductInfoQuer87.short_description_ar}})))),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition=='Under Name'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 my-3"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.featurestitlecolor,fontSize:sectionproperties.featurestitlefontsize+'px',fontWeight:600}},langdetect=='en'?sectionproperties.featurestitleen:sectionproperties.featurestitlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 m-0 w-100 p-0"},/*#__PURE__*/React.createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer88=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.productinfo)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.productfeatures)===null||_fetchProductInfoQuer88===void 0?void 0:_fetchProductInfoQuer88.map(function(fitem,findex){return/*#__PURE__*/React.createElement("tr",null,/*#__PURE__*/React.createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|
|
4018
|
-
color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 d-flex align-items-center"},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))))),sectionproperties.defaultpricingposition=='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer89=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.productinfo)===null||_fetchProductInfoQuer89===void 0?void 0:_fetchProductInfoQuer89.isproducttobesold)==1&&/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showmeasurementunit=='Show'&§ionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition=='Under Pricing'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&§ionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer90=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.productinfo)===null||_fetchProductInfoQuer90===void 0?void 0:_fetchProductInfoQuer90.short_description_en)!=null&§ionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer91=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.productinfo)===null||_fetchProductInfoQuer91===void 0?void 0:_fetchProductInfoQuer91.short_description_en}}))),langdetect=='ar'&§ionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer92=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.productinfo)===null||_fetchProductInfoQuer92===void 0?void 0:_fetchProductInfoQuer92.short_description_ar)!=null&§ionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer93=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.productinfo)===null||_fetchProductInfoQuer93===void 0?void 0:_fetchProductInfoQuer93.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer94=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.productinfo)===null||_fetchProductInfoQuer94===void 0?void 0:_fetchProductInfoQuer94.vendorinfo)!=null&§ionproperties.showvendor=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:'#000',cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':''},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer95;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer95=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.productinfo)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.vendorinfo)===null||_fetchProductInfoQuer95===void 0?void 0:_fetchProductInfoQuer95.vendorid]})));}}},langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,":",' ',/*#__PURE__*/React.createElement("span",{style:{fontWeight:600}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer96=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.productinfo)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.vendorinfo)===null||_fetchProductInfoQuer96===void 0?void 0:_fetchProductInfoQuer96.vendorname))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Bottom'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer97=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.productinfo)===null||_fetchProductInfoQuer97===void 0?void 0:_fetchProductInfoQuer97.deliverydatetext)!=null?'col-lg-12 p-0 mb-2 d-flex justify-content-start':'col-lg-12 p-0 mb-3 d-flex justify-content-start'},ProductsSKUContainer()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer98=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.productinfo)===null||_fetchProductInfoQuer98===void 0?void 0:_fetchProductInfoQuer98.currentquantity)<1&§ionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer99=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.productinfo)===null||_fetchProductInfoQuer99===void 0?void 0:_fetchProductInfoQuer99.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer100=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.productinfo)===null||_fetchProductInfoQuer100===void 0?void 0:_fetchProductInfoQuer100.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer101=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.productinfo)===null||_fetchProductInfoQuer101===void 0?void 0:_fetchProductInfoQuer101.deliverydatetext)!=null&&/*#__PURE__*/React.createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React.createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer102=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.productinfo)===null||_fetchProductInfoQuer102===void 0?void 0:_fetchProductInfoQuer102.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer103=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.productinfo)===null||_fetchProductInfoQuer103===void 0?void 0:_fetchProductInfoQuer103.isproducttobesold)==1&&/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.descriptionposition!='Under Name'&§ionproperties.descriptionposition=='Top'&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2 "},/*#__PURE__*/React.createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor,fontWeight:700,fontSize:17}},langdetect=='en'?'Description':'التفاصيل')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),/*#__PURE__*/React.createElement(Variantoptions,{actions:props.actions}),/*#__PURE__*/React.createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React.createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&§ionproperties.prodCatShow=='Show'&§ionproperties.descriptionposition!='Top'&&/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions}),sectionproperties.quantitybtn_show=='Show'&§ionproperties.cartBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React.createElement("hr",{className:"mb-0 mt-2"})),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3",style:{display:sectionproperties.quantitybtn_show=='Hide'&§ionproperties.cartBtnShow=='Hide'?'none':'flex'}},/*#__PURE__*/React.createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer104=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.productinfo)===null||_fetchProductInfoQuer104===void 0?void 0:_fetchProductInfoQuer104.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer105=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.productinfo)===null||_fetchProductInfoQuer105===void 0?void 0:_fetchProductInfoQuer105.isproducthasquantitychange)==1&§ionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer106=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.productinfo)===null||_fetchProductInfoQuer106===void 0?void 0:_fetchProductInfoQuer106.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer107=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.productinfo)===null||_fetchProductInfoQuer107===void 0?void 0:_fetchProductInfoQuer107.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition=='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},ProductFeaturesArray()),sectionproperties.cartbtnalone=='Besides Other Buttons'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer108=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.productinfo)===null||_fetchProductInfoQuer108===void 0?void 0:_fetchProductInfoQuer108.isproducttobesold)==1&&/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer109;window.open('tel:'+((_fetchProductInfoQuer109=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer109===void 0?void 0:_fetchProductInfoQuer109.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer110=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.productinfo)===null||_fetchProductInfoQuer110===void 0?void 0:_fetchProductInfoQuer110.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer111=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer111===void 0||(_fetchProductInfoQuer111=_fetchProductInfoQuer111.data)===null||_fetchProductInfoQuer111===void 0||(_fetchProductInfoQuer111=_fetchProductInfoQuer111.productinfo)===null||_fetchProductInfoQuer111===void 0?void 0:_fetchProductInfoQuer111.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&§ionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&§ionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer112=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.productinfo)===null||_fetchProductInfoQuer112===void 0?void 0:_fetchProductInfoQuer112.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer113;window.open('tel:'+((_fetchProductInfoQuer113=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer113===void 0?void 0:_fetchProductInfoQuer113.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer114=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.productinfo)===null||_fetchProductInfoQuer114===void 0?void 0:_fetchProductInfoQuer114.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer115=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer115===void 0||(_fetchProductInfoQuer115=_fetchProductInfoQuer115.data)===null||_fetchProductInfoQuer115===void 0||(_fetchProductInfoQuer115=_fetchProductInfoQuer115.productinfo)===null||_fetchProductInfoQuer115===void 0?void 0:_fetchProductInfoQuer115.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),productpdfsarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer116=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.productinfo)===null||_fetchProductInfoQuer116===void 0?void 0:_fetchProductInfoQuer116.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){addtocartfunc('forcetocheckout');},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))),sectionproperties.storeinfoposition=='Below Information'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"my-3"})),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition!='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer117=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.productinfo)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.productfeatures)===null||_fetchProductInfoQuer117===void 0?void 0:_fetchProductInfoQuer117.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer118=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.productinfo)===null||_fetchProductInfoQuer118===void 0?void 0:_fetchProductInfoQuer118.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React.createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer119=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.productinfo)===null||_fetchProductInfoQuer119===void 0?void 0:_fetchProductInfoQuer119.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer120=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.productinfo)===null||_fetchProductInfoQuer120===void 0?void 0:_fetchProductInfoQuer120.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer121=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.productinfo)===null||_fetchProductInfoQuer121===void 0?void 0:_fetchProductInfoQuer121.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer122=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.productinfo)===null||_fetchProductInfoQuer122===void 0?void 0:_fetchProductInfoQuer122.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3'},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(FiBox$1,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj9=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj9===void 0?void 0:_returnpolicyobj9.policypagename_en:(_returnpolicyobj0=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj0===void 0?void 0:_returnpolicyobj0.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj1=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj1===void 0?void 0:_returnpolicyobj1.policysummary_en:(_returnpolicyobj10=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj10===void 0?void 0:_returnpolicyobj10.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj11=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj11===void 0?void 0:_returnpolicyobj11.policypagename_en:(_returnpolicyobj12=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj12===void 0?void 0:_returnpolicyobj12.policypagename_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj13=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj13===void 0?void 0:_returnpolicyobj13.policysummary_en:(_returnpolicyobj14=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj14===void 0?void 0:_returnpolicyobj14.policysummary_ar}})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
4018
|
+
color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 d-flex align-items-center"},(fitem===null||fitem===void 0?void 0:fitem.feature_image_url)!=null&&/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("td",{style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar));}))))),sectionproperties.defaultpricingposition=='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer89=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.data)===null||_fetchProductInfoQuer89===void 0||(_fetchProductInfoQuer89=_fetchProductInfoQuer89.productinfo)===null||_fetchProductInfoQuer89===void 0?void 0:_fetchProductInfoQuer89.isproducttobesold)==1&&/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.showmeasurementunit=='Show'&§ionproperties.measurementunitposition=='Above Name'&&MeasurementUnitSection(),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition=='Under Pricing'&§ionproperties.featurestyle=='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-0"},ProductFeaturesTable()),langdetect=='en'&§ionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer90=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.data)===null||_fetchProductInfoQuer90===void 0||(_fetchProductInfoQuer90=_fetchProductInfoQuer90.productinfo)===null||_fetchProductInfoQuer90===void 0?void 0:_fetchProductInfoQuer90.short_description_en)!=null&§ionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer91=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.data)===null||_fetchProductInfoQuer91===void 0||(_fetchProductInfoQuer91=_fetchProductInfoQuer91.productinfo)===null||_fetchProductInfoQuer91===void 0?void 0:_fetchProductInfoQuer91.short_description_en}}))),langdetect=='ar'&§ionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer92=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.data)===null||_fetchProductInfoQuer92===void 0||(_fetchProductInfoQuer92=_fetchProductInfoQuer92.productinfo)===null||_fetchProductInfoQuer92===void 0?void 0:_fetchProductInfoQuer92.short_description_ar)!=null&§ionproperties.descriptionstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer93=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.productinfo)===null||_fetchProductInfoQuer93===void 0?void 0:_fetchProductInfoQuer93.short_description_ar}}))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer94=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.productinfo)===null||_fetchProductInfoQuer94===void 0?void 0:_fetchProductInfoQuer94.vendorinfo)!=null&§ionproperties.showvendor=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:'#000',cursor:sectionproperties.vendornameclickable=='Yes'?'pointer':''},onClick:function onClick(){if(sectionproperties.vendornameclickable=='Yes'){var _fetchProductInfoQuer95;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer95=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.productinfo)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.vendorinfo)===null||_fetchProductInfoQuer95===void 0?void 0:_fetchProductInfoQuer95.vendorid]})));}}},langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,":",' ',/*#__PURE__*/React.createElement("span",{style:{fontWeight:600}},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer96=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.productinfo)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.vendorinfo)===null||_fetchProductInfoQuer96===void 0?void 0:_fetchProductInfoQuer96.vendorname))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Bottom'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer97=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.productinfo)===null||_fetchProductInfoQuer97===void 0?void 0:_fetchProductInfoQuer97.deliverydatetext)!=null?'col-lg-12 p-0 mb-2 d-flex justify-content-start':'col-lg-12 p-0 mb-3 d-flex justify-content-start'},ProductsSKUContainer()),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer98=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.productinfo)===null||_fetchProductInfoQuer98===void 0?void 0:_fetchProductInfoQuer98.currentquantity)<1&§ionproperties.showoutofstock=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer99=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.productinfo)===null||_fetchProductInfoQuer99===void 0?void 0:_fetchProductInfoQuer99.quantavailtype)=='limit'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer100=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.productinfo)===null||_fetchProductInfoQuer100===void 0?void 0:_fetchProductInfoQuer100.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start mb-2"},/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.outstockbadge)+' allcentered '},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0"},langdetect=='en'?sectionproperties.outstock_contenten:sectionproperties.outstock_contentar))),sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer101=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.productinfo)===null||_fetchProductInfoQuer101===void 0?void 0:_fetchProductInfoQuer101.deliverydatetext)!=null&&/*#__PURE__*/React.createElement("div",{"class":"mb-4 col-lg-12 allcentered",style:{width:'100%',backgroundColor:sectionproperties.deliverytimecontainerBg,paddingLeft:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingRight:sectionproperties.deliverytimecontainerpaddinghorizontal+'px',paddingTop:sectionproperties.deliverytimecontainerpaddingvertical+'px',paddingBottom:sectionproperties.deliverytimecontainerpaddingvertical+'px',border:sectionproperties.deliverytimecontainerborderwidth+'px solid '+sectionproperties.deliverytimecontainerbordercolor,borderRadius:sectionproperties.deliverytimecontainerborderradius+'px',fontSize:sectionproperties.deliverytimecontainerfontsize+'px',fontWeight:sectionproperties.deliverytimecontainerfontWeight,marginTop:15}},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.deliverytimecontainercolor}},sectionproperties.showdeliverytitle=='Show'&&/*#__PURE__*/React.createElement("span",null,langdetect=='en'?sectionproperties.deliverycontent_en:sectionproperties.deliverycontent_ar,": "),' ',fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer102=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.productinfo)===null||_fetchProductInfoQuer102===void 0?void 0:_fetchProductInfoQuer102.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer103=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.productinfo)===null||_fetchProductInfoQuer103===void 0?void 0:_fetchProductInfoQuer103.isproducttobesold)==1&&/*#__PURE__*/React.createElement(ProductHeaderPricing,{actions:props.actions}),sectionproperties.descriptionposition!='Under Name'&§ionproperties.descriptionposition=='Top'&§ionproperties.descriptionstyle=='Style 1'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},sectionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2 "},/*#__PURE__*/React.createElement("p",{style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.generaltext_fontColor,fontWeight:700,fontSize:17}},langdetect=='en'?'Description':'التفاصيل')),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions,srcfromprops:'undername'})))),/*#__PURE__*/React.createElement(Variantoptions,{actions:props.actions}),/*#__PURE__*/React.createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),sectionproperties.showextrafield=='Show'&&/*#__PURE__*/React.createElement(ProductExtraFields,{actions:props.actions}),sectionproperties.gallerystyle!='Style 1'&§ionproperties.prodCatShow=='Show'&§ionproperties.descriptionposition!='Top'&&/*#__PURE__*/React.createElement(DescriptionContent,{actions:props.actions}),sectionproperties.quantitybtn_show=='Show'&§ionproperties.cartBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React.createElement("hr",{className:"mb-0 mt-2"})),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3",style:{display:sectionproperties.quantitybtn_show=='Hide'&§ionproperties.cartBtnShow=='Hide'?'none':'flex'}},/*#__PURE__*/React.createElement("div",{className:"row mx-0 w-100 d-flex align-items-center",style:{marginTop:sectionproperties.ctabuttnnsmarginvertical+'px',marginBottom:sectionproperties.ctabuttnnsmarginvertical+'px'}},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer104=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.productinfo)===null||_fetchProductInfoQuer104===void 0?void 0:_fetchProductInfoQuer104.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer105=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.productinfo)===null||_fetchProductInfoQuer105===void 0?void 0:_fetchProductInfoQuer105.isproducthasquantitychange)==1&§ionproperties.quantitybtn_show=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-2 d-flex justofy-content-start"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.generaltext_fontColor,fontSize:sectionproperties.generaltext_fontSize+'px',textTransform:sectionproperties.generaltext_textTransform,fontWeight:sectionproperties.generaltext_fontWeight}},langdetect=='en'?sectionproperties.quantitybtnen:sectionproperties.quantitybtnar,":")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 d-flex align-items-center",style:{justifyContent:sectionproperties.cartbtncentered=='Centered'?'center':'start'}},sectionproperties.quantitybtn_show=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer106=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.data)===null||_fetchProductInfoQuer106===void 0||(_fetchProductInfoQuer106=_fetchProductInfoQuer106.productinfo)===null||_fetchProductInfoQuer106===void 0?void 0:_fetchProductInfoQuer106.isproducttobesold)==1&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer107=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.data)===null||_fetchProductInfoQuer107===void 0||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.productinfo)===null||_fetchProductInfoQuer107===void 0?void 0:_fetchProductInfoQuer107.isproducthasquantitychange)==1&&QuantityButton(),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition=='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},ProductFeaturesArray()),sectionproperties.cartbtnalone=='Besides Other Buttons'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer108=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.data)===null||_fetchProductInfoQuer108===void 0||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.productinfo)===null||_fetchProductInfoQuer108===void 0?void 0:_fetchProductInfoQuer108.isproducttobesold)==1&&/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer109;window.open('tel:'+((_fetchProductInfoQuer109=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer109===void 0?void 0:_fetchProductInfoQuer109.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer110=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.productinfo)===null||_fetchProductInfoQuer110===void 0?void 0:_fetchProductInfoQuer110.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer111=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer111===void 0||(_fetchProductInfoQuer111=_fetchProductInfoQuer111.data)===null||_fetchProductInfoQuer111===void 0||(_fetchProductInfoQuer111=_fetchProductInfoQuer111.productinfo)===null||_fetchProductInfoQuer111===void 0?void 0:_fetchProductInfoQuer111.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Bottom'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))),!IsFavorite&§ionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtncontent_en:sectionproperties.favbtncontent_ar),IsFavorite&§ionproperties.favBtnTextfontsize!=0&&/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{fontSize:sectionproperties.favBtnTextfontsize+'px'}},langdetect=='en'?sectionproperties.favbtnaddedcontent_en:sectionproperties.favbtnaddedcontent_ar))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer112=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.data)===null||_fetchProductInfoQuer112===void 0||(_fetchProductInfoQuer112=_fetchProductInfoQuer112.productinfo)===null||_fetchProductInfoQuer112===void 0?void 0:_fetchProductInfoQuer112.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:sectionproperties.cartbtntramsitionafterwhile=='Yes'?"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 cart_btnvibrate ':"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){if(fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction=='Call'){var _fetchProductInfoQuer113;window.open('tel:'+((_fetchProductInfoQuer113=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer113===void 0?void 0:_fetchProductInfoQuer113.product_phonenumber),'_blank');}else {if(fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant>=addtocardpayloadobj.quantity&&fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant<=addtocardpayloadobj.quantity){addtocartfunc();}else {NotificationManager.warning('',lang.maximum+': '+fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant+', '+lang.minimum+': '+fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);}}},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center ',style:{fontWeight:sectionproperties.cartBtnTextfontweight}},/*#__PURE__*/React.createElement("i",{className:langdetect=='en'?'h-100 d-flex align-items-center justify-content-center mr-2':'h-100 d-flex align-items-center justify-content-center ml-2'},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(IoBagHandleOutline,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{className:"",size:sectionproperties.cartBtn_iconFontSize}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtn_iconFontSize})),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer114=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.productinfo)===null||_fetchProductInfoQuer114===void 0?void 0:_fetchProductInfoQuer114.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer115=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer115===void 0||(_fetchProductInfoQuer115=_fetchProductInfoQuer115.data)===null||_fetchProductInfoQuer115===void 0||(_fetchProductInfoQuer115=_fetchProductInfoQuer115.productinfo)===null||_fetchProductInfoQuer115===void 0?void 0:_fetchProductInfoQuer115.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),productpdfsarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer116=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.data)===null||_fetchProductInfoQuer116===void 0||(_fetchProductInfoQuer116=_fetchProductInfoQuer116.productinfo)===null||_fetchProductInfoQuer116===void 0?void 0:_fetchProductInfoQuer116.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',onClick:function onClick(){addtocartfunc('forcetocheckout');},disabled:AddtoCartMutationContext.isLoading==true?true:false},!AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("span",{className:' d-flex align-items-center justify-content-center '},langdetect=='en'?'Buy It Now':'إشترى الان'),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"})))),sectionproperties.storeinfoposition=='Below Information'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},StoreInfoprops('belowinfo'))))),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"my-3"})),sectionproperties.showfeatures=='Show'&§ionproperties.featuresposition!='Under Name'&§ionproperties.featuresposition!='Under Description'&§ionproperties.featurestyle!='Table'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer117=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.productinfo)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.productfeatures)===null||_fetchProductInfoQuer117===void 0?void 0:_fetchProductInfoQuer117.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-12 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer118=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.productinfo)===null||_fetchProductInfoQuer118===void 0?void 0:_fetchProductInfoQuer118.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-12 text-start mt-3"},/*#__PURE__*/React.createElement("p",{"class":productinfo_cssstyles.sizeguidebtn+' m-0 p-0 cursor-pointer mb-auto ',onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer119=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.data)===null||_fetchProductInfoQuer119===void 0||(_fetchProductInfoQuer119=_fetchProductInfoQuer119.productinfo)===null||_fetchProductInfoQuer119===void 0?void 0:_fetchProductInfoQuer119.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer120=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.productinfo)===null||_fetchProductInfoQuer120===void 0?void 0:_fetchProductInfoQuer120.hasvariants)==0?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mt-3'},sectionproperties.descriptioncollapseopen=='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true,preExpanded:[0]},DescriptionAccordion()),sectionproperties.descriptioncollapseopen!='Yes'&&/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},DescriptionAccordion())),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer121=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.data)===null||_fetchProductInfoQuer121===void 0||(_fetchProductInfoQuer121=_fetchProductInfoQuer121.productinfo)===null||_fetchProductInfoQuer121===void 0?void 0:_fetchProductInfoQuer121.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer122=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.productinfo)===null||_fetchProductInfoQuer122===void 0?void 0:_fetchProductInfoQuer122.short_description_ar}})))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.showshortdescription=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.eviewssectionstyle=='In Collapse'?'col-lg-12 col-md-12 p-md-0':'col-lg-12 col-md-12 p-md-0 mb-3'},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 ",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?sectionproperties.policiestitleen:sectionproperties.policiestitlear)),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(FiBox$1,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj9=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj9===void 0?void 0:_returnpolicyobj9.policypagename_en:(_returnpolicyobj0=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj0===void 0?void 0:_returnpolicyobj0.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj1=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj1===void 0?void 0:_returnpolicyobj1.policysummary_en:(_returnpolicyobj10=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj10===void 0?void 0:_returnpolicyobj10.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.ShippingPolicy);}},"SEE MORE")),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"},/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered mx-2"},/*#__PURE__*/React.createElement(RiArrowGoBackLine,{size:15,style:{color:sectionproperties.prodCatColor}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0 text-uppercase",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'14px'}},langdetect=='en'?(_returnpolicyobj11=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj11===void 0?void 0:_returnpolicyobj11.policypagename_en:(_returnpolicyobj12=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj12===void 0?void 0:_returnpolicyobj12.policypagename_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak ',style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:'15px'},dangerouslySetInnerHTML:{__html:langdetect=='en'?(_returnpolicyobj13=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj13===void 0?void 0:_returnpolicyobj13.policysummary_en:(_returnpolicyobj14=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj14===void 0?void 0:_returnpolicyobj14.policysummary_ar}})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
4019
4019
|
// srcfromprops={'collapsepinfo'}
|
|
4020
4020
|
})))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer123=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.data)===null||_fetchProductInfoQuer123===void 0||(_fetchProductInfoQuer123=_fetchProductInfoQuer123.productinfo)===null||_fetchProductInfoQuer123===void 0?void 0:_fetchProductInfoQuer123.isproducttobesold)==1&§ionproperties.showtotalsection=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100 d-flex flex-row"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0",style:{color:sectionproperties.total_color,fontSize:sectionproperties.total_fontsize+'px',fontWeight:sectionproperties.total_fontweight,textTransform:sectionproperties.total_texttransform}},lang.total,":"),/*#__PURE__*/React.createElement("div",{className:"col-lg-9 col-md-9 col-sm-9 d-flex align-items-center pl-1 pr-1"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak d-flex align-items-center justify-content-end',style:{fontSize:sectionproperties.prodpriceFontSize+'px',fontWeight:sectionproperties.prodPriceFontWeight,color:sectionproperties.prodPriceColor}},/*#__PURE__*/React.createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right ':' d-flex align-items-center justify-content-end wordbreak text-left '},langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer124=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.data)===null||_fetchProductInfoQuer124===void 0?void 0:_fetchProductInfoQuer124.currencyname_en:'',' ',variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length==0&&fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer125=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.data)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.productinfo)===null||_fetchProductInfoQuer125===void 0||(_fetchProductInfoQuer125=_fetchProductInfoQuer125.variants[variantindexcompleted])===null||_fetchProductInfoQuer125===void 0?void 0:_fetchProductInfoQuer125.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer126=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.productinfo)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.variants[variantindexcompleted])===null||_fetchProductInfoQuer126===void 0?void 0:_fetchProductInfoQuer126.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer127=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.data)===null||_fetchProductInfoQuer127===void 0?void 0:_fetchProductInfoQuer127.currencyname_ar)),/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 linethrough wordbreak',style:{color:sectionproperties.prodsalePriceColor,fontSize:sectionproperties.prodsalepriceFontSize+'px',fontWeight:sectionproperties.prodsalePriceFontWeight}},fetchProductInfoQueryContext.data.data.productinfo.hassale==1&&variantindexcompleted!=undefined&&variantindexcompleted.length==0&&/*#__PURE__*/React.createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React.createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer128=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.data)===null||_fetchProductInfoQuer128===void 0?void 0:_fetchProductInfoQuer128.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer129=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.data)===null||_fetchProductInfoQuer129===void 0?void 0:_fetchProductInfoQuer129.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer130=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.productinfo)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.variants[variantindexcompleted])===null||_fetchProductInfoQuer130===void 0?void 0:_fetchProductInfoQuer130.hassale)==1&&/*#__PURE__*/React.createElement("span",{className:langdetect=='en'?' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ':' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '},/*#__PURE__*/React.createElement("span",{className:"ml-2 mr-2",style:{textDecoration:'none'}},"-"),langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer131=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.data)===null||_fetchProductInfoQuer131===void 0?void 0:_fetchProductInfoQuer131.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer132=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.data)===null||_fetchProductInfoQuer132===void 0?void 0:_fetchProductInfoQuer132.currencyname_ar))))),sectionproperties.availabilitybtnposition=='Bottom'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer133=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.productinfo)===null||_fetchProductInfoQuer133===void 0?void 0:_fetchProductInfoQuer133.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3 mt-2"},/*#__PURE__*/React.createElement("div",{style:{width:sectionproperties.availability_width+'px',height:sectionproperties.availability_height+'px',background:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availablebgcolor:sectionproperties.availability_limitedbgcolor,borderRadius:sectionproperties.availability_borderrradius+'px',border:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_availabletextcolor:sectionproperties.availability_borderwidtth+'px solid '+sectionproperties.availability_limitedtextcolor,justifyContent:sectionproperties.availabilitytextalignment=='Centered'?'center':'start'},className:"d-flex align-items-center pl-3 pr-3"},/*#__PURE__*/React.createElement("p",{className:"m-0 p-0 font-weight-500 wordbreak",style:{color:fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?sectionproperties.availability_availabletextcolor:sectionproperties.availability_limitedtextcolor,fontSize:sectionproperties.availability_fontsize+'px',textAlign:sectionproperties.availabilitytextalignment=='Centered'?'center':langdetect=='en'?'left':'right'}},/*#__PURE__*/React.createElement("span",{style:{color:sectionproperties.availability_textcolor},className:"font-weight-600"},lang.availability,":"),/*#__PURE__*/React.createElement("span",{className:"ml-1 mr-1"},fetchProductInfoQueryContext.data.data.productinfo.quantavailtype=='nolimit'?lang.available:lang.limitedquantity)))),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{"class":"mb-3 mt-3",style:{borderColor:'#eee'}})),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 1'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 mt-2 p-0"},ShareButtonsContainer()))))),sectionproperties.storeinfoposition=='On The Right'&&/*#__PURE__*/React.createElement("div",{className:langdetect=='en'?'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0':'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',style:{borderLeft:langdetect=='en'?'1px solid #eee':0,borderRight:langdetect=='ar'?'1px solid #eee':0,display:sectionproperties.showfooterphonenumber=='Hide'&§ionproperties.showfooteremail=='Hide'&§ionproperties.showstoreinfo2=='Hide'&§ionproperties.showstoreinfo1=='Hide'?'none':'block'}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100",style:{paddingLeft:langdetect=='en'?'.5em':0,paddingRight:langdetect=='ar'?'.5rem':0}},StoreInfoprops(),sectionproperties.showsizeguidebtn=='Show'&&sizeguideimage.length!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer134=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer134===void 0||(_fetchProductInfoQuer134=_fetchProductInfoQuer134.data)===null||_fetchProductInfoQuer134===void 0||(_fetchProductInfoQuer134=_fetchProductInfoQuer134.productinfo)===null||_fetchProductInfoQuer134===void 0?void 0:_fetchProductInfoQuer134.hasvariants)==0&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 allcentered mb-2 p-sm-0 mt-2"},/*#__PURE__*/React.createElement("button",{"class":productinfo_cssstyles.sizeguidebtn,style:{width:'100%',height:50,border:'1px solid '+sectionproperties.footerinfotext_color,borderRadius:sectionproperties.storeinfobtnborderradius+'px',textDecoration:'none',fontSize:18,fontWeight:600},onClick:function onClick(){setopensizeguidemodal(true);}},langdetect=='en'?sectionproperties.sizeguidecontentenglish:sectionproperties.sizeguidecontentarabic)),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0"},/*#__PURE__*/React.createElement("hr",{"class":"my-3"})),sectionproperties.showShareButton=='Show'&§ionproperties.sharebtnstyle=='Style 2'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 allcentered mt-2"},ShareButtonsContainer())))))),Object.keys(sectionproperties).length!=0&§ionproperties.productInformationType=='Portfolio'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i33=authdetailsContext.instinfo)===null||_authdetailsContext$i33===void 0?void 0:_authdetailsContext$i33.contactinfo.instid)!='678d1831ef638'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i34=authdetailsContext.instinfo)===null||_authdetailsContext$i34===void 0?void 0:_authdetailsContext$i34.contactinfo.instid)!='6911f91dc52ac'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i35=authdetailsContext.instinfo)===null||_authdetailsContext$i35===void 0?void 0:_authdetailsContext$i35.contactinfo.instid)!='680a0b8a31930'&&/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 ',style:{minHeight:sectionproperties.height+'vh',paddingLeft:sectionproperties.productInformationType=='Portfolio'?0:'',paddingRight:sectionproperties.productInformationType=='Portfolio'?0:''}},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 allcentered p-0 mb-2"},/*#__PURE__*/React.createElement("div",{className:"h-100",style:{width:sectionproperties.image_width+'%'}},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-'+sectionproperties.imagetr_w+',h-'+sectionproperties.imagetr_h+'/'+(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer135=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer135===void 0||(_fetchProductInfoQuer135=_fetchProductInfoQuer135.data)===null||_fetchProductInfoQuer135===void 0||(_fetchProductInfoQuer135=_fetchProductInfoQuer135.productinfo)===null||_fetchProductInfoQuer135===void 0?void 0:_fetchProductInfoQuer135.productmainimage),style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"}))),/*#__PURE__*/React.createElement("div",{"class":"px-md-3 px-1025-1 col-12",style:{paddingRight:langdetect=='en'?sectionproperties.paddingRight+'px':sectionproperties.paddingLeft+'px',paddingLeft:langdetect=='en'?sectionproperties.paddingLeft+'px':sectionproperties.paddingRight+'px'}},sectionproperties.showmeasurementunit=='Show'&&MeasurementUnitSection(),/*#__PURE__*/React.createElement("div",{className:'col-lg-12 p-0 mb-1 d-flex align-items-center',style:{justifyContent:sectionproperties.productnamecentered=='Centered'?'center':'start'}},ProductNameSection()),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-0"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 d-flex align-items-center"},ShortDescriptionTitle()),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 mt-3"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:sectionproperties.productnamecentered=='Centered'?'center':langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer136=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.productinfo)===null||_fetchProductInfoQuer136===void 0?void 0:_fetchProductInfoQuer136.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer137=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.productinfo)===null||_fetchProductInfoQuer137===void 0?void 0:_fetchProductInfoQuer137.short_description_ar}})))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start p-md-0"},/*#__PURE__*/React.createElement("div",{className:"row m-0 w-100"},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer138=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.data)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.productinfo)===null||_fetchProductInfoQuer138===void 0||(_fetchProductInfoQuer138=_fetchProductInfoQuer138.productfeatures)===null||_fetchProductInfoQuer138===void 0?void 0:_fetchProductInfoQuer138.map(function(fitem,findex){return/*#__PURE__*/React.createElement("div",{"class":' col-md-6 p-0 mb-3 mt-2 col-lg-'+sectionproperties.featuresnumcols},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 text-start"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start mb-3 text-uppercase p-0"},/*#__PURE__*/React.createElement("div",{style:{width:'20px'},"class":langdetect=='en'?'mr-2':'ml-2'},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:fitem===null||fitem===void 0?void 0:fitem.feature_image_url,loading:"lazy",style:{maxWidth:'100%',maxHeight:'100%'}})),/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurecolor,fontWeight:sectionproperties.featurefontweight,fontSize:sectionproperties.featurefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.name_en:fitem===null||fitem===void 0?void 0:fitem.name_ar)),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 text-start text-capitalize"},/*#__PURE__*/React.createElement("p",{"class":"m-0 p-0",style:{color:sectionproperties.featurevaluecolor,fontWeight:sectionproperties.featurevaluefontweight,fontSize:sectionproperties.featurevaluefontsize}},langdetect=='en'?fitem===null||fitem===void 0?void 0:fitem.value_en:fitem===null||fitem===void 0?void 0:fitem.value_ar))));}))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 my-4"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer139=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.productinfo)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.productimages)===null||_fetchProductInfoQuer139===void 0?void 0:_fetchProductInfoQuer139.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer140=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.productinfo)===null||_fetchProductInfoQuer140===void 0?void 0:_fetchProductInfoQuer140.productimages.map(function(item,index){return/*#__PURE__*/React.createElement("div",{"class":"col-lg-4 col-sm-12 mb-md-2 p-md-0"},/*#__PURE__*/React.createElement("div",{"class":' w-100 h-100',style:{}},/*#__PURE__*/React.createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:'/tr:w-500,h-500/'+item.path,style:{width:'100%',height:'100%',objectFit:'contain'},loading:"lazy"})));})))),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 my-5"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 d-flex justify-content-start"},/*#__PURE__*/React.createElement("p",{className:'text-black m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right'},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer141=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.data)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.productinfo)===null||_fetchProductInfoQuer141===void 0?void 0:_fetchProductInfoQuer141.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer142=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer142===void 0||(_fetchProductInfoQuer142=_fetchProductInfoQuer142.data)===null||_fetchProductInfoQuer142===void 0||(_fetchProductInfoQuer142=_fetchProductInfoQuer142.productinfo)===null||_fetchProductInfoQuer142===void 0?void 0:_fetchProductInfoQuer142.description_ar}}))))),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i36=authdetailsContext.instinfo)===null||_authdetailsContext$i36===void 0?void 0:_authdetailsContext$i36.contactinfo.instid)=='6911f91dc52ac'&&/*#__PURE__*/React.createElement("div",{"class":"".concat(productinfo_cssstyles.cardcontainer)+' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',style:{minHeight:'100vh'}},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-3"},/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{"class":'col-lg-12 p-0 d-flex justify-content-center h-sm-auto'// style={{ height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto' }}
|
|
4021
4021
|
,style:{height:'60vh'}},/*#__PURE__*/React.createElement("div",{"class":'h-sm-auto',style:{position:'relative',width:'100vw',// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
|
|
@@ -10127,7 +10127,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10127
10127
|
alignItems: 'center',
|
|
10128
10128
|
justifyContent: 'center',
|
|
10129
10129
|
overflow: 'hidden',
|
|
10130
|
-
width: sectionproperties.buynowwidth + '
|
|
10130
|
+
width: sectionproperties.buynowwidth + '%',
|
|
10131
10131
|
height: sectionproperties.buynowheight + 'px',
|
|
10132
10132
|
background: sectionproperties.buynowbgcolor,
|
|
10133
10133
|
borderRadius: sectionproperties.buynowborderradius + 'px',
|
|
@@ -37215,7 +37215,7 @@ var SubheaderDropdown = function SubheaderDropdown(props) {
|
|
|
37215
37215
|
style: {
|
|
37216
37216
|
width: '100%',
|
|
37217
37217
|
height: '100%',
|
|
37218
|
-
objectFit: '
|
|
37218
|
+
objectFit: 'cover',
|
|
37219
37219
|
borderRadius: sectionproperties.catslidercollimageborderradius + 'px',
|
|
37220
37220
|
border: sectionproperties.catslidercollimageborderwidth + 'px solid ' + sectionproperties.catslidercollimagebordercolor
|
|
37221
37221
|
}
|
|
@@ -65314,6 +65314,7 @@ var ElegantCategoriesCardSection = function ElegantCategoriesCardSection(props)
|
|
|
65314
65314
|
function ownKeys$1s(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; }
|
|
65315
65315
|
function _objectSpread$1s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1s(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
65316
65316
|
var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCards(props) {
|
|
65317
|
+
var _authdetailsContext$i5, _authdetailsContext$i6;
|
|
65317
65318
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
65318
65319
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
65319
65320
|
props.actions.lang;
|
|
@@ -66645,7 +66646,10 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
66645
66646
|
zIndex: 2,
|
|
66646
66647
|
background: sectionproperties.backgroundColor
|
|
66647
66648
|
}
|
|
66648
|
-
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
66649
|
+
}, sectionproperties.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) != '68b87409b9a2a' && /*#__PURE__*/React.createElement("div", {
|
|
66650
|
+
"class": ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '
|
|
66651
|
+
}, cardsrender()), sectionproperties.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68b87409b9a2a' && /*#__PURE__*/React.createElement("div", {
|
|
66652
|
+
"data-aos": "fade-up",
|
|
66649
66653
|
"class": ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '
|
|
66650
66654
|
}, cardsrender()));
|
|
66651
66655
|
};
|
|
@@ -74613,6 +74617,9 @@ var MapsSection = function MapsSection(props) {
|
|
|
74613
74617
|
}))));
|
|
74614
74618
|
};
|
|
74615
74619
|
|
|
74620
|
+
// import { FetchingContext } from '../../Contexts/FetchingContext';
|
|
74621
|
+
// import { FetchingContext } from '../../../FetchingContext/FetchingContext';
|
|
74622
|
+
|
|
74616
74623
|
// const gifts = [
|
|
74617
74624
|
// { label: '10% OFF', color: colorTheme.wheelSegments[0] },
|
|
74618
74625
|
// { label: 'Free Shipping', color: colorTheme.wheelSegments[1] },
|
|
@@ -89144,7 +89151,7 @@ var Classiccategorycard = function Classiccategorycard(props) {
|
|
|
89144
89151
|
function ownKeys$n(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; }
|
|
89145
89152
|
function _objectSpread$n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
89146
89153
|
var Horizontalcard = function Horizontalcard(props) {
|
|
89147
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _item$producttags, _item$producttags$;
|
|
89154
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _item$producttags, _item$producttags$;
|
|
89148
89155
|
var _useState = useState(''),
|
|
89149
89156
|
_useState2 = _slicedToArray(_useState, 2),
|
|
89150
89157
|
sectionproperties = _useState2[0],
|
|
@@ -89209,7 +89216,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
89209
89216
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
89210
89217
|
border: sectionproperties.bordertype == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
|
|
89211
89218
|
borderBottom: sectionproperties.bordertype == 'Bottom' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : ''
|
|
89212
|
-
}, "border", sectionproperties.
|
|
89219
|
+
}, "border", sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor)),
|
|
89213
89220
|
productNameStyles: css({
|
|
89214
89221
|
color: sectionproperties.prodNameColor,
|
|
89215
89222
|
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
@@ -89545,7 +89552,33 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
89545
89552
|
style: {
|
|
89546
89553
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
89547
89554
|
}
|
|
89548
|
-
}, plainString(langdetect == 'en' ? item.description : item.description))),
|
|
89555
|
+
}, plainString(langdetect == 'en' ? item.description : item.description))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '68b87409b9a2a' && /*#__PURE__*/React.createElement("div", {
|
|
89556
|
+
"class": "row m-0 w-100"
|
|
89557
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
|
|
89558
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
89559
|
+
"class": "text-start d-flex align-items-center col-lg-12 p-0 mb-1 y",
|
|
89560
|
+
style: {
|
|
89561
|
+
height: 20
|
|
89562
|
+
}
|
|
89563
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
89564
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
89565
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
89566
|
+
path: ffitem === null || ffitem === void 0 ? void 0 : ffitem.featureinfo.feature_image_url,
|
|
89567
|
+
loading: "lazy",
|
|
89568
|
+
style: {
|
|
89569
|
+
maxWidth: '100%',
|
|
89570
|
+
maxHeight: '100%'
|
|
89571
|
+
}
|
|
89572
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
89573
|
+
"class": "text-capitalize mx-2 d-flex flex-row",
|
|
89574
|
+
style: {
|
|
89575
|
+
color: '#000',
|
|
89576
|
+
fontSize: '14px'
|
|
89577
|
+
}
|
|
89578
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
89579
|
+
"class": "m-0 p-0 font-weight-600"
|
|
89580
|
+
}, langdetect == 'en' ? ffitem.featureinfo.name_en : ffitem.featureinfo.name_ar, ": "), ' ', langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar));
|
|
89581
|
+
}))), item.isproducttobesold == 1 && /*#__PURE__*/React.createElement("div", {
|
|
89549
89582
|
"class": "col-lg-9 col-md-12 p-0 d-flex align-items-center"
|
|
89550
89583
|
}, /*#__PURE__*/React.createElement("div", {
|
|
89551
89584
|
"class": "row m-0 w-100"
|
|
@@ -89553,7 +89586,12 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
89553
89586
|
"class": "col-lg-12 p-0 text-start"
|
|
89554
89587
|
}, /*#__PURE__*/React.createElement("p", {
|
|
89555
89588
|
"class": card_cssstyles.productPricestyles + ' m-0 p-0 '
|
|
89556
|
-
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname)
|
|
89589
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68b87409b9a2a' && item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
|
|
89590
|
+
"class": card_cssstyles.productSalePricestyles + ' mx-2 m-0 p-0 ',
|
|
89591
|
+
style: {
|
|
89592
|
+
textDecoration: 'line-through'
|
|
89593
|
+
}
|
|
89594
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React.createElement("div", {
|
|
89557
89595
|
"class": "col-lg-12 p-0 text-start"
|
|
89558
89596
|
}, item.hassale == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
89559
89597
|
"class": card_cssstyles.productSalePricestyles + ' m-0 p-0 ',
|
|
@@ -89653,7 +89691,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
89653
89691
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
89654
89692
|
}, /*#__PURE__*/React.createElement("i", {
|
|
89655
89693
|
"class": "h-100 allcentered addbtn"
|
|
89656
|
-
}, /*#__PURE__*/React.createElement(FiPlus, null))))))))), sectionproperties.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
89694
|
+
}, /*#__PURE__*/React.createElement(FiPlus, null))))))))), sectionproperties.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6935c04816952' && /*#__PURE__*/React.createElement("div", {
|
|
89657
89695
|
"class": card_cssstyles.productcard + ' w-100 p-0 pr-5 ',
|
|
89658
89696
|
style: {
|
|
89659
89697
|
borderRadius: 20
|
|
@@ -95124,7 +95162,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
|
95124
95162
|
function ownKeys$6(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; }
|
|
95125
95163
|
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
95126
95164
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
95127
|
-
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i4, _authdetailsContext$i5, _item$producttags2, _authdetailsContext$
|
|
95165
|
+
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _item$producttags2, _authdetailsContext$i7, _item$producttags$2, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
95128
95166
|
var _useState = useState(''),
|
|
95129
95167
|
_useState2 = _slicedToArray(_useState, 2),
|
|
95130
95168
|
sectionproperties = _useState2[0],
|
|
@@ -95943,7 +95981,27 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
95943
95981
|
color: sectionproperties.featurecolor,
|
|
95944
95982
|
fontSize: sectionproperties.featurefontsize + 'px'
|
|
95945
95983
|
}
|
|
95946
|
-
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')),
|
|
95984
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68b87409b9a2a' && /*#__PURE__*/React.createElement("div", {
|
|
95985
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
95986
|
+
style: {
|
|
95987
|
+
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
95988
|
+
}
|
|
95989
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
95990
|
+
"class": "m-0 p-0",
|
|
95991
|
+
style: {
|
|
95992
|
+
width: 8,
|
|
95993
|
+
height: 8,
|
|
95994
|
+
borderRadius: 100,
|
|
95995
|
+
background: 'green'
|
|
95996
|
+
}
|
|
95997
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
95998
|
+
"class": 'm-0 mx-2 p-0',
|
|
95999
|
+
style: {
|
|
96000
|
+
color: 'green',
|
|
96001
|
+
fontSize: 13,
|
|
96002
|
+
fontWeight: 400
|
|
96003
|
+
}
|
|
96004
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
95947
96005
|
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
95948
96006
|
style: {
|
|
95949
96007
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
@@ -95975,7 +96033,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
95975
96033
|
style: {
|
|
95976
96034
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
95977
96035
|
}
|
|
95978
|
-
}, item.name)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags2 = item.producttags) === null || _item$producttags2 === void 0 ? void 0 : _item$producttags2.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
96036
|
+
}, item.name)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags2 = item.producttags) === null || _item$producttags2 === void 0 ? void 0 : _item$producttags2.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React.createElement("div", {
|
|
95979
96037
|
"class": "allcentered",
|
|
95980
96038
|
style: {
|
|
95981
96039
|
width: '100%',
|
|
@@ -96042,7 +96100,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
96042
96100
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
96043
96101
|
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React.createElement("div", {
|
|
96044
96102
|
style: {}
|
|
96045
|
-
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
96103
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
96046
96104
|
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
96047
96105
|
style: {
|
|
96048
96106
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -96143,7 +96201,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
96143
96201
|
color: sectionproperties.quantitycolor,
|
|
96144
96202
|
fontWeight: sectionproperties.quantityfontweight
|
|
96145
96203
|
}
|
|
96146
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
96204
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
96147
96205
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
96148
96206
|
}, /*#__PURE__*/React.createElement("div", {
|
|
96149
96207
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -96196,8 +96254,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
96196
96254
|
}, /*#__PURE__*/React.createElement("p", {
|
|
96197
96255
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
96198
96256
|
onClick: function onClick() {
|
|
96199
|
-
var _authdetailsContext$
|
|
96200
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
96257
|
+
var _authdetailsContext$i0;
|
|
96258
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68527dfef348b') {
|
|
96201
96259
|
// alert(item.path);
|
|
96202
96260
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
96203
96261
|
} else if (sectionproperties.showvariantscont == 'Show') {
|