tabexseriescomponents 0.2.1200 → 0.2.1201
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 +62 -45
- package/dist/index.esm.js +62 -45
- package/dist/index.umd.js +62 -45
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3470,7 +3470,8 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
3470
3470
|
style: {
|
|
3471
3471
|
marginTop: props.actions.srcfrom == 'collapsepinfo' ? 0 : sectionproperties.marginTop + 'px',
|
|
3472
3472
|
maxHeight: props.actions.srcfrom == 'collapsepinfo' ? '30vh' : 'auto',
|
|
3473
|
-
overflowY: 'auto'
|
|
3473
|
+
overflowY: 'auto',
|
|
3474
|
+
color: '#000'
|
|
3474
3475
|
}
|
|
3475
3476
|
}, /*#__PURE__*/React.createElement("div", {
|
|
3476
3477
|
"class": props.actions.srcfrom == 'collapsepinfo' ? 'col-lg-12 p-0 w-100 p-0 p-md-0 plr-1025-0' : 'col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0 plr-1025-0'
|
|
@@ -3880,7 +3881,8 @@ var index=existing.indexOf(productId);if(index>-1){// If exists, remove it (togg
|
|
|
3880
3881
|
existing.splice(index,1);setIsCompared(false);}else {// If not, add it (toggle on)
|
|
3881
3882
|
existing.push(productId);setIsCompared(true);}// Update localStorage
|
|
3882
3883
|
localStorage.setItem(key,JSON.stringify(existing));// Optionally show feedback (remove this in production)
|
|
3883
|
-
}},isCompared?lang.remove:lang.compare))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer68=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.productinfo)===null||_fetchProductInfoQuer68===void 0?void 0:_fetchProductInfoQuer68.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 _fetchProductInfoQuer69;window.open('tel:'+((_fetchProductInfoQuer69=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer69===void 0?void 0:_fetchProductInfoQuer69.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 '},/*#__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||(_fetchProductInfoQuer70=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.productinfo)===null||_fetchProductInfoQuer70===void 0?void 0:_fetchProductInfoQuer70.productactionbuttontext_en: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.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),productpdfsarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer72=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productinfo)===null||_fetchProductInfoQuer72===void 0?void 0:_fetchProductInfoQuer72.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){addtocartfunc(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"})))),sectionproperties.storeinfoposition=='Below Information'&&props.actions.srcfromprops!='templatedraftrouter'&&/*#__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.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||(_fetchProductInfoQuer73=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productinfo)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productfeatures)===null||_fetchProductInfoQuer73===void 0?void 0:_fetchProductInfoQuer73.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||(_fetchProductInfoQuer74=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productinfo)===null||_fetchProductInfoQuer74===void 0?void 0:_fetchProductInfoQuer74.hasvariants)==0&&/*#__PURE__*/React.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||(_fetchProductInfoQuer75=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.productinfo)===null||_fetchProductInfoQuer75===void 0?void 0:_fetchProductInfoQuer75.hasvariants)==0&&/*#__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||(_fetchProductInfoQuer76=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.productinfo)===null||_fetchProductInfoQuer76===void 0?void 0:_fetchProductInfoQuer76.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||(_fetchProductInfoQuer77=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.productinfo)===null||_fetchProductInfoQuer77===void 0?void 0:_fetchProductInfoQuer77.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer78=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.productinfo)===null||_fetchProductInfoQuer78===void 0?void 0:_fetchProductInfoQuer78.short_description_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'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i14=authdetailsContext.instinfo)===null||_authdetailsContext$i14===void 0?void 0:_authdetailsContext$i14.contactinfo.instid)!='6852e5ed44e14'&&/*#__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',style:{display:sectionproperties.showfirstpolicy=='Hide'&§ionproperties.showsecondpolicy=='Hide'?'none':'flex'}},/*#__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'?(_returnpolicyobj=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj===void 0?void 0:_returnpolicyobj.policypagename_en:(_returnpolicyobj2=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj2===void 0?void 0:_returnpolicyobj2.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.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'?(_returnpolicyobj3=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj3===void 0?void 0:_returnpolicyobj3.policysummary_en:(_returnpolicyobj4=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj4===void 0?void 0:_returnpolicyobj4.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.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'?(_returnpolicyobj5=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj5===void 0?void 0:_returnpolicyobj5.policypagename_en:(_returnpolicyobj6=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj6===void 0?void 0:_returnpolicyobj6.policypagename_ar)),/*#__PURE__*/React.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'?(_returnpolicyobj7=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj7===void 0?void 0:_returnpolicyobj7.policysummary_en:(_returnpolicyobj8=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj8===void 0?void 0:_returnpolicyobj8.policysummary_ar}})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
3884
|
+
}},isCompared?lang.remove:lang.compare))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.cartBtnShow=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer68=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.data)===null||_fetchProductInfoQuer68===void 0||(_fetchProductInfoQuer68=_fetchProductInfoQuer68.productinfo)===null||_fetchProductInfoQuer68===void 0?void 0:_fetchProductInfoQuer68.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 _fetchProductInfoQuer69;window.open('tel:'+((_fetchProductInfoQuer69=fetchProductInfoQueryContext.data.data.productinfo)===null||_fetchProductInfoQuer69===void 0?void 0:_fetchProductInfoQuer69.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 '},/*#__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||(_fetchProductInfoQuer70=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.data)===null||_fetchProductInfoQuer70===void 0||(_fetchProductInfoQuer70=_fetchProductInfoQuer70.productinfo)===null||_fetchProductInfoQuer70===void 0?void 0:_fetchProductInfoQuer70.productactionbuttontext_en: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.productactionbuttontext_ar),AddtoCartMutationContext.isLoading&&/*#__PURE__*/React.createElement("div",{className:' d-flex align-items-center justify-content-center '},/*#__PURE__*/React.createElement(CircularProgress,{color:sectionproperties.cartBtnTextcolor,width:"20px",height:"20px",duration:"1s"}))),sectionproperties.btnposition=='Besides Cart Button'&§ionproperties.favBtnShow=='Show'&&/*#__PURE__*/React.createElement("div",{className:productinfo_cssstyles.wishlist_btn+' d-flex justify-content-center align-items-center mb-sm-2 mx-3 ',onClick:function onClick(){addtofavoritescontext(fetchProductInfoQueryContext.data.data.productinfo.productid);setIsFavorite(!IsFavorite);},style:{background:fetchProductInfoQueryContext.data.data.productinfo.IsFavExists==true?sectionproperties.activebgcolor:''}},/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiFillStar$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaHeart$1,{size:sectionproperties.favBtnIconfontsize,style:{color:sectionproperties.activefaviconcolor}})),!IsFavorite&&/*#__PURE__*/React.createElement("i",{className:"h-100 d-flex align-items-center justify-content-center"},sectionproperties.faviconshape=='Star Shape'&&/*#__PURE__*/React.createElement(AiOutlineStar,{size:sectionproperties.favBtnIconfontsize}),sectionproperties.faviconshape=='Heart Shape'&&/*#__PURE__*/React.createElement(FaRegHeart,{size:sectionproperties.favBtnIconfontsize}))))),productpdfsarray.length!=0&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-2",style:{overflow:'hidden'}},PDFContainer()),sectionproperties.showdirectwabtn=='Show'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("a",{href:langdetect=='en'?whatsappUrl:whatsappUrl_ar,target:"_blank",rel:"noopener noreferrer",style:{width:'100%'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.cart_btn," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'}},langdetect=='en'?sectionproperties.directwabtntitleen:sectionproperties.directwabtntitlear))),sectionproperties.cartbtnalone=='Alone'&§ionproperties.showbuynowbtn=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer72=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.data)===null||_fetchProductInfoQuer72===void 0||(_fetchProductInfoQuer72=_fetchProductInfoQuer72.productinfo)===null||_fetchProductInfoQuer72===void 0?void 0:_fetchProductInfoQuer72.isproducttobesold)==1&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-3",style:{overflow:'hidden'}},/*#__PURE__*/React.createElement("button",{className:"".concat(productinfo_cssstyles.buynow," ")+' d-flex align-items-center justify-content-center mb-sm-2 ',style:{width:sectionproperties.cartBtnWidth+'%'},onClick:function onClick(){addtocartfunc(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"})))),/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 mt-5 allcentered"// style={{ overflow: 'hidden', border: '1px solid #ccc', borderRadius: 10 }}
|
|
3885
|
+
},sectionproperties.showvisa=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'60px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/visa.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmastercard=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/mastercard.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showfawry=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'70px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/fawry.png',style:{maxWidth:'100%',maxHeight:'100%'}})),sectionproperties.showmeeza=='Show'&&/*#__PURE__*/React.createElement("div",{className:'mx-3 allcentered',style:{width:'50px',height:'40px'}},/*#__PURE__*/React.createElement("img",{src:'https://tabex-co.com/storage/StaticImages/meezaimage.png',style:{maxWidth:'100%',maxHeight:'100%'}}))),sectionproperties.storeinfoposition=='Below Information'&&props.actions.srcfromprops!='templatedraftrouter'&&/*#__PURE__*/React.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.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||(_fetchProductInfoQuer73=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.data)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productinfo)===null||_fetchProductInfoQuer73===void 0||(_fetchProductInfoQuer73=_fetchProductInfoQuer73.productfeatures)===null||_fetchProductInfoQuer73===void 0?void 0:_fetchProductInfoQuer73.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||(_fetchProductInfoQuer74=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.data)===null||_fetchProductInfoQuer74===void 0||(_fetchProductInfoQuer74=_fetchProductInfoQuer74.productinfo)===null||_fetchProductInfoQuer74===void 0?void 0:_fetchProductInfoQuer74.hasvariants)==0&&/*#__PURE__*/React.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||(_fetchProductInfoQuer75=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.data)===null||_fetchProductInfoQuer75===void 0||(_fetchProductInfoQuer75=_fetchProductInfoQuer75.productinfo)===null||_fetchProductInfoQuer75===void 0?void 0:_fetchProductInfoQuer75.hasvariants)==0&&/*#__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||(_fetchProductInfoQuer76=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.data)===null||_fetchProductInfoQuer76===void 0||(_fetchProductInfoQuer76=_fetchProductInfoQuer76.productinfo)===null||_fetchProductInfoQuer76===void 0?void 0:_fetchProductInfoQuer76.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||(_fetchProductInfoQuer77=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.data)===null||_fetchProductInfoQuer77===void 0||(_fetchProductInfoQuer77=_fetchProductInfoQuer77.productinfo)===null||_fetchProductInfoQuer77===void 0?void 0:_fetchProductInfoQuer77.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer78=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.data)===null||_fetchProductInfoQuer78===void 0||(_fetchProductInfoQuer78=_fetchProductInfoQuer78.productinfo)===null||_fetchProductInfoQuer78===void 0?void 0:_fetchProductInfoQuer78.short_description_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'&&(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i14=authdetailsContext.instinfo)===null||_authdetailsContext$i14===void 0?void 0:_authdetailsContext$i14.contactinfo.instid)!='6852e5ed44e14'&&/*#__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',style:{display:sectionproperties.showfirstpolicy=='Hide'&§ionproperties.showsecondpolicy=='Hide'?'none':'flex'}},/*#__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'?(_returnpolicyobj=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj===void 0?void 0:_returnpolicyobj.policypagename_en:(_returnpolicyobj2=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj2===void 0?void 0:_returnpolicyobj2.policypagename_ar)),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.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'?(_returnpolicyobj3=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj3===void 0?void 0:_returnpolicyobj3.policysummary_en:(_returnpolicyobj4=returnpolicyobj('Shipping Policy'))===null||_returnpolicyobj4===void 0?void 0:_returnpolicyobj4.policysummary_ar}})),sectionproperties.showfirstpolicy=='Show'&&/*#__PURE__*/React.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'?(_returnpolicyobj5=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj5===void 0?void 0:_returnpolicyobj5.policypagename_en:(_returnpolicyobj6=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj6===void 0?void 0:_returnpolicyobj6.policypagename_ar)),/*#__PURE__*/React.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'?(_returnpolicyobj7=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj7===void 0?void 0:_returnpolicyobj7.policysummary_en:(_returnpolicyobj8=returnpolicyobj('Refund Policy'))===null||_returnpolicyobj8===void 0?void 0:_returnpolicyobj8.policysummary_ar}})),/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-4 px-4"},/*#__PURE__*/React.createElement("p",{className:' m-0 p-0 wordbreak cursor-pointer ',style:{textAlign:langdetect=='en'?'left':'right',textDecoration:'underline',color:sectionproperties.prodCatColor},onClick:function onClick(){routingcountext(StaticPagesLinksContext.RefundPolicy);}},"SEE MORE")))))),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 my-3 p-md-0"},/*#__PURE__*/React.createElement("hr",{"class":"m-0"})),sectionproperties.descriptionstyle=='Style 2'&§ionproperties.reviewssectionstyle=='In Collapse'&&/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 col-md-12 p-md-0"},/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:true,allowZeroExpanded:true},/*#__PURE__*/React.createElement(AccordionItem,null,/*#__PURE__*/React.createElement(AccordionItemHeading,null,/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100"},/*#__PURE__*/React.createElement("div",{className:"col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center"},/*#__PURE__*/React.createElement("p",{"class":"m-0",style:{textAlign:langdetect=='en'?'left':'right',fontWeight:sectionproperties.prodCatFontWeight,color:sectionproperties.prodCatColor,fontSize:sectionproperties.prodCatFontSize+'px'}},langdetect=='en'?'REVIEWS':'التقييمات')),/*#__PURE__*/React.createElement("div",{className:"col-lg-2 col-md-2 col-sm-2 p-0"},/*#__PURE__*/React.createElement(AccordionItemState,null,function(state){if(state.expanded==true){return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaMinus,{color:sectionproperties.prodCatColor}));}else {return/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-end '},/*#__PURE__*/React.createElement(FaPlus,{color:sectionproperties.prodCatColor}));}}))))),/*#__PURE__*/React.createElement(AccordionItemPanel,{className:"p-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 pl-3 pr-3 mt-3"},/*#__PURE__*/React.createElement(ProductReviews,{actions:_objectSpread$2F(_objectSpread$2F({},actions),{},{productinfo_cssstyles:productinfo_cssstyles,sectionproperties:sectionproperties,srcfrom:'collapsepinfo'})// actions={props.actions}
|
|
3884
3886
|
// srcfromprops={'collapsepinfo'}
|
|
3885
3887
|
})))))),(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer79=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.data)===null||_fetchProductInfoQuer79===void 0||(_fetchProductInfoQuer79=_fetchProductInfoQuer79.productinfo)===null||_fetchProductInfoQuer79===void 0?void 0:_fetchProductInfoQuer79.isproducttobesold)==1&§ionproperties.showtotalsection=='Show'&&/*#__PURE__*/React.createElement("div",{className:"col-lg-12 p-0 mb-3"},TotalSection()),sectionproperties.availabilitybtnposition=='Bottom'&§ionproperties.show_availability=='Show'&&(fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer80=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.data)===null||_fetchProductInfoQuer80===void 0||(_fetchProductInfoQuer80=_fetchProductInfoQuer80.productinfo)===null||_fetchProductInfoQuer80===void 0?void 0:_fetchProductInfoQuer80.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()))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i15=authdetailsContext.instinfo)===null||_authdetailsContext$i15===void 0?void 0:_authdetailsContext$i15.contactinfo.instid)=='68a9e83c05b75'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 pt-4 mt-3 px-5 px-md-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__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||(_fetchProductInfoQuer81=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.data)===null||_fetchProductInfoQuer81===void 0||(_fetchProductInfoQuer81=_fetchProductInfoQuer81.productinfo)===null||_fetchProductInfoQuer81===void 0?void 0:_fetchProductInfoQuer81.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer82=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.data)===null||_fetchProductInfoQuer82===void 0||(_fetchProductInfoQuer82=_fetchProductInfoQuer82.productinfo)===null||_fetchProductInfoQuer82===void 0?void 0:_fetchProductInfoQuer82.short_description_ar}})),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 m-0 w-100 p-0 mt-5"},/*#__PURE__*/React.createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer83=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer83===void 0||(_fetchProductInfoQuer83=_fetchProductInfoQuer83.data)===null||_fetchProductInfoQuer83===void 0||(_fetchProductInfoQuer83=_fetchProductInfoQuer83.productinfo)===null||_fetchProductInfoQuer83===void 0||(_fetchProductInfoQuer83=_fetchProductInfoQuer83.productfeatures)===null||_fetchProductInfoQuer83===void 0?void 0:_fetchProductInfoQuer83.map(function(fitem,findex){return/*#__PURE__*/React.createElement("tr",null,/*#__PURE__*/React.createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|
|
3886
3888
|
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));}))),/*#__PURE__*/React.createElement("div",{className:"col-6 col-md-12 mt-5"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:'#000000'},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer84=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer84===void 0||(_fetchProductInfoQuer84=_fetchProductInfoQuer84.data)===null||_fetchProductInfoQuer84===void 0||(_fetchProductInfoQuer84=_fetchProductInfoQuer84.productinfo)===null||_fetchProductInfoQuer84===void 0?void 0:_fetchProductInfoQuer84.description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer85=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer85===void 0||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.data)===null||_fetchProductInfoQuer85===void 0||(_fetchProductInfoQuer85=_fetchProductInfoQuer85.productinfo)===null||_fetchProductInfoQuer85===void 0?void 0:_fetchProductInfoQuer85.description_ar}})),/*#__PURE__*/React.createElement("div",{"class":"col-6 col-md-12 mt-5"},productVideos.length!=0&&/*#__PURE__*/React.createElement("div",{className:"w-100",style:{height:400}},/*#__PURE__*/React.createElement(ReactPlayer,{url:productVideos[0].videourl,height:'100%',width:'100%',playing:false,controls:true,loop:true,muted:true})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i16=authdetailsContext.instinfo)===null||_authdetailsContext$i16===void 0?void 0:_authdetailsContext$i16.contactinfo.instid)=='68c27b4570751'&&/*#__PURE__*/React.createElement("div",{"class":"row m-0 w-100 pt-4 mt-3 px-5 px-md-0"},/*#__PURE__*/React.createElement("div",{"class":"col-lg-12 p-0 mb-2"},/*#__PURE__*/React.createElement("p",{className:'m-0 p-0 wordbreak',style:{textAlign:langdetect=='en'?'left':'right',color:sectionproperties.prodCatColor},dangerouslySetInnerHTML:{__html:langdetect=='en'?fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer86=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer86===void 0||(_fetchProductInfoQuer86=_fetchProductInfoQuer86.data)===null||_fetchProductInfoQuer86===void 0||(_fetchProductInfoQuer86=_fetchProductInfoQuer86.productinfo)===null||_fetchProductInfoQuer86===void 0?void 0:_fetchProductInfoQuer86.short_description_en:fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer87=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.data)===null||_fetchProductInfoQuer87===void 0||(_fetchProductInfoQuer87=_fetchProductInfoQuer87.productinfo)===null||_fetchProductInfoQuer87===void 0?void 0:_fetchProductInfoQuer87.short_description_ar}})),/*#__PURE__*/React.createElement("div",{className:"col-lg-12 m-0 w-100 p-0 mt-5"},/*#__PURE__*/React.createElement("table",{className:'table tablevertical'},fetchProductInfoQueryContext===null||fetchProductInfoQueryContext===void 0||(_fetchProductInfoQuer88=fetchProductInfoQueryContext.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.data)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.productinfo)===null||_fetchProductInfoQuer88===void 0||(_fetchProductInfoQuer88=_fetchProductInfoQuer88.productfeatures)===null||_fetchProductInfoQuer88===void 0?void 0:_fetchProductInfoQuer88.map(function(fitem,findex){return/*#__PURE__*/React.createElement("tr",null,/*#__PURE__*/React.createElement("th",{style:{textTransform:'capitalize',// color: '#000',
|
|
@@ -7498,7 +7500,7 @@ var TamaraWidget = function TamaraWidget(props) {
|
|
|
7498
7500
|
function ownKeys$2C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7499
7501
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7500
7502
|
var Productinfo = function Productinfo(props) {
|
|
7501
|
-
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$
|
|
7503
|
+
var _css, _fetchProductInfoQuer84, _ref, _fetchProductInfoQuer85, _authdetailsContext$i27, _ref2, _fetchProductInfoQuer86, _authdetailsContext$i28, _ref3, _fetchProductInfoQuer87, _ref4, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i31, _authdetailsContext$i32, _authdetailsContext$i33, _authdetailsContext$i34, _authdetailsContext$i35, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i36, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i37;
|
|
7502
7504
|
var _useState = useState({}),
|
|
7503
7505
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7504
7506
|
ProductInfoObj = _useState2[0],
|
|
@@ -7722,7 +7724,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7722
7724
|
};
|
|
7723
7725
|
useEffect(function () {
|
|
7724
7726
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
7725
|
-
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
7727
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
7726
7728
|
var secpropobj = {};
|
|
7727
7729
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
7728
7730
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
@@ -7736,6 +7738,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
7736
7738
|
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '693ae1f70d9a4') {
|
|
7737
7739
|
settabname('descriptiontab');
|
|
7738
7740
|
// alert('sd');
|
|
7741
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '693fdc5a14f45') {
|
|
7742
|
+
settabname('descriptiontab');
|
|
7743
|
+
// alert('sd');
|
|
7744
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '68a6e2f865af8') {
|
|
7745
|
+
settabname('descriptiontab');
|
|
7746
|
+
// alert('sd');
|
|
7739
7747
|
} else {
|
|
7740
7748
|
var _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5;
|
|
7741
7749
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.product_videos) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.length) == 0) {
|
|
@@ -7958,8 +7966,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
7958
7966
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
7959
7967
|
}
|
|
7960
7968
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer32 === void 0 || (_fetchProductInfoQuer32 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : _fetchProductInfoQuer32.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer33 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.data) === null || _fetchProductInfoQuer33 === void 0 || (_fetchProductInfoQuer33 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer34 === void 0 || (_fetchProductInfoQuer34 = _fetchProductInfoQuer34.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer35 === void 0 || (_fetchProductInfoQuer35 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : _fetchProductInfoQuer35.quantitystepincrearse) != '') {
|
|
7961
|
-
var _authdetailsContext$
|
|
7962
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7969
|
+
var _authdetailsContext$i5;
|
|
7970
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '66d6de1a1e04a') {
|
|
7963
7971
|
var _fetchProductInfoQuer36;
|
|
7964
7972
|
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.quantitystepincrearse);
|
|
7965
7973
|
} else {
|
|
@@ -7985,8 +7993,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
7985
7993
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
7986
7994
|
// };
|
|
7987
7995
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
7988
|
-
var _authdetailsContext$
|
|
7989
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7996
|
+
var _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
7997
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
7990
7998
|
var _ProductInfoObj$data;
|
|
7991
7999
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
7992
8000
|
var options = (productinfo === null || productinfo === void 0 ? void 0 : productinfo.productoptions) || [];
|
|
@@ -8072,7 +8080,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8072
8080
|
}) && variantValueIds.includes(Currvalueid);
|
|
8073
8081
|
});
|
|
8074
8082
|
return inStock ? 1 : 0;
|
|
8075
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8083
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '69244cc88aa0a') {
|
|
8076
8084
|
var _ProductInfoObj$data2;
|
|
8077
8085
|
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8078
8086
|
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
@@ -8158,7 +8166,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8158
8166
|
}) && variantValueIds.includes(Currvalueid);
|
|
8159
8167
|
});
|
|
8160
8168
|
return _inStock ? 1 : 0;
|
|
8161
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8169
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '687ca57cc78e8') {
|
|
8162
8170
|
var _ProductInfoObj$data3;
|
|
8163
8171
|
var _productinfo2 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data3 = ProductInfoObj.data) === null || _ProductInfoObj$data3 === void 0 ? void 0 : _ProductInfoObj$data3.productinfo;
|
|
8164
8172
|
var _options2 = (_productinfo2 === null || _productinfo2 === void 0 ? void 0 : _productinfo2.productoptions) || [];
|
|
@@ -8244,7 +8252,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8244
8252
|
}) && variantValueIds.includes(Currvalueid);
|
|
8245
8253
|
});
|
|
8246
8254
|
return _inStock2 ? 1 : 0;
|
|
8247
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8255
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6899e604db87f') {
|
|
8248
8256
|
var _ProductInfoObj$data4;
|
|
8249
8257
|
var _productinfo3 = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data4 = ProductInfoObj.data) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.productinfo;
|
|
8250
8258
|
var _options3 = (_productinfo3 === null || _productinfo3 === void 0 ? void 0 : _productinfo3.productoptions) || [];
|
|
@@ -8335,8 +8343,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8335
8343
|
}
|
|
8336
8344
|
};
|
|
8337
8345
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8338
|
-
var _authdetailsContext$
|
|
8339
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8346
|
+
var _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11;
|
|
8347
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68d28fc494276') {
|
|
8340
8348
|
var _productarr$data, _productarr$data$prod;
|
|
8341
8349
|
var _productarr = ProductInfoObj;
|
|
8342
8350
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8388,7 +8396,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8388
8396
|
// optional: show user message or disable click
|
|
8389
8397
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8390
8398
|
}
|
|
8391
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8399
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '69244cc88aa0a') {
|
|
8392
8400
|
var _productarr2$data, _productarr2$data$pro;
|
|
8393
8401
|
var _productarr2 = ProductInfoObj;
|
|
8394
8402
|
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
@@ -8440,7 +8448,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8440
8448
|
// optional: show user message or disable click
|
|
8441
8449
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8442
8450
|
}
|
|
8443
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8451
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '687ca57cc78e8') {
|
|
8444
8452
|
var _productarr3$data, _productarr3$data$pro;
|
|
8445
8453
|
var _productarr3 = ProductInfoObj;
|
|
8446
8454
|
if (!(_productarr3 !== null && _productarr3 !== void 0 && (_productarr3$data = _productarr3.data) !== null && _productarr3$data !== void 0 && _productarr3$data.productinfo)) return;
|
|
@@ -8492,7 +8500,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8492
8500
|
// optional: show user message or disable click
|
|
8493
8501
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8494
8502
|
}
|
|
8495
|
-
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8503
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '6899e604db87f') {
|
|
8496
8504
|
var _productarr4$data, _productarr4$data$pro;
|
|
8497
8505
|
var _productarr4 = ProductInfoObj;
|
|
8498
8506
|
if (!(_productarr4 !== null && _productarr4 !== void 0 && (_productarr4$data = _productarr4.data) !== null && _productarr4$data !== void 0 && _productarr4$data.productinfo)) return;
|
|
@@ -9025,10 +9033,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9025
9033
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
9026
9034
|
runfunc = true;
|
|
9027
9035
|
} else {
|
|
9028
|
-
var _authdetailsContext$
|
|
9036
|
+
var _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14;
|
|
9029
9037
|
// here
|
|
9030
9038
|
setvariantnotchosendisclaimer('This field is required');
|
|
9031
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9039
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
9032
9040
|
}
|
|
9033
9041
|
} else {
|
|
9034
9042
|
runfunc = true;
|
|
@@ -9112,9 +9120,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9112
9120
|
};
|
|
9113
9121
|
};
|
|
9114
9122
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
9115
|
-
var _authdetailsContext$
|
|
9123
|
+
var _authdetailsContext$i15;
|
|
9116
9124
|
var policyobj = {};
|
|
9117
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9125
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 || (_authdetailsContext$i15 = _authdetailsContext$i15.instpolicies) === null || _authdetailsContext$i15 === void 0 || _authdetailsContext$i15.forEach(function (item, index) {
|
|
9118
9126
|
if (item.policytype == policytype) {
|
|
9119
9127
|
policyobj = item;
|
|
9120
9128
|
}
|
|
@@ -9123,7 +9131,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9123
9131
|
};
|
|
9124
9132
|
var relatedproducts = function relatedproducts() {
|
|
9125
9133
|
if (Relatedproducts.length != 0) {
|
|
9126
|
-
var _authdetailsContext$
|
|
9134
|
+
var _authdetailsContext$i16, _authdetailsContext$i17;
|
|
9127
9135
|
return /*#__PURE__*/React.createElement("div", {
|
|
9128
9136
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
9129
9137
|
style: {
|
|
@@ -9165,8 +9173,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9165
9173
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
9166
9174
|
transitionBehavior: 'auto',
|
|
9167
9175
|
wrapperClassName: '',
|
|
9168
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9169
|
-
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9176
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
9177
|
+
scrollContainerClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '68e7c7c93c5bd' ? '' : 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
9170
9178
|
}, Relatedproducts.map(function (item, index) {
|
|
9171
9179
|
if (item.productinfo != null) {
|
|
9172
9180
|
var _fetchProductInfoQuer49;
|
|
@@ -9236,10 +9244,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
9236
9244
|
if (addtocartobjparam.variantid.length != 0) {
|
|
9237
9245
|
runfunc = true;
|
|
9238
9246
|
} else {
|
|
9239
|
-
var _authdetailsContext$
|
|
9247
|
+
var _authdetailsContext$i18;
|
|
9240
9248
|
// here
|
|
9241
9249
|
setvariantnotchosendisclaimer('This field is required');
|
|
9242
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9250
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
9243
9251
|
}
|
|
9244
9252
|
} else {
|
|
9245
9253
|
runfunc = true;
|
|
@@ -9282,8 +9290,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9282
9290
|
isVarianturlLoaded = _useState58[0],
|
|
9283
9291
|
setisVarianturlLoaded = _useState58[1];
|
|
9284
9292
|
useEffect(function () {
|
|
9285
|
-
var _authdetailsContext$
|
|
9286
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9293
|
+
var _authdetailsContext$i19;
|
|
9294
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '68f918a4ccb85') {
|
|
9287
9295
|
var params = new URLSearchParams(window.location.search);
|
|
9288
9296
|
var variantId = params.get('variant');
|
|
9289
9297
|
if (isVarianturlLoaded == false) {
|
|
@@ -10079,7 +10087,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10079
10087
|
})));
|
|
10080
10088
|
};
|
|
10081
10089
|
var StoreInfo = function StoreInfo(position) {
|
|
10082
|
-
var _fetchProductInfoQuer78, _authdetailsContext$
|
|
10090
|
+
var _fetchProductInfoQuer78, _authdetailsContext$i21, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i22, _authdetailsContext$i24;
|
|
10083
10091
|
return /*#__PURE__*/React.createElement("div", {
|
|
10084
10092
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
10085
10093
|
style: {
|
|
@@ -10158,8 +10166,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10158
10166
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
10159
10167
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
10160
10168
|
onClick: function onClick() {
|
|
10161
|
-
var _authdetailsContext$
|
|
10162
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10169
|
+
var _authdetailsContext$i20;
|
|
10170
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 || (_authdetailsContext$i20 = _authdetailsContext$i20.contactinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.email), '_self');
|
|
10163
10171
|
}
|
|
10164
10172
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10165
10173
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -10179,7 +10187,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10179
10187
|
style: {
|
|
10180
10188
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
10181
10189
|
}
|
|
10182
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10190
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 || (_authdetailsContext$i21 = _authdetailsContext$i21.contactinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.email))), /*#__PURE__*/React.createElement("div", {
|
|
10183
10191
|
"class": "col-lg-12 my-2",
|
|
10184
10192
|
style: {
|
|
10185
10193
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -10231,25 +10239,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
10231
10239
|
}
|
|
10232
10240
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10233
10241
|
"class": "m-0 p-0"
|
|
10234
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10242
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 || (_authdetailsContext$i22 = _authdetailsContext$i22.contactinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.email) != null && /*#__PURE__*/React.createElement("div", {
|
|
10235
10243
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10236
10244
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10237
10245
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10238
10246
|
onClick: function onClick() {
|
|
10239
|
-
var _authdetailsContext$
|
|
10240
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10247
|
+
var _authdetailsContext$i23;
|
|
10248
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 || (_authdetailsContext$i23 = _authdetailsContext$i23.contactinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.email), '_self');
|
|
10241
10249
|
}
|
|
10242
10250
|
}, /*#__PURE__*/React.createElement("p", {
|
|
10243
10251
|
"class": "m-0 p-0"
|
|
10244
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10252
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
10245
10253
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
10246
10254
|
}, /*#__PURE__*/React.createElement("button", {
|
|
10247
10255
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
10248
10256
|
onClick: function onClick() {
|
|
10249
|
-
var _authdetailsContext$
|
|
10250
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10251
|
-
var _authdetailsContext$
|
|
10252
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10257
|
+
var _authdetailsContext$i25;
|
|
10258
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.whatsappnumber) != null) {
|
|
10259
|
+
var _authdetailsContext$i26;
|
|
10260
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.whatsappnumber), '_blank');
|
|
10253
10261
|
}
|
|
10254
10262
|
}
|
|
10255
10263
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -10345,7 +10353,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10345
10353
|
lang: lang,
|
|
10346
10354
|
srcfromprops: props.srcfromprops
|
|
10347
10355
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10348
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10356
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React.createElement(Article_itemtype, {
|
|
10349
10357
|
actions: (_ref2 = {
|
|
10350
10358
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
10351
10359
|
setisoutofstock: setisoutofstock,
|
|
@@ -10355,7 +10363,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10355
10363
|
lang: lang,
|
|
10356
10364
|
srcfromprops: props.srcfromprops
|
|
10357
10365
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty(_defineProperty(_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
10358
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10366
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React.createElement(Product_itemtype_Article, {
|
|
10359
10367
|
actions: (_ref3 = {
|
|
10360
10368
|
isOptionInStock: isOptionInStock,
|
|
10361
10369
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -10381,7 +10389,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10381
10389
|
lang: lang,
|
|
10382
10390
|
srcfromprops: props.srcfromprops
|
|
10383
10391
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty(_defineProperty(_defineProperty(_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
10384
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10392
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) != '694befd291698' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) != '693ae1f70d9a4' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) != '68e7c7c93c5bd' && /*#__PURE__*/React.createElement("div", {
|
|
10385
10393
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
10386
10394
|
style: {
|
|
10387
10395
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10572,7 +10580,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10572
10580
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10573
10581
|
sectionproperties: sectionproperties
|
|
10574
10582
|
})
|
|
10575
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10583
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React.createElement("div", {
|
|
10576
10584
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
10577
10585
|
style: {
|
|
10578
10586
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10723,7 +10731,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10723
10731
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10724
10732
|
sectionproperties: sectionproperties
|
|
10725
10733
|
})
|
|
10726
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10734
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) != '644aac19db95b' && /*#__PURE__*/React.createElement("div", {
|
|
10727
10735
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
10728
10736
|
style: {
|
|
10729
10737
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -37304,7 +37312,7 @@ var Header8 = function Header8(props) {
|
|
|
37304
37312
|
})), sectionproperties.showlowerheadersection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37305
37313
|
"class": "".concat(header_cssstyles.lowerheadercontainer) + ' row w-100 m-0 align-items-center px-1025-1 '
|
|
37306
37314
|
}, sectionproperties.btninsearch != 'Show' && sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
37307
|
-
"class": ' col-xl-
|
|
37315
|
+
"class": ' col-xl-2 col-lg-3 d-flex align-items-center ',
|
|
37308
37316
|
onClick: function onClick() {
|
|
37309
37317
|
setdropdownselect(!dropdownselect);
|
|
37310
37318
|
}
|
|
@@ -59507,6 +59515,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
59507
59515
|
}, /*#__PURE__*/React.createElement("img", {
|
|
59508
59516
|
src: 'https://tabex-co.com/storage/StaticImages/mastercard.png',
|
|
59509
59517
|
className: "".concat(footerStyles.payimg)
|
|
59518
|
+
})), sectionproperties.showfawry == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59519
|
+
className: "".concat(footerStyles.payimgcont),
|
|
59520
|
+
style: {
|
|
59521
|
+
width: '50px',
|
|
59522
|
+
height: '40px'
|
|
59523
|
+
}
|
|
59524
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
59525
|
+
src: 'https://tabex-co.com/storage/StaticImages/fawry.png',
|
|
59526
|
+
className: "".concat(footerStyles.payimg)
|
|
59510
59527
|
})), sectionproperties.showinstapay == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
59511
59528
|
className: "".concat(footerStyles.payimgcont),
|
|
59512
59529
|
style: {
|