"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[361],{80361:function(e,s,t){t.r(s),t.d(s,{default:function(){return g}});var l=t(85893),r=e=>(0,l.jsxs)("svg",{width:52,height:48,viewBox:"0 0 52 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("rect",{width:52,height:48,rx:6,fill:"url(#paint0_linear_11_546)"}),(0,l.jsx)("path",{d:"M31.1628 25.1615L31.7907 21.3354H28.093V18.6708C28.093 17.5776 28.5116 16.7578 30.186 16.7578H32V13.2733C31.0233 13.1366 29.907 13 28.9302 13C25.7209 13 23.4884 14.913 23.4884 18.3292V21.3354H20V25.1615H23.4884V34.795C24.2558 34.9317 25.0233 35 25.7907 35C26.5581 35 27.3256 34.9317 28.093 34.795V25.1615H31.1628Z",fill:"white"}),(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:"paint0_linear_11_546",x1:193715e-12,y1:24,x2:52,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#4264AA"}),(0,l.jsx)("stop",{offset:1,stopColor:"#853F89"})]})})]}),i=e=>(0,l.jsxs)("svg",{width:52,height:48,viewBox:"0 0 52 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("rect",{width:52,height:48,rx:6,fill:"url(#paint0_linear_11_520)"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.7 16.1H22.3C19.9804 16.1 18.1 17.9804 18.1 20.3V28.7C18.1 31.0196 19.9804 32.9 22.3 32.9H30.7C33.0196 32.9 34.9 31.0196 34.9 28.7V20.3C34.9 17.9804 33.0196 16.1 30.7 16.1ZM22.3 14C18.8206 14 16 16.8206 16 20.3V28.7C16 32.1794 18.8206 35 22.3 35H30.7C34.1794 35 37 32.1794 37 28.7V20.3C37 16.8206 34.1794 14 30.7 14H22.3ZM26.5 27.6501C28.2397 27.6501 29.65 26.2398 29.65 24.5001C29.65 22.7604 28.2397 21.3501 26.5 21.3501C24.7603 21.3501 23.35 22.7604 23.35 24.5001C23.35 26.2398 24.7603 27.6501 26.5 27.6501ZM26.5 29.7501C29.3995 29.7501 31.75 27.3996 31.75 24.5001C31.75 21.6006 29.3995 19.2501 26.5 19.2501C23.6005 19.2501 21.25 21.6006 21.25 24.5001C21.25 27.3996 23.6005 29.7501 26.5 29.7501ZM31.7496 20.72C32.5614 20.72 33.2196 20.0619 33.2196 19.25C33.2196 18.4381 32.5614 17.78 31.7496 17.78C30.9377 17.78 30.2796 18.4381 30.2796 19.25C30.2796 20.0619 30.9377 20.72 31.7496 20.72Z",fill:"white"}),(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:"paint0_linear_11_520",x1:193715e-12,y1:24,x2:52,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#4264AA"}),(0,l.jsx)("stop",{offset:1,stopColor:"#853F89"})]})})]}),a=t(67294),n=e=>(0,l.jsxs)("svg",{width:52,height:48,viewBox:"0 0 52 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("rect",{width:52,height:48,rx:6,fill:"url(#paint0_linear_11_528)"}),(0,l.jsx)("path",{d:"M21.3908 20.7161V32.6667H18.1988V20.7161H21.3908ZM18 17.6015C18 17.1376 18.162 16.7547 18.486 16.4528C18.81 16.1509 19.2444 16 19.7893 16C20.3268 16 20.7575 16.1509 21.0815 16.4528C21.4129 16.7547 21.5785 17.1376 21.5785 17.6015C21.5785 18.0654 21.4129 18.4483 21.0815 18.7502C20.7575 19.0521 20.3268 19.203 19.7893 19.203C19.2444 19.203 18.81 19.0521 18.486 18.7502C18.162 18.4483 18 18.0654 18 17.6015Z",fill:"white"}),(0,l.jsx)("path",{d:"M27.1341 23.2675V32.6667H23.9532V20.7161H26.9353L27.1341 23.2675ZM26.6702 26.2717H25.8087C25.8087 25.3881 25.9228 24.5929 26.1511 23.886C26.3794 23.1718 26.6997 22.5643 27.112 22.0636C27.5243 21.5556 28.014 21.169 28.581 20.9039C29.1553 20.6315 29.7959 20.4953 30.5028 20.4953C31.0624 20.4953 31.5741 20.5762 32.038 20.7382C32.5019 20.9002 32.8995 21.1579 33.2308 21.5114C33.5695 21.8648 33.8273 22.3324 34.004 22.9141C34.1881 23.4958 34.2801 24.2063 34.2801 25.0457V32.6667H31.0771V25.0347C31.0771 24.5045 31.0035 24.0922 30.8562 23.7977C30.7089 23.5031 30.4917 23.297 30.2046 23.1791C29.9247 23.054 29.5787 22.9914 29.1663 22.9914C28.7393 22.9914 28.3674 23.0761 28.0508 23.2454C27.7416 23.4148 27.4838 23.6504 27.2777 23.9523C27.0789 24.2468 26.9279 24.5929 26.8248 24.9905C26.7217 25.3881 26.6702 25.8152 26.6702 26.2717Z",fill:"white"}),(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:"paint0_linear_11_528",x1:193715e-12,y1:24,x2:52,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#4264AA"}),(0,l.jsx)("stop",{offset:1,stopColor:"#853F89"})]})})]}),o=e=>(0,l.jsxs)("svg",{width:52,height:48,viewBox:"0 0 52 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("rect",{width:52,height:48,rx:6,fill:"url(#paint0_linear_11_534)"}),(0,l.jsx)("path",{d:"M33.9525 20.7342C33.9647 20.897 33.9647 21.0597 33.9647 21.2239C33.9647 26.2284 29.8371 32 22.2897 32V31.997C20.0601 32 17.8769 31.4105 16 30.2991C16.3242 30.3351 16.65 30.3531 16.9766 30.3539C18.8243 30.3554 20.6191 29.7831 22.0727 28.7295C20.3169 28.6987 18.7772 27.642 18.2393 26.0994C18.8544 26.2089 19.4881 26.1864 20.0918 26.0341C18.1775 25.6771 16.8003 24.1247 16.8003 22.3219V22.2739C17.3707 22.5671 18.0093 22.7298 18.6626 22.7478C16.8596 21.6357 16.3039 19.4218 17.3926 17.6909C19.4759 20.057 22.5497 21.4954 25.8493 21.6477C25.5186 20.3322 25.9703 18.9538 27.0364 18.0291C28.689 16.5952 31.2882 16.6687 32.8418 18.1934C33.7607 18.0261 34.6415 17.7149 35.4475 17.2739C35.1412 18.1506 34.5001 18.8953 33.6437 19.3685C34.457 19.2801 35.2517 19.0791 36 18.7723C35.4491 19.5343 34.7552 20.198 33.9525 20.7342Z",fill:"white"}),(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:"paint0_linear_11_534",x1:193715e-12,y1:24,x2:52,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#4264AA"}),(0,l.jsx)("stop",{offset:1,stopColor:"#853F89"})]})})]}),d=e=>(0,l.jsxs)("svg",{width:52,height:48,viewBox:"0 0 52 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,l.jsx)("rect",{width:52,height:48,rx:6,fill:"url(#paint0_linear_11_541)"}),(0,l.jsx)("path",{d:"M33.2232 16H19.7768C17.1386 16 15 18.1025 15 20.696V27.304C15 29.8975 17.1386 32 19.7768 32H33.2232C35.8614 32 38 29.8975 38 27.304V20.696C38 18.1025 35.8614 16 33.2232 16ZM29.9927 24.3215L23.7034 27.2704C23.5358 27.3489 23.3422 27.2288 23.3422 27.0463V20.9643C23.3422 20.7792 23.5409 20.6592 23.7088 20.7429L29.9981 23.8761C30.1851 23.9692 30.1819 24.2328 29.9927 24.3215Z",fill:"white"}),(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:"paint0_linear_11_541",x1:193715e-12,y1:24,x2:52,y2:24,gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#4264AA"}),(0,l.jsx)("stop",{offset:1,stopColor:"#853F89"})]})})]}),c=t(93694),x=t(41664),p=t.n(x),h=t(22069),m=t(27546),C=t(5233),f=t(39332),w=()=>{let e=(0,a.useContext)(h.Z),{t:s,i18n:{language:t}}=(0,C.$G)("common"),r=(0,f.usePathname)();return(0,l.jsx)(l.Fragment,{children:e.compareProducts.length>0&&(null==e?void 0:e.showCompareFooter)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"hidden max-lg:flex fixed bottom-0 bg-white py-7 px-6 md:px-11 w-full text-sm md:text-2xl font-bold shadow-compareFooter z-50 items-center justify-between mb-16 lg:mb-0",children:[(0,l.jsxs)("div",{className:"text-black",children:[s("Compare Products")," (",e.compareProducts.length,")"]}),(0,l.jsxs)("div",{className:"text-xs lg:text-sm font-normal flex items-center gap-4",children:[(0,l.jsx)("button",{className:"py-2 lg:py-3 px-4 lg:px-8 rounded-md border border-purple-800 text-black transition-all hover:text-white hover:bg-[#CD193A]",onClick:e.clearCompare,children:s("Delete All")}),"/compare"!==r&&(0,l.jsx)(p(),{href:"/compare",className:"py-2 lg:py-3 px-4 lg:px-8 rounded-md bg-primary text-white",children:s("Compare")})]})]}),(0,l.jsxs)("div",{className:"fixed bottom-0 bg-black bg-opacity-60 py-7 px-6 md:px-11 font-bold w-full z-50 mb-16 lg:mb-0 hidden lg:flex max-w-[1920px]",children:[(0,l.jsx)("div",{onClick:()=>null==e?void 0:e.setShowCompareFooter(!1),className:"text-white top-0 right-0 cursor-pointer text-xl border border-t-0 border-white size-8 p-2 absolute flex justify-center items-center",children:(0,l.jsx)("p",{className:"p-0 -mt-1",children:"x"})}),(0,l.jsxs)("div",{className:"grid grid-cols-5 gap-5",children:[null==e?void 0:e.compareProducts.map((s,t)=>{var r;return(0,l.jsxs)("div",{className:"px-4 font-bold py-4 border border-white relative bg-white flex items-center gap-2 min-h-[78px] max-h-[78px]",children:[(0,l.jsx)(c.Z,{className:"w-16 h-16 object-contain rounded-md",src:null==s?void 0:null===(r=s._media_)||void 0===r?void 0:r.image[0].image,alt:"Compare Img!"}),(0,l.jsx)("p",{className:"font-[400] line-clamp-2 text-black",children:(null==s?void 0:s.name[0])||""}),(0,l.jsx)(m.Z,{onClick:()=>null==e?void 0:e.removeProductFromCompare(s),className:"absolute top-2 end-2 z-50 cursor-pointer text-black size-2"})]},t)}),[...Array(4-(null==e?void 0:e.compareProducts.length)).keys()].map(e=>(0,l.jsx)("div",{className:"px-4 font-bold border border-dashed border-white flex items-center justify-center min-h-[78px] max-h-[78px]",children:"en"===t?"Add Item to compare":"أضف منتج إلى المقارنات"},e)),(0,l.jsx)(p(),{href:"/compare",className:"py-4 rounded-md bg-primary text-white min-h-20 max-h-20 flex items-center justify-center",children:s("Compare")})]})]})]})})},g=e=>{let{t:s}=e;return(0,l.jsxs)("div",{className:"flex flex-col flex-wrap items-center justify-center w-11/12 gap-4 mx-auto mb-5 sm:mb-10 sm:gap-6 sm:flex-row",children:[(0,l.jsx)("p",{className:"font-bold uppercase max-sm:text-sm",children:s("download our app")}),(0,l.jsxs)("div",{className:"flex items-center gap-x-6",children:[(0,l.jsx)(p(),{href:"https://apps.apple.com/sa/app/abdulwahed-shopping-app/id1548762547",children:(0,l.jsx)(c.Z,{loading:"lazy",src:"/imgs/appstore.webp",className:"object-contain w-24 h-auto cursor-pointer",alt:"Apple Store Img !"})}),(0,l.jsx)(p(),{href:"https://play.google.com/store/apps/details?id=com.abdulwahed&hl=en_US&gl=US",children:(0,l.jsx)(c.Z,{loading:"lazy",src:"/imgs/palystore.webp",className:"object-contain w-24 h-auto",alt:"Google Play Img !"})})]}),(0,l.jsxs)("div",{className:"flex flex-col flex-wrap items-center justify-center gap-2 md:flex-row",children:[(0,l.jsxs)("p",{className:"font-bold max-sm:text-sm",children:[s("Follow Us On")," : "]}),(0,l.jsxs)("div",{className:"flex items-center gap-4 sm:gap-2 max-sm:*:size-8 *:size-9 *:cursor-pointer",children:[(0,l.jsx)(p(),{href:"https://www.facebook.com/AbdulwahedCo/",prefetch:!1,className:"flex items-center",target:"_blank",children:(0,l.jsx)(r,{})}),(0,l.jsx)(p(),{href:"https://www.linkedin.com/company/ahmed-abdulwahed",prefetch:!1,className:"flex items-center",target:"_blank",children:(0,l.jsx)(n,{})}),(0,l.jsx)(p(),{href:"https://twitter.com/abdulwahedco?lang=en",prefetch:!1,className:"flex items-center",target:"_blank",children:(0,l.jsx)(o,{})}),(0,l.jsx)(p(),{href:"https://www.instagram.com/ahmedabdulwahed.co/",prefetch:!1,className:"flex items-center",target:"_blank",children:(0,l.jsx)(i,{})}),(0,l.jsx)(p(),{href:"https://www.youtube.com/channel/UCGT1npjcGoVUdhA6gyynrxg",prefetch:!1,className:"flex items-center",target:"_blank",children:(0,l.jsx)(d,{})})]})]}),(0,l.jsx)(w,{})]})}}}]);
//# sourceMappingURL=361.2143899dacc292e9.js.map