tabexseriescomponents 0.2.1441 → 0.2.1442
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 +38 -16
- package/dist/index.esm.js +38 -16
- package/dist/index.umd.js +38 -16
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -33450,7 +33450,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
33450
33450
|
|
|
33451
33451
|
function ownKeys$29(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread$29(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys$29(Object(t),!0).forEach(function(r){_defineProperty__default["default"](e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys$29(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}var HeaderresponsiveStyle2=function HeaderresponsiveStyle2(props){var _authdetailsContext$i1,_authdetailsContext$i10,_authdetailsContext$i11,_authdetailsContext$i12,_authdetailsContext$i13,_authdetailsContext$i14,_authdetailsContext$i15,_authdetailsContext$i16,_authdetailsContext$i18,_authdetailsContext$i19,_authdetailsContext$i20,_authdetailsContext$i21,_authdetailsContext$i22,_authdetailsContext$i23,_authdetailsContext$i24,_authdetailsContext$i25,_authdetailsContext$i26,_authdetailsContext$i41,_authdetailsContext$i42,_authdetailsContext$i43,_authdetailsContext$i44,_returnpolicyobj,_returnpolicyobj2,_returnpolicyobj3,_returnpolicyobj4,_returnpolicyobj5,_returnpolicyobj6,_returnpolicyobj7,_returnpolicyobj8,_authdetailsContext$i45,_authdetailsContext$i46,_authdetailsContext$c3,_authdetailsContext$c4,_authdetailsContext$i47,_authdetailsContext$i54,_authdetailsContext$i55,_authdetailsContext$i56,_authdetailsContext$i57,_authdetailsContext$i58,_returnpolicyobj9,_returnpolicyobj0,_returnpolicyobj1,_returnpolicyobj10,_returnpolicyobj11,_returnpolicyobj12,_returnpolicyobj13,_returnpolicyobj14,_authdetailsContext$i59,_authdetailsContext$i60,_authdetailsContext$i61,_authdetailsContext$i62,_authdetailsContext$c5,_authdetailsContext$c6,_authdetailsContext$i63,_authdetailsContext$i64,_authdetailsContext$i67,_authdetailsContext$i70,_authdetailsContext$i73,_authdetailsContext$i79,_authdetailsContext$i80,_authdetailsContext$i81,_authdetailsContext$i82,_authdetailsContext$i83,_authdetailsContext$i84,_returnpolicyobj15,_returnpolicyobj16,_returnpolicyobj17,_returnpolicyobj18,_returnpolicyobj19,_returnpolicyobj20,_returnpolicyobj21,_returnpolicyobj22,_authdetailsContext$i85,_authdetailsContext$i86,_authdetailsContext$i87,_authdetailsContext$i88,_authdetailsContext$i89,_authdetailsContext$i90,_authdetailsContext$i95,_authdetailsContext$i96,_authdetailsContext$i97,_authdetailsContext$i98,_returnpolicyobj23,_returnpolicyobj24,_returnpolicyobj25,_returnpolicyobj26,_returnpolicyobj27,_returnpolicyobj28,_returnpolicyobj29,_returnpolicyobj30,_authdetailsContext$i99,_authdetailsContext$i100,_authdetailsContext$i101,_authdetailsContext$i102,_authdetailsContext$c7,_authdetailsContext$c8,_authdetailsContext$i103,_authdetailsContext$i104,_authdetailsContext$i107,_authdetailsContext$i110,_authdetailsContext$i113,_authdetailsContext$i114,_authdetailsContext$i115,_authdetailsContext$i116,_returnpolicyobj31,_returnpolicyobj32,_returnpolicyobj33,_returnpolicyobj34,_returnpolicyobj35,_returnpolicyobj36,_returnpolicyobj37,_returnpolicyobj38,_authdetailsContext$i117,_authdetailsContext$i118,_authdetailsContext$i119,_authdetailsContext$i120,_authdetailsContext$c9,_authdetailsContext$c0,_authdetailsContext$i121,_authdetailsContext$i122,_authdetailsContext$i123,_authdetailsContext$i124,_authdetailsContext$i125,_authdetailsContext$i126,_returnpolicyobj39,_returnpolicyobj40,_returnpolicyobj41,_returnpolicyobj42,_returnpolicyobj43,_returnpolicyobj44,_returnpolicyobj45,_returnpolicyobj46,_authdetailsContext$i127,_authdetailsContext$i128,_authdetailsContext$i129;var actions=props.actions;var LogoutMutationContext=props.actions.LogoutMutationContext;var setsidecartnavshowcontext=props.actions.setsidecartnavshowcontext;var setSearchHeaderInputContext=props.actions.setSearchHeaderInputContext;props.actions.StatePagePropertiesContext;var lang=props.actions.lang;var langdetect=props.actions.langdetect;var setlang=props.actions.setlang;var templatepropcontext=props.actions.templatepropcontext;var authdetailsContext=props.actions.authdetailsContext;var fetchcustomercartQueryContext=props.actions.fetchcustomercartQueryContext;var templateproperties_context=props.actions.templateproperties_context;var favoriteprojectscountContext=props.actions.favoriteprojectscountContext;var routingcountext=props.actions.routingcountext;var StaticPagesLinksContext=props.actions.StaticPagesLinksContext;var setcurrencyfunccontext=props.actions.setcurrencyfunccontext;var fetchCategoriesQueryContext=props.actions.fetchCategoriesQueryContext;var ikimagecredcontext=props.actions.ikimagecredcontext;var openmenuCanvasprops=props.actions.openmenuCanvasprops;var _useState=React.useState(''),_useState2=_slicedToArray__default["default"](_useState,2),sectionproperties=_useState2[0],setsectionproperties=_useState2[1];var _useState3=React.useState(''),_useState4=_slicedToArray__default["default"](_useState3,2),Choosenindex=_useState4[0],setChoosenindex=_useState4[1];var _useState5=React.useState(false),_useState6=_slicedToArray__default["default"](_useState5,2),menuactive=_useState6[0],setmenuactive=_useState6[1];var _useState7=React.useState(false),_useState8=_slicedToArray__default["default"](_useState7,2),openSearch=_useState8[0],setopenSearch=_useState8[1];var scrollYposittionprops=props.actions.scrollYposittionprops;React.useEffect(function(){if(props.sectionpropertiesprops!=undefined){setsectionproperties(_objectSpread$29({},props.sectionpropertiesprops));}},[props.sectionpropertiesprops]);var _useState9=React.useState([]),_useState0=_slicedToArray__default["default"](_useState9,2),logoarrayofobjects=_useState0[0],setlogoarrayofobjects=_useState0[1];var _useState1=React.useState(''),_useState10=_slicedToArray__default["default"](_useState1,2),activeTab=_useState10[0],setactiveTab=_useState10[1];React.useEffect(function(){if(openmenuCanvasprops==true){setmenuactive(true);}},[openmenuCanvasprops]);React.useEffect(function(){if(templateproperties_context.length!=0&&templateproperties_context.logoarrayofobjects!=undefined){var logoarrayofobjectsparsed=JSON.parse(templateproperties_context.logoarrayofobjects);if(Array.isArray(logoarrayofobjectsparsed)){setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));}}// alert(JSON.stringify(templateproperties_context));
|
|
33452
33452
|
},[templateproperties_context]);var header_cssstyles={header_logo:glamor.css({width:sectionproperties.logo_width+'px',height:sectionproperties.logo_height+'px'}),navbar_item_text_responsive:glamor.css({fontSize:sectionproperties.header_fontSizeresponsive+'px',color:sectionproperties.header_fontColorresponsive,textTransform:sectionproperties.header_textTransformresponsive,fontWeight:sectionproperties.header_textfontweight_responsive,transition:'.3s',':hover':{color:sectionproperties.header_fontColorresponsive_onhover}}),badge_counter_header_notifications:glamor.css({display:'flex',justifyContent:'center',alignItems:'center',position:'absolute',background:sectionproperties.badge_bgcolor,width:'45px',height:'45px',color:sectionproperties.badge_color,borderRadius:sectionproperties.badge_borderradius+'px',fontSize:sectionproperties.badgefontsizeresp+'px',transform:'scale(0.3)',transformOrigin:'top right',fontWeight:sectionproperties.badgefontweight,fontFamily:'Poppins-Medium'}),wishlistbtn:glamor.css({width:sectionproperties.wishlistbtnresp_width+'px',height:sectionproperties.wishlistbtnresp_height+'px',borderRadius:sectionproperties.wishlistbtnresp_borderRadius+'px',border:sectionproperties.wishlistbtnresp_borderWidth+'px solid '+sectionproperties.wishlistbtnresp_borderColor,background:sectionproperties.wishlistbtnresp_bgColor,fontSize:sectionproperties.wishlistresponsivefontsize+'px',color:sectionproperties.wishlistresponsivecolor,position:'relative'}),addtocartbtn_resp:glamor.css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.cart_BtnTextcolor_resp,background:sectionproperties.responsiveheadertransparentbg=='Transparent'?'transparent':sectionproperties.cart_BtnbgColor_resp,width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px',borderRadius:sectionproperties.cart_BtnborderRadius_resp+'px',border:sectionproperties.cartBtnresp_borderWidth+'px solid '+sectionproperties.cartBtnresp_borderColor,transition:'.3s'}),searchbarcont:glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({position:'relative',transition:'.3s'},"position",'relative'),"width",'100%'),"height",'70px'),"transition",'.3s')),searchbar_icon_cont:glamor.css({display:'flex',justifyContent:'center',alignItems:'center',textAlign:'center',color:sectionproperties.searchbaricon_color_resp,transition:'0.3s ease',position:'absolute',left:langdetect=='en'?5:'',right:langdetect=='en'?'':5,bottom:4,top:0,margin:'auto'}),searchbarcont_input:glamor.css({width:'100%',background:'transparent',color:sectionproperties.searchbarcontinput_colorresp,fontWeight:500,fontSize:'14px',borderRadius:0,borderBottom:'1px solid '+sectionproperties.searchbarcontinput_colorresp,paddingLeft:'15px',paddingRight:'15px',outline:'none',transition:'0.3s',marginTop:'40px'}),languagecontainer:glamor.css({color:sectionproperties.language_container_color_resp,cursor:'pointer',transition:'.3s',':hover':{color:sectionproperties.language_container_coloronhover}}),dropdownitemcontainer:glamor.css({fontSize:'13px',color:sectionproperties.dropdown_color,fontWeight:sectionproperties.dropdown_fontweight,textTransform:sectionproperties.dropdown_texttransform,padding:'0.3rem 0.8rem',display:'flex',alignItems:'center',transition:'.3s',':hover':{color:sectionproperties.dropdown_hovercolor}}),userbtnLoggedin_icon:glamor.css({fontSize:sectionproperties.userBtniconresp_size,color:sectionproperties.userBtnTextresp_color}),userbtn_respContainer:glamor.css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.userBtnTextresp_color,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,transition:'.3s',':hover .userbtn_resp':{color:sectionproperties.userbtnresp_Coloronhover}}),userbtnloggedin:glamor.css({width:sectionproperties.userBtnWidth_resp+'px',height:sectionproperties.userBtnHeight_resp+'px',backgroundColor:sectionproperties.userBtnbgColor_resp,color:sectionproperties.userBtnTextcolor_resp,//aywa da icon color
|
|
33453
|
-
fontSize:sectionproperties.userBtniconresp_size+'px',borderRadius:sectionproperties.userBtnResp_BorderRadius+'px',border:sectionproperties.userBtnResp_BorderWidth+'px solid '+sectionproperties.userBtnResp_BorderColor,transition:'.3s',':hover':{color:sectionproperties.userbtnresp_IconColoronhover}}),loggedintext:glamor.css({color:sectionproperties.userbtnresp_loggedincolor,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,width:'250px',transition:'.3s',textTransform:'capitalize'}),userbtnloggedincontainer:glamor.css({':hover .loggedintext':{color:sectionproperties.userbtnresp_loggedincoloronhover},':hover .userbtnloggedin':{color:sectionproperties.userbtnresp_IconColoronhover,borderColor:sectionproperties.userbtnresp_IconColoronhover,backgroundColor:sectionproperties.userbtnresp_bgColoronhover}}),storeimage:glamor.css({'@media (max-width: 800px)':{maxWidth:'120px',maxHeight:'110px',objectFit:'contain'}}),respicon:glamor.css({width:sectionproperties.respiconwidth+'px',height:sectionproperties.respiconheight+'px',borderRadius:sectionproperties.respiconborderradius+'px',backgroundColor:sectionproperties.respiconbgcolortransparent=='Transparent'?'transparent':sectionproperties.respiconbgcolor,color:sectionproperties.resp_sidenav_color})};var returnpolicyobj=function returnpolicyobj(policytype){var _authdetailsContext$i;var policyobj={};authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i=authdetailsContext.instinfo)===null||_authdetailsContext$i===void 0||(_authdetailsContext$i=_authdetailsContext$i.instpolicies)===null||_authdetailsContext$i===void 0||_authdetailsContext$i.forEach(function(item,index){if(item.policytype==policytype){policyobj=item;}});return policyobj;};var CartButton=function CartButton(){var _authdetailsContext$i2,_authdetailsContext$i3,_authdetailsContext$i4,_authdetailsContext$i5,_fetchcustomercartQue2,_fetchcustomercartQue3;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"d-flex align-items-center",style:{position:'relative'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(header_cssstyles.addtocartbtn_resp)+' d-flex align-items-center justify-content-center p-0 ',onClick:function onClick(){var _fetchcustomercartQue;if((fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.customercart)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.cartitems)===null||_fetchcustomercartQue===void 0?void 0:_fetchcustomercartQue.length)>7){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.viewcart);}else {setsidecartnavshowcontext(true);}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i2=authdetailsContext.instinfo)===null||_authdetailsContext$i2===void 0?void 0:_authdetailsContext$i2.instid)=='69cd4b455af14'&&/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:'100',height:'100'},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.instid)=='69ce49ee861df'&&/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:'100',height:'100'},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),sectionproperties.carticonstyle!="I'll use my own SVG"&&/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-center '},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Calendar 1'&&/*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar,{size:sectionproperties.cartBtniconresp_size})),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i4=authdetailsContext.instinfo)===null||_authdetailsContext$i4===void 0?void 0:_authdetailsContext$i4.contactinfo.instid)!='683c163d7f996'&§ionproperties.carticonstyle=="I'll use my own SVG"&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"h-100 allcentered ",style:{width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px'},dangerouslySetInnerHTML:{__html:sectionproperties.cartsvg}}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i5=authdetailsContext.instinfo)===null||_authdetailsContext$i5===void 0?void 0:_authdetailsContext$i5.contactinfo.instid)=='683c163d7f996'&§ionproperties.carticonstyle=="I'll use my own SVG"&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"h-100 allcentered ",style:{width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:"#000000","stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:"#000000","stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:"#000000"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M9.5 9L10.0282 12.1179",stroke:"#000000","stroke-width":"1.5","stroke-linecap":"round"}),' ',/*#__PURE__*/React__default["default"].createElement("path",{d:"M15.5283 9L15.0001 12.1179",stroke:"#000000","stroke-width":"1.5","stroke-linecap":"round"}),' ')))),/*#__PURE__*/React__default["default"].createElement("div",{className:"".concat(header_cssstyles.badge_counter_header_notifications),style:{top:sectionproperties.cartbadgefromtop+'px',right:sectionproperties.cartbadgefromright+'px'}},(fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue2=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue2===void 0||(_fetchcustomercartQue2=_fetchcustomercartQue2.data)===null||_fetchcustomercartQue2===void 0?void 0:_fetchcustomercartQue2.customercart)!=null?fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue3=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.customercart)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.cartitems)===null||_fetchcustomercartQue3===void 0?void 0:_fetchcustomercartQue3.length:0));};var _useState11=React.useState(false),_useState12=_slicedToArray__default["default"](_useState11,2),openmenuCanvas=_useState12[0],setopenmenuCanvas=_useState12[1];// const [openmenuCanvascontex, setopenmenuCanvas] = useState(false);
|
|
33453
|
+
fontSize:sectionproperties.userBtniconresp_size+'px',borderRadius:sectionproperties.userBtnResp_BorderRadius+'px',border:sectionproperties.userBtnResp_BorderWidth+'px solid '+sectionproperties.userBtnResp_BorderColor,transition:'.3s',':hover':{color:sectionproperties.userbtnresp_IconColoronhover}}),loggedintext:glamor.css({color:sectionproperties.userbtnresp_loggedincolor,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,width:'250px',transition:'.3s',textTransform:'capitalize'}),userbtnloggedincontainer:glamor.css({':hover .loggedintext':{color:sectionproperties.userbtnresp_loggedincoloronhover},':hover .userbtnloggedin':{color:sectionproperties.userbtnresp_IconColoronhover,borderColor:sectionproperties.userbtnresp_IconColoronhover,backgroundColor:sectionproperties.userbtnresp_bgColoronhover}}),storeimage:glamor.css({'@media (max-width: 800px)':{maxWidth:'120px',maxHeight:'110px',objectFit:'contain'}}),respicon:glamor.css({width:sectionproperties.respiconwidth+'px',height:sectionproperties.respiconheight+'px',borderRadius:sectionproperties.respiconborderradius+'px',backgroundColor:sectionproperties.respiconbgcolortransparent=='Transparent'?'transparent':sectionproperties.respiconbgcolor,color:sectionproperties.resp_sidenav_color})};var returnpolicyobj=function returnpolicyobj(policytype){var _authdetailsContext$i;var policyobj={};authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i=authdetailsContext.instinfo)===null||_authdetailsContext$i===void 0||(_authdetailsContext$i=_authdetailsContext$i.instpolicies)===null||_authdetailsContext$i===void 0||_authdetailsContext$i.forEach(function(item,index){if(item.policytype==policytype){policyobj=item;}});return policyobj;};var CartButton=function CartButton(){var _authdetailsContext$i2,_authdetailsContext$i3,_authdetailsContext$i4,_authdetailsContext$i5,_fetchcustomercartQue2,_fetchcustomercartQue3;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"d-flex align-items-center",style:{position:'relative'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(header_cssstyles.addtocartbtn_resp)+' d-flex align-items-center justify-content-center p-0 ',onClick:function onClick(){var _fetchcustomercartQue;if((fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.customercart)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.cartitems)===null||_fetchcustomercartQue===void 0?void 0:_fetchcustomercartQue.length)>7){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.viewcart);}else {setsidecartnavshowcontext(true);}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i2=authdetailsContext.instinfo)===null||_authdetailsContext$i2===void 0?void 0:_authdetailsContext$i2.instid)=='69cd4b455af14'&&/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:'100',height:'100'},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.instid)=='69ce49ee861df'&&/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:'100',height:'100'},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),sectionproperties.carticonstyle!="I'll use my own SVG"&&/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-center '},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Calendar 1'&&/*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar,{size:sectionproperties.cartBtniconresp_size})),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i4=authdetailsContext.instinfo)===null||_authdetailsContext$i4===void 0?void 0:_authdetailsContext$i4.contactinfo.instid)!='683c163d7f996'&§ionproperties.carticonstyle=="I'll use my own SVG"&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size==0?'auto':sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'},dangerouslySetInnerHTML:{__html:sectionproperties.cartsvg}}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i5=authdetailsContext.instinfo)===null||_authdetailsContext$i5===void 0?void 0:_authdetailsContext$i5.contactinfo.instid)=='683c163d7f996'&§ionproperties.carticonstyle=="I'll use my own SVG"&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"h-100 allcentered ",style:{width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:"#000000","stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:"#000000","stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:"#000000"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M9.5 9L10.0282 12.1179",stroke:"#000000","stroke-width":"1.5","stroke-linecap":"round"}),' ',/*#__PURE__*/React__default["default"].createElement("path",{d:"M15.5283 9L15.0001 12.1179",stroke:"#000000","stroke-width":"1.5","stroke-linecap":"round"}),' ')))),/*#__PURE__*/React__default["default"].createElement("div",{className:"".concat(header_cssstyles.badge_counter_header_notifications),style:{top:sectionproperties.cartbadgefromtop+'px',right:sectionproperties.cartbadgefromright+'px'}},(fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue2=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue2===void 0||(_fetchcustomercartQue2=_fetchcustomercartQue2.data)===null||_fetchcustomercartQue2===void 0?void 0:_fetchcustomercartQue2.customercart)!=null?fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue3=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.customercart)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.cartitems)===null||_fetchcustomercartQue3===void 0?void 0:_fetchcustomercartQue3.length:0));};var _useState11=React.useState(false),_useState12=_slicedToArray__default["default"](_useState11,2),openmenuCanvas=_useState12[0],setopenmenuCanvas=_useState12[1];// const [openmenuCanvascontex, setopenmenuCanvas] = useState(false);
|
|
33454
33454
|
var _useState13=React.useState([]),_useState14=_slicedToArray__default["default"](_useState13,2),pcollarray=_useState14[0],setpcollarray=_useState14[1];React.useEffect(function(){if(fetchCategoriesQueryContext.isSuccess==true&&fetchCategoriesQueryContext.data.data.status==true){var _fetchCategoriesQuery;var temppcollarray=_toConsumableArray__default["default"](pcollarray);fetchCategoriesQueryContext===null||fetchCategoriesQueryContext===void 0||(_fetchCategoriesQuery=fetchCategoriesQueryContext.data)===null||_fetchCategoriesQuery===void 0||(_fetchCategoriesQuery=_fetchCategoriesQuery.data)===null||_fetchCategoriesQuery===void 0||_fetchCategoriesQuery.categories.forEach(function(arrayItem){if(arrayItem.isshowntocustomers==1&&arrayItem.isinftiler==1){arrayItem===null||arrayItem===void 0||arrayItem.parentcolletions.forEach(function(item){if(item.isshowntocustomers==1&&arrayItem.isinftiler==1){temppcollarray.push(item);}});}});setpcollarray(_toConsumableArray__default["default"](temppcollarray));}// alert(JSON.stringify(pcollarray));
|
|
33455
33455
|
},[fetchCategoriesQueryContext.isSuccess]);var InstLogoContainer=function InstLogoContainer(){var _logoarrayofobjects$,_logoarrayofobjects$2;return/*#__PURE__*/React__default["default"].createElement("div",{className:header_cssstyles.header_logo+' d-flex align-items-center justify-content-start ',style:{cursor:'pointer'},onClick:function onClick(){setopenmenuCanvas(false);routingcountext(sectionproperties.logoonclickroute);}},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:langdetect=='en'?(_logoarrayofobjects$=logoarrayofobjects[0])===null||_logoarrayofobjects$===void 0?void 0:_logoarrayofobjects$.englishlogo:(_logoarrayofobjects$2=logoarrayofobjects[0])===null||_logoarrayofobjects$2===void 0?void 0:_logoarrayofobjects$2.arabiclogo,style:{maxWidth:'100%',maxHeight:'100%'}}));};var CategoriesAccordion=function CategoriesAccordion(){var _fetchCategoriesQuery2;return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:false,allowZeroExpanded:true},fetchCategoriesQueryContext===null||fetchCategoriesQueryContext===void 0||(_fetchCategoriesQuery2=fetchCategoriesQueryContext.data)===null||_fetchCategoriesQuery2===void 0||(_fetchCategoriesQuery2=_fetchCategoriesQuery2.data)===null||_fetchCategoriesQuery2===void 0?void 0:_fetchCategoriesQuery2.categories.map(function(item,index){if(item.isshowntocustomers==1){var _fetchCategoriesQuery3,_fetchCategoriesQuery4;return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:index},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,{onClick:function onClick(){setChoosenindex(index);}},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{className:' row m-0 p-0 mb-2 '},/*#__PURE__*/React__default["default"].createElement("div",{className:' row m-0 w-100 px-3 '},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-10 p-0 text-start"// onClick={() => {
|
|
33456
33456
|
// setopenmenuCanvas(false); routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
@@ -94876,7 +94876,8 @@ var MenuCard = function MenuCard(props) {
|
|
|
94876
94876
|
var routingcountext = props.actions.routingcountext;
|
|
94877
94877
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
94878
94878
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
94879
|
-
|
|
94879
|
+
|
|
94880
|
+
// const NotificationManager = NotificationManager;
|
|
94880
94881
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
94881
94882
|
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat("Hi, I'm asking about this! " + 'https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + item.productid);
|
|
94882
94883
|
React.useEffect(function () {
|
|
@@ -94946,7 +94947,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
94946
94947
|
}
|
|
94947
94948
|
}),
|
|
94948
94949
|
productcard: glamor.css({
|
|
94949
|
-
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
94950
|
+
background: authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? '' : sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
94950
94951
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
94951
94952
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
94952
94953
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
@@ -94978,7 +94979,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
94978
94979
|
height: sectionproperties.image_height + 'px',
|
|
94979
94980
|
width: sectionproperties.image_width + 'px'
|
|
94980
94981
|
}, "borderBottomLeftRadius", langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px'), "borderBottomRightRadius", langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'), "borderTopLeftRadius", langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px'), "borderTopRightRadius", langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'), "overflow", 'hidden'), "cursor", 'pointer'), '@media (max-width: 800px)', {
|
|
94981
|
-
width: sectionproperties.image_width + '%'
|
|
94982
|
+
width: authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? sectionproperties.image_width + 'px' : sectionproperties.image_width + '%'
|
|
94982
94983
|
})),
|
|
94983
94984
|
productNameStyles: glamor.css({
|
|
94984
94985
|
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
@@ -95150,7 +95151,15 @@ var MenuCard = function MenuCard(props) {
|
|
|
95150
95151
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95151
95152
|
"class": "".concat(card_cssstyles.productcard) + ' w-100 pl-sm-0 pr-sm-0 px-sm-2 '
|
|
95152
95153
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95153
|
-
"class": "row w-100 m-0 d-flex"
|
|
95154
|
+
"class": "row w-100 m-0 d-flex",
|
|
95155
|
+
style: {
|
|
95156
|
+
background: authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor : '',
|
|
95157
|
+
padding: authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? 10 : 0,
|
|
95158
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
95159
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
95160
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
95161
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
|
|
95162
|
+
}
|
|
95154
95163
|
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95155
95164
|
onClick: function onClick() {
|
|
95156
95165
|
if (props.fetchingtypeprops == 'collections') {
|
|
@@ -95179,7 +95188,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
95179
95188
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95180
95189
|
"class": "row w-100 m-0"
|
|
95181
95190
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95182
|
-
"class":
|
|
95191
|
+
"class": authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? 'col-lg-9 px-md-3 col-md-12 col-sm-12 pl-1 pr-1 mt-2 p-0' : 'col-lg-9 col-md-9 col-sm-12 pl-1 pr-1 mt-2 p-0'
|
|
95183
95192
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95184
95193
|
"class": "row w-100 m-0"
|
|
95185
95194
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -95188,20 +95197,23 @@ var MenuCard = function MenuCard(props) {
|
|
|
95188
95197
|
},
|
|
95189
95198
|
"class": "col-lg-12 p-0 "
|
|
95190
95199
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95191
|
-
|
|
95200
|
+
className: "".concat(card_cssstyles.productNameStyles, " font-md-15 m-0 ").concat(sectionproperties.wordbreak == '1' ? 'wordbreak1' : sectionproperties.wordbreak == '2' ? 'wordbreak2' : 'wordbreak3'),
|
|
95192
95201
|
style: {
|
|
95193
95202
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
95194
95203
|
}
|
|
95195
|
-
}, item.name)),
|
|
95204
|
+
}, item.name)), authdetailsContext.instinfo.instid == '6a8c8860d1ffb' &&
|
|
95205
|
+
/*#__PURE__*/
|
|
95206
|
+
// sectionproperties.showmeasurementunit == 'Show' && (
|
|
95207
|
+
React__default["default"].createElement("div", {
|
|
95196
95208
|
"class": "col-lg-12 p-0 "
|
|
95197
95209
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95198
95210
|
"class": ' wordbreak wordbreak1 m-0 ',
|
|
95199
|
-
style: {
|
|
95211
|
+
style: _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
95200
95212
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
95201
95213
|
fontSize: sectionproperties.measurementunitfontsize,
|
|
95202
95214
|
fontWeight: sectionproperties.measurementunitfontsize,
|
|
95203
95215
|
color: sectionproperties.measurementunitcolor
|
|
95204
|
-
}
|
|
95216
|
+
}, "fontSize", 13), "fontWeight", 400), "color", 'red')
|
|
95205
95217
|
}, item.measurmentunit)), sectionproperties.prodCatShow == 'Show' &&
|
|
95206
95218
|
/*#__PURE__*/
|
|
95207
95219
|
// <p
|
|
@@ -95260,17 +95272,17 @@ var MenuCard = function MenuCard(props) {
|
|
|
95260
95272
|
alignContent: 'space-between'
|
|
95261
95273
|
},
|
|
95262
95274
|
"class": "col-lg-3 col-md-3 col-sm-12 mt-2 p-0"
|
|
95263
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95275
|
+
}, authdetailsContext.instinfo.instid != '6a8c8860d1ffb' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95264
95276
|
"class": "row m-0 w-100 d-flex flex-column flex-sm-column justify-content-end justify-content-sm-start"
|
|
95265
95277
|
}, sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95266
95278
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
95267
|
-
}, langdetect == 'en' ?
|
|
95279
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95268
95280
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
95269
|
-
}, langdetect == 'en' ?
|
|
95281
|
+
}, langdetect == 'en' ? 'EGP' : '', ' ', item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95270
95282
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 m-sm-0 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 m-sm-0 '
|
|
95271
|
-
}, langdetect == 'en' ?
|
|
95283
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95272
95284
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 m-sm-0 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 m-sm-0 '
|
|
95273
|
-
}, langdetect == 'en' ?
|
|
95285
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : 'ج.م')), sectionproperties.quantitybtn_show == 'hide' && sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95274
95286
|
"class": "row m-0 mt-auto w-100"
|
|
95275
95287
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95276
95288
|
"class": "col-lg-12 d-flex justify-content-end p-0"
|
|
@@ -95306,7 +95318,17 @@ var MenuCard = function MenuCard(props) {
|
|
|
95306
95318
|
"class": "col-lg-12 mt-1 p-0"
|
|
95307
95319
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95308
95320
|
"class": "row w-100 m-0"
|
|
95309
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95321
|
+
}, authdetailsContext.instinfo.instid == '6a8c8860d1ffb' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95322
|
+
"class": authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? 'row m-0 w-100 d-flex flex-row justify-content-start mt-2 align-items-center px-md-3' : 'row m-0 w-100 d-flex flex-row justify-content-start mt-2 align-items-center'
|
|
95323
|
+
}, sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95324
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
95325
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95326
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
95327
|
+
}, langdetect == 'en' ? 'EGP' : '', ' ', item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95328
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' mx-2 linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ' : "".concat(card_cssstyles.productSalePricestyles) + ' mx-2 linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right '
|
|
95329
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95330
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' mx-2 linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ' : "".concat(card_cssstyles.productSalePricestyles) + ' mx-2 linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right '
|
|
95331
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : 'ج.م')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95310
95332
|
"class": "col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-start"
|
|
95311
95333
|
}, sectionproperties.quantitybtn_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95312
95334
|
style: {
|
package/dist/index.esm.js
CHANGED
|
@@ -33399,7 +33399,7 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
33399
33399
|
|
|
33400
33400
|
function ownKeys$29(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread$29(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys$29(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys$29(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}var HeaderresponsiveStyle2=function HeaderresponsiveStyle2(props){var _authdetailsContext$i1,_authdetailsContext$i10,_authdetailsContext$i11,_authdetailsContext$i12,_authdetailsContext$i13,_authdetailsContext$i14,_authdetailsContext$i15,_authdetailsContext$i16,_authdetailsContext$i18,_authdetailsContext$i19,_authdetailsContext$i20,_authdetailsContext$i21,_authdetailsContext$i22,_authdetailsContext$i23,_authdetailsContext$i24,_authdetailsContext$i25,_authdetailsContext$i26,_authdetailsContext$i41,_authdetailsContext$i42,_authdetailsContext$i43,_authdetailsContext$i44,_returnpolicyobj,_returnpolicyobj2,_returnpolicyobj3,_returnpolicyobj4,_returnpolicyobj5,_returnpolicyobj6,_returnpolicyobj7,_returnpolicyobj8,_authdetailsContext$i45,_authdetailsContext$i46,_authdetailsContext$c3,_authdetailsContext$c4,_authdetailsContext$i47,_authdetailsContext$i54,_authdetailsContext$i55,_authdetailsContext$i56,_authdetailsContext$i57,_authdetailsContext$i58,_returnpolicyobj9,_returnpolicyobj0,_returnpolicyobj1,_returnpolicyobj10,_returnpolicyobj11,_returnpolicyobj12,_returnpolicyobj13,_returnpolicyobj14,_authdetailsContext$i59,_authdetailsContext$i60,_authdetailsContext$i61,_authdetailsContext$i62,_authdetailsContext$c5,_authdetailsContext$c6,_authdetailsContext$i63,_authdetailsContext$i64,_authdetailsContext$i67,_authdetailsContext$i70,_authdetailsContext$i73,_authdetailsContext$i79,_authdetailsContext$i80,_authdetailsContext$i81,_authdetailsContext$i82,_authdetailsContext$i83,_authdetailsContext$i84,_returnpolicyobj15,_returnpolicyobj16,_returnpolicyobj17,_returnpolicyobj18,_returnpolicyobj19,_returnpolicyobj20,_returnpolicyobj21,_returnpolicyobj22,_authdetailsContext$i85,_authdetailsContext$i86,_authdetailsContext$i87,_authdetailsContext$i88,_authdetailsContext$i89,_authdetailsContext$i90,_authdetailsContext$i95,_authdetailsContext$i96,_authdetailsContext$i97,_authdetailsContext$i98,_returnpolicyobj23,_returnpolicyobj24,_returnpolicyobj25,_returnpolicyobj26,_returnpolicyobj27,_returnpolicyobj28,_returnpolicyobj29,_returnpolicyobj30,_authdetailsContext$i99,_authdetailsContext$i100,_authdetailsContext$i101,_authdetailsContext$i102,_authdetailsContext$c7,_authdetailsContext$c8,_authdetailsContext$i103,_authdetailsContext$i104,_authdetailsContext$i107,_authdetailsContext$i110,_authdetailsContext$i113,_authdetailsContext$i114,_authdetailsContext$i115,_authdetailsContext$i116,_returnpolicyobj31,_returnpolicyobj32,_returnpolicyobj33,_returnpolicyobj34,_returnpolicyobj35,_returnpolicyobj36,_returnpolicyobj37,_returnpolicyobj38,_authdetailsContext$i117,_authdetailsContext$i118,_authdetailsContext$i119,_authdetailsContext$i120,_authdetailsContext$c9,_authdetailsContext$c0,_authdetailsContext$i121,_authdetailsContext$i122,_authdetailsContext$i123,_authdetailsContext$i124,_authdetailsContext$i125,_authdetailsContext$i126,_returnpolicyobj39,_returnpolicyobj40,_returnpolicyobj41,_returnpolicyobj42,_returnpolicyobj43,_returnpolicyobj44,_returnpolicyobj45,_returnpolicyobj46,_authdetailsContext$i127,_authdetailsContext$i128,_authdetailsContext$i129;var actions=props.actions;var LogoutMutationContext=props.actions.LogoutMutationContext;var setsidecartnavshowcontext=props.actions.setsidecartnavshowcontext;var setSearchHeaderInputContext=props.actions.setSearchHeaderInputContext;props.actions.StatePagePropertiesContext;var lang=props.actions.lang;var langdetect=props.actions.langdetect;var setlang=props.actions.setlang;var templatepropcontext=props.actions.templatepropcontext;var authdetailsContext=props.actions.authdetailsContext;var fetchcustomercartQueryContext=props.actions.fetchcustomercartQueryContext;var templateproperties_context=props.actions.templateproperties_context;var favoriteprojectscountContext=props.actions.favoriteprojectscountContext;var routingcountext=props.actions.routingcountext;var StaticPagesLinksContext=props.actions.StaticPagesLinksContext;var setcurrencyfunccontext=props.actions.setcurrencyfunccontext;var fetchCategoriesQueryContext=props.actions.fetchCategoriesQueryContext;var ikimagecredcontext=props.actions.ikimagecredcontext;var openmenuCanvasprops=props.actions.openmenuCanvasprops;var _useState=useState(''),_useState2=_slicedToArray(_useState,2),sectionproperties=_useState2[0],setsectionproperties=_useState2[1];var _useState3=useState(''),_useState4=_slicedToArray(_useState3,2),Choosenindex=_useState4[0],setChoosenindex=_useState4[1];var _useState5=useState(false),_useState6=_slicedToArray(_useState5,2),menuactive=_useState6[0],setmenuactive=_useState6[1];var _useState7=useState(false),_useState8=_slicedToArray(_useState7,2),openSearch=_useState8[0],setopenSearch=_useState8[1];var scrollYposittionprops=props.actions.scrollYposittionprops;useEffect(function(){if(props.sectionpropertiesprops!=undefined){setsectionproperties(_objectSpread$29({},props.sectionpropertiesprops));}},[props.sectionpropertiesprops]);var _useState9=useState([]),_useState0=_slicedToArray(_useState9,2),logoarrayofobjects=_useState0[0],setlogoarrayofobjects=_useState0[1];var _useState1=useState(''),_useState10=_slicedToArray(_useState1,2),activeTab=_useState10[0],setactiveTab=_useState10[1];useEffect(function(){if(openmenuCanvasprops==true){setmenuactive(true);}},[openmenuCanvasprops]);useEffect(function(){if(templateproperties_context.length!=0&&templateproperties_context.logoarrayofobjects!=undefined){var logoarrayofobjectsparsed=JSON.parse(templateproperties_context.logoarrayofobjects);if(Array.isArray(logoarrayofobjectsparsed)){setlogoarrayofobjects(_toConsumableArray(logoarrayofobjectsparsed));}}// alert(JSON.stringify(templateproperties_context));
|
|
33401
33401
|
},[templateproperties_context]);var header_cssstyles={header_logo:css({width:sectionproperties.logo_width+'px',height:sectionproperties.logo_height+'px'}),navbar_item_text_responsive:css({fontSize:sectionproperties.header_fontSizeresponsive+'px',color:sectionproperties.header_fontColorresponsive,textTransform:sectionproperties.header_textTransformresponsive,fontWeight:sectionproperties.header_textfontweight_responsive,transition:'.3s',':hover':{color:sectionproperties.header_fontColorresponsive_onhover}}),badge_counter_header_notifications:css({display:'flex',justifyContent:'center',alignItems:'center',position:'absolute',background:sectionproperties.badge_bgcolor,width:'45px',height:'45px',color:sectionproperties.badge_color,borderRadius:sectionproperties.badge_borderradius+'px',fontSize:sectionproperties.badgefontsizeresp+'px',transform:'scale(0.3)',transformOrigin:'top right',fontWeight:sectionproperties.badgefontweight,fontFamily:'Poppins-Medium'}),wishlistbtn:css({width:sectionproperties.wishlistbtnresp_width+'px',height:sectionproperties.wishlistbtnresp_height+'px',borderRadius:sectionproperties.wishlistbtnresp_borderRadius+'px',border:sectionproperties.wishlistbtnresp_borderWidth+'px solid '+sectionproperties.wishlistbtnresp_borderColor,background:sectionproperties.wishlistbtnresp_bgColor,fontSize:sectionproperties.wishlistresponsivefontsize+'px',color:sectionproperties.wishlistresponsivecolor,position:'relative'}),addtocartbtn_resp:css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.cart_BtnTextcolor_resp,background:sectionproperties.responsiveheadertransparentbg=='Transparent'?'transparent':sectionproperties.cart_BtnbgColor_resp,width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px',borderRadius:sectionproperties.cart_BtnborderRadius_resp+'px',border:sectionproperties.cartBtnresp_borderWidth+'px solid '+sectionproperties.cartBtnresp_borderColor,transition:'.3s'}),searchbarcont:css(_defineProperty(_defineProperty(_defineProperty(_defineProperty({position:'relative',transition:'.3s'},"position",'relative'),"width",'100%'),"height",'70px'),"transition",'.3s')),searchbar_icon_cont:css({display:'flex',justifyContent:'center',alignItems:'center',textAlign:'center',color:sectionproperties.searchbaricon_color_resp,transition:'0.3s ease',position:'absolute',left:langdetect=='en'?5:'',right:langdetect=='en'?'':5,bottom:4,top:0,margin:'auto'}),searchbarcont_input:css({width:'100%',background:'transparent',color:sectionproperties.searchbarcontinput_colorresp,fontWeight:500,fontSize:'14px',borderRadius:0,borderBottom:'1px solid '+sectionproperties.searchbarcontinput_colorresp,paddingLeft:'15px',paddingRight:'15px',outline:'none',transition:'0.3s',marginTop:'40px'}),languagecontainer:css({color:sectionproperties.language_container_color_resp,cursor:'pointer',transition:'.3s',':hover':{color:sectionproperties.language_container_coloronhover}}),dropdownitemcontainer:css({fontSize:'13px',color:sectionproperties.dropdown_color,fontWeight:sectionproperties.dropdown_fontweight,textTransform:sectionproperties.dropdown_texttransform,padding:'0.3rem 0.8rem',display:'flex',alignItems:'center',transition:'.3s',':hover':{color:sectionproperties.dropdown_hovercolor}}),userbtnLoggedin_icon:css({fontSize:sectionproperties.userBtniconresp_size,color:sectionproperties.userBtnTextresp_color}),userbtn_respContainer:css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.userBtnTextresp_color,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,transition:'.3s',':hover .userbtn_resp':{color:sectionproperties.userbtnresp_Coloronhover}}),userbtnloggedin:css({width:sectionproperties.userBtnWidth_resp+'px',height:sectionproperties.userBtnHeight_resp+'px',backgroundColor:sectionproperties.userBtnbgColor_resp,color:sectionproperties.userBtnTextcolor_resp,//aywa da icon color
|
|
33402
|
-
fontSize:sectionproperties.userBtniconresp_size+'px',borderRadius:sectionproperties.userBtnResp_BorderRadius+'px',border:sectionproperties.userBtnResp_BorderWidth+'px solid '+sectionproperties.userBtnResp_BorderColor,transition:'.3s',':hover':{color:sectionproperties.userbtnresp_IconColoronhover}}),loggedintext:css({color:sectionproperties.userbtnresp_loggedincolor,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,width:'250px',transition:'.3s',textTransform:'capitalize'}),userbtnloggedincontainer:css({':hover .loggedintext':{color:sectionproperties.userbtnresp_loggedincoloronhover},':hover .userbtnloggedin':{color:sectionproperties.userbtnresp_IconColoronhover,borderColor:sectionproperties.userbtnresp_IconColoronhover,backgroundColor:sectionproperties.userbtnresp_bgColoronhover}}),storeimage:css({'@media (max-width: 800px)':{maxWidth:'120px',maxHeight:'110px',objectFit:'contain'}}),respicon:css({width:sectionproperties.respiconwidth+'px',height:sectionproperties.respiconheight+'px',borderRadius:sectionproperties.respiconborderradius+'px',backgroundColor:sectionproperties.respiconbgcolortransparent=='Transparent'?'transparent':sectionproperties.respiconbgcolor,color:sectionproperties.resp_sidenav_color})};var returnpolicyobj=function returnpolicyobj(policytype){var _authdetailsContext$i;var policyobj={};authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i=authdetailsContext.instinfo)===null||_authdetailsContext$i===void 0||(_authdetailsContext$i=_authdetailsContext$i.instpolicies)===null||_authdetailsContext$i===void 0||_authdetailsContext$i.forEach(function(item,index){if(item.policytype==policytype){policyobj=item;}});return policyobj;};var CartButton=function CartButton(){var _authdetailsContext$i2,_authdetailsContext$i3,_authdetailsContext$i4,_authdetailsContext$i5,_fetchcustomercartQue2,_fetchcustomercartQue3;return/*#__PURE__*/React.createElement("div",{"class":"d-flex align-items-center",style:{position:'relative'}},/*#__PURE__*/React.createElement("button",{className:"".concat(header_cssstyles.addtocartbtn_resp)+' d-flex align-items-center justify-content-center p-0 ',onClick:function onClick(){var _fetchcustomercartQue;if((fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.customercart)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.cartitems)===null||_fetchcustomercartQue===void 0?void 0:_fetchcustomercartQue.length)>7){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.viewcart);}else {setsidecartnavshowcontext(true);}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i2=authdetailsContext.instinfo)===null||_authdetailsContext$i2===void 0?void 0:_authdetailsContext$i2.instid)=='69cd4b455af14'&&/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:'100',height:'100'},/*#__PURE__*/React.createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React.createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.instid)=='69ce49ee861df'&&/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:'100',height:'100'},/*#__PURE__*/React.createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React.createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),sectionproperties.carticonstyle!="I'll use my own SVG"&&/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-center '},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(RiHandbagLine,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Calendar 1'&&/*#__PURE__*/React.createElement(FiCalendar,{size:sectionproperties.cartBtniconresp_size})),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i4=authdetailsContext.instinfo)===null||_authdetailsContext$i4===void 0?void 0:_authdetailsContext$i4.contactinfo.instid)!='683c163d7f996'&§ionproperties.carticonstyle=="I'll use my own SVG"&&/*#__PURE__*/React.createElement("div",{"class":"h-100 allcentered ",style:{width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px'},dangerouslySetInnerHTML:{__html:sectionproperties.cartsvg}}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i5=authdetailsContext.instinfo)===null||_authdetailsContext$i5===void 0?void 0:_authdetailsContext$i5.contactinfo.instid)=='683c163d7f996'&§ionproperties.carticonstyle=="I'll use my own SVG"&&/*#__PURE__*/React.createElement("div",{"class":"h-100 allcentered ",style:{width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px'}},/*#__PURE__*/React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},/*#__PURE__*/React.createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React.createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:"#000000","stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:"#000000","stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:"#000000"}),/*#__PURE__*/React.createElement("path",{d:"M9.5 9L10.0282 12.1179",stroke:"#000000","stroke-width":"1.5","stroke-linecap":"round"}),' ',/*#__PURE__*/React.createElement("path",{d:"M15.5283 9L15.0001 12.1179",stroke:"#000000","stroke-width":"1.5","stroke-linecap":"round"}),' ')))),/*#__PURE__*/React.createElement("div",{className:"".concat(header_cssstyles.badge_counter_header_notifications),style:{top:sectionproperties.cartbadgefromtop+'px',right:sectionproperties.cartbadgefromright+'px'}},(fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue2=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue2===void 0||(_fetchcustomercartQue2=_fetchcustomercartQue2.data)===null||_fetchcustomercartQue2===void 0?void 0:_fetchcustomercartQue2.customercart)!=null?fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue3=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.customercart)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.cartitems)===null||_fetchcustomercartQue3===void 0?void 0:_fetchcustomercartQue3.length:0));};var _useState11=useState(false),_useState12=_slicedToArray(_useState11,2),openmenuCanvas=_useState12[0],setopenmenuCanvas=_useState12[1];// const [openmenuCanvascontex, setopenmenuCanvas] = useState(false);
|
|
33402
|
+
fontSize:sectionproperties.userBtniconresp_size+'px',borderRadius:sectionproperties.userBtnResp_BorderRadius+'px',border:sectionproperties.userBtnResp_BorderWidth+'px solid '+sectionproperties.userBtnResp_BorderColor,transition:'.3s',':hover':{color:sectionproperties.userbtnresp_IconColoronhover}}),loggedintext:css({color:sectionproperties.userbtnresp_loggedincolor,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,width:'250px',transition:'.3s',textTransform:'capitalize'}),userbtnloggedincontainer:css({':hover .loggedintext':{color:sectionproperties.userbtnresp_loggedincoloronhover},':hover .userbtnloggedin':{color:sectionproperties.userbtnresp_IconColoronhover,borderColor:sectionproperties.userbtnresp_IconColoronhover,backgroundColor:sectionproperties.userbtnresp_bgColoronhover}}),storeimage:css({'@media (max-width: 800px)':{maxWidth:'120px',maxHeight:'110px',objectFit:'contain'}}),respicon:css({width:sectionproperties.respiconwidth+'px',height:sectionproperties.respiconheight+'px',borderRadius:sectionproperties.respiconborderradius+'px',backgroundColor:sectionproperties.respiconbgcolortransparent=='Transparent'?'transparent':sectionproperties.respiconbgcolor,color:sectionproperties.resp_sidenav_color})};var returnpolicyobj=function returnpolicyobj(policytype){var _authdetailsContext$i;var policyobj={};authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i=authdetailsContext.instinfo)===null||_authdetailsContext$i===void 0||(_authdetailsContext$i=_authdetailsContext$i.instpolicies)===null||_authdetailsContext$i===void 0||_authdetailsContext$i.forEach(function(item,index){if(item.policytype==policytype){policyobj=item;}});return policyobj;};var CartButton=function CartButton(){var _authdetailsContext$i2,_authdetailsContext$i3,_authdetailsContext$i4,_authdetailsContext$i5,_fetchcustomercartQue2,_fetchcustomercartQue3;return/*#__PURE__*/React.createElement("div",{"class":"d-flex align-items-center",style:{position:'relative'}},/*#__PURE__*/React.createElement("button",{className:"".concat(header_cssstyles.addtocartbtn_resp)+' d-flex align-items-center justify-content-center p-0 ',onClick:function onClick(){var _fetchcustomercartQue;if((fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.customercart)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.cartitems)===null||_fetchcustomercartQue===void 0?void 0:_fetchcustomercartQue.length)>7){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.viewcart);}else {setsidecartnavshowcontext(true);}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i2=authdetailsContext.instinfo)===null||_authdetailsContext$i2===void 0?void 0:_authdetailsContext$i2.instid)=='69cd4b455af14'&&/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:'100',height:'100'},/*#__PURE__*/React.createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React.createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.instid)=='69ce49ee861df'&&/*#__PURE__*/React.createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:'100',height:'100'},/*#__PURE__*/React.createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React.createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),sectionproperties.carticonstyle!="I'll use my own SVG"&&/*#__PURE__*/React.createElement("i",{className:' h-100 d-flex align-items-center justify-content-center '},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React.createElement(FiShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React.createElement(CgShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React.createElement(BsBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React.createElement(RiHandbagLine,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React.createElement(FiShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React.createElement(MdAddShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Calendar 1'&&/*#__PURE__*/React.createElement(FiCalendar,{size:sectionproperties.cartBtniconresp_size})),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i4=authdetailsContext.instinfo)===null||_authdetailsContext$i4===void 0?void 0:_authdetailsContext$i4.contactinfo.instid)!='683c163d7f996'&§ionproperties.carticonstyle=="I'll use my own SVG"&&/*#__PURE__*/React.createElement("div",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size==0?'auto':sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'},dangerouslySetInnerHTML:{__html:sectionproperties.cartsvg}}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i5=authdetailsContext.instinfo)===null||_authdetailsContext$i5===void 0?void 0:_authdetailsContext$i5.contactinfo.instid)=='683c163d7f996'&§ionproperties.carticonstyle=="I'll use my own SVG"&&/*#__PURE__*/React.createElement("div",{"class":"h-100 allcentered ",style:{width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px'}},/*#__PURE__*/React.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},/*#__PURE__*/React.createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React.createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React.createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:"#000000","stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:"#000000","stroke-width":"1.5"}),/*#__PURE__*/React.createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:"#000000"}),/*#__PURE__*/React.createElement("path",{d:"M9.5 9L10.0282 12.1179",stroke:"#000000","stroke-width":"1.5","stroke-linecap":"round"}),' ',/*#__PURE__*/React.createElement("path",{d:"M15.5283 9L15.0001 12.1179",stroke:"#000000","stroke-width":"1.5","stroke-linecap":"round"}),' ')))),/*#__PURE__*/React.createElement("div",{className:"".concat(header_cssstyles.badge_counter_header_notifications),style:{top:sectionproperties.cartbadgefromtop+'px',right:sectionproperties.cartbadgefromright+'px'}},(fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue2=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue2===void 0||(_fetchcustomercartQue2=_fetchcustomercartQue2.data)===null||_fetchcustomercartQue2===void 0?void 0:_fetchcustomercartQue2.customercart)!=null?fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue3=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.customercart)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.cartitems)===null||_fetchcustomercartQue3===void 0?void 0:_fetchcustomercartQue3.length:0));};var _useState11=useState(false),_useState12=_slicedToArray(_useState11,2),openmenuCanvas=_useState12[0],setopenmenuCanvas=_useState12[1];// const [openmenuCanvascontex, setopenmenuCanvas] = useState(false);
|
|
33403
33403
|
var _useState13=useState([]),_useState14=_slicedToArray(_useState13,2),pcollarray=_useState14[0],setpcollarray=_useState14[1];useEffect(function(){if(fetchCategoriesQueryContext.isSuccess==true&&fetchCategoriesQueryContext.data.data.status==true){var _fetchCategoriesQuery;var temppcollarray=_toConsumableArray(pcollarray);fetchCategoriesQueryContext===null||fetchCategoriesQueryContext===void 0||(_fetchCategoriesQuery=fetchCategoriesQueryContext.data)===null||_fetchCategoriesQuery===void 0||(_fetchCategoriesQuery=_fetchCategoriesQuery.data)===null||_fetchCategoriesQuery===void 0||_fetchCategoriesQuery.categories.forEach(function(arrayItem){if(arrayItem.isshowntocustomers==1&&arrayItem.isinftiler==1){arrayItem===null||arrayItem===void 0||arrayItem.parentcolletions.forEach(function(item){if(item.isshowntocustomers==1&&arrayItem.isinftiler==1){temppcollarray.push(item);}});}});setpcollarray(_toConsumableArray(temppcollarray));}// alert(JSON.stringify(pcollarray));
|
|
33404
33404
|
},[fetchCategoriesQueryContext.isSuccess]);var InstLogoContainer=function InstLogoContainer(){var _logoarrayofobjects$,_logoarrayofobjects$2;return/*#__PURE__*/React.createElement("div",{className:header_cssstyles.header_logo+' d-flex align-items-center justify-content-start ',style:{cursor:'pointer'},onClick:function onClick(){setopenmenuCanvas(false);routingcountext(sectionproperties.logoonclickroute);}},/*#__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:langdetect=='en'?(_logoarrayofobjects$=logoarrayofobjects[0])===null||_logoarrayofobjects$===void 0?void 0:_logoarrayofobjects$.englishlogo:(_logoarrayofobjects$2=logoarrayofobjects[0])===null||_logoarrayofobjects$2===void 0?void 0:_logoarrayofobjects$2.arabiclogo,style:{maxWidth:'100%',maxHeight:'100%'}}));};var CategoriesAccordion=function CategoriesAccordion(){var _fetchCategoriesQuery2;return/*#__PURE__*/React.createElement(Accordion,{allowMultipleExpanded:false,allowZeroExpanded:true},fetchCategoriesQueryContext===null||fetchCategoriesQueryContext===void 0||(_fetchCategoriesQuery2=fetchCategoriesQueryContext.data)===null||_fetchCategoriesQuery2===void 0||(_fetchCategoriesQuery2=_fetchCategoriesQuery2.data)===null||_fetchCategoriesQuery2===void 0?void 0:_fetchCategoriesQuery2.categories.map(function(item,index){if(item.isshowntocustomers==1){var _fetchCategoriesQuery3,_fetchCategoriesQuery4;return/*#__PURE__*/React.createElement(AccordionItem,{uuid:index},/*#__PURE__*/React.createElement(AccordionItemHeading,{onClick:function onClick(){setChoosenindex(index);}},/*#__PURE__*/React.createElement(AccordionItemButton,null,/*#__PURE__*/React.createElement("div",{className:' row m-0 p-0 mb-2 '},/*#__PURE__*/React.createElement("div",{className:' row m-0 w-100 px-3 '},/*#__PURE__*/React.createElement("div",{className:"col-10 p-0 text-start"// onClick={() => {
|
|
33405
33405
|
// setopenmenuCanvas(false); routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
@@ -94825,7 +94825,8 @@ var MenuCard = function MenuCard(props) {
|
|
|
94825
94825
|
var routingcountext = props.actions.routingcountext;
|
|
94826
94826
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
94827
94827
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
94828
|
-
|
|
94828
|
+
|
|
94829
|
+
// const NotificationManager = NotificationManager;
|
|
94829
94830
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
94830
94831
|
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat("Hi, I'm asking about this! " + 'https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + item.productid);
|
|
94831
94832
|
useEffect(function () {
|
|
@@ -94895,7 +94896,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
94895
94896
|
}
|
|
94896
94897
|
}),
|
|
94897
94898
|
productcard: css({
|
|
94898
|
-
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
94899
|
+
background: authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? '' : sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
94899
94900
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
94900
94901
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
94901
94902
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
@@ -94927,7 +94928,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
94927
94928
|
height: sectionproperties.image_height + 'px',
|
|
94928
94929
|
width: sectionproperties.image_width + 'px'
|
|
94929
94930
|
}, "borderBottomLeftRadius", langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px'), "borderBottomRightRadius", langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'), "borderTopLeftRadius", langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px'), "borderTopRightRadius", langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'), "overflow", 'hidden'), "cursor", 'pointer'), '@media (max-width: 800px)', {
|
|
94930
|
-
width: sectionproperties.image_width + '%'
|
|
94931
|
+
width: authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? sectionproperties.image_width + 'px' : sectionproperties.image_width + '%'
|
|
94931
94932
|
})),
|
|
94932
94933
|
productNameStyles: css({
|
|
94933
94934
|
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
@@ -95099,7 +95100,15 @@ var MenuCard = function MenuCard(props) {
|
|
|
95099
95100
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
95100
95101
|
"class": "".concat(card_cssstyles.productcard) + ' w-100 pl-sm-0 pr-sm-0 px-sm-2 '
|
|
95101
95102
|
}, /*#__PURE__*/React.createElement("div", {
|
|
95102
|
-
"class": "row w-100 m-0 d-flex"
|
|
95103
|
+
"class": "row w-100 m-0 d-flex",
|
|
95104
|
+
style: {
|
|
95105
|
+
background: authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor : '',
|
|
95106
|
+
padding: authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? 10 : 0,
|
|
95107
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
95108
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
95109
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
95110
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
|
|
95111
|
+
}
|
|
95103
95112
|
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
95104
95113
|
onClick: function onClick() {
|
|
95105
95114
|
if (props.fetchingtypeprops == 'collections') {
|
|
@@ -95128,7 +95137,7 @@ var MenuCard = function MenuCard(props) {
|
|
|
95128
95137
|
}, /*#__PURE__*/React.createElement("div", {
|
|
95129
95138
|
"class": "row w-100 m-0"
|
|
95130
95139
|
}, /*#__PURE__*/React.createElement("div", {
|
|
95131
|
-
"class":
|
|
95140
|
+
"class": authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? 'col-lg-9 px-md-3 col-md-12 col-sm-12 pl-1 pr-1 mt-2 p-0' : 'col-lg-9 col-md-9 col-sm-12 pl-1 pr-1 mt-2 p-0'
|
|
95132
95141
|
}, /*#__PURE__*/React.createElement("div", {
|
|
95133
95142
|
"class": "row w-100 m-0"
|
|
95134
95143
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
@@ -95137,20 +95146,23 @@ var MenuCard = function MenuCard(props) {
|
|
|
95137
95146
|
},
|
|
95138
95147
|
"class": "col-lg-12 p-0 "
|
|
95139
95148
|
}, /*#__PURE__*/React.createElement("p", {
|
|
95140
|
-
|
|
95149
|
+
className: "".concat(card_cssstyles.productNameStyles, " font-md-15 m-0 ").concat(sectionproperties.wordbreak == '1' ? 'wordbreak1' : sectionproperties.wordbreak == '2' ? 'wordbreak2' : 'wordbreak3'),
|
|
95141
95150
|
style: {
|
|
95142
95151
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
95143
95152
|
}
|
|
95144
|
-
}, item.name)),
|
|
95153
|
+
}, item.name)), authdetailsContext.instinfo.instid == '6a8c8860d1ffb' &&
|
|
95154
|
+
/*#__PURE__*/
|
|
95155
|
+
// sectionproperties.showmeasurementunit == 'Show' && (
|
|
95156
|
+
React.createElement("div", {
|
|
95145
95157
|
"class": "col-lg-12 p-0 "
|
|
95146
95158
|
}, /*#__PURE__*/React.createElement("p", {
|
|
95147
95159
|
"class": ' wordbreak wordbreak1 m-0 ',
|
|
95148
|
-
style: {
|
|
95160
|
+
style: _defineProperty(_defineProperty(_defineProperty({
|
|
95149
95161
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
95150
95162
|
fontSize: sectionproperties.measurementunitfontsize,
|
|
95151
95163
|
fontWeight: sectionproperties.measurementunitfontsize,
|
|
95152
95164
|
color: sectionproperties.measurementunitcolor
|
|
95153
|
-
}
|
|
95165
|
+
}, "fontSize", 13), "fontWeight", 400), "color", 'red')
|
|
95154
95166
|
}, item.measurmentunit)), sectionproperties.prodCatShow == 'Show' &&
|
|
95155
95167
|
/*#__PURE__*/
|
|
95156
95168
|
// <p
|
|
@@ -95209,17 +95221,17 @@ var MenuCard = function MenuCard(props) {
|
|
|
95209
95221
|
alignContent: 'space-between'
|
|
95210
95222
|
},
|
|
95211
95223
|
"class": "col-lg-3 col-md-3 col-sm-12 mt-2 p-0"
|
|
95212
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
95224
|
+
}, authdetailsContext.instinfo.instid != '6a8c8860d1ffb' && /*#__PURE__*/React.createElement("div", {
|
|
95213
95225
|
"class": "row m-0 w-100 d-flex flex-column flex-sm-column justify-content-end justify-content-sm-start"
|
|
95214
95226
|
}, sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
95215
95227
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
95216
|
-
}, langdetect == 'en' ?
|
|
95228
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React.createElement("p", {
|
|
95217
95229
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
95218
|
-
}, langdetect == 'en' ?
|
|
95230
|
+
}, langdetect == 'en' ? 'EGP' : '', ' ', item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
95219
95231
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 m-sm-0 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 m-sm-0 '
|
|
95220
|
-
}, langdetect == 'en' ?
|
|
95232
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React.createElement("p", {
|
|
95221
95233
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 m-sm-0 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 m-sm-0 '
|
|
95222
|
-
}, langdetect == 'en' ?
|
|
95234
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : 'ج.م')), sectionproperties.quantitybtn_show == 'hide' && sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
95223
95235
|
"class": "row m-0 mt-auto w-100"
|
|
95224
95236
|
}, /*#__PURE__*/React.createElement("div", {
|
|
95225
95237
|
"class": "col-lg-12 d-flex justify-content-end p-0"
|
|
@@ -95255,7 +95267,17 @@ var MenuCard = function MenuCard(props) {
|
|
|
95255
95267
|
"class": "col-lg-12 mt-1 p-0"
|
|
95256
95268
|
}, /*#__PURE__*/React.createElement("div", {
|
|
95257
95269
|
"class": "row w-100 m-0"
|
|
95258
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
95270
|
+
}, authdetailsContext.instinfo.instid == '6a8c8860d1ffb' && /*#__PURE__*/React.createElement("div", {
|
|
95271
|
+
"class": authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? 'row m-0 w-100 d-flex flex-row justify-content-start mt-2 align-items-center px-md-3' : 'row m-0 w-100 d-flex flex-row justify-content-start mt-2 align-items-center'
|
|
95272
|
+
}, sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
95273
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
95274
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React.createElement("p", {
|
|
95275
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
95276
|
+
}, langdetect == 'en' ? 'EGP' : '', ' ', item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
95277
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' mx-2 linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ' : "".concat(card_cssstyles.productSalePricestyles) + ' mx-2 linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right '
|
|
95278
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React.createElement("p", {
|
|
95279
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' mx-2 linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ' : "".concat(card_cssstyles.productSalePricestyles) + ' mx-2 linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right '
|
|
95280
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : 'ج.م')), /*#__PURE__*/React.createElement("div", {
|
|
95259
95281
|
"class": "col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-start"
|
|
95260
95282
|
}, sectionproperties.quantitybtn_show == 'show' && /*#__PURE__*/React.createElement("div", {
|
|
95261
95283
|
style: {
|
package/dist/index.umd.js
CHANGED
|
@@ -33251,7 +33251,7 @@
|
|
|
33251
33251
|
|
|
33252
33252
|
function ownKeys$29(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread$29(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys$29(Object(t),!0).forEach(function(r){_defineProperty__default["default"](e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys$29(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}var HeaderresponsiveStyle2=function HeaderresponsiveStyle2(props){var _authdetailsContext$i1,_authdetailsContext$i10,_authdetailsContext$i11,_authdetailsContext$i12,_authdetailsContext$i13,_authdetailsContext$i14,_authdetailsContext$i15,_authdetailsContext$i16,_authdetailsContext$i18,_authdetailsContext$i19,_authdetailsContext$i20,_authdetailsContext$i21,_authdetailsContext$i22,_authdetailsContext$i23,_authdetailsContext$i24,_authdetailsContext$i25,_authdetailsContext$i26,_authdetailsContext$i41,_authdetailsContext$i42,_authdetailsContext$i43,_authdetailsContext$i44,_returnpolicyobj,_returnpolicyobj2,_returnpolicyobj3,_returnpolicyobj4,_returnpolicyobj5,_returnpolicyobj6,_returnpolicyobj7,_returnpolicyobj8,_authdetailsContext$i45,_authdetailsContext$i46,_authdetailsContext$c3,_authdetailsContext$c4,_authdetailsContext$i47,_authdetailsContext$i54,_authdetailsContext$i55,_authdetailsContext$i56,_authdetailsContext$i57,_authdetailsContext$i58,_returnpolicyobj9,_returnpolicyobj0,_returnpolicyobj1,_returnpolicyobj10,_returnpolicyobj11,_returnpolicyobj12,_returnpolicyobj13,_returnpolicyobj14,_authdetailsContext$i59,_authdetailsContext$i60,_authdetailsContext$i61,_authdetailsContext$i62,_authdetailsContext$c5,_authdetailsContext$c6,_authdetailsContext$i63,_authdetailsContext$i64,_authdetailsContext$i67,_authdetailsContext$i70,_authdetailsContext$i73,_authdetailsContext$i79,_authdetailsContext$i80,_authdetailsContext$i81,_authdetailsContext$i82,_authdetailsContext$i83,_authdetailsContext$i84,_returnpolicyobj15,_returnpolicyobj16,_returnpolicyobj17,_returnpolicyobj18,_returnpolicyobj19,_returnpolicyobj20,_returnpolicyobj21,_returnpolicyobj22,_authdetailsContext$i85,_authdetailsContext$i86,_authdetailsContext$i87,_authdetailsContext$i88,_authdetailsContext$i89,_authdetailsContext$i90,_authdetailsContext$i95,_authdetailsContext$i96,_authdetailsContext$i97,_authdetailsContext$i98,_returnpolicyobj23,_returnpolicyobj24,_returnpolicyobj25,_returnpolicyobj26,_returnpolicyobj27,_returnpolicyobj28,_returnpolicyobj29,_returnpolicyobj30,_authdetailsContext$i99,_authdetailsContext$i100,_authdetailsContext$i101,_authdetailsContext$i102,_authdetailsContext$c7,_authdetailsContext$c8,_authdetailsContext$i103,_authdetailsContext$i104,_authdetailsContext$i107,_authdetailsContext$i110,_authdetailsContext$i113,_authdetailsContext$i114,_authdetailsContext$i115,_authdetailsContext$i116,_returnpolicyobj31,_returnpolicyobj32,_returnpolicyobj33,_returnpolicyobj34,_returnpolicyobj35,_returnpolicyobj36,_returnpolicyobj37,_returnpolicyobj38,_authdetailsContext$i117,_authdetailsContext$i118,_authdetailsContext$i119,_authdetailsContext$i120,_authdetailsContext$c9,_authdetailsContext$c0,_authdetailsContext$i121,_authdetailsContext$i122,_authdetailsContext$i123,_authdetailsContext$i124,_authdetailsContext$i125,_authdetailsContext$i126,_returnpolicyobj39,_returnpolicyobj40,_returnpolicyobj41,_returnpolicyobj42,_returnpolicyobj43,_returnpolicyobj44,_returnpolicyobj45,_returnpolicyobj46,_authdetailsContext$i127,_authdetailsContext$i128,_authdetailsContext$i129;var actions=props.actions;var LogoutMutationContext=props.actions.LogoutMutationContext;var setsidecartnavshowcontext=props.actions.setsidecartnavshowcontext;var setSearchHeaderInputContext=props.actions.setSearchHeaderInputContext;props.actions.StatePagePropertiesContext;var lang=props.actions.lang;var langdetect=props.actions.langdetect;var setlang=props.actions.setlang;var templatepropcontext=props.actions.templatepropcontext;var authdetailsContext=props.actions.authdetailsContext;var fetchcustomercartQueryContext=props.actions.fetchcustomercartQueryContext;var templateproperties_context=props.actions.templateproperties_context;var favoriteprojectscountContext=props.actions.favoriteprojectscountContext;var routingcountext=props.actions.routingcountext;var StaticPagesLinksContext=props.actions.StaticPagesLinksContext;var setcurrencyfunccontext=props.actions.setcurrencyfunccontext;var fetchCategoriesQueryContext=props.actions.fetchCategoriesQueryContext;var ikimagecredcontext=props.actions.ikimagecredcontext;var openmenuCanvasprops=props.actions.openmenuCanvasprops;var _useState=React.useState(''),_useState2=_slicedToArray__default["default"](_useState,2),sectionproperties=_useState2[0],setsectionproperties=_useState2[1];var _useState3=React.useState(''),_useState4=_slicedToArray__default["default"](_useState3,2),Choosenindex=_useState4[0],setChoosenindex=_useState4[1];var _useState5=React.useState(false),_useState6=_slicedToArray__default["default"](_useState5,2),menuactive=_useState6[0],setmenuactive=_useState6[1];var _useState7=React.useState(false),_useState8=_slicedToArray__default["default"](_useState7,2),openSearch=_useState8[0],setopenSearch=_useState8[1];var scrollYposittionprops=props.actions.scrollYposittionprops;React.useEffect(function(){if(props.sectionpropertiesprops!=undefined){setsectionproperties(_objectSpread$29({},props.sectionpropertiesprops));}},[props.sectionpropertiesprops]);var _useState9=React.useState([]),_useState0=_slicedToArray__default["default"](_useState9,2),logoarrayofobjects=_useState0[0],setlogoarrayofobjects=_useState0[1];var _useState1=React.useState(''),_useState10=_slicedToArray__default["default"](_useState1,2),activeTab=_useState10[0],setactiveTab=_useState10[1];React.useEffect(function(){if(openmenuCanvasprops==true){setmenuactive(true);}},[openmenuCanvasprops]);React.useEffect(function(){if(templateproperties_context.length!=0&&templateproperties_context.logoarrayofobjects!=undefined){var logoarrayofobjectsparsed=JSON.parse(templateproperties_context.logoarrayofobjects);if(Array.isArray(logoarrayofobjectsparsed)){setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));}}// alert(JSON.stringify(templateproperties_context));
|
|
33253
33253
|
},[templateproperties_context]);var header_cssstyles={header_logo:glamor.css({width:sectionproperties.logo_width+'px',height:sectionproperties.logo_height+'px'}),navbar_item_text_responsive:glamor.css({fontSize:sectionproperties.header_fontSizeresponsive+'px',color:sectionproperties.header_fontColorresponsive,textTransform:sectionproperties.header_textTransformresponsive,fontWeight:sectionproperties.header_textfontweight_responsive,transition:'.3s',':hover':{color:sectionproperties.header_fontColorresponsive_onhover}}),badge_counter_header_notifications:glamor.css({display:'flex',justifyContent:'center',alignItems:'center',position:'absolute',background:sectionproperties.badge_bgcolor,width:'45px',height:'45px',color:sectionproperties.badge_color,borderRadius:sectionproperties.badge_borderradius+'px',fontSize:sectionproperties.badgefontsizeresp+'px',transform:'scale(0.3)',transformOrigin:'top right',fontWeight:sectionproperties.badgefontweight,fontFamily:'Poppins-Medium'}),wishlistbtn:glamor.css({width:sectionproperties.wishlistbtnresp_width+'px',height:sectionproperties.wishlistbtnresp_height+'px',borderRadius:sectionproperties.wishlistbtnresp_borderRadius+'px',border:sectionproperties.wishlistbtnresp_borderWidth+'px solid '+sectionproperties.wishlistbtnresp_borderColor,background:sectionproperties.wishlistbtnresp_bgColor,fontSize:sectionproperties.wishlistresponsivefontsize+'px',color:sectionproperties.wishlistresponsivecolor,position:'relative'}),addtocartbtn_resp:glamor.css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.cart_BtnTextcolor_resp,background:sectionproperties.responsiveheadertransparentbg=='Transparent'?'transparent':sectionproperties.cart_BtnbgColor_resp,width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px',borderRadius:sectionproperties.cart_BtnborderRadius_resp+'px',border:sectionproperties.cartBtnresp_borderWidth+'px solid '+sectionproperties.cartBtnresp_borderColor,transition:'.3s'}),searchbarcont:glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({position:'relative',transition:'.3s'},"position",'relative'),"width",'100%'),"height",'70px'),"transition",'.3s')),searchbar_icon_cont:glamor.css({display:'flex',justifyContent:'center',alignItems:'center',textAlign:'center',color:sectionproperties.searchbaricon_color_resp,transition:'0.3s ease',position:'absolute',left:langdetect=='en'?5:'',right:langdetect=='en'?'':5,bottom:4,top:0,margin:'auto'}),searchbarcont_input:glamor.css({width:'100%',background:'transparent',color:sectionproperties.searchbarcontinput_colorresp,fontWeight:500,fontSize:'14px',borderRadius:0,borderBottom:'1px solid '+sectionproperties.searchbarcontinput_colorresp,paddingLeft:'15px',paddingRight:'15px',outline:'none',transition:'0.3s',marginTop:'40px'}),languagecontainer:glamor.css({color:sectionproperties.language_container_color_resp,cursor:'pointer',transition:'.3s',':hover':{color:sectionproperties.language_container_coloronhover}}),dropdownitemcontainer:glamor.css({fontSize:'13px',color:sectionproperties.dropdown_color,fontWeight:sectionproperties.dropdown_fontweight,textTransform:sectionproperties.dropdown_texttransform,padding:'0.3rem 0.8rem',display:'flex',alignItems:'center',transition:'.3s',':hover':{color:sectionproperties.dropdown_hovercolor}}),userbtnLoggedin_icon:glamor.css({fontSize:sectionproperties.userBtniconresp_size,color:sectionproperties.userBtnTextresp_color}),userbtn_respContainer:glamor.css({position:'relative',cursor:'pointer',display:'flex',alignItems:'center',color:sectionproperties.userBtnTextresp_color,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,transition:'.3s',':hover .userbtn_resp':{color:sectionproperties.userbtnresp_Coloronhover}}),userbtnloggedin:glamor.css({width:sectionproperties.userBtnWidth_resp+'px',height:sectionproperties.userBtnHeight_resp+'px',backgroundColor:sectionproperties.userBtnbgColor_resp,color:sectionproperties.userBtnTextcolor_resp,//aywa da icon color
|
|
33254
|
-
fontSize:sectionproperties.userBtniconresp_size+'px',borderRadius:sectionproperties.userBtnResp_BorderRadius+'px',border:sectionproperties.userBtnResp_BorderWidth+'px solid '+sectionproperties.userBtnResp_BorderColor,transition:'.3s',':hover':{color:sectionproperties.userbtnresp_IconColoronhover}}),loggedintext:glamor.css({color:sectionproperties.userbtnresp_loggedincolor,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,width:'250px',transition:'.3s',textTransform:'capitalize'}),userbtnloggedincontainer:glamor.css({':hover .loggedintext':{color:sectionproperties.userbtnresp_loggedincoloronhover},':hover .userbtnloggedin':{color:sectionproperties.userbtnresp_IconColoronhover,borderColor:sectionproperties.userbtnresp_IconColoronhover,backgroundColor:sectionproperties.userbtnresp_bgColoronhover}}),storeimage:glamor.css({'@media (max-width: 800px)':{maxWidth:'120px',maxHeight:'110px',objectFit:'contain'}}),respicon:glamor.css({width:sectionproperties.respiconwidth+'px',height:sectionproperties.respiconheight+'px',borderRadius:sectionproperties.respiconborderradius+'px',backgroundColor:sectionproperties.respiconbgcolortransparent=='Transparent'?'transparent':sectionproperties.respiconbgcolor,color:sectionproperties.resp_sidenav_color})};var returnpolicyobj=function returnpolicyobj(policytype){var _authdetailsContext$i;var policyobj={};authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i=authdetailsContext.instinfo)===null||_authdetailsContext$i===void 0||(_authdetailsContext$i=_authdetailsContext$i.instpolicies)===null||_authdetailsContext$i===void 0||_authdetailsContext$i.forEach(function(item,index){if(item.policytype==policytype){policyobj=item;}});return policyobj;};var CartButton=function CartButton(){var _authdetailsContext$i2,_authdetailsContext$i3,_authdetailsContext$i4,_authdetailsContext$i5,_fetchcustomercartQue2,_fetchcustomercartQue3;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"d-flex align-items-center",style:{position:'relative'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(header_cssstyles.addtocartbtn_resp)+' d-flex align-items-center justify-content-center p-0 ',onClick:function onClick(){var _fetchcustomercartQue;if((fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.customercart)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.cartitems)===null||_fetchcustomercartQue===void 0?void 0:_fetchcustomercartQue.length)>7){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.viewcart);}else {setsidecartnavshowcontext(true);}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i2=authdetailsContext.instinfo)===null||_authdetailsContext$i2===void 0?void 0:_authdetailsContext$i2.instid)=='69cd4b455af14'&&/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:'100',height:'100'},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.instid)=='69ce49ee861df'&&/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:'100',height:'100'},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),sectionproperties.carticonstyle!="I'll use my own SVG"&&/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-center '},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Calendar 1'&&/*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar,{size:sectionproperties.cartBtniconresp_size})),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i4=authdetailsContext.instinfo)===null||_authdetailsContext$i4===void 0?void 0:_authdetailsContext$i4.contactinfo.instid)!='683c163d7f996'&§ionproperties.carticonstyle=="I'll use my own SVG"&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"h-100 allcentered ",style:{width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px'},dangerouslySetInnerHTML:{__html:sectionproperties.cartsvg}}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i5=authdetailsContext.instinfo)===null||_authdetailsContext$i5===void 0?void 0:_authdetailsContext$i5.contactinfo.instid)=='683c163d7f996'&§ionproperties.carticonstyle=="I'll use my own SVG"&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"h-100 allcentered ",style:{width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:"#000000","stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:"#000000","stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:"#000000"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M9.5 9L10.0282 12.1179",stroke:"#000000","stroke-width":"1.5","stroke-linecap":"round"}),' ',/*#__PURE__*/React__default["default"].createElement("path",{d:"M15.5283 9L15.0001 12.1179",stroke:"#000000","stroke-width":"1.5","stroke-linecap":"round"}),' ')))),/*#__PURE__*/React__default["default"].createElement("div",{className:"".concat(header_cssstyles.badge_counter_header_notifications),style:{top:sectionproperties.cartbadgefromtop+'px',right:sectionproperties.cartbadgefromright+'px'}},(fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue2=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue2===void 0||(_fetchcustomercartQue2=_fetchcustomercartQue2.data)===null||_fetchcustomercartQue2===void 0?void 0:_fetchcustomercartQue2.customercart)!=null?fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue3=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.customercart)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.cartitems)===null||_fetchcustomercartQue3===void 0?void 0:_fetchcustomercartQue3.length:0));};var _useState11=React.useState(false),_useState12=_slicedToArray__default["default"](_useState11,2),openmenuCanvas=_useState12[0],setopenmenuCanvas=_useState12[1];// const [openmenuCanvascontex, setopenmenuCanvas] = useState(false);
|
|
33254
|
+
fontSize:sectionproperties.userBtniconresp_size+'px',borderRadius:sectionproperties.userBtnResp_BorderRadius+'px',border:sectionproperties.userBtnResp_BorderWidth+'px solid '+sectionproperties.userBtnResp_BorderColor,transition:'.3s',':hover':{color:sectionproperties.userbtnresp_IconColoronhover}}),loggedintext:glamor.css({color:sectionproperties.userbtnresp_loggedincolor,fontSize:sectionproperties.userBtntextfontresp_size+'px',fontWeight:400,width:'250px',transition:'.3s',textTransform:'capitalize'}),userbtnloggedincontainer:glamor.css({':hover .loggedintext':{color:sectionproperties.userbtnresp_loggedincoloronhover},':hover .userbtnloggedin':{color:sectionproperties.userbtnresp_IconColoronhover,borderColor:sectionproperties.userbtnresp_IconColoronhover,backgroundColor:sectionproperties.userbtnresp_bgColoronhover}}),storeimage:glamor.css({'@media (max-width: 800px)':{maxWidth:'120px',maxHeight:'110px',objectFit:'contain'}}),respicon:glamor.css({width:sectionproperties.respiconwidth+'px',height:sectionproperties.respiconheight+'px',borderRadius:sectionproperties.respiconborderradius+'px',backgroundColor:sectionproperties.respiconbgcolortransparent=='Transparent'?'transparent':sectionproperties.respiconbgcolor,color:sectionproperties.resp_sidenav_color})};var returnpolicyobj=function returnpolicyobj(policytype){var _authdetailsContext$i;var policyobj={};authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i=authdetailsContext.instinfo)===null||_authdetailsContext$i===void 0||(_authdetailsContext$i=_authdetailsContext$i.instpolicies)===null||_authdetailsContext$i===void 0||_authdetailsContext$i.forEach(function(item,index){if(item.policytype==policytype){policyobj=item;}});return policyobj;};var CartButton=function CartButton(){var _authdetailsContext$i2,_authdetailsContext$i3,_authdetailsContext$i4,_authdetailsContext$i5,_fetchcustomercartQue2,_fetchcustomercartQue3;return/*#__PURE__*/React__default["default"].createElement("div",{"class":"d-flex align-items-center",style:{position:'relative'}},/*#__PURE__*/React__default["default"].createElement("button",{className:"".concat(header_cssstyles.addtocartbtn_resp)+' d-flex align-items-center justify-content-center p-0 ',onClick:function onClick(){var _fetchcustomercartQue;if((fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.data)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.customercart)===null||_fetchcustomercartQue===void 0||(_fetchcustomercartQue=_fetchcustomercartQue.cartitems)===null||_fetchcustomercartQue===void 0?void 0:_fetchcustomercartQue.length)>7){setopenmenuCanvas(false);routingcountext(StaticPagesLinksContext.viewcart);}else {setsidecartnavshowcontext(true);}}},(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i2=authdetailsContext.instinfo)===null||_authdetailsContext$i2===void 0?void 0:_authdetailsContext$i2.instid)=='69cd4b455af14'&&/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:'100',height:'100'},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i3=authdetailsContext.instinfo)===null||_authdetailsContext$i3===void 0?void 0:_authdetailsContext$i3.instid)=='69ce49ee861df'&&/*#__PURE__*/React__default["default"].createElement("i",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:'100',height:'100'},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:sectionproperties.cart_iconcolor,"stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:sectionproperties.cart_iconcolor})))),sectionproperties.carticonstyle!="I'll use my own SVG"&&/*#__PURE__*/React__default["default"].createElement("i",{className:' h-100 d-flex align-items-center justify-content-center '},sectionproperties.carticonstyle=='Shopping bag 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 2'&&/*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 3'&&/*#__PURE__*/React__default["default"].createElement(BsBag.BsBag,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping bag 4'&&/*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 1'&&/*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Shopping cart 2'&&/*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart,{size:sectionproperties.cartBtniconresp_size}),sectionproperties.carticonstyle=='Calendar 1'&&/*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar,{size:sectionproperties.cartBtniconresp_size})),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i4=authdetailsContext.instinfo)===null||_authdetailsContext$i4===void 0?void 0:_authdetailsContext$i4.contactinfo.instid)!='683c163d7f996'&§ionproperties.carticonstyle=="I'll use my own SVG"&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"h-100 allcentered ",style:{width:sectionproperties.cartBtniconresp_size==0?'auto':sectionproperties.cartBtniconresp_size+'px',height:sectionproperties.cartBtniconresp_size+'px'},dangerouslySetInnerHTML:{__html:sectionproperties.cartsvg}}),(authdetailsContext===null||authdetailsContext===void 0||(_authdetailsContext$i5=authdetailsContext.instinfo)===null||_authdetailsContext$i5===void 0?void 0:_authdetailsContext$i5.contactinfo.instid)=='683c163d7f996'&§ionproperties.carticonstyle=="I'll use my own SVG"&&/*#__PURE__*/React__default["default"].createElement("div",{"class":"h-100 allcentered ",style:{width:sectionproperties.cart_BtnWidth_resp==0?'auto':sectionproperties.cart_BtnWidth_resp+'px',height:sectionproperties.cart_BtnHeight_resp+'px'}},/*#__PURE__*/React__default["default"].createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"}),/*#__PURE__*/React__default["default"].createElement("g",{id:"SVGRepo_iconCarrier"},/*#__PURE__*/React__default["default"].createElement("path",{d:"M7.5 18C8.32843 18 9 18.6716 9 19.5C9 20.3284 8.32843 21 7.5 21C6.67157 21 6 20.3284 6 19.5C6 18.6716 6.67157 18 7.5 18Z",stroke:"#000000","stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M16.5 18.0001C17.3284 18.0001 18 18.6716 18 19.5001C18 20.3285 17.3284 21.0001 16.5 21.0001C15.6716 21.0001 15 20.3285 15 19.5001C15 18.6716 15.6716 18.0001 16.5 18.0001Z",stroke:"#000000","stroke-width":"1.5"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M2.26121 3.09184L2.50997 2.38429H2.50997L2.26121 3.09184ZM2.24876 2.29246C1.85799 2.15507 1.42984 2.36048 1.29246 2.75124C1.15507 3.14201 1.36048 3.57016 1.75124 3.70754L2.24876 2.29246ZM4.58584 4.32298L5.20507 3.89983V3.89983L4.58584 4.32298ZM5.88772 14.5862L5.34345 15.1022H5.34345L5.88772 14.5862ZM20.6578 9.88275L21.3923 10.0342L21.3933 10.0296L20.6578 9.88275ZM20.158 12.3075L20.8926 12.4589L20.158 12.3075ZM20.7345 6.69708L20.1401 7.15439L20.7345 6.69708ZM19.1336 15.0504L18.6598 14.469L19.1336 15.0504ZM5.70808 9.76V7.03836H4.20808V9.76H5.70808ZM2.50997 2.38429L2.24876 2.29246L1.75124 3.70754L2.01245 3.79938L2.50997 2.38429ZM10.9375 16.25H16.2404V14.75H10.9375V16.25ZM5.70808 7.03836C5.70808 6.3312 5.7091 5.7411 5.65719 5.26157C5.60346 4.76519 5.48705 4.31247 5.20507 3.89983L3.96661 4.74613C4.05687 4.87822 4.12657 5.05964 4.1659 5.42299C4.20706 5.8032 4.20808 6.29841 4.20808 7.03836H5.70808ZM2.01245 3.79938C2.68006 4.0341 3.11881 4.18965 3.44166 4.34806C3.74488 4.49684 3.87855 4.61727 3.96661 4.74613L5.20507 3.89983C4.92089 3.48397 4.54304 3.21763 4.10241 3.00143C3.68139 2.79485 3.14395 2.60719 2.50997 2.38429L2.01245 3.79938ZM4.20808 9.76C4.20808 11.2125 4.22171 12.2599 4.35876 13.0601C4.50508 13.9144 4.79722 14.5261 5.34345 15.1022L6.43198 14.0702C6.11182 13.7325 5.93913 13.4018 5.83723 12.8069C5.72607 12.1578 5.70808 11.249 5.70808 9.76H4.20808ZM10.9375 14.75C9.52069 14.75 8.53763 14.7482 7.79696 14.6432C7.08215 14.5418 6.70452 14.3576 6.43198 14.0702L5.34345 15.1022C5.93731 15.7286 6.69012 16.0013 7.58636 16.1283C8.45674 16.2518 9.56535 16.25 10.9375 16.25V14.75ZM4.95808 6.87H17.0888V5.37H4.95808V6.87ZM19.9232 9.73135L19.4235 12.1561L20.8926 12.4589L21.3923 10.0342L19.9232 9.73135ZM17.0888 6.87C17.9452 6.87 18.6989 6.871 19.2937 6.93749C19.5893 6.97053 19.8105 7.01643 19.9659 7.07105C20.1273 7.12776 20.153 7.17127 20.1401 7.15439L21.329 6.23978C21.094 5.93436 20.7636 5.76145 20.4632 5.65587C20.1567 5.54818 19.8101 5.48587 19.4604 5.44678C18.7646 5.369 17.9174 5.37 17.0888 5.37V6.87ZM21.3933 10.0296C21.5625 9.18167 21.7062 8.47024 21.7414 7.90038C21.7775 7.31418 21.7108 6.73617 21.329 6.23978L20.1401 7.15439C20.2021 7.23508 20.2706 7.38037 20.2442 7.80797C20.2168 8.25191 20.1002 8.84478 19.9223 9.73595L21.3933 10.0296ZM16.2404 16.25C17.0021 16.25 17.6413 16.2513 18.1566 16.1882C18.6923 16.1227 19.1809 15.9794 19.6074 15.6318L18.6598 14.469C18.5346 14.571 18.3571 14.6525 17.9744 14.6994C17.5712 14.7487 17.0397 14.75 16.2404 14.75V16.25ZM19.4235 12.1561C19.2621 12.9389 19.1535 13.4593 19.0238 13.8442C18.9007 14.2095 18.785 14.367 18.6598 14.469L19.6074 15.6318C20.0339 15.2842 20.2729 14.8346 20.4453 14.3232C20.6111 13.8312 20.7388 13.2049 20.8926 12.4589L19.4235 12.1561Z",fill:"#000000"}),/*#__PURE__*/React__default["default"].createElement("path",{d:"M9.5 9L10.0282 12.1179",stroke:"#000000","stroke-width":"1.5","stroke-linecap":"round"}),' ',/*#__PURE__*/React__default["default"].createElement("path",{d:"M15.5283 9L15.0001 12.1179",stroke:"#000000","stroke-width":"1.5","stroke-linecap":"round"}),' ')))),/*#__PURE__*/React__default["default"].createElement("div",{className:"".concat(header_cssstyles.badge_counter_header_notifications),style:{top:sectionproperties.cartbadgefromtop+'px',right:sectionproperties.cartbadgefromright+'px'}},(fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue2=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue2===void 0||(_fetchcustomercartQue2=_fetchcustomercartQue2.data)===null||_fetchcustomercartQue2===void 0?void 0:_fetchcustomercartQue2.customercart)!=null?fetchcustomercartQueryContext===null||fetchcustomercartQueryContext===void 0||(_fetchcustomercartQue3=fetchcustomercartQueryContext.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.data)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.customercart)===null||_fetchcustomercartQue3===void 0||(_fetchcustomercartQue3=_fetchcustomercartQue3.cartitems)===null||_fetchcustomercartQue3===void 0?void 0:_fetchcustomercartQue3.length:0));};var _useState11=React.useState(false),_useState12=_slicedToArray__default["default"](_useState11,2),openmenuCanvas=_useState12[0],setopenmenuCanvas=_useState12[1];// const [openmenuCanvascontex, setopenmenuCanvas] = useState(false);
|
|
33255
33255
|
var _useState13=React.useState([]),_useState14=_slicedToArray__default["default"](_useState13,2),pcollarray=_useState14[0],setpcollarray=_useState14[1];React.useEffect(function(){if(fetchCategoriesQueryContext.isSuccess==true&&fetchCategoriesQueryContext.data.data.status==true){var _fetchCategoriesQuery;var temppcollarray=_toConsumableArray__default["default"](pcollarray);fetchCategoriesQueryContext===null||fetchCategoriesQueryContext===void 0||(_fetchCategoriesQuery=fetchCategoriesQueryContext.data)===null||_fetchCategoriesQuery===void 0||(_fetchCategoriesQuery=_fetchCategoriesQuery.data)===null||_fetchCategoriesQuery===void 0||_fetchCategoriesQuery.categories.forEach(function(arrayItem){if(arrayItem.isshowntocustomers==1&&arrayItem.isinftiler==1){arrayItem===null||arrayItem===void 0||arrayItem.parentcolletions.forEach(function(item){if(item.isshowntocustomers==1&&arrayItem.isinftiler==1){temppcollarray.push(item);}});}});setpcollarray(_toConsumableArray__default["default"](temppcollarray));}// alert(JSON.stringify(pcollarray));
|
|
33256
33256
|
},[fetchCategoriesQueryContext.isSuccess]);var InstLogoContainer=function InstLogoContainer(){var _logoarrayofobjects$,_logoarrayofobjects$2;return/*#__PURE__*/React__default["default"].createElement("div",{className:header_cssstyles.header_logo+' d-flex align-items-center justify-content-start ',style:{cursor:'pointer'},onClick:function onClick(){setopenmenuCanvas(false);routingcountext(sectionproperties.logoonclickroute);}},/*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp,{urlEndpoint:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimageendpoint,publicKey:ikimagecredcontext===null||ikimagecredcontext===void 0?void 0:ikimagecredcontext.ikimagepublickey,path:langdetect=='en'?(_logoarrayofobjects$=logoarrayofobjects[0])===null||_logoarrayofobjects$===void 0?void 0:_logoarrayofobjects$.englishlogo:(_logoarrayofobjects$2=logoarrayofobjects[0])===null||_logoarrayofobjects$2===void 0?void 0:_logoarrayofobjects$2.arabiclogo,style:{maxWidth:'100%',maxHeight:'100%'}}));};var CategoriesAccordion=function CategoriesAccordion(){var _fetchCategoriesQuery2;return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion,{allowMultipleExpanded:false,allowZeroExpanded:true},fetchCategoriesQueryContext===null||fetchCategoriesQueryContext===void 0||(_fetchCategoriesQuery2=fetchCategoriesQueryContext.data)===null||_fetchCategoriesQuery2===void 0||(_fetchCategoriesQuery2=_fetchCategoriesQuery2.data)===null||_fetchCategoriesQuery2===void 0?void 0:_fetchCategoriesQuery2.categories.map(function(item,index){if(item.isshowntocustomers==1){var _fetchCategoriesQuery3,_fetchCategoriesQuery4;return/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem,{uuid:index},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading,{onClick:function onClick(){setChoosenindex(index);}},/*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton,null,/*#__PURE__*/React__default["default"].createElement("div",{className:' row m-0 p-0 mb-2 '},/*#__PURE__*/React__default["default"].createElement("div",{className:' row m-0 w-100 px-3 '},/*#__PURE__*/React__default["default"].createElement("div",{className:"col-10 p-0 text-start"// onClick={() => {
|
|
33257
33257
|
// setopenmenuCanvas(false); routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
@@ -94677,7 +94677,8 @@
|
|
|
94677
94677
|
var routingcountext = props.actions.routingcountext;
|
|
94678
94678
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
94679
94679
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
94680
|
-
|
|
94680
|
+
|
|
94681
|
+
// const NotificationManager = NotificationManager;
|
|
94681
94682
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
94682
94683
|
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat("Hi, I'm asking about this! " + 'https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinform/' + item.productid);
|
|
94683
94684
|
React.useEffect(function () {
|
|
@@ -94747,7 +94748,7 @@
|
|
|
94747
94748
|
}
|
|
94748
94749
|
}),
|
|
94749
94750
|
productcard: glamor.css({
|
|
94750
|
-
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
94751
|
+
background: authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? '' : sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
94751
94752
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
94752
94753
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
94753
94754
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
@@ -94779,7 +94780,7 @@
|
|
|
94779
94780
|
height: sectionproperties.image_height + 'px',
|
|
94780
94781
|
width: sectionproperties.image_width + 'px'
|
|
94781
94782
|
}, "borderBottomLeftRadius", langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px'), "borderBottomRightRadius", langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'), "borderTopLeftRadius", langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px'), "borderTopRightRadius", langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'), "overflow", 'hidden'), "cursor", 'pointer'), '@media (max-width: 800px)', {
|
|
94782
|
-
width: sectionproperties.image_width + '%'
|
|
94783
|
+
width: authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? sectionproperties.image_width + 'px' : sectionproperties.image_width + '%'
|
|
94783
94784
|
})),
|
|
94784
94785
|
productNameStyles: glamor.css({
|
|
94785
94786
|
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
@@ -94951,7 +94952,15 @@
|
|
|
94951
94952
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94952
94953
|
"class": "".concat(card_cssstyles.productcard) + ' w-100 pl-sm-0 pr-sm-0 px-sm-2 '
|
|
94953
94954
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94954
|
-
"class": "row w-100 m-0 d-flex"
|
|
94955
|
+
"class": "row w-100 m-0 d-flex",
|
|
94956
|
+
style: {
|
|
94957
|
+
background: authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor : '',
|
|
94958
|
+
padding: authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? 10 : 0,
|
|
94959
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
94960
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
94961
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
94962
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px'
|
|
94963
|
+
}
|
|
94955
94964
|
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94956
94965
|
onClick: function onClick() {
|
|
94957
94966
|
if (props.fetchingtypeprops == 'collections') {
|
|
@@ -94980,7 +94989,7 @@
|
|
|
94980
94989
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94981
94990
|
"class": "row w-100 m-0"
|
|
94982
94991
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94983
|
-
"class":
|
|
94992
|
+
"class": authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? 'col-lg-9 px-md-3 col-md-12 col-sm-12 pl-1 pr-1 mt-2 p-0' : 'col-lg-9 col-md-9 col-sm-12 pl-1 pr-1 mt-2 p-0'
|
|
94984
94993
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94985
94994
|
"class": "row w-100 m-0"
|
|
94986
94995
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -94989,20 +94998,23 @@
|
|
|
94989
94998
|
},
|
|
94990
94999
|
"class": "col-lg-12 p-0 "
|
|
94991
95000
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
94992
|
-
|
|
95001
|
+
className: "".concat(card_cssstyles.productNameStyles, " font-md-15 m-0 ").concat(sectionproperties.wordbreak == '1' ? 'wordbreak1' : sectionproperties.wordbreak == '2' ? 'wordbreak2' : 'wordbreak3'),
|
|
94993
95002
|
style: {
|
|
94994
95003
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
94995
95004
|
}
|
|
94996
|
-
}, item.name)),
|
|
95005
|
+
}, item.name)), authdetailsContext.instinfo.instid == '6a8c8860d1ffb' &&
|
|
95006
|
+
/*#__PURE__*/
|
|
95007
|
+
// sectionproperties.showmeasurementunit == 'Show' && (
|
|
95008
|
+
React__default["default"].createElement("div", {
|
|
94997
95009
|
"class": "col-lg-12 p-0 "
|
|
94998
95010
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
94999
95011
|
"class": ' wordbreak wordbreak1 m-0 ',
|
|
95000
|
-
style: {
|
|
95012
|
+
style: _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
95001
95013
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
95002
95014
|
fontSize: sectionproperties.measurementunitfontsize,
|
|
95003
95015
|
fontWeight: sectionproperties.measurementunitfontsize,
|
|
95004
95016
|
color: sectionproperties.measurementunitcolor
|
|
95005
|
-
}
|
|
95017
|
+
}, "fontSize", 13), "fontWeight", 400), "color", 'red')
|
|
95006
95018
|
}, item.measurmentunit)), sectionproperties.prodCatShow == 'Show' &&
|
|
95007
95019
|
/*#__PURE__*/
|
|
95008
95020
|
// <p
|
|
@@ -95061,17 +95073,17 @@
|
|
|
95061
95073
|
alignContent: 'space-between'
|
|
95062
95074
|
},
|
|
95063
95075
|
"class": "col-lg-3 col-md-3 col-sm-12 mt-2 p-0"
|
|
95064
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95076
|
+
}, authdetailsContext.instinfo.instid != '6a8c8860d1ffb' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95065
95077
|
"class": "row m-0 w-100 d-flex flex-column flex-sm-column justify-content-end justify-content-sm-start"
|
|
95066
95078
|
}, sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95067
95079
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
95068
|
-
}, langdetect == 'en' ?
|
|
95080
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95069
95081
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
95070
|
-
}, langdetect == 'en' ?
|
|
95082
|
+
}, langdetect == 'en' ? 'EGP' : '', ' ', item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95071
95083
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 m-sm-0 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 m-sm-0 '
|
|
95072
|
-
}, langdetect == 'en' ?
|
|
95084
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95073
95085
|
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 m-sm-0 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 m-sm-0 '
|
|
95074
|
-
}, langdetect == 'en' ?
|
|
95086
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : 'ج.م')), sectionproperties.quantitybtn_show == 'hide' && sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95075
95087
|
"class": "row m-0 mt-auto w-100"
|
|
95076
95088
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95077
95089
|
"class": "col-lg-12 d-flex justify-content-end p-0"
|
|
@@ -95107,7 +95119,17 @@
|
|
|
95107
95119
|
"class": "col-lg-12 mt-1 p-0"
|
|
95108
95120
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95109
95121
|
"class": "row w-100 m-0"
|
|
95110
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95122
|
+
}, authdetailsContext.instinfo.instid == '6a8c8860d1ffb' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95123
|
+
"class": authdetailsContext.instinfo.instid == '6a8c8860d1ffb' ? 'row m-0 w-100 d-flex flex-row justify-content-start mt-2 align-items-center px-md-3' : 'row m-0 w-100 d-flex flex-row justify-content-start mt-2 align-items-center'
|
|
95124
|
+
}, sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95125
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
95126
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95127
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
95128
|
+
}, langdetect == 'en' ? 'EGP' : '', ' ', item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95129
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' mx-2 linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ' : "".concat(card_cssstyles.productSalePricestyles) + ' mx-2 linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right '
|
|
95130
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
95131
|
+
"class": langdetect == 'en' ? "".concat(card_cssstyles.productSalePricestyles) + ' mx-2 linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ' : "".concat(card_cssstyles.productSalePricestyles) + ' mx-2 linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right '
|
|
95132
|
+
}, langdetect == 'en' ? 'EGP' : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect == 'en' ? '' : 'ج.م')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95111
95133
|
"class": "col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-start"
|
|
95112
95134
|
}, sectionproperties.quantitybtn_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95113
95135
|
style: {
|