<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6933],{46933:function(e,t,a){a.r(t),a.d(t,{default:function(){return z}});var n=a(67294),r=a(25675),s=a.n(r),i=a(2839),l=a(35590),c=a(52261),o=a(67814),u=a(34288),m=a(38757),p=a(11163),d=a(91887),h=a(72760),x=a(46809),f=a(36981),g=a(66699),w=a(97640),N=a(96935),y=a(81883),b=a(5152),v=a.n(b),k=(n.createElement,n.createElement),C=v()(function(){return a.e(5919).then(a.bind(a,85919))},{loadableGenerated:{webpack:function(){return[85919]}}}),_=function(){var e=(0,n.useState)(!1),t=e[0],a=e[1];return(0,n.useEffect)(function(){var e=function(){a(!(window.innerWidth&lt;=767))};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[]),k(n.Fragment,null,!0==t&amp;&amp;k(C,null))},Z=a(20539),E=a(92308),S=a(94608),j=a(59417),G=a(69336),I=a(28685),W=(n.createElement,n.createElement),z=(0,n.memo)(function(){var e,t,a=(0,d.GS)("(max-width: 1024px)"),r=(0,x.jD)(),b=(0,n.useState)("close"),v=b[0],k=b[1],C=(0,g.fD)(),z=(0,p.useRouter)(),A=(0,n.useContext)(y.A),L=function(e){z.pathname.includes("/ar")?localStorage.setItem("lang","en"):localStorage.setItem("lang","ar");var t=z.asPath.replace("/ar","");t.length&gt;0?z.push(z.pathname.includes("/ar")?t:"/ar"+z.asPath):window.location.href="https://fepy.com",z.events.on("routeChangeComplete",function(){window.location.reload()})};return t=W("div",{className:"headerContainer py-2 px-6 2xl:px-10"},W("div",{className:"flex items-center ".concat("ar"==A?"gap-x-2":"gap-x-4"," lg:gap-x-10 py-2")},W("div",{style:{minWidth:"120px"},className:" h-10 flex items-center"},W(s(),{src:(0,I._y)()?E.Z:"ar"==A?l.Z:i.Z,alt:"logo",width:a?"160":"220",height:a?"50":"70",className:"cursor-pointer",onClick:function(){return z.push("ar"==A?"/ar":"/")}})),W(G.a,null),W(m.i,null),W("div",{className:"flex items-center justify-end h-8",id:"applyCreditBtn"},C.user&amp;&amp;5!=C.user.group_id&amp;&amp;3!=C.user.group_id&amp;&amp;1!=C.user.group_id&amp;&amp;W(f.Z,{href:"ar"==A?"/ar/applyCredit":"/applyCredit",className:"".concat("ar"==A?"ml-3":"mr-3"," mt-1"),style:{minWidth:"120px"}},W(s(),{src:Z.Z,alt:"logo4",width:"160",height:"50",className:"cursor-pointer"})),!!C.user&amp;&amp;C.user.group_id&lt;2&amp;&amp;W("button",{onClick:function(){return k("upgradeModal")},className:"".concat("ar"===A?"ml-2":"mr-1")},W(s(),{src:S.Z,alt:"UpgradeBtn",width:"130",style:{minWidth:"130px"},className:"cursor-pointer"})),(!C.user||!C.user.id)&amp;&amp;W("button",{onClick:function(){return z.push("ar"===A?"/ar/pro":"/pro")},className:"mr-3 mt-1",style:{minWidth:"86px"}},W(s(),{src:c.Z,alt:"logo4",width:"86",height:"30",className:"cursor-pointer"})),W("div",{className:"px-3 border-r border-zinc-200 h-full flex items-center justify-center"},C.user?W(f.Z,{href:"ar"==A?"/ar/account/accountSettings":"/account/accountSettings"},W("button",{className:"flex items-center gap-x-2 text-sm lg:text-base whitespace-wrap text-black"},C.user?(e=C.user.firstname).length&gt;10?e.substring(0,6)+"..":e:"ar"==A?"تسجيل الدخول":"Sign In",W(o.G,{icon:u.ILF,className:"text-lg yellow-text"}))):W("button",{onClick:function(){return k("cart_SignIn")},className:"flex items-center gap-x-2 text-sm lg:text-base whitespace-nowrap text-black"},C.user?C.user.firstname:"ar"==A?"تسجيل الدخول":"Sign In",W(o.G,{icon:u.ILF,className:"text-lg yellow-text"}))),W("div",{className:"px-3 border-zinc-200 h-full flex items-center justify-center"},W(f.Z,{href:w.ZP.cart()},W("button",{style:{fontWeight:500},className:"flex items-center gap-x-2 text-sm lg:text-base whitespace-nowrap text-black"},"ar"==A?"عربة التسوق":"Cart",W(h.Z,{value:r.items.reduce(function(e,t){return e+t.qty},0),icon:W("img",{alt:"https://ik.imagekit.io/fepy/Nextjs/hic/Group%2022@2x.png?updatedAt=1695327606892",style:{width:"19px",minWidth:"19px",height:"17px"},src:"https://ik.imagekit.io/fepy/Nextjs/hic/Group%2022@2x.png?updatedAt=1695327606892"})})))),W("div",{onClick:function(){return L(A)},className:"cursor-pointer flex flex-row justify-center items-center text-xs font-normal mr-2"},W(o.G,{icon:j.g4A,className:"text-lg yellow-text p-1"}),"ar"==A?"EN":"العربية")))),W("div",{className:"site-header"},t,W("div",{className:"site-header__nav-panel"},W(_,null)),W(N.c,{modal:v,setModal:k,routing:"/"}))})}}]);</pre></body></html>