tabexseriescomponents 0.2.1454 → 0.2.1455
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 +149 -94
- package/dist/index.esm.js +149 -94
- package/dist/index.umd.js +149 -94
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -4623,7 +4623,9 @@ var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (togg
|
|
|
4623
4623
|
existing.splice(index,1);setIsCompared(false);}else {// If not, add it (toggle on)
|
|
4624
4624
|
existing.push(productId);setIsCompared(true);}// Update localStorage
|
|
4625
4625
|
localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (remove this in production)
|
|
4626
|
-
}},isCompared?lang.remove:lang.compare))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.cartBtnShow=='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: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 _fetchProductInfoQuer72;window.open('tel:'+((_fetchProductInfoQuer72=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer72===void 0?void 0:_fetchProductInfoQuer72.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||(_fetchProductInfoQuer73=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productinfo)===null||_fetchProductInfoQuer73===void 0?void 0:_fetchProductInfoQuer73.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer74=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productinfo)===null||_fetchProductInfoQuer74===void 0?void 0:_fetchProductInfoQuer74.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$i31=authdetailsContext.instinfo)===null||_authdetailsContext$i31===void 0?void 0:_authdetailsContext$i31.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.directwabtn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%'
|
|
4626
|
+
}},isCompared?lang.remove:lang.compare))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.cartBtnShow=='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: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 _fetchProductInfoQuer72;window.open('tel:'+((_fetchProductInfoQuer72=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer72===void 0?void 0:_fetchProductInfoQuer72.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||(_fetchProductInfoQuer73=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productinfo)===null||_fetchProductInfoQuer73===void 0?void 0:_fetchProductInfoQuer73.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer74=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productinfo)===null||_fetchProductInfoQuer74===void 0?void 0:_fetchProductInfoQuer74.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$i31=authdetailsContext.instinfo)===null||_authdetailsContext$i31===void 0?void 0:_authdetailsContext$i31.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.directwabtn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%'// backgroundColor: sectionproperties.directwabtnbgcolor,
|
|
4627
|
+
// color: sectionproperties.directwabtncolor,
|
|
4628
|
+
}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer75=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.productinfo)===null||_fetchProductInfoQuer75===void 0?void 0:_fetchProductInfoQuer75.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$i32=authdetailsContext.instinfo)===null||_authdetailsContext$i32===void 0?void 0:_authdetailsContext$i32.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)
|
|
4627
4629
|
var key='comparedProducts';// Get current list from localStorage
|
|
4628
4630
|
var existing=JSON.parse(localStorage.getItem(key))||[];// Check if the product is already in the list
|
|
4629
4631
|
var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (toggle off)
|
|
@@ -4639,7 +4641,9 @@ localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (
|
|
|
4639
4641
|
,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'}
|
|
4640
4642
|
,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'}
|
|
4641
4643
|
,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||(_fetchProductInfoQuer93=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.data)===null||_fetchProductInfoQuer93===void 0||(_fetchProductInfoQuer93=_fetchProductInfoQuer93.productinfo)===null||_fetchProductInfoQuer93===void 0?void 0:_fetchProductInfoQuer93.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||(_fetchProductInfoQuer94=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.data)===null||_fetchProductInfoQuer94===void 0||(_fetchProductInfoQuer94=_fetchProductInfoQuer94.productinfo)===null||_fetchProductInfoQuer94===void 0?void 0:_fetchProductInfoQuer94.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||(_fetchProductInfoQuer95=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.data)===null||_fetchProductInfoQuer95===void 0||(_fetchProductInfoQuer95=_fetchProductInfoQuer95.productinfo)===null||_fetchProductInfoQuer95===void 0?void 0:_fetchProductInfoQuer95.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||(_fetchProductInfoQuer96=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.data)===null||_fetchProductInfoQuer96===void 0||(_fetchProductInfoQuer96=_fetchProductInfoQuer96.productinfo)===null||_fetchProductInfoQuer96===void 0?void 0:_fetchProductInfoQuer96.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||(_fetchProductInfoQuer97=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.data)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.productinfo)===null||_fetchProductInfoQuer97===void 0||(_fetchProductInfoQuer97=_fetchProductInfoQuer97.productfeatures)===null||_fetchProductInfoQuer97===void 0?void 0:_fetchProductInfoQuer97.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||(_fetchProductInfoQuer98=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.data)===null||_fetchProductInfoQuer98===void 0||(_fetchProductInfoQuer98=_fetchProductInfoQuer98.productinfo)===null||_fetchProductInfoQuer98===void 0?void 0:_fetchProductInfoQuer98.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer99=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.data)===null||_fetchProductInfoQuer99===void 0||(_fetchProductInfoQuer99=_fetchProductInfoQuer99.productinfo)===null||_fetchProductInfoQuer99===void 0?void 0:_fetchProductInfoQuer99.short_description_ar}})))),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||(_fetchProductInfoQuer100=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.data)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.productinfo)===null||_fetchProductInfoQuer100===void 0||(_fetchProductInfoQuer100=_fetchProductInfoQuer100.productfeatures)===null||_fetchProductInfoQuer100===void 0?void 0:_fetchProductInfoQuer100.map(function(fitem,findex){return/*#__PURE__*/React.createElement("tr",null,/*#__PURE__*/React.createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|
|
4642
|
-
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||(_fetchProductInfoQuer101=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.productinfo)===null||_fetchProductInfoQuer101===void 0?void 0:_fetchProductInfoQuer101.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||(_fetchProductInfoQuer102=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.productinfo)===null||_fetchProductInfoQuer102===void 0?void 0:_fetchProductInfoQuer102.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||(_fetchProductInfoQuer103=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.productinfo)===null||_fetchProductInfoQuer103===void 0?void 0:_fetchProductInfoQuer103.short_description_en}}))),langdetect=='ar'&§ionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer104=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.productinfo)===null||_fetchProductInfoQuer104===void 0?void 0:_fetchProductInfoQuer104.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||(_fetchProductInfoQuer105=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.productinfo)===null||_fetchProductInfoQuer105===void 0?void 0:_fetchProductInfoQuer105.short_description_ar}}))),(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.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 _fetchProductInfoQuer107;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[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||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.vendorinfo)===null||_fetchProductInfoQuer107===void 0?void 0:_fetchProductInfoQuer107.vendorid]})));}}},langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,":",' ',/*#__PURE__*/React.createElement("span",{style:{fontWeight:600}},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||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.vendorinfo)===null||_fetchProductInfoQuer108===void 0?void 0:_fetchProductInfoQuer108.vendorname))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Bottom'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer109=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.productinfo)===null||_fetchProductInfoQuer109===void 0?void 0:_fetchProductInfoQuer109.deliverydatetext)!=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||(_fetchProductInfoQuer110=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.productinfo)===null||_fetchProductInfoQuer110===void 0?void 0:_fetchProductInfoQuer110.currentquantity)<1&§ionproperties.showoutofstock=='Show'&&(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.quantavailtype)=='limit'&&(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.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||(_fetchProductInfoQuer113=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer113===void 0||(_fetchProductInfoQuer113=_fetchProductInfoQuer113.data)===null||_fetchProductInfoQuer113===void 0||(_fetchProductInfoQuer113=_fetchProductInfoQuer113.productinfo)===null||_fetchProductInfoQuer113===void 0?void 0:_fetchProductInfoQuer113.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||(_fetchProductInfoQuer114=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.productinfo)===null||_fetchProductInfoQuer114===void 0?void 0:_fetchProductInfoQuer114.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(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.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}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i56=authdetailsContext.instinfo)===null||_authdetailsContext$i56===void 0?void 0:_authdetailsContext$i56.contactinfo.instid)!='69c80c37de30b'&&/*#__PURE__*/React.createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i57=authdetailsContext.instinfo)===null||_authdetailsContext$i57===void 0?void 0:_authdetailsContext$i57.contactinfo.instid)=='69c80c37de30b'&&/*#__PURE__*/React.createElement(ProductExtras_charm,{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||(_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&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer117=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.productinfo)===null||_fetchProductInfoQuer117===void 0?void 0:_fetchProductInfoQuer117.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||(_fetchProductInfoQuer118=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.productinfo)===null||_fetchProductInfoQuer118===void 0?void 0:_fetchProductInfoQuer118.isproducttobesold)==1&&(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.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||(_fetchProductInfoQuer120=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.productinfo)===null||_fetchProductInfoQuer120===void 0?void 0:_fetchProductInfoQuer120.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 _fetchProductInfoQuer121;window.open('tel:'+((_fetchProductInfoQuer121=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer121===void 0?void 0:_fetchProductInfoQuer121.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||(_fetchProductInfoQuer122=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.productinfo)===null||_fetchProductInfoQuer122===void 0?void 0:_fetchProductInfoQuer122.productactionbuttontext_en: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.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||(_fetchProductInfoQuer124=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.productinfo)===null||_fetchProductInfoQuer124===void 0?void 0:_fetchProductInfoQuer124.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 _fetchProductInfoQuer125;window.open('tel:'+((_fetchProductInfoQuer125=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer125===void 0?void 0:_fetchProductInfoQuer125.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||(_fetchProductInfoQuer126=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.productinfo)===null||_fetchProductInfoQuer126===void 0?void 0:_fetchProductInfoQuer126.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer127=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.productinfo)===null||_fetchProductInfoQuer127===void 0?void 0:_fetchProductInfoQuer127.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.directwabtn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%',backgroundColor:sectionproperties.directwabtnbgcolor,color:sectionproperties.directwabtncolor}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer128=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.productinfo)===null||_fetchProductInfoQuer128===void 0?void 0:_fetchProductInfoQuer128.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'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i58=authdetailsContext.instinfo)===null||_authdetailsContext$i58===void 0?void 0:_authdetailsContext$i58.contactinfo.instid)!='69a34ef02cc96'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i59=authdetailsContext.instinfo)===null||_authdetailsContext$i59===void 0?void 0:_authdetailsContext$i59.contactinfo.instid)!='69fcb0672e838'&&/*#__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||(_fetchProductInfoQuer129=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.data)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.productinfo)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.productfeatures)===null||_fetchProductInfoQuer129===void 0?void 0:_fetchProductInfoQuer129.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||(_fetchProductInfoQuer130=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.productinfo)===null||_fetchProductInfoQuer130===void 0?void 0:_fetchProductInfoQuer130.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||(_fetchProductInfoQuer131=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.data)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.productinfo)===null||_fetchProductInfoQuer131===void 0?void 0:_fetchProductInfoQuer131.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||(_fetchProductInfoQuer132=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.productinfo)===null||_fetchProductInfoQuer132===void 0?void 0:_fetchProductInfoQuer132.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||(_fetchProductInfoQuer133=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.productinfo)===null||_fetchProductInfoQuer133===void 0?void 0:_fetchProductInfoQuer133.short_description_en: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.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$2G(_objectSpread$2G({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
4644
|
+
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||(_fetchProductInfoQuer101=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.data)===null||_fetchProductInfoQuer101===void 0||(_fetchProductInfoQuer101=_fetchProductInfoQuer101.productinfo)===null||_fetchProductInfoQuer101===void 0?void 0:_fetchProductInfoQuer101.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||(_fetchProductInfoQuer102=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.data)===null||_fetchProductInfoQuer102===void 0||(_fetchProductInfoQuer102=_fetchProductInfoQuer102.productinfo)===null||_fetchProductInfoQuer102===void 0?void 0:_fetchProductInfoQuer102.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||(_fetchProductInfoQuer103=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.data)===null||_fetchProductInfoQuer103===void 0||(_fetchProductInfoQuer103=_fetchProductInfoQuer103.productinfo)===null||_fetchProductInfoQuer103===void 0?void 0:_fetchProductInfoQuer103.short_description_en}}))),langdetect=='ar'&§ionproperties.showshortdescription=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer104=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.data)===null||_fetchProductInfoQuer104===void 0||(_fetchProductInfoQuer104=_fetchProductInfoQuer104.productinfo)===null||_fetchProductInfoQuer104===void 0?void 0:_fetchProductInfoQuer104.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||(_fetchProductInfoQuer105=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.data)===null||_fetchProductInfoQuer105===void 0||(_fetchProductInfoQuer105=_fetchProductInfoQuer105.productinfo)===null||_fetchProductInfoQuer105===void 0?void 0:_fetchProductInfoQuer105.short_description_ar}}))),(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.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 _fetchProductInfoQuer107;routingcountext(StaticPagesLinksContext.GeneralProductsComponent,true,encodeURIComponent(JSON.stringify({vendorsarr:[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||(_fetchProductInfoQuer107=_fetchProductInfoQuer107.vendorinfo)===null||_fetchProductInfoQuer107===void 0?void 0:_fetchProductInfoQuer107.vendorid]})));}}},langdetect=='en'?sectionproperties.vendortitleen:sectionproperties.vendortitlear,":",' ',/*#__PURE__*/React.createElement("span",{style:{fontWeight:600}},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||(_fetchProductInfoQuer108=_fetchProductInfoQuer108.vendorinfo)===null||_fetchProductInfoQuer108===void 0?void 0:_fetchProductInfoQuer108.vendorname))),sectionproperties.showSKU=='Show'&§ionproperties.skuposition=='Bottom'&&/*#__PURE__*/React.createElement("div",{"class":sectionproperties.deliverytimeshow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer109=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.data)===null||_fetchProductInfoQuer109===void 0||(_fetchProductInfoQuer109=_fetchProductInfoQuer109.productinfo)===null||_fetchProductInfoQuer109===void 0?void 0:_fetchProductInfoQuer109.deliverydatetext)!=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||(_fetchProductInfoQuer110=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.data)===null||_fetchProductInfoQuer110===void 0||(_fetchProductInfoQuer110=_fetchProductInfoQuer110.productinfo)===null||_fetchProductInfoQuer110===void 0?void 0:_fetchProductInfoQuer110.currentquantity)<1&§ionproperties.showoutofstock=='Show'&&(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.quantavailtype)=='limit'&&(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.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||(_fetchProductInfoQuer113=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer113===void 0||(_fetchProductInfoQuer113=_fetchProductInfoQuer113.data)===null||_fetchProductInfoQuer113===void 0||(_fetchProductInfoQuer113=_fetchProductInfoQuer113.productinfo)===null||_fetchProductInfoQuer113===void 0?void 0:_fetchProductInfoQuer113.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||(_fetchProductInfoQuer114=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.data)===null||_fetchProductInfoQuer114===void 0||(_fetchProductInfoQuer114=_fetchProductInfoQuer114.productinfo)===null||_fetchProductInfoQuer114===void 0?void 0:_fetchProductInfoQuer114.deliverydatetext)),sectionproperties.defaultpricingposition!='Under Name'&&(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.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}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i56=authdetailsContext.instinfo)===null||_authdetailsContext$i56===void 0?void 0:_authdetailsContext$i56.contactinfo.instid)!='69c80c37de30b'&&/*#__PURE__*/React.createElement(ProductExtras,{actions:props.actions,srcfromprops:'servicestyle2',addtocartfunc:addtocartfunc}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i57=authdetailsContext.instinfo)===null||_authdetailsContext$i57===void 0?void 0:_authdetailsContext$i57.contactinfo.instid)=='69c80c37de30b'&&/*#__PURE__*/React.createElement(ProductExtras_charm,{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||(_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&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer117=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.data)===null||_fetchProductInfoQuer117===void 0||(_fetchProductInfoQuer117=_fetchProductInfoQuer117.productinfo)===null||_fetchProductInfoQuer117===void 0?void 0:_fetchProductInfoQuer117.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||(_fetchProductInfoQuer118=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.data)===null||_fetchProductInfoQuer118===void 0||(_fetchProductInfoQuer118=_fetchProductInfoQuer118.productinfo)===null||_fetchProductInfoQuer118===void 0?void 0:_fetchProductInfoQuer118.isproducttobesold)==1&&(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.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||(_fetchProductInfoQuer120=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.data)===null||_fetchProductInfoQuer120===void 0||(_fetchProductInfoQuer120=_fetchProductInfoQuer120.productinfo)===null||_fetchProductInfoQuer120===void 0?void 0:_fetchProductInfoQuer120.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 _fetchProductInfoQuer121;window.open('tel:'+((_fetchProductInfoQuer121=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer121===void 0?void 0:_fetchProductInfoQuer121.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||(_fetchProductInfoQuer122=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.data)===null||_fetchProductInfoQuer122===void 0||(_fetchProductInfoQuer122=_fetchProductInfoQuer122.productinfo)===null||_fetchProductInfoQuer122===void 0?void 0:_fetchProductInfoQuer122.productactionbuttontext_en: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.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||(_fetchProductInfoQuer124=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.data)===null||_fetchProductInfoQuer124===void 0||(_fetchProductInfoQuer124=_fetchProductInfoQuer124.productinfo)===null||_fetchProductInfoQuer124===void 0?void 0:_fetchProductInfoQuer124.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 _fetchProductInfoQuer125;window.open('tel:'+((_fetchProductInfoQuer125=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer125===void 0?void 0:_fetchProductInfoQuer125.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||(_fetchProductInfoQuer126=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.data)===null||_fetchProductInfoQuer126===void 0||(_fetchProductInfoQuer126=_fetchProductInfoQuer126.productinfo)===null||_fetchProductInfoQuer126===void 0?void 0:_fetchProductInfoQuer126.productactionbuttontext_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer127=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.data)===null||_fetchProductInfoQuer127===void 0||(_fetchProductInfoQuer127=_fetchProductInfoQuer127.productinfo)===null||_fetchProductInfoQuer127===void 0?void 0:_fetchProductInfoQuer127.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.directwabtn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:'100%'// backgroundColor: sectionproperties.directwabtnbgcolor,
|
|
4645
|
+
// color: sectionproperties.directwabtncolor,
|
|
4646
|
+
}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer128=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.data)===null||_fetchProductInfoQuer128===void 0||(_fetchProductInfoQuer128=_fetchProductInfoQuer128.productinfo)===null||_fetchProductInfoQuer128===void 0?void 0:_fetchProductInfoQuer128.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'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i58=authdetailsContext.instinfo)===null||_authdetailsContext$i58===void 0?void 0:_authdetailsContext$i58.contactinfo.instid)!='69a34ef02cc96'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i59=authdetailsContext.instinfo)===null||_authdetailsContext$i59===void 0?void 0:_authdetailsContext$i59.contactinfo.instid)!='69fcb0672e838'&&/*#__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||(_fetchProductInfoQuer129=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.data)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.productinfo)===null||_fetchProductInfoQuer129===void 0||(_fetchProductInfoQuer129=_fetchProductInfoQuer129.productfeatures)===null||_fetchProductInfoQuer129===void 0?void 0:_fetchProductInfoQuer129.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||(_fetchProductInfoQuer130=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.data)===null||_fetchProductInfoQuer130===void 0||(_fetchProductInfoQuer130=_fetchProductInfoQuer130.productinfo)===null||_fetchProductInfoQuer130===void 0?void 0:_fetchProductInfoQuer130.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||(_fetchProductInfoQuer131=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.data)===null||_fetchProductInfoQuer131===void 0||(_fetchProductInfoQuer131=_fetchProductInfoQuer131.productinfo)===null||_fetchProductInfoQuer131===void 0?void 0:_fetchProductInfoQuer131.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||(_fetchProductInfoQuer132=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.data)===null||_fetchProductInfoQuer132===void 0||(_fetchProductInfoQuer132=_fetchProductInfoQuer132.productinfo)===null||_fetchProductInfoQuer132===void 0?void 0:_fetchProductInfoQuer132.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||(_fetchProductInfoQuer133=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.data)===null||_fetchProductInfoQuer133===void 0||(_fetchProductInfoQuer133=_fetchProductInfoQuer133.productinfo)===null||_fetchProductInfoQuer133===void 0?void 0:_fetchProductInfoQuer133.short_description_en: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.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$2G(_objectSpread$2G({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
4643
4647
|
// srcfromprops={'collapsepinfo'}
|
|
4644
4648
|
})))))),(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.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||(_fetchProductInfoQuer136=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer136===void 0||(_fetchProductInfoQuer136=_fetchProductInfoQuer136.data)===null||_fetchProductInfoQuer136===void 0?void 0:_fetchProductInfoQuer136.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||(_fetchProductInfoQuer137=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.data)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.productinfo)===null||_fetchProductInfoQuer137===void 0||(_fetchProductInfoQuer137=_fetchProductInfoQuer137.variants[variantindexcompleted])===null||_fetchProductInfoQuer137===void 0?void 0:_fetchProductInfoQuer137.hassale)==1&&parseFloat(getprice_discountpriceprops('defaultsaleprice',1,variantindexcompleted)).toFixed(2),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(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.variants[variantindexcompleted])===null||_fetchProductInfoQuer138===void 0?void 0:_fetchProductInfoQuer138.hassale)==0&&parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)).toFixed(2),langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer139=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer139===void 0||(_fetchProductInfoQuer139=_fetchProductInfoQuer139.data)===null||_fetchProductInfoQuer139===void 0?void 0:_fetchProductInfoQuer139.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||(_fetchProductInfoQuer140=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer140===void 0||(_fetchProductInfoQuer140=_fetchProductInfoQuer140.data)===null||_fetchProductInfoQuer140===void 0?void 0:_fetchProductInfoQuer140.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer141=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer141===void 0||(_fetchProductInfoQuer141=_fetchProductInfoQuer141.data)===null||_fetchProductInfoQuer141===void 0?void 0:_fetchProductInfoQuer141.currencyname_ar),variantindexcompleted!=undefined&&variantindexcompleted.length!=0&&(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||(_fetchProductInfoQuer142=_fetchProductInfoQuer142.variants[variantindexcompleted])===null||_fetchProductInfoQuer142===void 0?void 0:_fetchProductInfoQuer142.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||(_fetchProductInfoQuer143=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer143===void 0||(_fetchProductInfoQuer143=_fetchProductInfoQuer143.data)===null||_fetchProductInfoQuer143===void 0?void 0:_fetchProductInfoQuer143.currencyname_en:'',' ',parseFloat(getprice_discountpriceprops('defaultprice',1,variantindexcompleted)),' ',langdetect=='en'?'':fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer144=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer144===void 0||(_fetchProductInfoQuer144=_fetchProductInfoQuer144.data)===null||_fetchProductInfoQuer144===void 0?void 0:_fetchProductInfoQuer144.currencyname_ar))))),sectionproperties.availabilitybtnposition=='Bottom'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer145=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer145===void 0||(_fetchProductInfoQuer145=_fetchProductInfoQuer145.data)===null||_fetchProductInfoQuer145===void 0||(_fetchProductInfoQuer145=_fetchProductInfoQuer145.productinfo)===null||_fetchProductInfoQuer145===void 0?void 0:_fetchProductInfoQuer145.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||(_fetchProductInfoQuer146=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer146===void 0||(_fetchProductInfoQuer146=_fetchProductInfoQuer146.data)===null||_fetchProductInfoQuer146===void 0||(_fetchProductInfoQuer146=_fetchProductInfoQuer146.productinfo)===null||_fetchProductInfoQuer146===void 0?void 0:_fetchProductInfoQuer146.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$i60=authdetailsContext.instinfo)===null||_authdetailsContext$i60===void 0?void 0:_authdetailsContext$i60.contactinfo.instid)!='678d1831ef638'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i61=authdetailsContext.instinfo)===null||_authdetailsContext$i61===void 0?void 0:_authdetailsContext$i61.contactinfo.instid)!='6911f91dc52ac'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i62=authdetailsContext.instinfo)===null||_authdetailsContext$i62===void 0?void 0:_authdetailsContext$i62.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||(_fetchProductInfoQuer147=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer147===void 0||(_fetchProductInfoQuer147=_fetchProductInfoQuer147.data)===null||_fetchProductInfoQuer147===void 0||(_fetchProductInfoQuer147=_fetchProductInfoQuer147.productinfo)===null||_fetchProductInfoQuer147===void 0?void 0:_fetchProductInfoQuer147.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||(_fetchProductInfoQuer148=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer148===void 0||(_fetchProductInfoQuer148=_fetchProductInfoQuer148.data)===null||_fetchProductInfoQuer148===void 0||(_fetchProductInfoQuer148=_fetchProductInfoQuer148.productinfo)===null||_fetchProductInfoQuer148===void 0?void 0:_fetchProductInfoQuer148.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer149=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer149===void 0||(_fetchProductInfoQuer149=_fetchProductInfoQuer149.data)===null||_fetchProductInfoQuer149===void 0||(_fetchProductInfoQuer149=_fetchProductInfoQuer149.productinfo)===null||_fetchProductInfoQuer149===void 0?void 0:_fetchProductInfoQuer149.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||(_fetchProductInfoQuer150=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer150===void 0||(_fetchProductInfoQuer150=_fetchProductInfoQuer150.data)===null||_fetchProductInfoQuer150===void 0||(_fetchProductInfoQuer150=_fetchProductInfoQuer150.productinfo)===null||_fetchProductInfoQuer150===void 0||(_fetchProductInfoQuer150=_fetchProductInfoQuer150.productfeatures)===null||_fetchProductInfoQuer150===void 0?void 0:_fetchProductInfoQuer150.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||(_fetchProductInfoQuer151=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer151===void 0||(_fetchProductInfoQuer151=_fetchProductInfoQuer151.data)===null||_fetchProductInfoQuer151===void 0||(_fetchProductInfoQuer151=_fetchProductInfoQuer151.productinfo)===null||_fetchProductInfoQuer151===void 0||(_fetchProductInfoQuer151=_fetchProductInfoQuer151.productimages)===null||_fetchProductInfoQuer151===void 0?void 0:_fetchProductInfoQuer151.length)!=0&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer152=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer152===void 0||(_fetchProductInfoQuer152=_fetchProductInfoQuer152.data)===null||_fetchProductInfoQuer152===void 0||(_fetchProductInfoQuer152=_fetchProductInfoQuer152.productinfo)===null||_fetchProductInfoQuer152===void 0?void 0:_fetchProductInfoQuer152.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||(_fetchProductInfoQuer153=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer153===void 0||(_fetchProductInfoQuer153=_fetchProductInfoQuer153.data)===null||_fetchProductInfoQuer153===void 0||(_fetchProductInfoQuer153=_fetchProductInfoQuer153.productinfo)===null||_fetchProductInfoQuer153===void 0?void 0:_fetchProductInfoQuer153.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer154=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer154===void 0||(_fetchProductInfoQuer154=_fetchProductInfoQuer154.data)===null||_fetchProductInfoQuer154===void 0||(_fetchProductInfoQuer154=_fetchProductInfoQuer154.productinfo)===null||_fetchProductInfoQuer154===void 0?void 0:_fetchProductInfoQuer154.description_ar}}))))),Object.keys(sectionproperties).length!=0&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i63=authdetailsContext.instinfo)===null||_authdetailsContext$i63===void 0?void 0:_authdetailsContext$i63.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' }}
|
|
4645
4649
|
,style:{height:'60vh'}},/*#__PURE__*/React.createElement("div",{"class":'h-sm-auto',style:{position:'relative',width:'100vw',// height: sectionproperties.bgcovercontain == 'Cover' ? sectionproperties.height + 'vh' : 'auto',
|
|
@@ -59664,7 +59668,7 @@ var Footer6 = function Footer6(props) {
|
|
|
59664
59668
|
function ownKeys$1F(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; }
|
|
59665
59669
|
function _objectSpread$1F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1F(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
59666
59670
|
var Footer7 = function Footer7(props) {
|
|
59667
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$
|
|
59671
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i11, _authdetailsContext$i16;
|
|
59668
59672
|
var _useState = useState(''),
|
|
59669
59673
|
_useState2 = _slicedToArray(_useState, 2),
|
|
59670
59674
|
sectionproperties = _useState2[0],
|
|
@@ -59891,7 +59895,7 @@ var Footer7 = function Footer7(props) {
|
|
|
59891
59895
|
}, "OFF")), /*#__PURE__*/React.createElement("div", {
|
|
59892
59896
|
className: 'row m-0 w-100 mt-4 d-md-none d-sm-none'
|
|
59893
59897
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59894
|
-
className: "".concat(footerStyles.facebook_btn),
|
|
59898
|
+
className: langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' mr-2 ' : "".concat(footerStyles.facebook_btn) + ' ml-2 ',
|
|
59895
59899
|
onClick: function onClick() {
|
|
59896
59900
|
var _authdetailsContext$i;
|
|
59897
59901
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.facebooklink) != null) {
|
|
@@ -59904,7 +59908,7 @@ var Footer7 = function Footer7(props) {
|
|
|
59904
59908
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
59905
59909
|
size: sectionproperties.facebkbtnniconfontsize
|
|
59906
59910
|
}))), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59907
|
-
className: '
|
|
59911
|
+
className: ' mx-2 ' + "".concat(footerStyles.instgram_btn),
|
|
59908
59912
|
onClick: function onClick() {
|
|
59909
59913
|
var _authdetailsContext$i3;
|
|
59910
59914
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instagramlink) != null) {
|
|
@@ -59916,13 +59920,26 @@ var Footer7 = function Footer7(props) {
|
|
|
59916
59920
|
className: "h-100 allcentered"
|
|
59917
59921
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
59918
59922
|
size: sectionproperties.instgrambtniconfontsize
|
|
59923
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.snapchatlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
59924
|
+
className: ' mx-2 ' + "".concat(footerStyles.instgram_btn),
|
|
59925
|
+
onClick: function onClick() {
|
|
59926
|
+
var _authdetailsContext$i6;
|
|
59927
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.snapchatlink) != null) {
|
|
59928
|
+
var _authdetailsContext$i7;
|
|
59929
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.snapchatlink, '_blank');
|
|
59930
|
+
}
|
|
59931
|
+
}
|
|
59932
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
59933
|
+
className: "h-100 allcentered"
|
|
59934
|
+
}, /*#__PURE__*/React.createElement(FaSnapchat, {
|
|
59935
|
+
size: sectionproperties.instgrambtniconfontsize
|
|
59919
59936
|
}))), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59920
|
-
className: "".concat(footerStyles.youtube_btn),
|
|
59937
|
+
className: "".concat(footerStyles.youtube_btn) + ' mx-2 ',
|
|
59921
59938
|
onClick: function onClick() {
|
|
59922
|
-
var _authdetailsContext$
|
|
59923
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59924
|
-
var _authdetailsContext$
|
|
59925
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
59939
|
+
var _authdetailsContext$i8;
|
|
59940
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber) != null) {
|
|
59941
|
+
var _authdetailsContext$i9;
|
|
59942
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.whatsappnumber), '_blank');
|
|
59926
59943
|
}
|
|
59927
59944
|
}
|
|
59928
59945
|
}, /*#__PURE__*/React.createElement("i", {
|
|
@@ -59992,11 +60009,11 @@ var Footer7 = function Footer7(props) {
|
|
|
59992
60009
|
size: 20
|
|
59993
60010
|
})), /*#__PURE__*/React.createElement("p", {
|
|
59994
60011
|
className: ' p-0 m-0 wordbreak ' + "".concat(footerStyles.footerinformationstyles)
|
|
59995
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60012
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.address_ar)), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59996
60013
|
className: "".concat(footerStyles.footerinformationstyles) + ' row m-0 w-100 text-center d-flex align-items-center mb-3 cursor-pointer ',
|
|
59997
60014
|
onClick: function onClick() {
|
|
59998
|
-
var _authdetailsContext$
|
|
59999
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60015
|
+
var _authdetailsContext$i10;
|
|
60016
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 || (_authdetailsContext$i10 = _authdetailsContext$i10.contactinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.email), '_self');
|
|
60000
60017
|
}
|
|
60001
60018
|
}, /*#__PURE__*/React.createElement("i", {
|
|
60002
60019
|
className: "h-100 d-flex justify-content-center align-items-center storeinfotext"
|
|
@@ -60005,7 +60022,7 @@ var Footer7 = function Footer7(props) {
|
|
|
60005
60022
|
size: 20
|
|
60006
60023
|
})), /*#__PURE__*/React.createElement("p", {
|
|
60007
60024
|
className: ' p-0 m-0 wordbreak storeinfotext text-transform-none '
|
|
60008
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60025
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 || (_authdetailsContext$i11 = _authdetailsContext$i11.contactinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.email)), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
60009
60026
|
className: "".concat(footerStyles.footerinformationstyles) + ' row m-0 w-100 text-center d-flex align-items-center cursor-pointer ',
|
|
60010
60027
|
onClick: function onClick() {
|
|
60011
60028
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
@@ -60020,12 +60037,12 @@ var Footer7 = function Footer7(props) {
|
|
|
60020
60037
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)))), /*#__PURE__*/React.createElement("div", {
|
|
60021
60038
|
className: 'col-xl-12 col-lg-12 col-md-12 col-sm-12 mt-4 d-xl-none d-lg-none d-md-flex d-sm-flex align-items-center justify-content-center'
|
|
60022
60039
|
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
60023
|
-
className: "".concat(footerStyles.facebook_btn),
|
|
60040
|
+
className: "".concat(footerStyles.facebook_btn) + ' mx-1 ',
|
|
60024
60041
|
onClick: function onClick() {
|
|
60025
|
-
var _authdetailsContext$
|
|
60026
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60027
|
-
var _authdetailsContext$
|
|
60028
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60042
|
+
var _authdetailsContext$i12;
|
|
60043
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.facebooklink) != null) {
|
|
60044
|
+
var _authdetailsContext$i13;
|
|
60045
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.facebooklink, '_blank');
|
|
60029
60046
|
}
|
|
60030
60047
|
}
|
|
60031
60048
|
}, /*#__PURE__*/React.createElement("i", {
|
|
@@ -60033,25 +60050,38 @@ var Footer7 = function Footer7(props) {
|
|
|
60033
60050
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
60034
60051
|
size: sectionproperties.facebkbtnniconfontsize
|
|
60035
60052
|
}))), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
60036
|
-
className: '
|
|
60053
|
+
className: ' mx-1 ' + "".concat(footerStyles.instgram_btn),
|
|
60037
60054
|
onClick: function onClick() {
|
|
60038
|
-
var _authdetailsContext$
|
|
60039
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60040
|
-
var _authdetailsContext$
|
|
60041
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60055
|
+
var _authdetailsContext$i14;
|
|
60056
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instagramlink) != null) {
|
|
60057
|
+
var _authdetailsContext$i15;
|
|
60058
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instagramlink, '_blank');
|
|
60042
60059
|
}
|
|
60043
60060
|
}
|
|
60044
60061
|
}, /*#__PURE__*/React.createElement("i", {
|
|
60045
60062
|
className: "h-100 allcentered"
|
|
60046
60063
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
60047
60064
|
size: sectionproperties.instgrambtniconfontsize
|
|
60065
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.snapchatlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
60066
|
+
className: ' mx-1 ' + "".concat(footerStyles.instgram_btn),
|
|
60067
|
+
onClick: function onClick() {
|
|
60068
|
+
var _authdetailsContext$i17;
|
|
60069
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.snapchatlink) != null) {
|
|
60070
|
+
var _authdetailsContext$i18;
|
|
60071
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.snapchatlink, '_blank');
|
|
60072
|
+
}
|
|
60073
|
+
}
|
|
60074
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
60075
|
+
className: "h-100 allcentered"
|
|
60076
|
+
}, /*#__PURE__*/React.createElement(FaSnapchat, {
|
|
60077
|
+
size: sectionproperties.instgrambtniconfontsize
|
|
60048
60078
|
}))), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
60049
|
-
className: '
|
|
60079
|
+
className: ' mx-1 ' + "".concat(footerStyles.youtube_btn),
|
|
60050
60080
|
onClick: function onClick() {
|
|
60051
|
-
var _authdetailsContext$
|
|
60052
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60053
|
-
var _authdetailsContext$
|
|
60054
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
60081
|
+
var _authdetailsContext$i19;
|
|
60082
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.whatsappnumber) != null) {
|
|
60083
|
+
var _authdetailsContext$i20;
|
|
60084
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.whatsappnumber), '_blank');
|
|
60055
60085
|
}
|
|
60056
60086
|
}
|
|
60057
60087
|
}, /*#__PURE__*/React.createElement("i", {
|
|
@@ -84845,7 +84875,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84845
84875
|
// : 'col-lg-12 text-start'
|
|
84846
84876
|
sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 allcentered' : 'col-lg-12 text-start'
|
|
84847
84877
|
}, /*#__PURE__*/React.createElement("button", {
|
|
84848
|
-
"class": authdetailsContext.instinfo.instid == '69f0cacdc9142' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a8d6f66e1460' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a5cfba5797c2' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a7772c9ec61b' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
84878
|
+
"class": authdetailsContext.instinfo.instid == '69f0cacdc9142' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a8d6f66e1460' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '68e25a29c1b59' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a5cfba5797c2' ? "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a7772c9ec61b' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? "".concat(slideshow_styles.slideshow_btn_mazl) + ' allcentered mx-1 ' : "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
|
|
84849
84879
|
onClick: function onClick() {
|
|
84850
84880
|
if (sectionproperties.showplayer == 'Show') {
|
|
84851
84881
|
setshowpopup(true);
|
|
@@ -84870,7 +84900,15 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
84870
84900
|
onClick: function onClick() {
|
|
84871
84901
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + '6a97eed821bda');
|
|
84872
84902
|
}
|
|
84873
|
-
}, langdetect == 'en' ? 'Daily Wash' : 'غسيل يومي'), authdetailsContext.instinfo.instid == '
|
|
84903
|
+
}, langdetect == 'en' ? 'Daily Wash' : 'غسيل يومي'), authdetailsContext.instinfo.instid == '68e25a29c1b59' && /*#__PURE__*/React.createElement("button", {
|
|
84904
|
+
"class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-1 ',
|
|
84905
|
+
style: {
|
|
84906
|
+
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
84907
|
+
},
|
|
84908
|
+
onClick: function onClick() {
|
|
84909
|
+
routingcountext('contactus', false, '');
|
|
84910
|
+
}
|
|
84911
|
+
}, langdetect == 'en' ? 'Start a Conversation' : 'ابدأ المحادثة'), authdetailsContext.instinfo.instid == '6a5cfba5797c2' && /*#__PURE__*/React.createElement("button", {
|
|
84874
84912
|
"class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered mx-1 ',
|
|
84875
84913
|
style: {
|
|
84876
84914
|
letterSpacing: langdetect == 'en' ? '1px' : 0
|
|
@@ -85004,7 +85042,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85004
85042
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
85005
85043
|
},
|
|
85006
85044
|
onClick: function onClick() {
|
|
85007
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8c8860d1ffb') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else if (authdetailsContext.instinfo.instid == '6a5cfba5797c2') ; else {
|
|
85045
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8c8860d1ffb') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else if (authdetailsContext.instinfo.instid == '68e25a29c1b59') ; else if (authdetailsContext.instinfo.instid == '6a5cfba5797c2') ; else {
|
|
85008
85046
|
if (sectionproperties.showplayer == 'Show') {
|
|
85009
85047
|
setshowpopup(true);
|
|
85010
85048
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -85047,7 +85085,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85047
85085
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
85048
85086
|
},
|
|
85049
85087
|
onClick: function onClick() {
|
|
85050
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8c8860d1ffb') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else if (authdetailsContext.instinfo.instid == '6a5cfba5797c2') ; else {
|
|
85088
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8c8860d1ffb') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else if (authdetailsContext.instinfo.instid == '68e25a29c1b59') ; else if (authdetailsContext.instinfo.instid == '6a5cfba5797c2') ; else {
|
|
85051
85089
|
if (sectionproperties.showplayer == 'Show') {
|
|
85052
85090
|
setshowpopup(true);
|
|
85053
85091
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -85184,7 +85222,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85184
85222
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
85185
85223
|
},
|
|
85186
85224
|
onClick: function onClick() {
|
|
85187
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8c8860d1ffb') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else if (authdetailsContext.instinfo.instid == '6a5cfba5797c2') ; else {
|
|
85225
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8c8860d1ffb') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else if (authdetailsContext.instinfo.instid == '68e25a29c1b59') ; else if (authdetailsContext.instinfo.instid == '6a5cfba5797c2') ; else {
|
|
85188
85226
|
if (sectionproperties.showplayer == 'Show') {
|
|
85189
85227
|
setshowpopup(true);
|
|
85190
85228
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -85226,7 +85264,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85226
85264
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
85227
85265
|
},
|
|
85228
85266
|
onClick: function onClick() {
|
|
85229
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8c8860d1ffb') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else if (authdetailsContext.instinfo.instid == '6a5cfba5797c2') ; else {
|
|
85267
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8c8860d1ffb') ; else if (authdetailsContext.instinfo.instid == '68e25a29c1b59') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else if (authdetailsContext.instinfo.instid == '6a5cfba5797c2') ; else {
|
|
85230
85268
|
if (sectionproperties.showplayer == 'Show') {
|
|
85231
85269
|
setshowpopup(true);
|
|
85232
85270
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -85355,7 +85393,7 @@ var Slideshowzoom = function Slideshowzoom(props) {
|
|
|
85355
85393
|
paddingRight: langdetect == 'en' ? '' : sectionproperties.paddingLeft + 'px'
|
|
85356
85394
|
},
|
|
85357
85395
|
onClick: function onClick() {
|
|
85358
|
-
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a8c8860d1ffb') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else if (authdetailsContext.instinfo.instid == '6a5cfba5797c2') ; else {
|
|
85396
|
+
if (authdetailsContext.instinfo.instid == '69f0cacdc9142') ; else if (authdetailsContext.instinfo.instid == '6a676c9404b74') ; else if (authdetailsContext.instinfo.instid == '6a8c8860d1ffb') ; else if (authdetailsContext.instinfo.instid == '6a7772c9ec61b') ; else if (authdetailsContext.instinfo.instid == '6a8d6f66e1460') ; else if (authdetailsContext.instinfo.instid == '68e25a29c1b59') ; else if (authdetailsContext.instinfo.instid == '6a5cfba5797c2') ; else {
|
|
85359
85397
|
if (sectionproperties.showplayer == 'Show') {
|
|
85360
85398
|
setshowpopup(true);
|
|
85361
85399
|
} else if (item.IsClickableimg == 'Yes') {
|
|
@@ -100417,7 +100455,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
|
100417
100455
|
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; }
|
|
100418
100456
|
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; }
|
|
100419
100457
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
100420
|
-
var _item$producttags, _authdetailsContext$i7, _item$producttags$,
|
|
100458
|
+
var _item$producttags, _authdetailsContext$i7, _authdetailsContext$i8, _item$producttags$, _item$producttags2, _authdetailsContext$i9, _item$producttags$2, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i21, _item$producttags3, _authdetailsContext$i22, _item$producttags$3, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _item$producttags4, _authdetailsContext$i36, _item$producttags$4, _authdetailsContext$i37, _authdetailsContext$i38, _authdetailsContext$i39, _authdetailsContext$i43, _item$producttags5, _authdetailsContext$i44, _item$producttags$5, _authdetailsContext$i45, _authdetailsContext$i46, _authdetailsContext$i47;
|
|
100421
100459
|
var _useState = useState(''),
|
|
100422
100460
|
_useState2 = _slicedToArray(_useState, 2),
|
|
100423
100461
|
sectionproperties = _useState2[0],
|
|
@@ -101192,7 +101230,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101192
101230
|
// right: langdetect == 'en' ? '' : sectionproperties.pillpositionfromright + 'px',
|
|
101193
101231
|
zIndex: 3
|
|
101194
101232
|
}
|
|
101195
|
-
}, PillContainer()), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags = item.producttags) === null || _item$producttags === void 0 ? void 0 : _item$producttags.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", {
|
|
101233
|
+
}, PillContainer()), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags = item.producttags) === null || _item$producttags === void 0 ? void 0 : _item$producttags.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) != '6a552697b2c62' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) != '684fdf3f9e856' && /*#__PURE__*/React.createElement("div", {
|
|
101196
101234
|
"class": "allcentered",
|
|
101197
101235
|
style: {
|
|
101198
101236
|
position: 'absolute',
|
|
@@ -101211,14 +101249,31 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101211
101249
|
color: sectionproperties.tagcolor,
|
|
101212
101250
|
fontSize: 12
|
|
101213
101251
|
}
|
|
101214
|
-
}, item === null || item === void 0 || (_item$producttags$ = item.producttags[0]) === null || _item$producttags$ === void 0 || (_item$producttags$ = _item$producttags$.taginfo) === null || _item$producttags$ === void 0 ? void 0 : _item$producttags$.tagname)), /*#__PURE__*/React.createElement("div", {
|
|
101252
|
+
}, item === null || item === void 0 || (_item$producttags$ = item.producttags[0]) === null || _item$producttags$ === void 0 || (_item$producttags$ = _item$producttags$.taginfo) === null || _item$producttags$ === void 0 ? void 0 : _item$producttags$.tagname)), (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$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6a552697b2c62' && /*#__PURE__*/React.createElement("div", {
|
|
101253
|
+
"class": "allcentered",
|
|
101254
|
+
style: {
|
|
101255
|
+
position: 'absolute',
|
|
101256
|
+
top: 10,
|
|
101257
|
+
left: 10,
|
|
101258
|
+
zIndex: 100
|
|
101259
|
+
}
|
|
101260
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101261
|
+
"class": "px-3 py-1",
|
|
101262
|
+
style: {
|
|
101263
|
+
width: 'fit-content',
|
|
101264
|
+
background: sectionproperties.featurecolor,
|
|
101265
|
+
borderRadius: sectionproperties.tagborderradius + 'px',
|
|
101266
|
+
color: '#000',
|
|
101267
|
+
fontSize: 12
|
|
101268
|
+
}
|
|
101269
|
+
}, item === null || item === void 0 || (_item$producttags$2 = item.producttags[0]) === null || _item$producttags$2 === void 0 || (_item$producttags$2 = _item$producttags$2.taginfo) === null || _item$producttags$2 === void 0 ? void 0 : _item$producttags$2.tagname)), /*#__PURE__*/React.createElement("div", {
|
|
101215
101270
|
"class": authdetailsContext.instinfo.instid == '6978ef34b2564' && sectionproperties.shownameonhover == 'Yes' ? sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$8.imagecontainer) + ' h-100 d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none h-100 ' : sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$8.imagecontainer) + ' d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none ',
|
|
101216
101271
|
style: {
|
|
101217
101272
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
101218
101273
|
},
|
|
101219
101274
|
onClick: function onClick(e) {
|
|
101220
|
-
var _authdetailsContext$
|
|
101221
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101275
|
+
var _authdetailsContext$i0;
|
|
101276
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
101222
101277
|
e.stopPropagation();
|
|
101223
101278
|
setShowProductInfoModalContext(true);
|
|
101224
101279
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -101244,14 +101299,14 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101244
101299
|
},
|
|
101245
101300
|
onClick: function onClick(e) {
|
|
101246
101301
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
101247
|
-
var _authdetailsContext$
|
|
101248
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101302
|
+
var _authdetailsContext$i1;
|
|
101303
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
101249
101304
|
e.stopPropagation();
|
|
101250
101305
|
setShowProductInfoModalContext(true);
|
|
101251
101306
|
setProductIdProdutInfoModalContext(item.productid);
|
|
101252
101307
|
} else {
|
|
101253
|
-
var _authdetailsContext$
|
|
101254
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101308
|
+
var _authdetailsContext$i10;
|
|
101309
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '675eeed3a2e7d') {
|
|
101255
101310
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101256
101311
|
} else {
|
|
101257
101312
|
handleClick();
|
|
@@ -101259,11 +101314,11 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101259
101314
|
}
|
|
101260
101315
|
}
|
|
101261
101316
|
}
|
|
101262
|
-
}, Image('normal')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101317
|
+
}, Image('normal')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '69244cc88aa0a' && item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
|
|
101263
101318
|
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
101264
101319
|
}, /*#__PURE__*/React.createElement("p", {
|
|
101265
101320
|
"class": "m-0 p-0"
|
|
101266
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101321
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '69244cc88aa0a' && item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
|
|
101267
101322
|
"class": "".concat(card_cssstyles.outstockbadge2) + ' allcentered '
|
|
101268
101323
|
}, /*#__PURE__*/React.createElement("p", {
|
|
101269
101324
|
"class": "m-0 p-0"
|
|
@@ -101289,11 +101344,11 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101289
101344
|
}
|
|
101290
101345
|
}, item.name))), /*#__PURE__*/React.createElement("div", {
|
|
101291
101346
|
style: {
|
|
101292
|
-
position: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101293
|
-
bottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101347
|
+
position: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '682dfdcdb9720' && sectionproperties.image_mb == -1 ? 'absolute' : 'relative',
|
|
101348
|
+
bottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '682dfdcdb9720' && sectionproperties.image_mb == -1 ? 30 : 0,
|
|
101294
101349
|
zIndex: 10
|
|
101295
101350
|
}
|
|
101296
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101351
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) != '6a708efd56628' && /*#__PURE__*/React.createElement("div", {
|
|
101297
101352
|
"class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 ',
|
|
101298
101353
|
style: {
|
|
101299
101354
|
// move to spo
|
|
@@ -101301,7 +101356,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101301
101356
|
// bottom: authdetailsContext?.instinfo?.contactinfo.instid == '682dfdcdb9720' && sectionproperties.image_mb == -1 ? 30 : 0,
|
|
101302
101357
|
// zIndex: 10,
|
|
101303
101358
|
}
|
|
101304
|
-
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101359
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '69de6dceab218' && (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) {
|
|
101305
101360
|
return /*#__PURE__*/React.createElement("div", {
|
|
101306
101361
|
"class": "text-start d-flex align-items-center col-lg- p-0 mb-1"
|
|
101307
101362
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -101319,7 +101374,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101319
101374
|
fontWeight: 300
|
|
101320
101375
|
}
|
|
101321
101376
|
}, "-"));
|
|
101322
|
-
})), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101377
|
+
})), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) != '69de6dceab218' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) != '6a552697b2c62' && /*#__PURE__*/React.createElement("div", {
|
|
101323
101378
|
"class": "allcentered col-lg-12 p-0",
|
|
101324
101379
|
style: {
|
|
101325
101380
|
height: 40
|
|
@@ -101339,7 +101394,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101339
101394
|
color: sectionproperties.featurecolor,
|
|
101340
101395
|
fontSize: sectionproperties.featurefontsize + 'px'
|
|
101341
101396
|
}
|
|
101342
|
-
}, (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$
|
|
101397
|
+
}, (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$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '68b87409b9a2a' && /*#__PURE__*/React.createElement("div", {
|
|
101343
101398
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
101344
101399
|
style: {
|
|
101345
101400
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -101378,8 +101433,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101378
101433
|
}, /*#__PURE__*/React.createElement("p", {
|
|
101379
101434
|
onClick: function onClick() {
|
|
101380
101435
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
101381
|
-
var _authdetailsContext$
|
|
101382
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101436
|
+
var _authdetailsContext$i20;
|
|
101437
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
101383
101438
|
setShowProductInfoModalContext(true);
|
|
101384
101439
|
setProductIdProdutInfoModalContext(item.productid);
|
|
101385
101440
|
} else {
|
|
@@ -101398,7 +101453,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101398
101453
|
style: {
|
|
101399
101454
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
101400
101455
|
}
|
|
101401
|
-
}, item.name)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101456
|
+
}, item.name)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '6a552697b2c62' && /*#__PURE__*/React.createElement("div", {
|
|
101402
101457
|
"class": "text-start d-flex align-items-center col-lg-12 flex-row p-0 mb-1 mt-1"
|
|
101403
101458
|
}, (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) {
|
|
101404
101459
|
if (ffindex < 2) {
|
|
@@ -101430,7 +101485,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101430
101485
|
}
|
|
101431
101486
|
})), langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar);
|
|
101432
101487
|
}
|
|
101433
|
-
}))), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$
|
|
101488
|
+
}))), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags3 = item.producttags) === null || _item$producttags3 === void 0 ? void 0 : _item$producttags3.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React.createElement("div", {
|
|
101434
101489
|
"class": "allcentered",
|
|
101435
101490
|
style: {
|
|
101436
101491
|
width: '100%',
|
|
@@ -101447,7 +101502,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101447
101502
|
color: sectionproperties.tagcolor,
|
|
101448
101503
|
fontSize: 12
|
|
101449
101504
|
}
|
|
101450
|
-
}, item === null || item === void 0 || (_item$producttags$
|
|
101505
|
+
}, item === null || item === void 0 || (_item$producttags$3 = item.producttags[0]) === null || _item$producttags$3 === void 0 || (_item$producttags$3 = _item$producttags$3.taginfo) === null || _item$producttags$3 === void 0 ? void 0 : _item$producttags$3.tagname)), sectionproperties.showSKU == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101451
101506
|
"class": "col-lg-12 pl-0 pr-0",
|
|
101452
101507
|
style: {}
|
|
101453
101508
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -101497,7 +101552,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101497
101552
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
101498
101553
|
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React.createElement("div", {
|
|
101499
101554
|
style: {}
|
|
101500
|
-
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101555
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
101501
101556
|
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
101502
101557
|
style: {
|
|
101503
101558
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -101598,7 +101653,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101598
101653
|
color: sectionproperties.quantitycolor,
|
|
101599
101654
|
fontWeight: sectionproperties.quantityfontweight
|
|
101600
101655
|
}
|
|
101601
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101656
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101602
101657
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
101603
101658
|
}, /*#__PURE__*/React.createElement("div", {
|
|
101604
101659
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -101643,7 +101698,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101643
101698
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101644
101699
|
}, /*#__PURE__*/React.createElement("i", {
|
|
101645
101700
|
"class": "h-100 allcentered addbtn"
|
|
101646
|
-
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101701
|
+
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React.createElement("div", {
|
|
101647
101702
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
101648
101703
|
style: {
|
|
101649
101704
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
@@ -101672,12 +101727,12 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101672
101727
|
}, /*#__PURE__*/React.createElement("p", {
|
|
101673
101728
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
101674
101729
|
onClick: function onClick() {
|
|
101675
|
-
var _authdetailsContext$
|
|
101730
|
+
var _authdetailsContext$i26;
|
|
101676
101731
|
// if (authdetailsContext?.instinfo?.contactinfo.instid == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
101677
101732
|
// setShowProductInfoModalContext(true);
|
|
101678
101733
|
// setProductIdProdutInfoModalContext(item.productid);
|
|
101679
101734
|
// } else {
|
|
101680
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101735
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '68527dfef348b') {
|
|
101681
101736
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
101682
101737
|
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
101683
101738
|
addtocartfunc();
|
|
@@ -101693,8 +101748,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101693
101748
|
if (item.extrafieldsarray.length == 0) {
|
|
101694
101749
|
addtocartfunc();
|
|
101695
101750
|
} else {
|
|
101696
|
-
var _authdetailsContext$
|
|
101697
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101751
|
+
var _authdetailsContext$i27;
|
|
101752
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
101698
101753
|
setShowProductInfoModalContext(true);
|
|
101699
101754
|
setProductIdProdutInfoModalContext(item.productid);
|
|
101700
101755
|
} else {
|
|
@@ -101743,7 +101798,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101743
101798
|
}
|
|
101744
101799
|
}),
|
|
101745
101800
|
activeColor: "#ffd700"
|
|
101746
|
-
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101801
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '6a708efd56628' && /*#__PURE__*/React.createElement("div", {
|
|
101747
101802
|
"class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 allcentered ',
|
|
101748
101803
|
style: {}
|
|
101749
101804
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -101752,7 +101807,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101752
101807
|
borderRadius: 20
|
|
101753
101808
|
},
|
|
101754
101809
|
"class": "product-content px-3 py-5"
|
|
101755
|
-
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101810
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '69de6dceab218' && (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) {
|
|
101756
101811
|
return /*#__PURE__*/React.createElement("div", {
|
|
101757
101812
|
"class": "text-start d-flex align-items-center col-lg- p-0 mb-1"
|
|
101758
101813
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -101770,11 +101825,11 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101770
101825
|
fontWeight: 300
|
|
101771
101826
|
}
|
|
101772
101827
|
}, "-"));
|
|
101773
|
-
})), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101828
|
+
})), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) != '69de6dceab218' && /*#__PURE__*/React.createElement("div", {
|
|
101774
101829
|
"class": "allcentered col-lg-12 p-0",
|
|
101775
101830
|
style: {
|
|
101776
101831
|
height: 40,
|
|
101777
|
-
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101832
|
+
marginBottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.instid) == '6a89a204d4a38' ? 15 : 0
|
|
101778
101833
|
}
|
|
101779
101834
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
101780
101835
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -101782,8 +101837,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101782
101837
|
path: item === null || item === void 0 ? void 0 : item.feature_image_url,
|
|
101783
101838
|
loading: "lazy",
|
|
101784
101839
|
style: {
|
|
101785
|
-
maxWidth: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101786
|
-
maxHeight: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101840
|
+
maxWidth: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.instid) == '6a89a204d4a38' ? '100%' : '50%',
|
|
101841
|
+
maxHeight: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.instid) == '6a89a204d4a38' ? '100%' : '50%'
|
|
101787
101842
|
}
|
|
101788
101843
|
}), /*#__PURE__*/React.createElement("div", {
|
|
101789
101844
|
"class": "text-capitalize mx-2",
|
|
@@ -101791,7 +101846,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101791
101846
|
color: sectionproperties.featurecolor,
|
|
101792
101847
|
fontSize: sectionproperties.featurefontsize + 'px'
|
|
101793
101848
|
}
|
|
101794
|
-
}, (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$
|
|
101849
|
+
}, (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$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '68b87409b9a2a' && /*#__PURE__*/React.createElement("div", {
|
|
101795
101850
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
101796
101851
|
style: {
|
|
101797
101852
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -101811,7 +101866,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101811
101866
|
fontSize: 13,
|
|
101812
101867
|
fontWeight: 400
|
|
101813
101868
|
}
|
|
101814
|
-
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101869
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
101815
101870
|
"class": "col-lg-12 p-0 d-flex align-items-center mb-1 flex-row"
|
|
101816
101871
|
}, /*#__PURE__*/React.createElement("div", {
|
|
101817
101872
|
style: {
|
|
@@ -101869,7 +101924,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101869
101924
|
style: {
|
|
101870
101925
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
101871
101926
|
}
|
|
101872
|
-
}, item.name)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$
|
|
101927
|
+
}, item.name)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags4 = item.producttags) === null || _item$producttags4 === void 0 ? void 0 : _item$producttags4.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React.createElement("div", {
|
|
101873
101928
|
"class": "allcentered",
|
|
101874
101929
|
style: {
|
|
101875
101930
|
width: '100%',
|
|
@@ -101886,7 +101941,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101886
101941
|
color: sectionproperties.tagcolor,
|
|
101887
101942
|
fontSize: 12
|
|
101888
101943
|
}
|
|
101889
|
-
}, item === null || item === void 0 || (_item$producttags$
|
|
101944
|
+
}, item === null || item === void 0 || (_item$producttags$4 = item.producttags[0]) === null || _item$producttags$4 === void 0 || (_item$producttags$4 = _item$producttags$4.taginfo) === null || _item$producttags$4 === void 0 ? void 0 : _item$producttags$4.tagname)), sectionproperties.showSKU == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101890
101945
|
"class": "col-lg-12 pl-0 pr-0",
|
|
101891
101946
|
style: {}
|
|
101892
101947
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -101952,7 +102007,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101952
102007
|
}
|
|
101953
102008
|
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(price) - parseInt(sale_price)) / parseInt(price)) * 100) / 10.0).toFixed(0) + '%'))), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React.createElement("div", {
|
|
101954
102009
|
style: {}
|
|
101955
|
-
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
102010
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
101956
102011
|
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
101957
102012
|
style: {
|
|
101958
102013
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -102053,7 +102108,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102053
102108
|
color: sectionproperties.quantitycolor,
|
|
102054
102109
|
fontWeight: sectionproperties.quantityfontweight
|
|
102055
102110
|
}
|
|
102056
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
102111
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
102057
102112
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
102058
102113
|
}, /*#__PURE__*/React.createElement("div", {
|
|
102059
102114
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -102098,7 +102153,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102098
102153
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
102099
102154
|
}, /*#__PURE__*/React.createElement("i", {
|
|
102100
102155
|
"class": "h-100 allcentered addbtn"
|
|
102101
|
-
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
102156
|
+
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React.createElement("div", {
|
|
102102
102157
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
102103
102158
|
style: {
|
|
102104
102159
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
@@ -102127,8 +102182,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102127
102182
|
}, /*#__PURE__*/React.createElement("p", {
|
|
102128
102183
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
102129
102184
|
onClick: function onClick() {
|
|
102130
|
-
var _authdetailsContext$
|
|
102131
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
102185
|
+
var _authdetailsContext$i40;
|
|
102186
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '68527dfef348b') {
|
|
102132
102187
|
// alert(item.path);
|
|
102133
102188
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
102134
102189
|
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
@@ -102230,8 +102285,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102230
102285
|
onClick: function onClick(e) {
|
|
102231
102286
|
var _sectionproperties$se2;
|
|
102232
102287
|
if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
|
|
102233
|
-
var _authdetailsContext$
|
|
102234
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
102288
|
+
var _authdetailsContext$i41;
|
|
102289
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
102235
102290
|
e.stopPropagation();
|
|
102236
102291
|
setShowProductInfoModalContext(true);
|
|
102237
102292
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -102275,8 +102330,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102275
102330
|
}, /*#__PURE__*/React.createElement("p", {
|
|
102276
102331
|
onClick: function onClick() {
|
|
102277
102332
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
102278
|
-
var _authdetailsContext$
|
|
102279
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
102333
|
+
var _authdetailsContext$i42;
|
|
102334
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
102280
102335
|
setShowProductInfoModalContext(true);
|
|
102281
102336
|
setProductIdProdutInfoModalContext(item.productid);
|
|
102282
102337
|
} else {
|
|
@@ -102295,7 +102350,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102295
102350
|
style: {
|
|
102296
102351
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
102297
102352
|
}
|
|
102298
|
-
}, item.name)), (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
102353
|
+
}, item.name)), (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.contactinfo.instid) == '6a552697b2c62' && (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) {
|
|
102299
102354
|
return /*#__PURE__*/React.createElement("div", {
|
|
102300
102355
|
"class": "text-start d-flex align-items-center col-lg-12 p-0 mb-1"
|
|
102301
102356
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -102313,7 +102368,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102313
102368
|
fontWeight: 300
|
|
102314
102369
|
}
|
|
102315
102370
|
}, "-"));
|
|
102316
|
-
})), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$
|
|
102371
|
+
})), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags5 = item.producttags) === null || _item$producttags5 === void 0 ? void 0 : _item$producttags5.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React.createElement("div", {
|
|
102317
102372
|
"class": "allcentered",
|
|
102318
102373
|
style: {
|
|
102319
102374
|
width: '100%',
|
|
@@ -102330,7 +102385,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102330
102385
|
color: sectionproperties.tagcolor,
|
|
102331
102386
|
fontSize: 12
|
|
102332
102387
|
}
|
|
102333
|
-
}, item === null || item === void 0 || (_item$producttags$
|
|
102388
|
+
}, item === null || item === void 0 || (_item$producttags$5 = item.producttags[0]) === null || _item$producttags$5 === void 0 || (_item$producttags$5 = _item$producttags$5.taginfo) === null || _item$producttags$5 === void 0 ? void 0 : _item$producttags$5.tagname)), sectionproperties.showSKU == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
102334
102389
|
"class": "col-lg-12 pl-0 pr-0",
|
|
102335
102390
|
style: {}
|
|
102336
102391
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -102380,7 +102435,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102380
102435
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
102381
102436
|
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React.createElement("div", {
|
|
102382
102437
|
style: {}
|
|
102383
|
-
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
102438
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
102384
102439
|
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
102385
102440
|
style: {
|
|
102386
102441
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -102481,7 +102536,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102481
102536
|
color: sectionproperties.quantitycolor,
|
|
102482
102537
|
fontWeight: sectionproperties.quantityfontweight
|
|
102483
102538
|
}
|
|
102484
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
102539
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
102485
102540
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
102486
102541
|
}, /*#__PURE__*/React.createElement("div", {
|
|
102487
102542
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -102526,7 +102581,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102526
102581
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
102527
102582
|
}, /*#__PURE__*/React.createElement("i", {
|
|
102528
102583
|
"class": "h-100 allcentered addbtn"
|
|
102529
|
-
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
102584
|
+
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React.createElement("div", {
|
|
102530
102585
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
102531
102586
|
style: {
|
|
102532
102587
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
@@ -102555,12 +102610,12 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102555
102610
|
}, /*#__PURE__*/React.createElement("p", {
|
|
102556
102611
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
102557
102612
|
onClick: function onClick() {
|
|
102558
|
-
var _authdetailsContext$
|
|
102613
|
+
var _authdetailsContext$i48;
|
|
102559
102614
|
// if (authdetailsContext?.instinfo?.contactinfo.instid == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
102560
102615
|
// setShowProductInfoModalContext(true);
|
|
102561
102616
|
// setProductIdProdutInfoModalContext(item.productid);
|
|
102562
102617
|
// } else {
|
|
102563
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
102618
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.contactinfo.instid) == '68527dfef348b') {
|
|
102564
102619
|
// alert(item.path);
|
|
102565
102620
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
102566
102621
|
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
@@ -102577,8 +102632,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
102577
102632
|
if (item.extrafieldsarray.length == 0) {
|
|
102578
102633
|
addtocartfunc();
|
|
102579
102634
|
} else {
|
|
102580
|
-
var _authdetailsContext$
|
|
102581
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
102635
|
+
var _authdetailsContext$i49;
|
|
102636
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i49 = authdetailsContext.instinfo) === null || _authdetailsContext$i49 === void 0 ? void 0 : _authdetailsContext$i49.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
102582
102637
|
setShowProductInfoModalContext(true);
|
|
102583
102638
|
setProductIdProdutInfoModalContext(item.productid);
|
|
102584
102639
|
} else {
|