PageSourceSearch

https://genosys.ae/_next/static/chunks/3a0ehwygpgm32.js?dpl=dpl_CrjK8BRwPYLPxLCbrWnP4LaULbN2

js genosys.ae collected 2026-10-02 00:41:53 UTC 184,535 bytes, 11 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="fa947109-539b-8b37-a014-dce131709077")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,349512,e=>{"use strict";let t=["/about","/blog","/brand","/cart","/checkout","/contact","/delivery","/faq","/favorites","/forgot-password","/locations","/login","/orders","/pdf-viewer","/partners","/privacy-policy","/profile","/pwa-login","/reset-password","/signup","/skin-recommendation","/success","/terms","/track","/training"],r=/\/products\/[a-zA-Z0-9_-]+$/;e.s(["isProductDetailPage",0,function(e){return!!e&&r.test(e)},"isSimpleHeaderPage",0,function(e){return!!e&&(!!r.test(e)||t.some(t=>e.includes(t)))}])},717792,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(271645),i=e.i(999452),s=e.i(448959),n=e.i(618566),o=e.i(349512),l=e.i(501740),c=e.i(522016),d=e.i(899738),u=e.i(668109),m=e.i(901279),h=e.i(367784),x=e.i(471092),f=e.i(45356),p=e.i(24171),g=e.i(606315);function b(){let e,i,s,o,l,c,d,u=(0,r.c)(22),m=(0,n.usePathname)(),h=(0,n.use
2SearchParams)();u[0]!==m?(e=(0,g.getLocaleFromPath)(m),u[0]=m,u[1]=e):e=u[1];let x=e,f="ar"===x,[p,b]=(0,a.useState)(!1),[v,y]=(0,a.useState)(!1);u[2]!==m||u[3]!==h?(i=e=>{b(!1),y(!0),(0,g.switchLocaleHardNav)(e,m,h.toString())},u[2]=m,u[3]=h,u[4]=i):i=u[4];let w=i;u[5]!==p?(s=()=>b(!p),u[5]=p,u[6]=s):s=u[6];let j=v?"...":"ar"===x?"AR":"ru"===x?"RU":"EN";return u[7]!==j?(o=(0,t.jsx)("span",{className:"text-xs font-medium text-primary-600",children:j}),u[7]=j,u[8]=o):o=u[8],u[9]!==p||u[10]!==v||u[11]!==s||u[12]!==o?(l=(0,t.jsx)("button",{type:"button",onClick:s,disabled:v,className:"flex items-center gap-1 px-2 py-1 rounded hover:bg-[var(--cera-cream-deep)] transition-colors disabled:opacity-50 disabled:cursor-not-allowed focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/50","aria-label":"Switch language","aria-expanded":p,"aria-haspopup":"listbox",children:o}),u[9]=p,u[10]=v,u[11]=s,u[12]=o,u[13]=l):l=u[13],u[14]!==x||u[15]!==p||u[16]!==f||u[17]!==w?(c=p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-10",onClick:()=>b(!1)}),(0,t.jsxs)("div",{role:"listbox","aria-label":"Language",className:`absolute top-full mt-1 bg-white border border-[var(--cera-line)] rounded-lg shadow-lg z-20 min-w-[100px] ${f?"right-0 md:right-0":"left-0 md:left-auto md:right-0"}`,children:[(0,t.jsx)("button",{type:"button",role:"option","aria-selected":"en"===x,onClick:()=>w("en"),className:`w-full text-left px-3 py-2 text-sm hover:bg-[var(--cera-cream)] transition-colors ${"en"===x?"bg-primary-50 text-primary-600 font-medium":"text-[var(--cera-body)]"}`,children:"English"}),(0,t.jsx)("button",{type:"button",role:"option","aria-selected":"ru"===x,onClick:()=>w("ru"),className:`w-full text-left px-3 py-2 text-sm hover:bg-[var(--cera-cream)] transition-colors ${"ru"===x?"bg-primary-50 text-primary-600 font-medium":"text-[var(--cera-body)]"}`,children:"Русский"}),(0,t.jsx)("button",{type:"button",role:"option","aria-selected":"ar"===x,onClick:()=>w("ar"),className:`w-full text-right px-3 py-2 text-sm hover:bg-[var(--cera-cream)] transition-colors ${"ar"===x?"bg-primary-50 text-primary-600 font-medium":"text-[var(--cera-body)]"}`,dir:"rtl",children:"العربية"})]})]}),u[14]=x,u[15]=p,u[16]=f,u[17]=w,u[18]=c):c=u[18],u[19]!==l||u[20]!==c?(d=(0,t.jsxs)("div",{className:"relative",children:[l,c]}),u[19]=l,u[20]=c,u[21]=d):d=u[21],d}function v(){let e,i=(0,r.c)(1);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(a.Suspense,{fallback:(0,t.jsx)("span",{className:"text-xs font-medium text-primary-600 px-2 py-1",children:"EN"}),children:(0,t.jsx)(b,{})}),i[0]=e):e=i[0],e}function y(){let e,o,b,y,k,N,S,_,L,C,P,E,T,A,z,M,$,F,B,R,W,D,I,O,H,q,G,U,Y,V,K,X,J,Z,Q,ee,et,er,ea,ei,es,en,eo,el,ec,ed,eu,em,eh,ex,ef,ep=(0,r.c)(117),eg=(0,x.useCartStore)(j).reduce(w,0),{user:eb,logout:ev}=(0,f.useAuth)(),{favorites:ey}=(0,p.useFavorites)(),{t:ew,locale:ej}=(0,i.useTranslation)(),{isPWA:ek}=(0,s.usePWAMode)(),eN=(0,n.useRouter)(),[eS,e_]=(0,a.useState)(!1),[eL,eC]=(0,a.useState)(!1),[eP,eE]=(0,a.useState)(!1),[eT,eA]=(0,a.useState)(!0);ep[0]!==ek||ep[1]!==ej||ep[2]!==eN?(e=()=>{if(ek){let e="en"===ej?"/pwa-login":`/${ej}/pwa-login`;eN.push(e)}else eE(!0)},ep[0]=ek,ep[1]=ej,ep[2]=eN,ep[3]=e):e=ep[3];let ez=e;ep[4]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{e_(!0)},b=[],ep[4]=o,ep[5]=b):(o=ep[4],b=ep[5]),(0,a.useEffect)(o,b),ep[6]!==eS?(y=()=>{if(!eS)return;let e=()=>{eC(!0),setTimeout(()=>{eC(!1)},600)};e();let t=setInterval(e,16e3);return()=>clearInterval(t)},k=[eS],ep[6]=eS,ep[7]=y,ep[8]=k):(y=ep[7],k=ep[8]),(0,a.useEffect)(y,k),ep[9]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)("span",{className:"text-lg md:text-2xl font-bold text-[var(--brand-wordmark)] tracking-tight whitespace-nowrap",children:"GENOSYS MIDDLE EAST"}),ep[9]=N):N=ep[9],ep[10]!==ew?(S=ew("common.uae"),ep[10]=ew,ep[11]=S):S=ep[11],ep[12]!==S?(_=(0,t.jsx)("span",{className:"whitespace-nowrap",children:S}),ep[12]=S,ep[13]=_):_=ep[13];let eM=`h-3 w-3 text-[var(--brand-wordmark)] fill-current transition-transform duration-300 flex-shrink-0 ${eL?"animate-pulse":""}`;ep[14]!==eL?(L=eL?{animation:"heartbeat 0.6s ease-in-out"}:{},ep[14]=eL,ep[15]=L):L=ep[15],ep[16]!==eM||ep[17]!==L?(C=(0,t.jsx)(u.Heart,{className:eM,style:L}
2),ep[16]=eM,ep[17]=L,ep[18]=C):C=ep[18],ep[19]!==C||ep[20]!==_?(P=(0,t.jsxs)("div",{className:"hidden md:flex flex-col items-center",children:[N,(0,t.jsxs)("div",{className:"flex w-full justify-center items-center gap-1 text-sm text-[var(--cera-muted)] header-margin whitespace-nowrap",children:[_,C]})]}),ep[19]=C,ep[20]=_,ep[21]=P):P=ep[21],ep[22]===Symbol.for("react.memo_cache_sentinel")?(E=(0,g.getLocalizedPath)("/","ru"),ep[22]=E):E=ep[22],ep[23]!==ew?(T=ew("navigation.home"),ep[23]=ew,ep[24]=T):T=ep[24],ep[25]!==T?(A=(0,t.jsx)(c.default,{href:E,className:"text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors",children:T}),ep[25]=T,ep[26]=A):A=ep[26],ep[27]===Symbol.for("react.memo_cache_sentinel")?(z=(0,g.getLocalizedPath)("/about","ru"),ep[27]=z):z=ep[27],ep[28]!==ew?(M=ew("navigation.about"),ep[28]=ew,ep[29]=M):M=ep[29],ep[30]!==M?($=(0,t.jsx)(c.default,{href:z,className:"text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors",children:M}),ep[30]=M,ep[31]=$):$=ep[31],ep[32]===Symbol.for("react.memo_cache_sentinel")?(F=(0,g.getLocalizedPath)("/brand","ru"),ep[32]=F):F=ep[32],ep[33]!==ew?(B=ew("navigation.brand"),ep[33]=ew,ep[34]=B):B=ep[34],ep[35]!==B?(R=(0,t.jsx)(c.default,{href:F,className:"text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors",children:B}),ep[35]=B,ep[36]=R):R=ep[36],ep[37]===Symbol.for("react.memo_cache_sentinel")?(W=(0,g.getLocalizedPath)("/products","ru"),ep[37]=W):W=ep[37],ep[38]!==ew?(D=ew("navigation.products"),ep[38]=ew,ep[39]=D):D=ep[39],ep[40]!==D?(I=(0,t.jsx)(c.default,{href:W,className:"text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors",children:D}),ep[40]=D,ep[41]=I):I=ep[41],ep[42]!==eS||ep[43]!==ew||ep[44]!==eb?(O=eS&&eb&&(0,t.jsx)(c.default,{href:(0,g.getLocalizedPath)("/training","ru"),className:"text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors",children:ew("navigation.training")}),ep[42]=eS,ep[43]=ew,ep[44]=eb,ep[45]=O):O=ep[45],ep[46]===Symbol.for("react.memo_cache_sentinel")?(H=(0,g.getLocalizedPath)("/contact","ru"),ep[46]=H):H=ep[46],ep[47]!==ew?(q=ew("navigation.contact"),ep[47]=ew,ep[48]=q):q=ep[48],ep[49]!==q?(G=(0,t.jsx)(c.default,{href:H,className:"text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors",children:q}),ep[49]=q,ep[50]=G):G=ep[50],ep[51]===Symbol.for("react.memo_cache_sentinel")?(U=(0,g.getLocalizedPath)("/delivery","ru"),ep[51]=U):U=ep[51],ep[52]!==ew?(Y=ew("navigation.delivery"),ep[52]=ew,ep[53]=Y):Y=ep[53],ep[54]!==Y?(V=(0,t.jsx)(c.default,{href:U,className:"text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors",children:Y}),ep[54]=Y,ep[55]=V):V=ep[55],ep[56]!==A||ep[57]!==$||ep[58]!==R||ep[59]!==I||ep[60]!==O||ep[61]!==G||ep[62]!==V?(K=(0,t.jsxs)("nav",{className:"hidden md:flex space-x-4",role:"navigation","aria-label":"Основная навигация",children:[A,$,R,I,O,G,V]}),ep[56]=A,ep[57]=$,ep[58]=R,ep[59]=I,ep[60]=O,ep[61]=G,ep[62]=V,ep[63]=K):K=ep[63],ep[64]!==ew?(X=ew("footer.officialDistributor"),ep[64]=ew,ep[65]=X):X=ep[65],ep[66]!==X?(J=(0,t.jsx)("div",{className:"text-sm text-[var(--cera-muted)]",children:X}),ep[66]=X,ep[67]=J):J=ep[67],ep[68]===Symbol.for("react.memo_cache_sentinel")?(Z=(0,t.jsx)("a",{href:"https://wa.me/971585487665",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-[var(--cera-muted)] hover:text-[var(--cera-ok)] transition-colors flex items-center gap-1 header-contact-link",children:"+971 58 548 76 65 📱"}),Q=(0,t.jsx)("a",{href:"mailto:[email protected]",className:"text-sm text-[var(--cera-muted)] hover:text-[var(--cera-rose-ink)] transition-colors",children:"[email protected]"}),ep[68]=Z,ep[69]=Q):(Z=ep[68],Q=ep[69]),ep[70]!==J?(ee=(0,t.jsxs)("div",{className:"flex flex-col items-end text-right header-contact",children:[J,Z,Q]}),ep[70]=J,ep[71]=ee):ee=ep[71],ep[72]!==ez||ep[73]!==eS||ep[74]!==ev||ep[75]!==ew||ep[76]!==eb?(et=eS&&eb?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v,{}),(0,t.jsx)(c.default,{href:(0,g.getLocalizedPath)("/profile","ru"),className:"p-2 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors","aria-label":ew("common.profile"),children:(0,t.jsx)(m.User,{className:"h-6 w-6 text-[var(--cera-ok)]","aria-hidden":"true"})}),(0,t.jsx)("button",{onClick:()=>ev(),className:"p-2 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors","aria-label":ew("common.logout"),children:(0,t.jsx)(h.LogOut,{className:"h-6 w-6","aria-hidden":"true"})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v,{}),(0,t.jsx)("button",{onClick:ez,className:"p-2 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors touch-manipulation","aria-label":ew("common.login"),children:(0,t.jsx)(m.User,{className:"h-5 w-5","aria-hidden":"true"})})]}),ep[72]=ez,ep[73]=eS,ep[74]=ev,ep[75]=ew,ep[76]=eb,ep[77]=et):et=ep[77],ep[78]===Symbol.for("react.memo_cache_sentinel")?(er=(0,g.getLocalizedPath)("/favorites","ru"),ep[78]=er):er=ep[78],ep[79]!==ew?(ea=ew("common.favorites"),ep[79]=ew,ep[80]=ea):ea=ep[80];let e$=`${ea} с ${eS?ey.length:0} товарами`,eF=`h-6 w-6 transition-colors ${eS&&ey.length>0?"text-red-500":""}`;ep[81]!==eF?(ei=(0,t.jsx)(u.Heart,{className:eF,"aria-hidden":"true"}),ep[81]=eF,ep[82]=ei):ei=ep[82],ep[83]!==ey||ep[84]!==eS?(es=eS&&ey.length>0&&(0,t.jsx)("span",{className:"absolute -top-1 -right-1 bg-primary-600 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center header-badge","aria-hidden":"true",children:ey.length}),ep[83]=ey,ep[84]=eS,ep[85]=es):es=ep[85],ep[86]!==e$||ep[87]!==ei||ep[88]!==es?(en=(0,t.jsxs)(c.default,{href:er,className:"relative p-2 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors touch-manipulation min-h-[44px] min-w-[44px] flex items-center justify-center","aria-label":e$,children:[ei,es]}
2),ep[86]=e$,ep[87]=ei,ep[88]=es,ep[89]=en):en=ep[89],ep[90]===Symbol.for("react.memo_cache_sentinel")?(eo=(0,g.getLocalizedPath)("/cart","ru"),ep[90]=eo):eo=ep[90],ep[91]!==ew?(el=ew("common.cart"),ep[91]=ew,ep[92]=el):el=ep[92];let eB=`${el} с ${eS?eg:0} товарами`,eR=`h-6 w-6 transition-colors ${eS&&eg>0?"text-[var(--cera-ok)]":""}`;return ep[93]!==eR?(ec=(0,t.jsx)(d.ShoppingCart,{className:eR,"aria-hidden":"true"}),ep[93]=eR,ep[94]=ec):ec=ep[94],ep[95]!==eg||ep[96]!==eS?(ed=eS&&eg>0&&(0,t.jsx)("span",{className:"absolute -top-1 -right-1 bg-primary-600 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center header-badge","aria-hidden":"true",children:eg}),ep[95]=eg,ep[96]=eS,ep[97]=ed):ed=ep[97],ep[98]!==eB||ep[99]!==ec||ep[100]!==ed?(eu=(0,t.jsxs)(c.default,{href:eo,className:"relative p-2 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors touch-manipulation min-h-[44px] min-w-[44px] flex items-center justify-center","aria-label":eB,children:[ec,ed]}),ep[98]=eB,ep[99]=ec,ep[100]=ed,ep[101]=eu):eu=ep[101],ep[102]!==et||ep[103]!==en||ep[104]!==eu?(em=(0,t.jsxs)("div",{className:"flex items-center space-x-2 header-icons",children:[et,en,eu]}),ep[102]=et,ep[103]=en,ep[104]=eu,ep[105]=em):em=ep[105],ep[106]!==ee||ep[107]!==em?(eh=(0,t.jsxs)("div",{className:"hidden lg:flex items-center space-x-6 header-desktop-right",children:[ee,em]}),ep[106]=ee,ep[107]=em,ep[108]=eh):eh=ep[108],ep[109]!==eT||ep[110]!==eP?(ex=eP&&(0,t.jsx)(l.default,{isOpen:eP,onClose:()=>eE(!1),isLoginMode:eT,setIsLoginMode:eA}),ep[109]=eT,ep[110]=eP,ep[111]=ex):ex=ep[111],ep[112]!==P||ep[113]!==K||ep[114]!==eh||ep[115]!==ex?(ef=(0,t.jsxs)(t.Fragment,{children:[P,K,eh,ex]}),ep[112]=P,ep[113]=K,ep[114]=eh,ep[115]=ex,ep[116]=ef):ef=ep[116],ef}function w(e,t){return e+t.quantity}function j(e){return e.items}function k(e){let a,s,o,l,d,u=(0,r.c)(18),{isRTL:m,isClient:h}=e,{t:x,locale:p}=(0,i.useTranslation)(),{user:b}=(0,f.useAuth)(),v=(0,n.usePathname)();if(u[0]!==h||u[1]!==m||u[2]!==p||u[3]!==v||u[4]!==x||u[5]!==b){let e,r=[{href:"/",label:x("navigation.home")},{href:"/about",label:x("navigation.about")},{href:"/brand",label:x("navigation.brand")},{href:"/products",label:x("navigation.products")},{href:"/blog",label:x("navigation.blog")},...h&&b?[{href:"/training",label:x("navigation.training")}]:[],{href:"/contact",label:x("navigation.contact")},{href:"/delivery",label:x("navigation.delivery")}],i=m?[...r].reverse():r;a=`hidden md:flex ${m?"space-x-reverse space-x-8":"space-x-8"}`,s="navigation",o="Main navigation",u[10]!==p||u[11]!==v?(e=e=>{let r=(0,g.getLocalizedPath)(e.href,p),a=v===r;return(0,t.jsx)(c.default,{href:r,className:"text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/50 rounded","aria-current":a?"page":void 0,children:e.label},e.href)},u[10]=p,u[11]=v,u[12]=e):e=u[12],l=i.map(e),u[0]=h,u[1]=m,u[2]=p,u[3]=v,u[4]=x,u[5]=b,u[6]=a,u[7]=s,u[8]=o,u[9]=l}else a=u[6],s=u[7],o=u[8],l=u[9];return u[13]!==a||u[14]!==s||u[15]!==o||u[16]!==l?(d=(0,t.jsx)("nav",{className:a,role:s,"aria-label":o,children:l}),u[13]=a,u[14]=s,u[15]=o,u[16]=l,u[17]=d):d=u[17],d}function N(e){let a,s,n,o,l,b,y,w,j,k,N,L,C,P,E,T,A=(0,r.c)(60),{isRTL:z,isClient:M,handleLoginClick:$}=e,F=(0,x.useCartStore)(_).reduce(S,0),{user:B,logout:R}=(0,f.useAuth)(),{favorites:W}=(0,p.useFavorites)(),{t:D,locale:I}=(0,i.useTranslation)(),O=z?"-top-1 -left-1":"-top-1 -right-1",H=`flex flex-col ${z?"items-start text-left":"items-end text-right"} header-contact`;A[0]!==D?(a=D("footer.officialDistributor"),A[0]=D,A[1]=a):a=A[1],A[2]!==a?(s=(0,t.jsx)("div",{className:"text-sm text-[var(--cera-muted)]",children:a}),A[2]=a,A[3]=s):s=A[3],A[4]!==z?(n=(0,t.jsx)("a",{href:"https://wa.me/971585487665",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-[var(--cera-muted)] hover:text-[var(--cera-ok)] transition-colors flex items-center gap-1 header-contact-link",children:z?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",children:"📱"})," +971 58 548 76 65"]}):(0,t.jsxs)(t.Fragment,{children:["+971 58 548 76 65 ",(0,t.jsx)("span",{"aria-hidden":"true",children:"📱"})]})}),A[4]=z,A[5]=n):n=A[5],A[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("a",{href:"mailto:[email protected]",className:"text-sm text-[var(--cera-muted)] hover:text-[var(--cera-rose-ink)] transition-colors",children:"[email protected]"}),A[6]=o):o=A[6],A[7]!==H||A[8]!==s||A[9]!==n?(l=(0,t.jsxs)("div",{className:H,children:[s,n,o]}),A[7]=H,A[8]=s,A[9]=n,A[10]=l):l=A[10];let q=l,G=`flex items-center ${z?"space-x-reverse space-x-4":"space-x-4"} header-icons`;A[11]!==O||A[12]!==F||A[13]!==M||A[14]!==z||A[15]!==I||A[16]!==D?(b=z&&(0,t.jsxs)(c.default,{href:(0,g.getLocalizedPath)("/cart",I),className:"relative inline-flex h-10 w-10 items-center justify-center rounded-full text-[var(--cera-body)] transition-colors hover:bg-[var(--cera-cream-deep)] hover:text-[var(--cera-rose-ink)] focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 focu
2s-visible:ring-offset-2 focus-visible:ring-offset-[var(--cera-cream)] touch-manipulation min-h-[44px] min-w-[44px]","aria-label":`${D("common.cart")} with ${M?F:0} items`,children:[(0,t.jsx)(d.ShoppingCart,{className:`h-6 w-6 transition-colors ${M&&F>0?"text-[var(--cera-ok)]":""}`,"aria-hidden":"true"}),M&&F>0&&(0,t.jsx)("span",{className:`absolute ${O} bg-primary-600 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center header-badge`,"aria-hidden":"true",children:F})]}),A[11]=O,A[12]=F,A[13]=M,A[14]=z,A[15]=I,A[16]=D,A[17]=b):b=A[17],A[18]!==I?(y=(0,g.getLocalizedPath)("/favorites",I),A[18]=I,A[19]=y):y=A[19],A[20]!==D?(w=D("common.favorites"),A[20]=D,A[21]=w):w=A[21];let U=`${w} with ${M?W.length:0} items`,Y=`h-6 w-6 transition-colors ${M&&W.length>0?"text-red-500":""}`;A[22]!==Y?(j=(0,t.jsx)(u.Heart,{className:Y,"aria-hidden":"true"}),A[22]=Y,A[23]=j):j=A[23],A[24]!==O||A[25]!==W||A[26]!==M?(k=M&&W.length>0&&(0,t.jsx)("span",{className:`absolute ${O} bg-primary-600 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center header-badge`,"aria-hidden":"true",children:W.length}),A[24]=O,A[25]=W,A[26]=M,A[27]=k):k=A[27],A[28]!==U||A[29]!==j||A[30]!==k||A[31]!==y?(N=(0,t.jsxs)(c.default,{href:y,className:"relative inline-flex h-10 w-10 items-center justify-center rounded-full text-[var(--cera-body)] transition-colors hover:bg-[var(--cera-cream-deep)] hover:text-[var(--cera-rose-ink)] focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--cera-cream)] touch-manipulation min-h-[44px] min-w-[44px]","aria-label":U,children:[j,k]}),A[28]=U,A[29]=j,A[30]=k,A[31]=y,A[32]=N):N=A[32],A[33]!==$||A[34]!==M||A[35]!==I||A[36]!==R||A[37]!==D||A[38]!==B?(L=M&&B?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v,{}),(0,t.jsx)(c.default,{href:(0,g.getLocalizedPath)("/profile",I),className:"relative inline-flex h-10 w-10 items-center justify-center rounded-full text-[var(--cera-body)] transition-colors hover:bg-[var(--cera-cream-deep)] hover:text-[var(--cera-rose-ink)] focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--cera-cream)] touch-manipulation min-h-[44px] min-w-[44px]","aria-label":D("common.profile"),children:(0,t.jsx)(m.User,{className:"h-6 w-6 text-[var(--cera-ok)]","aria-hidden":"true"})}),(0,t.jsx)("button",{type:"button",onClick:()=>R(),className:"relative inline-flex h-10 w-10 items-center justify-center rounded-full text-[var(--cera-body)] transition-colors hover:bg-[var(--cera-cream-deep)] hover:text-[var(--cera-rose-ink)] focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--cera-cream)] touch-manipulation min-h-[44px] min-w-[44px]","aria-label":D("common.logout"),children:(0,t.jsx)(h.LogOut,{className:"h-6 w-6","aria-hidden":"true"})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v,{}),(0,t.jsx)("button",{type:"button",onClick:$,className:"relative inline-flex h-10 w-10 items-center justify-center rounded-full text-[var(--cera-body)] transition-colors hover:bg-[var(--cera-cream-deep)] hover:text-[var(--cera-rose-ink)] focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--cera-cream)] touch-manipulation min-h-[44px] min-w-[44px]","aria-label":D("common.login"),children:(0,t.jsx)(m.User,{className:"h-5 w-5","aria-hidden":"true"})})]}),A[33]=$,A[34]=M,A[35]=I,A[36]=R,A[37]=D,A[38]=B,A[39]=L):L=A[39],A[40]!==O||A[41]!==F||A[42]!==M||A[43]!==z||A[44]!==I||A[45]!==D?(C=!z&&(0,t.jsxs)(c.default,{href:(0,g.getLocalizedPath)("/cart",I),className:"relative inline-flex h-10 w-10 items-center justify-center rounded-full text-[var(--cera-body)] transition-colors hover:bg-[var(--cera-cream-deep)] hover:text-[var(--cera-rose-ink)] focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--cera-cream)] touch-manipulation min-h-[44px] min-w-[44px]","aria-label":`${D("c
2ommon.cart")} with ${M?F:0} items`,children:[(0,t.jsx)(d.ShoppingCart,{className:`h-6 w-6 transition-colors ${M&&F>0?"text-[var(--cera-ok)]":""}`,"aria-hidden":"true"}),M&&F>0&&(0,t.jsx)("span",{className:`absolute ${O} bg-primary-600 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center header-badge`,"aria-hidden":"true",children:F})]}),A[40]=O,A[41]=F,A[42]=M,A[43]=z,A[44]=I,A[45]=D,A[46]=C):C=A[46],A[47]!==N||A[48]!==L||A[49]!==C||A[50]!==G||A[51]!==b?(P=(0,t.jsxs)("div",{className:G,children:[b,N,L,C]}),A[47]=N,A[48]=L,A[49]=C,A[50]=G,A[51]=b,A[52]=P):P=A[52];let V=P,K=`hidden lg:flex items-center ${z?"space-x-reverse space-x-6":"space-x-6"} header-desktop-right`;return A[53]!==q||A[54]!==V||A[55]!==z?(E=z?(0,t.jsxs)(t.Fragment,{children:[V,q]}):(0,t.jsxs)(t.Fragment,{children:[q,V]}),A[53]=q,A[54]=V,A[55]=z,A[56]=E):E=A[56],A[57]!==K||A[58]!==E?(T=(0,t.jsx)("div",{className:K,children:E}),A[57]=K,A[58]=E,A[59]=T):T=A[59],T}function S(e,t){return e+t.quantity}function _(e){return e.items}function L(e){let a,s,n,o,l=(0,r.c)(10),{isRTL:c,isHeartBeating:d}=e,{t:m}=(0,i.useTranslation)(),h=`h-3 w-3 text-[var(--brand-wordmark)] fill-current transition-transform duration-300 ${d?"animate-pulse":""}`;l[0]!==d?(a=d?{animation:"heartbeat 0.6s ease-in-out"}:{},l[0]=d,l[1]=a):a=l[1],l[2]!==h||l[3]!==a?(s=(0,t.jsx)(u.Heart,{className:h,style:a}),l[2]=h,l[3]=a,l[4]=s):s=l[4];let x=s;return l[5]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("span",{className:"text-lg md:text-2xl font-bold text-[var(--brand-wordmark)] tracking-tight whitespace-nowrap",children:"GENOSYS MIDDLE EAST"}),l[5]=n):n=l[5],l[6]!==x||l[7]!==c||l[8]!==m?(o=(0,t.jsxs)("div",{className:"hidden md:flex flex-col items-center",children:[n,(0,t.jsx)("div",{className:"flex w-full justify-center items-center gap-1 text-sm text-[var(--cera-muted)] header-margin",children:c?(0,t.jsxs)(t.Fragment,{children:[x,m("common.uae")]}):(0,t.jsxs)(t.Fragment,{children:[m("common.uae"),x]})})]}),l[6]=x,l[7]=c,l[8]=m,l[9]=o):o=l[9],o}let C=(0,a.memo)(function(){let e,c,d,u,m,h,x,f,p,g,b=(0,r.c)(26),{locale:v}=(0,i.useTranslation)(),{isPWA:w,isClient:j}=(0,s.usePWAMode)(),S=(0,n.usePathname)(),_=(0,n.useRouter)(),[C,P]=(0,a.useState)(!1),[E,T]=(0,a.useState)(!0),[A,z]=(0,a.useState)(!1),[M,$]=(0,a.useState)(!1),F=(0,a.useRef)(null),B="ar"===v,R="ru"===v;b[0]!==w||b[1]!==v||b[2]!==_?(e=()=>{if(w){let e="en"===v?"/pwa-login":`/${v}/pwa-login`;_.push(e)}else P(!0)},b[0]=w,b[1]=v,b[2]=_,b[3]=e):e=b[3];let W=e,D=(0,o.isSimpleHeaderPage)(S),I=j&&w&&D;return(b[4]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{z(!0)},d=[],b[4]=c,b[5]=d):(c=b[4],d=b[5]),(0,a.useEffect)(c,d),b[6]!==A?(u=()=>{if(!A)return;let e=()=>{$(!0),F.current=setTimeout(()=>$(!1),600)};e();let t=setInterval(e,16e3);return()=>{clearInterval(t),F.current&&clearTimeout(F.current)}},m=[A],b[6]=A,b[7]=u,b[8]=m):(u=b[7],m=b[8]),(0,a.useEffect)(u,m),I)?null:(b[9]!==R?(h=R&&(0,t.jsx)(y,{}),b[9]=R,b[10]=h):h=b[10],b[11]!==W||b[12]!==A||b[13]!==M||b[14]!==B||b[15]!==R?(x=!R&&(0,t.jsxs)(t.Fragment,{children:[!B&&(0,t.jsx)(L,{isRTL:B,isHeartBeating:M}),B&&(0,t.jsx)(N,{isRTL:B,isClient:A,handleLoginClick:W}),(0,t.jsx)(k,{isRTL:B,isClient:A}),!B&&(0,t.jsx)(N,{isRTL:B,isClient:A,handleLoginClick:W}),B&&(0,t.jsx)(L,{isRTL:B,isHeartBeating:M})]}),b[11]=W,b[12]=A,b[13]=M,b[14]=B,b[15]=R,b[16]=x):x=b[16],b[17]!==h||b[18]!==x?(f=(0,t.jsx)("div",{className:"container mx-auto px-4",children:(0,t.jsxs)("div",{className:"flex items-center justify-between py-2 md:py-4 header-main-flex",children:[h,x]})}),b[17]=h,b[18]=x,b[19]=f):f=b[19],b[20]!==E||b[21]!==C?(p=C&&(0,t.jsx)(l.default,{isOpen:C,onClose:()=>P(!1),isLoginMode:E,setIsLoginMode:T}),b[20]=E,b[21]=C,b[22]=p):p=b[22],b[23]!==f||b[24]!==p?(g=(0,t.jsxs)("header",{className:"main-header sticky top-0 z-50 bg-[var(--cera-cream)] border-b border-[var(--cera-line)] hidden md:block",suppressHydrationWarning:!0,children:[f,p]}),b[23]=f,b[24]=p,b[25]=g):g=b[25],g)});e.s(["default",0,C],717792)},405307,e=>{"use strict";var t=e.i(500932),r=e.i(271645),a=e.i(45356);e.s(["default",0,function(){return!function(){let e,i,s=(0,t.c)(4),{user:n,refreshUser:o}=(0,a.useAuth)();s[0]!==o||s[1]!==n?(e=()=>{if(!n)return;let e=setInterval(()=>{o()},3e5);return()=>{clearInterval(e)}},i=[n,o],s[0]=o,s[1]=n,s[2]=e,s[3]=i):(e=s[2],i=s[3]),(0,r.useEffect)(e,i)}(),null}],405307)},448680,e=>{"use strict";var t=e.i(394580),r=e.i(271645);e.s(["default",0,function(){return(0,r.useEffect)(()=>{let r=e=>{(0,t.debugLog)("Web Vital:",e),window.gtag&&window.gtag("event",e.name,{event_category:"Web Vitals",event_label:e.id,value:Math.round("CLS"===e.name?1e3*e.value:e.value),non_interaction:!0})};if(e.A(199040).then(({onCLS:e,onINP:t,onFCP:a,onLCP:i,onTTFB:s})=>{e(r),t(r),a(r),i(r),s(r)}).catch(e=>{(0,t.warnLog)("Failed to load web-vitals:",e)}),"PerformanceObserver"in window&&new PerformanceObserver(e=>{for(let r of e.getEntries())"navigation"===r.entryType&&(0,t.debugLog)("Navigation timing:",{domContentLoaded:r.domContentLoadedEventEnd-r.domContentLoadedEventStart,loadComplete:r.loadEventEnd-r.loadEventStart,totalTime:r.loadEventEnd-r.fetchStart})}).observe({entryTypes:["navigation"]}),"memory"in performance){let e=performance.memory;e&&(0,t.debugLog)("Memory usage:",{used:Math.round(e.usedJSHeapSize/1048576)+" MB",total:Math.round(e.totalJSHeapSize/1048576)+" MB",limit:Math.round(e.jsHeapSizeLimit/1048576)+" MB"})}},[]),null}])},353028,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(271645);e.i(247167);var i=e.i(394580);let s=e=>{"cancelIdleCallback"in window?window.cancelIdleCallback(e):clearTimeout(e)};async function n(e){if(!("periodicSync"in e))return void(0,i.debugLog)("Periodic Backgroun
2d Sync not supported");try{let t=await navigator.permissions.query({name:"periodic-background-sync"});if("granted"!==t.state)return;let r=e.periodicSync,a=await r.getTags();a.includes("content-sync")||(await r.register("content-sync",{minInterval:432e5}),(0,i.debugLog)("✅ Registered periodic sync: content-sync (12h interval)")),a.includes("products-update")||(await r.register("products-update",{minInterval:864e5}),(0,i.debugLog)("✅ Registered periodic sync: products-update (24h interval)"))}catch(e){(0,i.debugLog)("Periodic Background Sync registration failed (this is normal for new installs):",e)}}let o=(0,a.createContext)(null);function l(){let e=(0,a.useContext)(o);if(!e)throw Error("useServiceWorkerContext must be used within a ServiceWorkerProvider");return e}e.s(["ServiceWorkerProvider",0,function(e){let l,c=(0,r.c)(3),{children:d}=e,u=function(){let[e,t]=(0,a.useState)({isSupported:!1,isRegistered:!1,isOnline:"u"<typeof navigator||navigator.onLine,registration:null,error:null}),r=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(!("serviceWorker"in navigator))return void t(e=>({...e,isSupported:!1}));t(e=>({...e,isSupported:!0}));let e=async()=>{try{let e=await navigator.serviceWorker.register("/sw.js",{scope:"/"});t(t=>({...t,isRegistered:!0,registration:e,error:null})),e.addEventListener("updatefound",()=>{let t=e.installing;t&&t.addEventListener("statechange",()=>{"installed"===t.state&&navigator.serviceWorker.controller&&((0,i.debugLog)("New service worker installed, dispatching update event"),window.dispatchEvent(new CustomEvent("sw-update-available",{detail:{registration:e}})))})}),await n(e)}catch(e){(0,i.errorLog)("Service Worker registration failed:",e),t(t=>({...t,error:e instanceof Error?e.message:"Registration failed"}))}},a=()=>{var t;t=()=>{e()},r.current="requestIdleCallback"in window?window.requestIdleCallback(t,{timeout:2e3}):setTimeout(t,1e3)},o=()=>t(e=>({...e,isOnline:!0})),l=()=>t(e=>({...e,isOnline:!1}));if(window.addEventListener("online",o),window.addEventListener("offline",l),"complete"===document.readyState)a();else{let e=()=>{a()};return window.addEventListener("load",e),()=>{window.removeEventListener("online",o),window.removeEventListener("offline",l),window.removeEventListener("load",e),r.current&&s(r.current)}}return()=>{window.removeEventListener("online",o),window.removeEventListener("offline",l),r.current&&s(r.current)}},[]);let o=async()=>{if(e.registration)try{await e.registration.update()}catch(e){(0,i.errorLog)("Failed to check for updates:",e)}},l=async()=>{if(e.registration)try{await e.registration.unregister(),t(e=>({...e,isRegistered:!1,registration:null}))}catch(e){(0,i.errorLog)("Failed to unregister service worker:",e)}},c=async()=>{try{let e=await caches.keys();await Promise.all(e.map(e=>caches.delete(e))),(0,i.debugLog)("All caches cleared")}catch(e){(0,i.errorLog)("Failed to clear caches:",e)}},d=async()=>{try{let e=await caches.keys();return await Promise.all(e.map(async e=>{let t=await caches.open(e),r=await t.keys();return{name:e,size:r.length,keys:r.map(e=>e.url)}}))}catch(e){return(0,i.errorLog)("Failed to get cache status:",e),[]}};return{...e,checkForUpdates:o,unregister:l,clearCaches:c,getCacheStatus:d}}();return c[0]!==d||c[1]!==u?(l=(0,t.jsx)(o.Provider,{value:u,children:d}),c[0]=d,c[1]=u,c[2]=l):l=c[2],l},"ServiceWorkerStatus",0,function(){let e,a,i,s,n=(0,r.c)(11),{isSupported:o,isRegistered:c,isOnline:d,error:u}=l();return o?(n[0]!==d?(e=!d&&(0,t.jsx)("div",{className:"bg-yellow-100 border border-yellow-400 text-yellow-700 px-4 py-2 rounded-lg shadow-lg mb-2",children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("div",{className:"w-2 h-2 bg-yellow-500 rounded-full mr-2"}),(0,t.jsx)("span",{className:"text-sm font-medium",children:"You're offline"})]})}),n[0]=d,n[1]=e):e=n[1],n[2]!==u?(a=u&&(0,t.jsx)("div",{className:"bg-red-100 border border-red-400 text-red-700 px-4 py-2 rounded-lg shadow-lg mb-2",children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("div",{className:"w-2 h-2 bg-red-500 rounded-full mr-2"}),(0,t.jsxs)("span",{className:"text-sm font-medium",children:["SW Error: ",u]})]})}),n[2]=u,n[3]=a):a=n[3],n[4]!==d||n[5]!==c?(i=c&&d&&(0,t.jsx)("div",{className:"bg-[var(--cera-ok-bg)] border border-[var(--cera-ok-line)] text-[var(--cera-ok)] px-4 py-2 rounded-lg shadow-lg",children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("div",{className:"w-2 h-2 bg-green-500 rounded-full mr-2"}),(0,t.jsx)("span",{className:"text-sm font-medium",children:"App ready for offline use"})]})}),n[4]=d,n[5]=c,n[6]=i):i=n[6],n[7]!==e||n[8]!==a||n[9]!==i?(s=(0,t.jsxs)("div",{className:"fixed bottom-4 right-4 z-50",children:[e,a,i]}),n[7]=e,n[8]=a,n[9]=i,n[10]=s):s=n[10],s):null},"useServiceWorkerContext",0,l],353028)},476677,e=>{"use strict";let t="genosys_cookie_consent";e.s(["getConsent",0,function(){try{let e=window.localStorage.getItem(t);return"accepted"===e||"declined"===e?e:null}catch{return null}},"setConsent",0,function(e){try{window.localStorage.setItem(t,e)}catch{}let r="accepted"===e?"granted":"denied",a=window;"function"==typeof a.gtag&&a.gtag("consent","update",{ad_storage:r,analytics_storage:r,ad_user_data:r,ad_personalization:r}),window.dispatchEvent(new CustomEvent("genosys-consent-change",{detail:e}))}])},575909,e=>{"use strict";var t=e.i(500932),r=e.i(271645),a=e.i(618566),i=e.i(558249),s=e.i(476677);e.s(["default",0,function(){let e,n,o=(0,t.c)(3),l=(0,a.usePathname)();return o[0]!==l?(e=()=>{if(!l)return;let e=()=>{var e;"accepted"===(0,s.getConsent)()&&(e=l,(0,i.trackPageView)(e),fetch("/api/analytics/track",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:"pageview",page:e,userAgent:navigator.userAgent,referrer:document.referrer,screenWidth:window.screen.width,screenHeight:window.screen.height}),keepalive:!0}
2).catch(()=>{}))};return e(),window.addEventListener("genosys-consent-change",e),()=>window.removeEventListener("genosys-consent-change",e)},n=[l],o[0]=l,o[1]=e,o[2]=n):(e=o[1],n=o[2]),(0,r.useEffect)(e,n),null}])},912820,e=>{"use strict";var t=e.i(843476),r=e.i(394580),a=e.i(271645),i=e.i(853138),s=e.i(741120),n=e.i(749817),o=e.i(522016);class l extends a.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){(0,r.errorLog)("ErrorBoundary caught an error:",e,t),this.props.onError&&this.props.onError(e,t)}handleRetry=()=>{this.setState({hasError:!1})};render(){return this.state.hasError?this.props.fallback?this.props.fallback:(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-white",children:(0,t.jsxs)("div",{className:"max-w-md mx-auto text-center p-6",children:[(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)(i.AlertTriangle,{className:"h-16 w-16 text-red-500 mx-auto mb-4"}),(0,t.jsx)("h1",{className:"text-2xl font-bold text-gray-800 mb-2",children:"Something went wrong"}),(0,t.jsx)("p",{className:"text-gray-600 mb-6",children:"We're sorry, but something unexpected happened. Please try again or return to the homepage."})]}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("button",{onClick:this.handleRetry,className:"w-full bg-primary-600 text-white px-6 py-3 rounded-lg font-semibold hover:bg-primary-700 transition-colors flex items-center justify-center gap-2",children:[(0,t.jsx)(s.RefreshCw,{className:"h-4 w-4"}),"Try again"]}),(0,t.jsxs)(o.default,{href:"/",className:"w-full border border-primary-600 text-primary-600 px-6 py-3 rounded-lg font-semibold hover:bg-primary-50 transition-colors flex items-center justify-center gap-2",children:[(0,t.jsx)(n.Home,{className:"h-4 w-4"}),"Go home"]})]}),!1]})}):this.props.children}}e.s(["default",()=>l])},894991,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(618566),i=e.i(271645),s=e.i(606315);e.s(["default",0,function(e){let n,o,l,c=(0,r.c)(5),{children:d}=e,u=(0,a.usePathname)();return c[0]!==u?(n=()=>{let e=u??"/",t=(0,s.getLocaleFromPath)(e),r="ar"===t?"rtl":"ltr",a=document.documentElement;a&&((a.lang!==t||a.dir!==r)&&(a.lang=t,a.dir=r,a.setAttribute("data-locale",t),a.setAttribute("data-dir",r)),document.body&&(document.body.setAttribute("dir",r),document.body.setAttribute("data-dir",r)))},o=[u],c[0]=u,c[1]=n,c[2]=o):(n=c[1],o=c[2]),(0,i.useEffect)(n,o),c[3]!==d?(l=(0,t.jsx)(t.Fragment,{children:d}),c[3]=d,c[4]=l):l=c[4],l}])},43665,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(522016),i=e.i(657688),s=e.i(618566),n=e.i(96315),o=e.i(575387),l=e.i(420865),c=e.i(584026),d=e.i(773599),u=e.i(606315),m=e.i(448959),h=e.i(239134),x=e.i(999452);let f={en:{headings:{shop:"Shop",help:"Customer care",company:"Company",legal:"Legal"},trust:{authenticTitle:"Authentic",authenticBody:"Official GENOSYS distributor",shippingTitle:"Free shipping",shippingBody:"On orders over 1000 AED",checkoutTitle:"Secure checkout",checkoutBody:"Stripe · all major cards",certifiedTitle:"Dubai Municipality Certified",certifiedBody:"Registered with Montaji"},brandBody:"Official UAE distributor of GENOSYS professional Korean dermacosmetics, since 2019.",address:"Cordoba Residence, Villa E02, Dubai, United Arab Emirates",socialLabel:"Social media",instagramLabel:"Follow GENOSYS on Instagram",facebookLabel:"Follow GENOSYS on Facebook",links:{allProducts:"All products",serums:"Serums",creams:"Creams",microneedling:"Microneedling",skinAnalysis:"Skin analysis",guides:"Guides",contact:"Contact us",delivery:"Shipping & delivery",orders:"Track my order",about:"About GENOSYS",training:"Pro training",terms:"Terms of service",montaji:"Montaji Certificate",halal:"Halal Declaration",app:"Get the app",payment:"We accept",stripe:"Secure checkout by Stripe"}},ar:{headings:{shop:"تسوق",help:"المساعدة",company:"الشركة",legal:"الوثائق"},trust:{authenticTitle:"منتجات أصلية",authenticBody:"موزع GENOSYS الرسمي",shippingTitle:"شحن مجاني",shippingBody:"للطلبات فوق 1000 درهم",checkoutTitle:"دفع آمن",checkoutBody:"Stripe · جميع البطاقات الرئيسية",certifiedTitle:"معتمد من بلدية دبي",certifiedBody:"مسجّلة في نظام منتجي"},brandBody:"الموزع الرسمي لمستحضرات GENOSYS الكورية الاحترافية في الإمارات منذ 2019.",address:"كوردوبا ريزيدنس، فيلا E02، دبي، الإمارات العربية المتحدة",socialLabel:"وسائل التواصل الاجتماعي",instagramLabel:"تابع GENOSYS على إنستغرام",facebookLabel:"تابع GENOSYS على فيسبوك",links:{allProducts:"جميع المنتجات",serums:"السيرومات",creams:"الكريمات",microneedling:"الوخز الدقيق",skinAnalysis:"تحليل البشرة",guides:"الأدلة",contact:"تواصل معنا",delivery:"الشحن والتوصيل",orders:"طلباتي",about:"من نحن",training:"التدريب",terms:"الشروط والأحكام",montaji:"شهادة منتجي",halal:"إقرار الحلال",app:"حمّل التطبيق",payment:"طرق الدفع",stripe:"الدفع الآمن بواسطة Stripe"}},ru:{headings:{shop:"Покупки",help:"Помощь",company:"Компания",legal:"Документы"},trust:{authenticTitle:"Оригинал",authenticBody:"Официальный дистрибьютор",shippingTitle:"Бесплатная доставка",shippingBody:"При заказе от 1000 AED",checkoutTitle:"Безопасная оплата",checkoutBody:"Stripe · все основные карты",certifiedTitle:"Сертифицировано Муниципалитетом Дубая",certifiedBody:"Зарегистрировано в системе Montaji"},brandBody:"Официальный дистрибьютор профессиональной корейской дерматокосметики GENOSYS в ОАЭ с 2019 года.",address:"Cordoba Residence, Вилла E02, Дубай, ОАЭ",socialLabel:"Социальные сети",instagramLabel:"Подписаться на GENOSYS в Instagram",facebookLabel:"Подписаться на GENOSYS в Facebook",links:{allProducts:"Все продукты",serums:"Сыворотки",creams:"Кремы",microneedling:"Микронидлинг",skinAnalysis:"Анализ кожи",guides:"Руководства",contact:"Контакты",delivery:"Доставка",orders:"Мои заказы",about:"О нас",training:"Обучение",terms:"Условия",montaji:"Сертификат Montaji",halal:"Декларация Халяль",app:"Приложение",payment:"Оплата",stripe:"Безопасная оплата через Stripe"}}};e.s(["default",0,function(){let e,p,g,b,v,y,w,j,k,N,S,_,L,C,P,E,T,A,z,M,$,F,B,R,W,D,I,O,H,q,G,U,Y,V,K,X,J,Z,Q,ee,et,er,ea,ei,es,en,eo,el,ec,ed,eu,em,eh,ex,ef,ep,eg,eb,ev,ey,ew,ej,ek,eN,eS,e_,eL,eC,eP,eE,eT,eA,ez,eM,e$,eF,eB,eR,eW,eD,eI,eO,eH,eq,eG,eU,eY,eV,eK,eX,eJ,eZ,eQ,e0,e1,e2,e5,e4,e3,e6,e9,e7,e8,te,tt,tr,ta,ti=(0,r.c)(308),{isPWA:ts,isClient:tn}=(0,m.usePWAMode)(),{isMobile:to,isClient:tl}=(0,h.useIsMobile)(),tc=(0,s.usePathname)(),{t:td,locale:tu}=(0,x.useTranslation)(),tm=f[tu];if(tn&&tl&&(ts||to))return null;if(tc?.includes("/cart")||tc?.includes("/checkout")||tc?.includes("/partner-portal")||tc?.includes("/profile")||tc?.includes("/skin-rec
2ommendation")||tc?.includes("/training")||tc?.includes("/admin")||tc?.includes("/blog")){let e,r,i,s,n,o,l,m,h,x,f,p,g,b,v,y,w,j,k,N,S,_,L,C;ti[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(d.IconAuthentic,{className:"h-4 w-4 text-[var(--cera-rose-ink)]","aria-hidden":"true"}),ti[0]=e):e=ti[0],ti[1]!==tm.trust.authenticTitle?(r=(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 text-xs text-[var(--cera-body)]",children:[e,tm.trust.authenticTitle]}),ti[1]=tm.trust.authenticTitle,ti[2]=r):r=ti[2],ti[3]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(d.IconShipping,{className:"h-4 w-4 text-[var(--cera-rose-ink)]","aria-hidden":"true"}),ti[3]=i):i=ti[3],ti[4]!==tm.trust.shippingTitle?(s=(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 text-xs text-[var(--cera-body)]",children:[i,tm.trust.shippingTitle]}),ti[4]=tm.trust.shippingTitle,ti[5]=s):s=ti[5],ti[6]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(d.IconSecureCheckout,{className:"h-4 w-4 text-[var(--cera-rose-ink)]","aria-hidden":"true"}),ti[6]=n):n=ti[6],ti[7]!==tm.trust.checkoutTitle?(o=(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 text-xs text-[var(--cera-body)]",children:[n,tm.trust.checkoutTitle]}),ti[7]=tm.trust.checkoutTitle,ti[8]=o):o=ti[8],ti[9]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(d.IconCertified,{className:"h-4 w-4 text-[var(--cera-rose-ink)]","aria-hidden":"true"}),ti[9]=l):l=ti[9],ti[10]!==tm.trust.certifiedTitle?(m=(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 text-xs text-[var(--cera-body)]",children:[l,tm.trust.certifiedTitle]}),ti[10]=tm.trust.certifiedTitle,ti[11]=m):m=ti[11],ti[12]!==r||ti[13]!==s||ti[14]!==o||ti[15]!==m?(h=(0,t.jsxs)("div",{className:"hidden md:flex flex-wrap items-center justify-center gap-x-8 gap-y-2 pb-4 border-b border-[var(--cera-line)]",children:[r,s,o,m]}),ti[12]=r,ti[13]=s,ti[14]=o,ti[15]=m,ti[16]=h):h=ti[16],ti[17]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsx)("span",{className:"inline-flex items-center justify-center h-6 w-10 rounded border border-[var(--cera-line)] bg-white px-1","aria-label":"Visa",title:"Visa",children:(0,t.jsx)("svg",{viewBox:"0 0 48 16",className:"h-3 w-auto","aria-hidden":"true",children:(0,t.jsx)("text",{x:"0",y:"12",fontFamily:"'Helvetica Neue', Arial, sans-serif",fontWeight:"900",fontSize:"13",fontStyle:"italic",fill:"#1A1F71",letterSpacing:"0.5",children:"VISA"})})}),ti[17]=x):x=ti[17],ti[18]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("span",{className:"inline-flex items-center justify-center h-6 w-10 rounded border border-[var(--cera-line)] bg-white px-1","aria-label":"Mastercard",title:"Mastercard",children:(0,t.jsxs)("svg",{viewBox:"0 0 32 20",className:"h-4 w-auto","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"10",r:"7",fill:"#EB001B"}),(0,t.jsx)("circle",{cx:"20",cy:"10",r:"7",fill:"#F79E1B"}),(0,t.jsx)("path",{d:"M16 4.4A7 7 0 0 0 13 10a7 7 0 0 0 3 5.6A7 7 0 0 0 19 10a7 7 0 0 0-3-5.6z",fill:"#FF5F00"})]})}),ti[18]=f):f=ti[18],ti[19]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)("span",{className:"inline-flex items-center justify-center h-6 w-10 rounded border border-[var(--cera-line)] bg-white px-1","aria-label":"Apple Pay",title:"Apple Pay",children:(0,t.jsxs)("svg",{viewBox:"0 0 40 16",className:"h-3.5 w-auto","aria-hidden":"true",fill:"#000",children:[(0,t.jsx)("path",{d:"M6.7 3.2c-.4.5-1.1.9-1.7.8-.1-.7.2-1.4.6-1.8.4-.5 1.2-.8 1.8-.9.1.7-.2 1.4-.7 1.9zm.7.9c-1 0-1.8.6-2.3.6s-1.2-.5-2-.5c-1 0-2 .6-2.5 1.6-1.1 1.9-.3 4.6.8 6.1.5.7 1.2 1.5 2 1.5s1.1-.5 2-.5 1.2.5 2 .5 1.4-.7 1.9-1.5c.6-.8.8-1.6.8-1.7 0 0-1.6-.6-1.6-2.5 0-1.6 1.3-2.3 1.3-2.3-.7-1.1-1.9-1.2-2.4-1.3z"}),(0,t.jsx)("text",{x:"14",y:"12",fontFamily:"'Helvetica Neue', Arial, sans-serif",fontWeight:"600",fontSize:"10",children:"Pay"})]})}),ti[19]=p):p=ti[19];let P=`inline-flex items-center gap-1.5 text-[11px] text-[var(--cera-muted)] ${"ar"===tu?"border-r pr-3 mr-1":"border-l pl-3 ml-1"} border-[var(--cera-line)]`;return ti[20]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)(c.ShieldCheck,{className:"h-3.5 w-3.5 text-[var(--cera-rose-ink)]","aria-hidden":"true"}),ti[20]=g):g=ti[20],ti[21]!==tm.links.stripe||ti[22]!==P?(b=(0,t.jsxs)("div",{className:"flex items-center gap-2","aria-label":"Accepted payment methods",children:[x,f,p,(0,t.jsxs)("span",{className:P,children:[g,tm.links.stripe]})]}),ti[21]=tm.links.stripe,ti[22]=P,ti[23]=b):b=ti[23],ti[24]!==tu?(v=(0,u.getLocalizedPath)("/privacy-policy",tu),ti[24]=tu,ti[25]=v):v=ti[25],ti[26]!==td?(y=td("navigation.privacyPolicy"),ti[26]=td,ti[27]=y):y=ti[27],ti[28]!==v||ti[29]!==y?(w=(0,t.jsx)(a.default,{href:v,className:"hover:text-[var(--cera-body)] transition-colors",children:y}),ti[28]=v,ti[29]=y,ti[30]=w):w=ti[30],ti[31]!==tu?(j=(0,u.getLocalizedPath)("/terms",tu),ti[31]=tu,ti[32]=j):j=ti[32],ti[33]!==tm.links.terms||ti[34]!==j?(k=(0,t.jsx)(a.default,{href:j,className:"hover:text-[var(--cera-body)] transition-colors",children:tm.links.terms}),ti[33]=tm.links.terms,ti[34]=j,ti[35]=k):k=ti[35],ti[36]!==td?(N=td("footer.copyright"),ti[36]=td,ti[37]=N):N=ti[37],ti[38]!==N?(S=(0,t.jsx)("span",{suppressHydrationWarning:!0,children:N}),ti[38]=N,ti[39]=S):S=ti[39],ti[40]!==w||ti[41]!==k||ti[42]!==S?(_=(0,t.jsxs)("div",{className:"flex items-center gap-4 text-[11px] text-[var(--cera-muted)]",children:[w,
2k,S]}),ti[40]=w,ti[41]=k,ti[42]=S,ti[43]=_):_=ti[43],ti[44]!==b||ti[45]!==_?(L=(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center md:justify-between gap-x-6 gap-y-3 pt-4",children:[b,_]}),ti[44]=b,ti[45]=_,ti[46]=L):L=ti[46],ti[47]!==L||ti[48]!==h?(C=(0,t.jsx)("footer",{role:"contentinfo",className:"cera-page genosys-page border-t border-[var(--cera-line)] mt-6",suppressHydrationWarning:!0,children:(0,t.jsxs)("div",{className:"container mx-auto px-4 py-5",children:[h,L]})}),ti[47]=L,ti[48]=h,ti[49]=C):C=ti[49],C}ti[50]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{className:"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-xl bg-[var(--cera-blush)]",children:(0,t.jsx)(d.IconAuthentic,{className:"h-5 w-5 text-[var(--cera-rose-ink)]"})}),ti[50]=e):e=ti[50],ti[51]!==tm.trust.authenticTitle?(p=(0,t.jsx)("p",{className:"text-sm font-semibold text-[var(--cera-ink)] leading-tight",children:tm.trust.authenticTitle}),ti[51]=tm.trust.authenticTitle,ti[52]=p):p=ti[52],ti[53]!==tm.trust.authenticBody?(g=(0,t.jsx)("p",{className:"text-xs text-[var(--cera-muted)] leading-snug mt-1",children:tm.trust.authenticBody}),ti[53]=tm.trust.authenticBody,ti[54]=g):g=ti[54],ti[55]!==p||ti[56]!==g?(b=(0,t.jsxs)("div",{className:"flex items-start gap-3 min-w-0",children:[e,(0,t.jsxs)("div",{className:"min-w-0",children:[p,g]})]}),ti[55]=p,ti[56]=g,ti[57]=b):b=ti[57],ti[58]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsx)("span",{className:"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-xl bg-[var(--cera-blush)]",children:(0,t.jsx)(d.IconShipping,{className:"h-5 w-5 text-[var(--cera-rose-ink)]"})}),ti[58]=v):v=ti[58],ti[59]!==tm.trust.shippingTitle?(y=(0,t.jsx)("p",{className:"text-sm font-semibold text-[var(--cera-ink)] leading-tight",children:tm.trust.shippingTitle}),ti[59]=tm.trust.shippingTitle,ti[60]=y):y=ti[60],ti[61]!==tm.trust.shippingBody?(w=(0,t.jsx)("p",{className:"text-xs text-[var(--cera-muted)] leading-snug mt-1",children:tm.trust.shippingBody}),ti[61]=tm.trust.shippingBody,ti[62]=w):w=ti[62],ti[63]!==y||ti[64]!==w?(j=(0,t.jsxs)("div",{className:"flex items-start gap-3 min-w-0",children:[v,(0,t.jsxs)("div",{className:"min-w-0",children:[y,w]})]}),ti[63]=y,ti[64]=w,ti[65]=j):j=ti[65],ti[66]===Symbol.for("react.memo_cache_sentinel")?(k=(0,t.jsx)("span",{className:"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-xl bg-[var(--cera-blush)]",children:(0,t.jsx)(d.IconSecureCheckout,{className:"h-5 w-5 text-[var(--cera-rose-ink)]"})}),ti[66]=k):k=ti[66],ti[67]!==tm.trust.checkoutTitle?(N=(0,t.jsx)("p",{className:"text-sm font-semibold text-[var(--cera-ink)] leading-tight",children:tm.trust.checkoutTitle}),ti[67]=tm.trust.checkoutTitle,ti[68]=N):N=ti[68],ti[69]!==tm.trust.checkoutBody?(S=(0,t.jsx)("p",{className:"text-xs text-[var(--cera-muted)] leading-snug mt-1",children:tm.trust.checkoutBody}),ti[69]=tm.trust.checkoutBody,ti[70]=S):S=ti[70],ti[71]!==S||ti[72]!==N?(_=(0,t.jsxs)("div",{className:"flex items-start gap-3 min-w-0",children:[k,(0,t.jsxs)("div",{className:"min-w-0",children:[N,S]})]}),ti[71]=S,ti[72]=N,ti[73]=_):_=ti[73],ti[74]===Symbol.for("react.memo_cache_sentinel")?(L=(0,t.jsx)("span",{className:"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-xl bg-[var(--cera-blush)]",children:(0,t.jsx)(d.IconCertified,{className:"h-5 w-5 text-[var(--cera-rose-ink)]"})}),ti[74]=L):L=ti[74],ti[75]!==tm.trust.certifiedTitle?(C=(0,t.jsx)("p",{className:"text-sm font-semibold text-[var(--cera-ink)] leading-tight",children:tm.trust.certifiedTitle}),ti[75]=tm.trust.certifiedTitle,ti[76]=C):C=ti[76],ti[77]!==tm.trust.certifiedBody?(P=(0,t.jsx)("p",{className:"text-xs text-[var(--cera-muted)] leading-snug mt-1",children:tm.trust.certifiedBody}),ti[77]=tm.trust.certifiedBody,ti[78]=P):P=ti[78],ti[79]!==C||ti[80]!==P?(E=(0,t.jsxs)("div",{className:"flex items-start gap-3 min-w-0",children:[L,(0,t.jsxs)("div",{className:"min-w-0",children:[C,P]})]}),ti[79]=C,ti[80]=P,ti[81]=E):E=ti[81],ti[82]!==_||ti[83]!==E||ti[84]!==b||ti[85]!==j?(T=(0,t.jsx)("div",{className:"hidden md:block border-b border-[var(--cera-line)] pb-8 mb-10",children:(0,t.jsxs)("div",{className:"grid grid-cols-4 gap-x-8 lg:gap-x-12 gap-y-6 max-w-6xl mx-auto",children:[b,j,_,E]})}),ti[82]=_,ti[83]=E,ti[84]=b,ti[85]=j,ti[86]=T):T=ti[86],ti[87]!==tu?(A=(0,u.getLocalizedPath)("/products",tu),ti[87]=tu,ti[88]=A):A=ti[88],ti[89]!==td?(z=td("navigation.goToProducts"),ti[89]=td,ti[90]=z):z=ti[90],ti[91]===Symbol.for("react.memo_cache_sentinel")?(M=(0,t.jsx)(i.default,{src:"/Logo/upLOGO-transparent.png",alt:"GENOSYS",
2width:1009,height:203,className:"w-[150px] h-auto",loading:"lazy",quality:75}),ti[91]=M):M=ti[91],ti[92]!==A||ti[93]!==z?($=(0,t.jsx)(a.default,{href:A,className:"inline-block mb-4 hover:opacity-80 transition-opacity","aria-label":z,children:M}),ti[92]=A,ti[93]=z,ti[94]=$):$=ti[94],ti[95]!==tm.brandBody?(F=(0,t.jsx)("p",{className:"text-sm text-[var(--cera-body)] leading-relaxed mb-5 max-w-xs",children:tm.brandBody}),ti[95]=tm.brandBody,ti[96]=F):F=ti[96],ti[97]===Symbol.for("react.memo_cache_sentinel")?(B=(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-[var(--cera-body)]",children:[(0,t.jsx)(o.Phone,{className:"h-4 w-4 text-[var(--cera-muted)] flex-shrink-0","aria-hidden":"true"}),(0,t.jsx)("a",{href:"tel:+971585487665",className:"hover:text-[var(--cera-rose-ink)] transition-colors",children:"+971 58 548 76 65"})]}),ti[97]=B):B=ti[97],ti[98]===Symbol.for("react.memo_cache_sentinel")?(R=(0,t.jsxs)("li",{className:"flex items-center gap-2 text-sm text-[var(--cera-body)]",children:[(0,t.jsx)(n.Mail,{className:"h-4 w-4 text-[var(--cera-muted)] flex-shrink-0","aria-hidden":"true"}),(0,t.jsx)("a",{href:"mailto:[email protected]",className:"hover:text-[var(--cera-rose-ink)] transition-colors",children:"[email protected]"})]}),ti[98]=R):R=ti[98],ti[99]===Symbol.for("react.memo_cache_sentinel")?(W=(0,t.jsx)(l.MapPin,{className:"h-4 w-4 text-[var(--cera-muted)] flex-shrink-0 mt-0.5","aria-hidden":"true"}),ti[99]=W):W=ti[99],ti[100]!==tm.address?(D=(0,t.jsxs)("ul",{className:"space-y-2 mb-5",children:[B,R,(0,t.jsxs)("li",{className:"flex items-start gap-2 text-sm text-[var(--cera-body)]",children:[W,(0,t.jsx)("span",{children:tm.address})]})]}),ti[100]=tm.address,ti[101]=D):D=ti[101],ti[102]===Symbol.for("react.memo_cache_sentinel")?(I=(0,t.jsx)(d.Instagram,{className:"h-5 w-5","aria-hidden":"true"}),ti[102]=I):I=ti[102],ti[103]!==tm.instagramLabel?(O=(0,t.jsx)("a",{href:"https://www.instagram.com/genosys.uae/",target:"_blank",rel:"noopener noreferrer",className:"h-10 w-10 rounded-full border border-[var(--cera-line)] flex items-center justify-center text-[var(--cera-body)] hover:text-pink-600 hover:border-pink-300 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 focus-visible:ring-offset-2","aria-label":tm.instagramLabel,children:I}),ti[103]=tm.instagramLabel,ti[104]=O):O=ti[104],ti[105]===Symbol.for("react.memo_cache_sentinel")?(H=(0,t.jsx)(d.Facebook,{className:"h-5 w-5","aria-hidden":"true"}),ti[105]=H):H=ti[105],ti[106]!==tm.facebookLabel?(q=(0,t.jsx)("a",{href:"https://www.facebook.com/genosys.ae",target:"_blank",rel:"noopener noreferrer",className:"h-10 w-10 rounded-full border border-[var(--cera-line)] flex items-center justify-center text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] hover:border-blue-300 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 focus-visible:ring-offset-2","aria-label":tm.facebookLabel,children:H}),ti[106]=tm.facebookLabel,ti[107]=q):q=ti[107],ti[108]!==tm.socialLabel||ti[109]!==O||ti[110]!==q?(G=(0,t.jsxs)("div",{className:"flex items-center gap-2","aria-label":tm.socialLabel,children:[O,q]}),ti[108]=tm.socialLabel,ti[109]=O,ti[110]=q,ti[111]=G):G=ti[111],ti[112]!==$||ti[113]!==F||ti[114]!==D||ti[115]!==G?(U=(0,t.jsxs)("div",{className:"md:col-span-4",children:[$,F,D,G]}),ti[112]=$,ti[113]=F,ti[114]=D,ti[115]=G,ti[116]=U):U=ti[116],ti[117]!==tm.headings.shop?(Y=(0,t.jsx)("h3",{className:"cera-eyebrow mb-4",children:tm.headings.shop}),ti[117]=tm.headings.shop,ti[118]=Y):Y=ti[118],ti[119]!==tu?(V=(0,u.getLocalizedPath)("/products",tu),ti[119]=tu,ti[120]=V):V=ti[120],ti[121]!==tm.links.allProducts||ti[122]!==V?(K=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:V,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.allProducts})}),ti[121]=tm.links.allProducts,ti[122]=V,ti[123]=K):K=ti[123],ti[124]!==tu?(X=(0,u.getLocalizedPath)("/products/category/serum",tu),ti[124]=tu,ti[125]=X):X=ti[125],ti[126]!==tm.links.serums||ti[
2127]!==X?(J=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:X,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.serums})}),ti[126]=tm.links.serums,ti[127]=X,ti[128]=J):J=ti[128],ti[129]!==tu?(Z=(0,u.getLocalizedPath)("/products/category/cream",tu),ti[129]=tu,ti[130]=Z):Z=ti[130],ti[131]!==tm.links.creams||ti[132]!==Z?(Q=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:Z,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.creams})}),ti[131]=tm.links.creams,ti[132]=Z,ti[133]=Q):Q=ti[133],ti[134]!==tu?(ee=(0,u.getLocalizedPath)("/products/category/microneedling",tu),ti[134]=tu,ti[135]=ee):ee=ti[135],ti[136]!==tm.links.microneedling||ti[137]!==ee?(et=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:ee,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.microneedling})}),ti[136]=tm.links.microneedling,ti[137]=ee,ti[138]=et):et=ti[138],ti[139]!==tu?(er=(0,u.getLocalizedPath)("/skin-recommendation",tu),ti[139]=tu,ti[140]=er):er=ti[140],ti[141]!==tm.links.skinAnalysis||ti[142]!==er?(ea=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:er,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.skinAnalysis})}),ti[141]=tm.links.skinAnalysis,ti[142]=er,ti[143]=ea):ea=ti[143],ti[144]!==tu?(ei=(0,u.getLocalizedPath)("/guides",tu),ti[144]=tu,ti[145]=ei):ei=ti[145],ti[146]!==tm.links.guides||ti[147]!==ei?(es=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:ei,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.guides})}),ti[146]=tm.links.guides,ti[147]=ei,ti[148]=es):es=ti[148],ti[149]!==K||ti[150]!==J||ti[151]!==Q||ti[152]!==et||ti[153]!==ea||ti[154]!==es?(en=(0,t.jsxs)("ul",{className:"space-y-1",children:[K,J,Q,et,ea,es]}
2),ti[149]=K,ti[150]=J,ti[151]=Q,ti[152]=et,ti[153]=ea,ti[154]=es,ti[155]=en):en=ti[155],ti[156]!==Y||ti[157]!==en?(eo=(0,t.jsxs)("div",{className:"md:col-span-2",children:[Y,en]}),ti[156]=Y,ti[157]=en,ti[158]=eo):eo=ti[158],ti[159]!==tm.headings.help?(el=(0,t.jsx)("h3",{className:"cera-eyebrow mb-4",children:tm.headings.help}),ti[159]=tm.headings.help,ti[160]=el):el=ti[160],ti[161]!==tu?(ec=(0,u.getLocalizedPath)("/faq",tu),ti[161]=tu,ti[162]=ec):ec=ti[162],ti[163]!==td?(ed=td("navigation.faq"),ti[163]=td,ti[164]=ed):ed=ti[164],ti[165]!==ec||ti[166]!==ed?(eu=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:ec,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:ed})}),ti[165]=ec,ti[166]=ed,ti[167]=eu):eu=ti[167],ti[168]!==tu?(em=(0,u.getLocalizedPath)("/contact",tu),ti[168]=tu,ti[169]=em):em=ti[169],ti[170]!==tm.links.contact||ti[171]!==em?(eh=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:em,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.contact})}),ti[170]=tm.links.contact,ti[171]=em,ti[172]=eh):eh=ti[172],ti[173]!==tu?(ex=(0,u.getLocalizedPath)("/delivery",tu),ti[173]=tu,ti[174]=ex):ex=ti[174],ti[175]!==tm.links.delivery||ti[176]!==ex?(ef=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:ex,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.delivery})}),ti[175]=tm.links.delivery,ti[176]=ex,ti[177]=ef):ef=ti[177],ti[178]!==tu?(ep=(0,u.getLocalizedPath)("/orders",tu),ti[178]=tu,ti[179]=ep):ep=ti[179],ti[180]!==tm.links.orders||ti[181]!==ep?(eg=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:ep,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.orders})}),ti[180]=tm.links.orders,ti[181]=ep,ti[182]=eg):eg=ti[182],ti[183]!==eu||ti[184]!==eh||ti[185]!==ef||ti[186]!==eg?(eb=(0,t.jsxs)("ul",{className:"space-y-1",children:[eu,eh,ef,eg]}),ti[183]=eu,ti[184]=eh,ti[185]=ef,ti[186]=eg,ti[187]=eb):eb=ti[187],ti[188]!==el||ti[189]!==eb?(ev=(0,t.jsxs)("div",{className:"md:col-span-2",children:[el,eb]}),ti[188]=el,ti[189]=eb,ti[190]=ev):ev=ti[190],ti[191]!==tm.headings.company?(ey=(0,t.jsx)("h3",{className:"cera-eyebrow mb-4",children:tm.headings.company}),ti[191]=tm.headings.company,ti[192]=ey):ey=ti[192],ti[193]!==tu?(ew=(0,u.getLocalizedPath)("/about",tu),ti[193]=tu,ti[194]=ew):ew=ti[194],ti[195]!==tm.links.about||ti[196]!==ew?(ej=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:ew,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.about})}),ti[195]=tm.links.about,ti[196]=ew,ti[197]=ej):ej=ti[197],ti[198]!==tu?(ek=(0,u.getLocalizedPath)("/training",tu),ti[198]=tu,ti[199]=ek):ek=ti[199],ti[200]!==tm.links.training||ti[201]!==ek?(eN=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:ek,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.training})}),ti[200]=tm.links.training,ti[201]=ek,ti[202]=eN):eN=ti[202],ti[203]!==tu?(eS=(0,u.getLocalizedPath)("/locations",tu),ti[203]=tu,ti[204]=eS):eS=ti[204],ti[205]!==td?(e_=td("common.locations"),ti[205]=td,ti[206]=e_):e_=ti[206],ti[207]!==eS||ti[208]!==e_?(eL=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:eS,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:e_})}),ti[207]=eS,ti[208]=e_,ti[209]=eL):eL=ti[209],ti[210]!==tu?(eC=(0,u.getLocalizedPath)("/partners",tu),ti[210]=tu,ti[211]=eC):eC=ti[211],ti[212]!==td?(eP=td("navigation.partners"),ti[212]=td,ti[213]=eP):eP=ti[213],ti[214]!==eC||ti[215]!==eP?(eE=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:eC,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:eP})}),ti[214]=eC,ti[215]=eP,ti[216]=eE):eE=ti[216],ti[217]!==tu?(eT=(0,u.getLocalizedPath)("/blog",tu),ti[217]=tu,ti[218]=eT):eT=ti[218],ti[219]!==td?(eA=td("navigation.blog"),ti[219]=td,ti[220]=eA):eA=ti[220],ti[221]!==eT||ti[222]!==eA?(ez=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:eT,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:eA})}),ti[221]=eT,ti[222]=eA,ti[223]=ez):ez=ti[223],ti[224]!==ej||ti[225]!==eN||ti[226]!==eL||ti[227]!==eE||ti[228]!==ez?(eM=(0,t.jsxs)("ul",{className:"space-y-1",children:[ej,eN,eL,eE,ez]}),ti[224]=ej,ti[225]=eN,ti[226]=eL,ti[227]=eE,ti[228]=ez,ti[229]=eM):eM=ti[229],ti[230]!==ey||ti[231]!==eM?(e$
2=(0,t.jsxs)("div",{className:"md:col-span-2",children:[ey,eM]}),ti[230]=ey,ti[231]=eM,ti[232]=e$):e$=ti[232],ti[233]!==tm.headings.legal?(eF=(0,t.jsx)("h3",{className:"cera-eyebrow mb-4",children:tm.headings.legal}),ti[233]=tm.headings.legal,ti[234]=eF):eF=ti[234],ti[235]!==tu?(eB=(0,u.getLocalizedPath)("/privacy-policy",tu),ti[235]=tu,ti[236]=eB):eB=ti[236],ti[237]!==td?(eR=td("navigation.privacyPolicy"),ti[237]=td,ti[238]=eR):eR=ti[238],ti[239]!==eB||ti[240]!==eR?(eW=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:eB,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:eR})}),ti[239]=eB,ti[240]=eR,ti[241]=eW):eW=ti[241],ti[242]!==tu?(eD=(0,u.getLocalizedPath)("/terms",tu),ti[242]=tu,ti[243]=eD):eD=ti[243],ti[244]!==tm.links.terms||ti[245]!==eD?(eI=(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:eD,className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.terms})}),ti[244]=tm.links.terms,ti[245]=eD,ti[246]=eI):eI=ti[246],ti[247]!==tm.links.montaji?(eO=(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"/documents/Genosys_Product_Registration_Montaji.pdf",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.montaji})}),ti[247]=tm.links.montaji,ti[248]=eO):eO=ti[248],ti[249]!==tm.links.halal?(eH=(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"/documents/Genosys_Halal_Declaration_EN_AR.pdf",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors py-1 inline-block focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 rounded",children:tm.links.halal})}),ti[249]=tm.links.halal,ti[250]=eH):eH=ti[250],ti[251]!==eW||ti[252]!==eI||ti[253]!==eO||ti[254]!==eH?(eq=(0,t.jsxs)("ul",{className:"space-y-1",children:[eW,eI,eO,eH]}),ti[251]=eW,ti[252]=eI,ti[253]=eO,ti[254]=eH,ti[255]=eq):eq=ti[255],ti[256]!==tm.links.app?(eG=(0,t.jsx)("p",{className:"text-[11px] tracking-[0.14em] font-semibold text-[var(--cera-muted)] uppercase mb-2",children:tm.links.app}),ti[256]=tm.links.app,ti[257]=eG):eG=ti[257],ti[258]===Symbol.for("react.memo_cache_sentinel")?(eU=(0,t.jsxs)("a",{href:"https://apps.apple.com/ae/app/genosys-uae/id6756648064",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 bg-[var(--cera-cta)] text-white px-3 py-1.5 rounded-md hover:bg-[var(--cera-rose-ink)] transition-colors text-xs focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 focus-visible:ring-offset-2","aria-label":"Download on the App Store",children:[(0,t.jsx)("svg",{className:"w-4 h-4",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"})}),"App Store"]}),ti[258]=eU):eU=ti[258],ti[259]===Symbol.for("react.memo_cache_sentinel")?(eY=(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[eU,(0,t.jsxs)("a",{href:"https://play.google.com/store/apps/details?id=ae.genosys.app",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 bg-[var(--cera-cta)] text-white px-3 py-1.5 rounded-md hover:bg-[var(--cera-rose-ink)] transition-colors text-xs focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 focu
2s-visible:ring-offset-2","aria-label":"Get it on Google Play",children:[(0,t.jsx)("svg",{className:"w-4 h-4",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M3.609 1.814L13.792 12 3.61 22.186a.996.996 0 0 1-.61-.92V2.734a1 1 0 0 1 .609-.92zm10.89 10.893l2.302 2.302-10.937 6.333 8.635-8.635zm3.199-3.199l2.807 1.626a1 1 0 0 1 0 1.732l-2.808 1.626L15.206 12l2.492-2.492zM5.864 2.658L16.8 8.99l-2.302 2.302-8.634-8.634z"})}),"Google Play"]})]}),ti[259]=eY):eY=ti[259],ti[260]!==eG?(eV=(0,t.jsxs)("div",{className:"mt-6",children:[eG,eY]}),ti[260]=eG,ti[261]=eV):eV=ti[261],ti[262]!==eF||ti[263]!==eq||ti[264]!==eV?(eK=(0,t.jsxs)("div",{className:"md:col-span-2",children:[eF,eq,eV]}),ti[262]=eF,ti[263]=eq,ti[264]=eV,ti[265]=eK):eK=ti[265],ti[266]!==U||ti[267]!==eo||ti[268]!==ev||ti[269]!==e$||ti[270]!==eK?(eX=(0,t.jsxs)("div",{className:"hidden md:grid md:grid-cols-12 md:gap-8 pb-8",children:[U,eo,ev,e$,eK]}),ti[266]=U,ti[267]=eo,ti[268]=ev,ti[269]=e$,ti[270]=eK,ti[271]=eX):eX=ti[271];let th=`flex flex-wrap items-center gap-x-3 gap-y-2 ${"ar"===tu?"flex-row-reverse":""}`,tx=`text-[11px] text-[var(--cera-muted)] uppercase tracking-wider ${"ar"===tu?"ml-1":"mr-1"}`;ti[272]!==tm.links.payment||ti[273]!==tx?(eJ=(0,t.jsx)("span",{className:tx,children:tm.links.payment}),ti[272]=tm.links.payment,ti[273]=tx,ti[274]=eJ):eJ=ti[274],ti[275]===Symbol.for("react.memo_cache_sentinel")?(eZ=(0,t.jsx)("span",{className:"group/pay inline-flex items-center justify-center h-7 w-11 rounded-md border border-[var(--cera-line)] bg-white px-1.5 transition-all duration-300 ease-out hover:-translate-y-0.5 hover:scale-105 hover:shadow-md hover:shadow-gray-200/70 hover:border-[var(--cera-line)] hover:bg-[var(--cera-blush)]/40 motion-reduce:transition-none motion-reduce:hover:transform-none","aria-label":"Visa",title:"Visa",children:(0,t.jsx)("svg",{viewBox:"0 0 48 16",className:"h-3.5 w-auto transition-transform duration-300 group-hover/pay:scale-110 motion-reduce:group-hover/pay:scale-100","aria-hidden":"true",children:(0,t.jsx)("text",{x:"0",y:"12",fontFamily:"'Helvetica Neue', Arial, sans-serif",fontWeight:"900",fontSize:"13",fontStyle:"italic",fill:"#1A1F71",letterSpacing:"0.5",children:"VISA"})})}),ti[275]=eZ):eZ=ti[275],ti[276]===Symbol.for("react.memo_cache_sentinel")?(eQ=(0,t.jsx)("span",{className:"group/pay inline-flex items-center justify-center h-7 w-11 rounded-md border border-[var(--cera-line)] bg-white px-1.5 transition-all duration-300 ease-out hover:-translate-y-0.5 hover:scale-105 hover:shadow-md hover:shadow-gray-200/70 hover:border-[var(--cera-line)] hover:bg-gradient-to-br hover:from-red-50/60 hover:to-orange-50/60 motion-reduce:transition-none motion-reduce:hover:transform-none","aria-label":"Mastercard",title:"Mastercard",children:(0,t.jsxs)("svg",{viewBox:"0 0 32 20",className:"h-5 w-auto transition-transform duration-300 group-hover/pay:scale-110 motion-reduce:group-hover/pay:scale-100","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"10",r:"7",fill:"#EB001B"}),(0,t.jsx)("circle",{cx:"20",cy:"10",r:"7",fill:"#F79E1B"}),(0,t.jsx)("path",{d:"M16 4.4A7 7 0 0 0 13 10a7 7 0 0 0 3 5.6A7 7 0 0 0 19 10a7 7 0 0 0-3-5.6z",fill:"#FF5F00"})]})}),ti[276]=eQ):eQ=ti[276],ti[277]===Symbol.for("react.memo_cache_sentinel")?(e0=(0,t.jsx)("span",{className:"group/pay inline-flex items-center justify-center h-7 w-11 rounded-md border border-[var(--cera-line)] bg-white px-1.5 transition-all duration-300 ease-out hover:-translate-y-0.5 hover:scale-105 hover:shadow-md hover:shadow-gray-200/70 hover:border-[var(--cera-line)] hover:bg-[var(--cera-cream-deep)] motion-reduce:transition-none motion-reduce:hover:transform-none","aria-label":"Apple Pay",title:"Apple Pay",children:(0,t.jsxs)("svg",{viewBox:"0 0 40 16",className:"h-4 w-auto transition-transform duration-300 group-hover/pay:scale-110 motion-reduce:group-hover/pay:scale-100","aria-hidden":"true",fill:"#000",children:[(0,t.jsx)("path",{d:"M6.7 3.2c-.4.5-1.1.9-1.7.8-.1-.7.2-1.4.6-1.8.4-.5 1.2-.8 1.8-.9.1.7-.2 1.4-.7 1.9zm.7.9c-1 0-1.8.6-2.3.6s-1.2-.5-2-.5c-1 0-2 .6-2.5 1.6-1.1 1.9-.3 4.6.8 6.1.5.7 1.2 1.5 2 1.5s1.1-.5 2-.5 1.2.5 2 .5 1.4-.7 1.9-1.5c.6-.8.8-1.6.8-1.7 0 0-1.6-.6-1.6-2.5 0-1.6 1.3-2.3 1.3-2.3-.7-1.1-1.9-1.2-2.4-1.3z"}),(0,t.jsx)("text",{x:"14",y:"12",fontFamily:"'Helvetica Neue', Arial, sans-serif",fontWeight:"600",fontSize:"10",children:"Pay"})]})}),ti[277]=e0):e0=ti[277],ti[278]===Symbol.for("react.memo_cache_sentinel")?(e1=(0,t.jsx)("span",{className:"group/pay inline-flex items-center justify-center h-7 w-11 rounded-md border border-[var(--cera-line)] bg-white px-1.5 transition-all duration-300 ease-out hover:-translate-y-0.5 hover:scale-105 hover:shadow-md hover:shadow-gray-200/70 hover:border-[var(--cera-line)] hover:bg-[var(--cera-blush)]/40 motion-reduce:transition-none motion-reduce:hover:transform-none","aria-label":"Google Pay",title:"Google Pay",children:(0,t.jsxs)("svg",{viewBox:"0 0 48 16",className:"h-4 w-auto transition-transform duration-300 group-hover/pay:scale-110 motion-reduce:group-hover/pay:scale-100","aria-hidden":"true",children:[(0,t.jsx)("path",{fill:"#4285F4",d:"M5.5 8.2v2.6H4.4V4.5h2.2c.6 0 1 .2 1.4.5.4.4.6.8.6 1.4s-.2 1-.
26 1.4c-.3.3-.8.5-1.4.5H5.5zm0-2.6v1.6h1.2c.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.8-.3H5.5z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M9.9 6.3c.5 0 1 .1 1.3.4.3.3.5.6.5 1v2.1h-.8V10c-.3.5-.8.8-1.4.8-.5 0-.9-.1-1.2-.4-.3-.3-.5-.6-.5-1 0-.5.2-.8.5-1.1.3-.3.8-.4 1.3-.4.4 0 .8.1 1.1.2v-.2c0-.2-.1-.4-.3-.6-.2-.2-.4-.2-.7-.2-.4 0-.7.2-.9.5l-.7-.4c.3-.5.8-.8 1.6-.8z"}),(0,t.jsx)("text",{x:"14",y:"12",fontFamily:"'Helvetica Neue', Arial, sans-serif",fontWeight:"600",fontSize:"10",fill:"#5F6368",children:"Pay"})]})}),ti[278]=e1):e1=ti[278],ti[279]!==eJ?(e2=(0,t.jsxs)("div",{className:"flex items-center gap-2","aria-label":"Accepted payment methods",children:[eJ,eZ,eQ,e0,e1]}),ti[279]=eJ,ti[280]=e2):e2=ti[280];let tf=`group/stripe inline-flex items-center gap-1.5 text-[11px] text-[var(--cera-muted)] ${"ar"===tu?"border-r pr-3 mr-1":"border-l pl-3 ml-1"} border-[var(--cera-line)] transition-colors duration-300 hover:text-[var(--cera-body)] cursor-default`;return ti[281]===Symbol.for("react.memo_cache_sentinel")?(e5=(0,t.jsx)(c.ShieldCheck,{className:"h-3.5 w-3.5 text-[var(--cera-rose-ink)] transition-transform duration-300 ease-out group-hover/stripe:scale-125 group-hover/stripe:text-emerald-500 motion-reduce:group-hover/stripe:scale-100","aria-hidden":"true"}),ti[281]=e5):e5=ti[281],ti[282]===Symbol.for("react.memo_cache_sentinel")?(e4=(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute -bottom-0.5 left-0 h-px w-0 bg-emerald-500 transition-[width] duration-300 ease-out group-hover/stripe:w-full motion-reduce:transition-none motion-reduce:group-hover/stripe:w-0"}),ti[282]=e4):e4=ti[282],ti[283]!==tm.links.stripe?(e3=(0,t.jsxs)("span",{className:"relative",children:[tm.links.stripe,e4]}),ti[283]=tm.links.stripe,ti[284]=e3):e3=ti[284],ti[285]!==e3||ti[286]!==tf?(e6=(0,t.jsxs)("span",{className:tf,children:[e5,e3]}),ti[285]=e3,ti[286]=tf,ti[287]=e6):e6=ti[287],ti[288]!==e6||ti[289]!==th||ti[290]!==e2?(e9=(0,t.jsxs)("div",{className:th,children:[e2,e6]}),ti[288]=e6,ti[289]=th,ti[290]=e2,ti[291]=e9):e9=ti[291],ti[292]!==td?(e7=td("footer.copyright"),ti[292]=td,ti[293]=e7):e7=ti[293],ti[294]!==e7?(e8=(0,t.jsx)("p",{className:"text-xs text-[var(--cera-muted)]",suppressHydrationWarning:!0,children:e7}),ti[294]=e7,ti[295]=e8):e8=ti[295],ti[296]!==e9||ti[297]!==e8?(te=(0,t.jsxs)("div",{className:"hidden md:flex flex-wrap items-center justify-between gap-4 pt-6 border-t border-[var(--cera-line)] pb-8",children:[e9,e8]}),ti[296]=e9,ti[297]=e8,ti[298]=te):te=ti[298],ti[299]!==td?(tt=td("footer.copyright"),ti[299]=td,ti[300]=tt):tt=ti[300],ti[301]!==tt?(tr=(0,t.jsx)("div",{className:"md:hidden text-center py-4",children:(0,t.jsx)("p",{className:"text-[10px] text-[var(--cera-body)]",suppressHydrationWarning:!0,children:tt})}),ti[301]=tt,ti[302]=tr):tr=ti[302],ti[303]!==te||ti[304]!==tr||ti[305]!==T||ti[306]!==eX?(ta=(0,t.jsx)("footer",{role:"contentinfo",className:"cera-page genosys-page border-t border-[var(--cera-line)] pt-10",suppressHydrationWarning:!0,children:(0,t.jsxs)("div",{className:"container mx-auto px-4",children:[T,eX,te,tr]})}),ti[303]=te,ti[304]=tr,ti[305]=T,ti[306]=eX,ti[307]=ta):ta=ti[307],ta}])},88585,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(271645),i=e.i(741120),s=e.i(618566),n=e.i(394580);function o(e){return{...e,isPulling:!1,pullDistance:0}}function l(e){return{...e,isPulling:!1,pullDistance:0}}function c(e){return{...e,isPulling:!1,pullDistance:0}}function d(e){return{...e,isRefreshing:!0}}var u=e.i(353028),m=e.i(999452);function h(){document.body.style.overflow=""}e.s(["PullToRefresh",0,function(e){let x,f,p,g,b,v,y,w,j=(0,r.c)(34),{children:k,onRefresh:N,disabled:S}=e,_=void 0!==S&&S,{checkForUpdates:L}=(0,u.useServiceWorkerContext)(),{t:C,dir:P}=(0,m.useTranslation)(),E=(0,s.useRouter)();j[0]!==L||j[1]!==N||j[2]!==E?(x=async()=>{try{await L()}catch(e){(0,n.errorLog)("Failed to check for updates:",e)}N?await N():E.refresh()},j[0]=L,j[1]=N,j[2]=E,j[3]=x):x=j[3];let T=x;j[4]!==_||j[5]!==T?(f={onRefresh:T,threshold:80,disabled:_},j[4]=_,j[5]=T,j[6]=f):f=j[6];let{isPulling:A,isRefreshing:z,pullDistance:M,pullProgress:$,isPWA:F}=function(e){let t,i,u,m,h,x,f,p,g,b,v,y,w=(0,r.c)(36),{onRefresh:j,threshold:k,disabled:N}=e,S=void 0===k?80:k,_=void 0!==N&&N,L=(0,s.usePathname)();w[0]===Symbol.for("react.memo_cache_sentinel")?(t={isPulling:!1,isRefreshing:!1,pullDistance:0},w[0]=t):t=w[0];let[C,P]=(0,a.useState)(t),E=(0,a.useRef)(0),T=(0,a.useRef)(0),A=(0,a.useRef)(!1),z=(0,a.useRef)(null),M=(0,a.useRef)(0),$=(0,a.useRef)(0),F=(0,a.useRef)(0);
2w[1]===Symbol.for("react.memo_cache_sentinel")?(i=function(){let e=window,t=navigator.userAgent||navigator.vendor||e.opera||"";if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t))return!1;let r=navigator;return window.matchMedia("(display-mode: standalone)").matches||!0===r.standalone}(),w[1]=i):i=w[1];let B=i;if(w[2]===Symbol.for("react.memo_cache_sentinel")){let e;e=window,u=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!e.MSStream,w[2]=u}else u=w[2];let R=u;if(w[3]!==L)m=!!L&&L.includes("/pdf-viewer"),w[3]=L,w[4]=m;else m=w[4];let W=m,D=B&&!_&&!W;w[5]!==j||w[6]!==C.isRefreshing?(h=async()=>{if(!C.isRefreshing){P(d);try{await j()}catch(e){(0,n.errorLog)("Pull to refresh error:",e)}setTimeout(()=>{P({isPulling:!1,isRefreshing:!1,pullDistance:0}),M.current=0,$.current=0,A.current=!1},300)}},w[5]=j,w[6]=C.isRefreshing,w[7]=h):h=w[7];let I=h;w[8]!==S?(x=e=>{z.current&&cancelAnimationFrame(z.current);let t=performance.now(),r=F.current?t-F.current:16;F.current=t,$.current=.2*((e-M.current)/r)+.8*$.current,M.current=e;let a=1.5*S,i=e/2.5;if(i>S){let e=i-S;i=S+.3*e}i=Math.min(i,a),P(e=>({...e,isPulling:i>0,pullDistance:i}))},w[8]=S,w[9]=x):x=w[9];let O=x;w[10]!==_||w[11]!==D||w[12]!==C.isRefreshing?(f=e=>{if(!D||_||C.isRefreshing||(window.pageYOffset||document.documentElement.scrollTop)>0)return;let t=e.touches[0];t&&(E.current=t.clientY,T.current=t.clientY,M.current=0,$.current=0,F.current=performance.now(),A.current=!0)},w[10]=_,w[11]=D,w[12]=C.isRefreshing,w[13]=f):f=w[13];let H=f;w[14]!==_||w[15]!==D||w[16]!==C.isRefreshing||w[17]!==O?(p=e=>{if(!A.current||!D||_||C.isRefreshing)return;let t=e.touches[0];if(!t)return;if(T.current=t.clientY,(window.pageYOffset||document.documentElement.scrollTop)>0){A.current=!1,P(c);return}let r=T.current-E.current;r>0?(e.preventDefault(),O(r)):P(l)},w[14]=_,w[15]=D,w[16]=C.isRefreshing,w[17]=O,w[18]=p):p=w[18];let q=p;w[19]!==_||w[20]!==I||w[21]!==D||w[22]!==C.isRefreshing||w[23]!==C.pullDistance||w[24]!==S?(g=()=>{if(A.current&&D&&!_)if(A.current=!1,C.pullDistance>=S&&!C.isRefreshing)I();else{z.current&&cancelAnimationFrame(z.current);let e=C.pullDistance,t=performance.now(),r=a=>{a-t<400?(e=.85*e*.85,P(t=>({...t,pullDistance:Math.max(0,e)})),e>.5?z.current=requestAnimationFrame(r):(z.current=null,P(o),M.current=0,$.current=0)):(z.current=null,P({isPulling:!1,isRefreshing:!1,pullDistance:0}),M.current=0,$.current=0)};z.current=requestAnimationFrame(r)}},w[19]=_,w[20]=I,w[21]=D,w[22]=C.isRefreshing,w[23]=C.pullDistance,w[24]=S,w[25]=g):g=w[25];let G=g;w[26]!==_||w[27]!==G||w[28]!==q||w[29]!==H||w[30]!==D?(b=()=>{if(D&&!_&&("ontouchstart"in window||navigator.maxTouchPoints>0))return document.addEventListener("touchstart",H,{passive:!0}),document.addEventListener("touchmove",q,{passive:!1}),document.addEventListener("touchend",G,{passive:!0}),()=>{document.removeEventListener("touchstart",H),document.removeEventListener("touchmove",q),document.removeEventListener("touchend",G),z.current&&cancelAnimationFrame(z.current)}},v=[H,q,G,D,_],w[26]=_,w[27]=G,w[28]=q,w[29]=H,w[30]=D,w[31]=b,w[32]=v):(b=w[31],v=w[32]),(0,a.useEffect)(b,v);let U=Math.min(C.pullDistance/S,1);return w[33]!==C||w[34]!==U?(y={...C,pullProgress:U,isPWA:B,isIOS:R},w[33]=C,w[34]=U,w[35]=y):y=w[35],y}(f),B=A||z;if(j[7]!==F||j[8]!==A||j[9]!==B?(p=()=>(F&&B?document.body.style.overflow=A?"hidden":"":document.body.style.overflow="",h),g=[F,A,B],j[7]=F,j[8]=A,j[9]=B,j[10]=p,j[11]=g):(p=j[10],g=j[11]),(0,a.useEffect)(p,g),!F){let e;return j[12]!==k?(e=(0,t.jsx)(t.Fragment,{children:k}),j[12]=k,j[13]=e):e=j[13],e}let R=180*$,W=Math.min(1.5*$,1),D=.5+.5*$;j[14]!==P||j[15]!==z||j[16]!==W||j[17]!==M||j[18]!==$||j[19]!==R||j[20]!==D||j[21]!==B||j[22]!==C?(b=B&&(0,t.jsx)("div",{className:"fixed top-0 left-0 right-0 z-50 flex items-center justify-center pointer-events-none",style:{transform:`translate3d(0, ${Math.min(M,80)}px, 0)`,transition:z?"transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)":"none",willChange:"transform",backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden"},children:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center bg-white rounded-full shadow-lg p-4",style:{opacity:W,transform:`translate3d(0, 0, 0) scale(${D})`,transition:z?"opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)":"none",willChange:"opacity, transform",backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden"},children:[(0,t.jsx)(i.RefreshCw,{className:`h-6 w-6 text-primary-600 ${z?"animate-spin":""}`,style:{transform:`translate3d(0, 0, 0) rotate(${R}deg)`,transition:z?"transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)":"none",willChange:"transform",backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden"}}),$>=1&&!z&&(0,t.jsx)("span",{className:"text-xs text-gray-600 mt-1 whitespace-nowrap",dir:P,children:C("common.releaseToRefresh")}),z&&(0,t.jsx)("span",{className:"text-xs text-gray-600 mt-1 whitespace-nowrap",dir:P,children:C("common.refreshing")})]})}
2),j[14]=P,j[15]=z,j[16]=W,j[17]=M,j[18]=$,j[19]=R,j[20]=D,j[21]=B,j[22]=C,j[23]=b):b=j[23];let I=B&&A?`translate3d(0, ${Math.min(M,80)}px, 0)`:"translate3d(0, 0, 0)",O=z||!A?"transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)":"none",H=A?"transform":"auto";return j[24]!==I||j[25]!==O||j[26]!==H?(v={transform:I,transition:O,willChange:H,backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden"},j[24]=I,j[25]=O,j[26]=H,j[27]=v):v=j[27],j[28]!==k||j[29]!==v?(y=(0,t.jsx)("div",{style:v,children:k}),j[28]=k,j[29]=v,j[30]=y):y=j[30],j[31]!==y||j[32]!==b?(w=(0,t.jsxs)(t.Fragment,{children:[b,y]}),j[31]=y,j[32]=b,j[33]=w):w=j[33],w}],88585)},522796,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(762368),i=e.i(263676),s=e.i(986206),n=e.i(364569);let o=(0,e.i(456420).default)("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);var l=e.i(500932),c=e.i(394580);function d(){let e=navigator.userAgent||navigator.vendor||window.opera||"",t="ontouchstart"in window||navigator.maxTouchPoints>0;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)||t&&window.innerWidth<=1024}function u(){return window.matchMedia("(display-mode: standalone)").matches||!0===window.navigator.standalone||document.referrer.includes("android-app://")}var m=e.i(999452),h=e.i(647163);e.s(["default",0,function({className:e,variant:x="banner",showDelay:f=30}){let p,g,{isInstallable:b,showPrompt:v,dismissPrompt:y}=(()=>{let e,t,a,i,s,n,o,m,h=(0,l.c)(16),[x,f]=(0,r.useState)(null),[p,g]=(0,r.useState)(!1),[b,v]=(0,r.useState)(null);h[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{if(!d()){(0,c.debugLog)("PWA disabled on desktop device"),f(null),g(!1);return}g(u());let e=e=>{(0,c.debugLog)("PWA install prompt available on mobile device"),e.preventDefault(),f(e)},t=()=>{(0,c.debugLog)("PWA was installed"),g(!0),f(null),v("accepted")},r=()=>{g(u())};return window.addEventListener("beforeinstallprompt",e),window.addEventListener("appinstalled",t),window.addEventListener("resize",r),()=>{window.removeEventListener("beforeinstallprompt",e),window.removeEventListener("appinstalled",t),window.removeEventListener("resize",r)}},t=[u],h[0]=e,h[1]=t):(e=h[0],t=h[1]),(0,r.useEffect)(e,t),h[2]!==x?(a=async()=>{if(!x)return(0,c.debugLog)("No install prompt available"),!1;try{await x.prompt();let e=await x.userChoice;if((0,c.debugLog)("Install prompt result:",e.outcome),v(e.outcome),"accepted"===e.outcome)return f(null),!0;return!1}catch(e){return(0,c.debugLog)("Error showing install prompt:",e),!1}},h[2]=x,h[3]=a):a=h[3];let y=a;h[4]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{f(null),v("dismissed")},h[4]=i):i=h[4];let w=i;return h[5]!==x||h[6]!==p?(s=!!x&&!p&&d(),h[5]=x,h[6]=p,h[7]=s):s=h[7],h[8]!==p?(n=p&&d(),h[8]=p,h[9]=n):n=h[9],h[10]===Symbol.for("react.memo_cache_sentinel")?(o="serviceWorker"in navigator&&d(),h[10]=o):o=h[10],h[11]!==b||h[12]!==y||h[13]!==s||h[14]!==n?(m={isInstallable:s,isInstalled:n,isSupported:o,showPrompt:y,dismissPrompt:w,installOutcome:b},h[11]=b,h[12]=y,h[13]=s,h[14]=n,h[15]=m):m=h[15],m})(),{t:w}=(0,m.useTranslation)(),[j,k]=(0,r.useState)(!1),[N,S]=(0,r.useState)(!1),_=(p=window,g=navigator.userAgent||navigator.vendor||p.opera||"",/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(g));(0,r.useEffect)(()=>{if(!_||!b)return;let e=setTimeout(()=>{k(!0)},1e3*f);return()=>clearTimeout(e)},[_,b,f]);let L=async()=>{S(!0);try{await v()&&k(!1)}catch(e){(0,c.errorLog)("Install failed:",e)}finally{S(!1)}},C=()=>{k(!1),y()};return _&&b&&j?"modal"===x?(0,t.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50",children:(0,t.jsxs)("div",{className:"bg-white rounded-2xl p-6 max-w-md w-full shadow-2xl",children:[(0,t.jsxs)("div",{className:"text-center mb-6",children:[(0,t.jsx)("div",{className:"w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,t.jsx)(s.Smartphone,{className:"w-8 h-8 text-primary-600"})}),(0,t.jsx)("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:w("pwa.installTitle")}),(0,t.jsx)("p",{className:"text-gray-600",children:w("pwa.installSubtitle")})]}),(0,t.jsxs)("div",{className:"space-y-3 mb-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(n.Zap,{className:"w-5 h-5 text-green-500 flex-shrink-0"}),(0,t.jsx)("span",{className:"text-sm text-gray-700",children:w("pwa.benef
2itFast")})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(o,{className:"w-5 h-5 text-blue-500 flex-shrink-0"}),(0,t.jsx)("span",{className:"text-sm text-gray-700",children:w("pwa.benefitOffline")})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(s.Smartphone,{className:"w-5 h-5 text-purple-500 flex-shrink-0"}),(0,t.jsx)("span",{className:"text-sm text-gray-700",children:w("pwa.benefitNative")})]})]}),(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsx)("button",{onClick:C,className:"flex-1 px-4 py-2 border border-gray-300 rounded-lg text-gray-700 hover:bg-gray-50 transition-colors",children:w("pwa.notNow")}),(0,t.jsxs)("button",{onClick:L,disabled:N,className:"flex-1 px-4 py-2 bg-primary-600 text-white rounded-lg hover:bg-primary-700 disabled:opacity-50 transition-colors flex items-center justify-center gap-2",children:[N?(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"}):(0,t.jsx)(a.Download,{className:"w-4 h-4"}),w("pwa.install")]})]})]})}):"card"===x?(0,t.jsxs)("div",{className:(0,h.cn)("bg-gradient-to-r from-primary-600 to-primary-700 rounded-xl p-6 text-white shadow-lg",e),children:[(0,t.jsxs)("div",{className:"flex items-start justify-between mb-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-12 h-12 bg-white/20 rounded-lg flex items-center justify-center",children:(0,t.jsx)(s.Smartphone,{className:"w-6 h-6"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-bold text-lg",children:w("pwa.cardTitle")}),(0,t.jsx)("p",{className:"text-primary-100 text-sm",children:w("pwa.cardSubtitle")})]})]}),(0,t.jsx)("button",{onClick:C,className:"text-white/60 hover:text-white p-1",children:(0,t.jsx)(i.X,{className:"w-5 h-5"})})]}),(0,t.jsx)("div",{className:"flex gap-3",children:(0,t.jsxs)("button",{onClick:L,disabled:N,className:"flex-1 bg-white text-primary-600 px-4 py-2 rounded-lg font-medium hover:bg-gray-50 disabled:opacity-50 transition-colors flex items-center justify-center gap-2",children:[N?(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-primary-600 border-t-transparent rounded-full animate-spin"}):(0,t.jsx)(a.Download,{className:"w-4 h-4"}),w("pwa.installApp")]})})]}):(0,t.jsx)("div",{className:(0,h.cn)("fixed bottom-0 left-0 right-0 z-40 bg-[var(--cera-cream)] border-t border-[var(--cera-line)] shadow-lg p-4",e),children:(0,t.jsxs)("div",{className:"flex items-center justify-between max-w-md mx-auto",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-10 h-10 bg-primary-100 rounded-lg flex items-center justify-center",children:(0,t.jsx)(s.Smartphone,{className:"w-5 h-5 text-primary-600"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-semibold text-gray-900 text-sm",children:w("pwa.bannerTitle")}),(0,t.jsx)("p",{className:"text-xs text-gray-600",children:w("pwa.bannerSubtitle")})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("button",{onClick:C,className:"p-2 text-gray-400 hover:text-gray-600",children:(0,t.jsx)(i.X,{className:"w-4 h-4"})}),(0,t.jsxs)("button",{onClick:L,disabled:N,className:"bg-primary-600 text-white px-4 py-2 rounded-lg text-sm font-medium hover:bg-primary-700 disabled:opacity-50 transition-colors flex items-center gap-1",children:[N?(0,t.jsx)("div",{className:"w-3 h-3 border border-white border-t-transparent rounded-full animate-spin"}):(0,t.jsx)(a.Download,{className:"w-3 h-3"}),w("pwa.install")]})]})]})}):null}],522796)},166357,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(846932),i=e.i(88653),s=e.i(618566),n=e.i(286594),o=e.i(448959),l=e.i(271645),c=e.i(777699);let d={initial:{opacity:0,y:30,scale:.97},enter:{opacity:1,y:0,scale:1,transition:{...c.springPresets.gentle,opacity:{duration:.25,ease:"easeOut"}}},exit:{opacity:0,y:-20,scale:1.02,transition:{...c.springPresets.snappy,opacity:{duration:.15}}}},u={initial:{opacity:0,x:"15%",scale:.98},enter:{opacity:1,x:0,scale:1,transition:c.springPresets.gentle},exit:{opacity:0,x:"-10%",scale:.98,transition:{...c.springPresets.snappy,opacity:{duration:.1}}}};e.s(["ComponentTransition",0,function(e){let i,s,o,l,d=(0,r.c)(11),{children:u,delay:m,className:h}=e,x=void 0===m?0:m,f=void 0===h?"":h,{enabled:p}=(0,n.useAnimationStore)();if(!p){let e;return d[0]!==u||d[1]!==f?(e=(0,t.jsx)("div",{className:f,children:u}),d[0]=u,d[1]=f,d[2]=e):e=d[2],e}return d[3]===Symbol.for("react.memo_cache_sentinel")?(i={opacity:0,y:15},s={opacity:1,y:0},d[3]=i,d[4]=s):(i=d[3],s=d[4]),d[5]!==x?(o={...c.springPresets.default,delay:x},d[5]=x,d[6]=o):o=d[6],d[7]!==u||d[8]!==f||d[9]!==o?(l=(0,t.jsx)(a.motion.div,{initial:i,animate:s,transition:o,className:f,children:u}),d[7]=u,d[8]=f,d[9]=o,d[10]=l):l=d[10],l},"StaggerContainer",0,function(e){let i,s,o,l=(0,r.c)(10),{children:c,staggerDelay:d,className:u}=e,m=void 0===d?.05:d,h=void 0===u?"":u,{enabled:x}=(0,n.useAnimationStore)();if(!x){let e;return l[0]!==c||l[1]!==h?(e=(0,t.jsx)("div",{className:h,children:c}),l[0]=c,l[1]=h,l[2]=e):e=l[2],e}return l[3]===Symbol.for("react.memo_cache_sentinel")?(i={},l[3]=i):i=l[3],l[4]!==m?(s={hidden:i,visible:{transition:{staggerChildren:m,delayChildren:.1}}},l[4]=m,l[5]=s):s=l[5],l[6]!==c||l[7]!==h||l[8]!==s?(o=(0,t.jsx)(a.motion.div,{initial:"hidden",animate:"visible",variants:s,className:h,children:c}),l[6]=c,l[7]=h,l[8]=s,l[9]=o):o=l[9],o},"StaggerItem",0,function(e){let i,s,o=(0,r.c)(7),{children:l,className:d}=e,u=void 0===d?"":d,{enabled:m}=(0,n.useAnimationStore)();if(!m){let e;return o[0]!==l||o[1]!==u?(e=(0,t.jsx)("div",{className:u,children:l}),o[0]=l,o[1]=u,o[2]=e):e=o[2],e}return o[3]===Symbol.for("react.memo_cache_sentinel")?(i={hidden:{opacity:0,y:20,scale:.95},visible:{opacity:1,y:0,scale:1,transition:c.springPresets.default}},o[3]=i):i=o[3],o[4]!==l||o[5]!==u?(s=(0,t.jsx)(a.motion.div,{variants:i,className:u,children:l}),o[4]=l,o[5]=u,o[6]=s):s=o[6],s},"default",0,function(e){let m,h,x,f,p=(0,r.c)(10),{children:g,variant:b}=e,v=(0,s.usePathname)(),{enabled:y}=(0,n.useAnimationStore)(),{isPWA:w}=(0,o.usePWAMode)(),j=(0,l.useRef)(v),k=(0,c.isViewTransitionsSupported)()&&!(0,c.prefersReducedMotion)();if(p[0]!==v?(m=()=>{j.current=v},h=[v],p[0]=v,p[1]=m,p[2]=h):(m=p[1],h=p[2]),(0,l.useEffect)(m,h),w||!y||k){let e;return p[3]!==g?(e=(0,t.jsx)(t.Fragment,{children:g}),p[3]=g,p[4]=e):e=p[4],e}let N="push"===(void 0===b?"fade":b)?u:d;return p[5]===Symbol.for("react.memo_cache_sentinel")?(x={willChange:"transform, opacity",overflow:"visible"},p[5]=x):x=p[5],p[6]!==g||p[7]!==v||p[8]!==N?(f=(0,t.jsx)(i.AnimatePresence,{mode:"wait",initial:!1,children:(0,t.jsx)(a.motion.div,{variants:N,initial:"initial",animate:"enter",exit:"exit",className:"min-h-screen",style:x,children:g},v)}),p[6]=g,p[7]=v,p[8]=N,p[9]=f):f=p[9],f}])},662071,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(271645),i=e.i(263676),s=e.i(741120),n=e.i(762368),o=e.i(394580),l=e.i(999452);e.s(["default",0,function(e){let c,d,u,m,h,x,f,p,g,b,v,y,w,j,k,N,S=(0,r.c)(33),{className:_}=e,{t:L}=(0,l.useTranslation)(),[C,P]=(0,a.useState)(!1),[E,T]=(0,a.useState)(!1),[A,z]=(0,a.useState)(null);S[0]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{let e=e=>{(0,o.debugLog)("Service Worker update available:",e.detail),z(e.detail.registration),P(!0)};return window.addEventListener("sw-update-available",e),()=>{window.removeEventListener("sw-update-available",e)}},d=[],S[0]=c,S[1]=d):(c=S[0],d=S[1]),(0,a.useEffect)(c,d),S[2]!==A?(u=async()=>
2{if(!A||!A.waiting)return void(0,o.errorLog)("No waiting service worker found");T(!0);try{A.waiting.postMessage({type:"SKIP_WAITING"});let e=!1;navigator.serviceWorker.addEventListener("controllerchange",()=>{e||(e=!0,(0,o.debugLog)("New service worker activated, reloading page..."),window.location.reload())}),(0,o.debugLog)("Update triggered, waiting for new SW to activate...")}catch(e){(0,o.errorLog)("Failed to update service worker:",e),T(!1)}},S[2]=A,S[3]=u):u=S[3];let M=u;S[4]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{P(!1),(0,o.debugLog)("Service Worker update dismissed by user")},S[4]=m):m=S[4];let $=m;if(!C)return null;let F=`fixed top-4 right-4 z-50 max-w-sm bg-white dark:bg-gray-800 rounded-lg shadow-2xl border border-gray-200 dark:border-gray-700 p-4 animate-slide-in ${void 0===_?"":_}`;return S[5]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)("div",{className:"flex-shrink-0 w-10 h-10 bg-blue-100 dark:bg-blue-900 rounded-full flex items-center justify-center",children:(0,t.jsx)(s.RefreshCw,{className:"w-5 h-5 text-blue-600 dark:text-blue-400"})}),S[5]=h):h=S[5],S[6]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsx)("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white mb-1",children:"Update available"}),f=(0,t.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-300 mb-3",children:"A new version of the app is ready to install. Update now for the latest features and improvements."}),S[6]=x,S[7]=f):(x=S[6],f=S[7]),S[8]!==E||S[9]!==L?(p=E?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"}),(0,t.jsx)("span",{children:L("pwaUi.updating")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Download,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:L("pwaUi.updateNow")})]}),S[8]=E,S[9]=L,S[10]=p):p=S[10],S[11]!==M||S[12]!==E||S[13]!==p?(g=(0,t.jsx)("button",{onClick:M,disabled:E,className:"flex items-center gap-1.5 px-4 py-2 bg-blue-600 hover:bg-blue-700 disabled:bg-blue-400 text-white text-sm font-medium rounded-lg transition-colors disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2","aria-label":"Update now",children:p}),S[11]=M,S[12]=E,S[13]=p,S[14]=g):g=S[14],S[15]!==E?(b=(0,t.jsx)("button",{onClick:$,disabled:E,className:"px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors disabled:opacity-50 disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 rounded-lg","aria-label":"Dismiss update notification",children:"Later"}),S[15]=E,S[16]=b):b=S[16],S[17]!==g||S[18]!==b?(v=(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[x,f,(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[g,b]})]}),S[17]=g,S[18]=b,S[19]=v):v=S[19],S[20]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)(i.X,{className:"w-5 h-5"}),S[20]=y):y=S[20],S[21]!==E?(w=(0,t.jsx)("button",{onClick:$,disabled:E,className:"flex-shrink-0 text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors disabled:opacity-50 disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 rounded","aria-label":"Close",children:y}),S[21]=E,S[22]=w):w=S[22],S[23]!==v||S[24]!==w?(j=(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[h,v,w]}),S[23]=v,S[24]=w,S[25]=j):j=S[25],S[26]!==E||S[27]!==L?(k=E&&(0,t.jsx)("div",{className:"mt-3 pt-3 border-t border-gray-200 dark:border-gray-700",children:(0,t.jsxs)("div",{className:"flex items-center gap-2 text-xs text-gray-600 dark:text-gray-400",children:[(0,t.jsx)("div",{className:"flex-1 h-1 bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden",children:(0,t.jsx)("div",{className:"h-full bg-blue-600 rounded-full animate-progress"})}),(0,t.jsx)("span",{children:L("pwaUi.applyingUpdate")})]})}),S[26]=E,S[27]=L,S[28]=k):k=S[28],S[29]!==j||S[30]!==k||S[31]!==F?(N=(0,t.jsxs)("div",{className:F,role:"alert","aria-live":"assertive",children:[j,k]}),S[29]=j,S[30]=k,S[31]=F,S[32]=N):N=S[32],N}])},864375,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(271645),i=e.i(394580);function s(e){if(0===e)return"0 Bytes";let t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(2))+" "+["Bytes","KB","MB","GB","TB"][t]}var n=e.i(853138);let o=(0,e.i(456420).default)("hard-drive",[["path",{d:"M10 16h.01",key:"1bzywj"}],["path",{d:"M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"18tbho"}],["path",{d:"M21.946 12.013H2.054",key:"zqlbp7"}],["path",{d:"M6 16h.01",key:"1pmjb7"}]]);var l=e.i(573474),c=e.i(741120),d=e.i(999452);e.s(["default",0,function(e){let u,m=(0,r.c)(64),{className:h,showDetail
2s:x}=e,f=void 0===h?"":h,p=void 0!==x&&x,{t:g}=(0,d.useTranslation)(),{status:b,isLoading:v,error:y,checkQuota:w,clearOldCaches:j,isWarning:k,isCritical:N}=function(){let[e,t]=(0,a.useState)(null),[r,n]=(0,a.useState)(!1),[o,l]=(0,a.useState)(null),c=(0,a.useCallback)(async()=>{n(!0),l(null);try{if(!("storage"in navigator)||!("estimate"in navigator.storage)){(0,i.debugLog)("Storage API not supported"),t({supported:!1,usage:0,quota:0,percentUsed:0,available:0,usageFormatted:"0 Bytes",quotaFormatted:"0 Bytes",availableFormatted:"0 Bytes",error:"Storage API not supported"});return}let e=await navigator.storage.estimate(),r=e.usage||0,a=e.quota||0,n=a>0?r/a:0,o=a-r,l={supported:!0,usage:r,quota:a,percentUsed:n,available:o,usageFormatted:s(r),quotaFormatted:s(a),availableFormatted:s(o)};t(l),n>=.9?(0,i.warnLog)(`Storage quota critical: ${(100*n).toFixed(2)}%`):n>=.8&&(0,i.warnLog)(`Storage quota warning: ${(100*n).toFixed(2)}%`)}catch(t){let e=t instanceof Error?t.message:"Failed to check storage quota";(0,i.errorLog)("Storage quota check failed:",t),l(e)}finally{n(!1)}},[]),d=(0,a.useCallback)(async()=>{n(!0),l(null);try{if(!("serviceWorker"in navigator))throw Error("Service Worker not supported");let e=await navigator.serviceWorker.ready;if(!e.active)throw Error("No active service worker");let t=new MessageChannel;(await new Promise((r,a)=>{t.port1.onmessage=e=>{e.data.success?r(e.data):a(Error("Cache cleanup failed"))},e.active.postMessage({type:"CLEAR_OLD_CACHES"},[t.port2]),setTimeout(()=>a(Error("Cache cleanup timeout")),1e4)})).success&&((0,i.debugLog)("Old caches cleared successfully"),await c())}catch(t){let e=t instanceof Error?t.message:"Failed to clear caches";(0,i.errorLog)("Cache cleanup failed:",t),l(e)}finally{n(!1)}},[c]);(0,a.useEffect)(()=>{c()},[c]),(0,a.useEffect)(()=>{let e=setInterval(()=>{c()},3e5);return()=>clearInterval(e)},[c]);let u=!!e&&e.percentUsed>=.8,m=!!e&&e.percentUsed>=.9;return{status:e,isLoading:r,error:o,checkQuota:c,clearOldCaches:d,isWarning:u,isCritical:m}}(),[S,_]=(0,a.useState)(!1);m[0]!==j?(u=async()=>{confirm("Clear old caches to free up space? This is safe and will not affect your data.")&&(_(!0),await j(),_(!1))},m[0]=j,m[1]=u):u=m[1];let L=u;if(!b?.supported||!k&&!p)return null;if(N){let e,r,a,i,s,o,c,d,u,h=`fixed bottom-4 right-4 z-50 max-w-sm bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg shadow-lg p-4 ${f}`;m[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"flex-shrink-0 w-10 h-10 bg-red-100 dark:bg-red-900 rounded-full flex items-center justify-center",children:(0,t.jsx)(n.AlertTriangle,{className:"w-5 h-5 text-red-600 dark:text-red-400"})}),m[2]=e):e=m[2],m[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("h3",{className:"text-sm font-semibold text-red-900 dark:text-red-100 mb-1",children:"Storage Almost Full"}),m[3]=r):r=m[3];let x=b.usageFormatted,p=b.quotaFormatted,v=100*b.percentUsed;return m[4]!==v?(a=v.toFixed(1),m[4]=v,m[5]=a):a=m[5],m[6]!==b.quotaFormatted||m[7]!==b.usageFormatted||m[8]!==a?(i=(0,t.jsxs)("p",{className:"text-sm text-red-700 dark:text-red-300 mb-2",children:[x," of ",p," used (",a,"%)"]}),m[6]=b.quotaFormatted,m[7]=b.usageFormatted,m[8]=a,m[9]=i):i=m[9],m[10]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("p",{className:"text-xs text-red-600 dark:text-red-400 mb-3",children:"Clear old caches to free up space and improve performance."}),m[10]=s):s=m[10],m[11]!==S||m[12]!==g?(o=S?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"}),(0,t.jsx)("span",{children:g("pwaUi.clearing")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Trash2,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:g("pwaUi.clearCaches")})]}),m[11]=S,m[12]=g,m[13]=o):o=m[13],m[14]!==L||m[15]!==S||m[16]!==o?(c=(0,t.jsx)("button",{onClick:L,disabled:S,className:"flex items-center gap-1.5 px-3 py-1.5 bg-red-600 hover:bg-red-700 disabled:bg-red-400 text-white text-sm font-medium rounded transition-colors disabled:cursor-not-allowed",children:o}),m[14]=L,m[15]=S,m[16]=o,m[17]=c):c=m[17],m[18]!==i||m[19]!==c?(d=(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[e,(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[r,i,s,c]})]}),m[18]=i,m[19]=c,m[20]=d):d=m[20],m[21]!==d||m[22]!==h?(u=(0,t.jsx)("div",{className:h,children:d}),m[21]=d,m[22]=h,m[23]=u):u=m[23],u}
2if(k){let e,r,a,i,s,n,c,d,u=`fixed bottom-4 right-4 z-50 max-w-sm bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg shadow-lg p-4 ${f}`;m[24]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"flex-shrink-0 w-10 h-10 bg-yellow-100 dark:bg-yellow-900 rounded-full flex items-center justify-center",children:(0,t.jsx)(o,{className:"w-5 h-5 text-yellow-600 dark:text-yellow-400"})}),m[24]=e):e=m[24],m[25]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("h3",{className:"text-sm font-semibold text-yellow-900 dark:text-yellow-100 mb-1",children:"Storage Running Low"}),m[25]=r):r=m[25];let h=b.usageFormatted,x=b.quotaFormatted,p=100*b.percentUsed;return m[26]!==p?(a=p.toFixed(1),m[26]=p,m[27]=a):a=m[27],m[28]!==b.quotaFormatted||m[29]!==b.usageFormatted||m[30]!==a?(i=(0,t.jsxs)("p",{className:"text-sm text-yellow-700 dark:text-yellow-300 mb-3",children:[h," of ",x," used (",a,"%)"]}),m[28]=b.quotaFormatted,m[29]=b.usageFormatted,m[30]=a,m[31]=i):i=m[31],m[32]!==S||m[33]!==g?(s=S?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"}),(0,t.jsx)("span",{children:g("pwaUi.clearing")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Trash2,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:g("pwaUi.clearCaches")})]}),m[32]=S,m[33]=g,m[34]=s):s=m[34],m[35]!==L||m[36]!==S||m[37]!==s?(n=(0,t.jsx)("button",{onClick:L,disabled:S,className:"flex items-center gap-1.5 px-3 py-1.5 bg-yellow-600 hover:bg-yellow-700 disabled:bg-yellow-400 text-white text-sm font-medium rounded transition-colors disabled:cursor-not-allowed",children:s}),m[35]=L,m[36]=S,m[37]=s,m[38]=n):n=m[38],m[39]!==i||m[40]!==n?(c=(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[e,(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[r,i,n]})]}),m[39]=i,m[40]=n,m[41]=c):c=m[41],m[42]!==c||m[43]!==u?(d=(0,t.jsx)("div",{className:u,children:c}),m[42]=c,m[43]=u,m[44]=d):d=m[44],d}if(p){let e,r,a,i,s,n=`bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg shadow p-4 ${f}`;m[45]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white flex items-center gap-2",children:[(0,t.jsx)(o,{className:"w-4 h-4"}),"Storage Quota"]}),m[45]=e):e=m[45];let d=`w-4 h-4 ${v?"animate-spin":""}`;return m[46]!==d?(r=(0,t.jsx)(c.RefreshCw,{className:d}),m[46]=d,m[47]=r):r=m[47],m[48]!==w||m[49]!==v||m[50]!==r?(a=(0,t.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[e,(0,t.jsx)("button",{onClick:w,disabled:v,className:"text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 transition-colors disabled:opacity-50","aria-label":"Refresh quota",children:r})]}),m[48]=w,m[49]=v,m[50]=r,m[51]=a):a=m[51],m[52]!==y||m[53]!==L||m[54]!==S||m[55]!==N||m[56]!==k||m[57]!==b||m[58]!==g?(i=y?(0,t.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:y}):b?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,t.jsx)("span",{className:"text-gray-600 dark:text-gray-400",children:"Used:"}),(0,t.jsx)("span",{className:"font-medium text-gray-900 dark:text-white",children:b.usageFormatted})]}),(0,t.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,t.jsx)("span",{className:"text-gray-600 dark:text-gray-400",children:"Total:"}),(0,t.jsx)("span",{className:"font-medium text-gray-900 dark:text-white",children:b.quotaFormatted})]}),(0,t.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,t.jsx)("span",{className:"text-gray-600 dark:text-gray-400",children:"Available:"}),(0,t.jsx)("span",{className:"font-medium text-gray-900 dark:text-white",children:b.availableFormatted})]}),(0,t.jsxs)("div",{className:"pt-2",children:[(0,t.jsxs)("div",{className:"flex justify-between text-xs text-gray-600 dark:text-gray-400 mb-1",children:[(0,t.jsx)("span",{children:g("pwaUi.usage")}),(0,t.jsxs)("span",{children:[(100*b.percentUsed).toFixed(1),"%"]})]}),(0,t.jsx)("div",{className:"h-2 bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden",children:(0,t.jsx)("div",{className:`h-full transition-all duration-300 ${N?"bg-red-500":k?"bg-yellow-500":"bg-green-500"}`,style:{width:`${Math.min(100*b.percentUsed,100)}%`}})})]}),(k||N)&&(0,t.jsx)("button",{onClick:L,disabled:S,className:"w-full mt-3 flex items-center justify-center gap-1.5 px-3 py-2 bg-blue-600 hover:bg-blue-700 disabled:bg-blue-400 text-white text-sm font-medium rounded transition-colors disabled:cursor-not-allowed",children:S?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-white border-t-transparent roun
2ded-full animate-spin"}),(0,t.jsx)("span",{children:g("pwaUi.clearing")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Trash2,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:g("pwaUi.clearOldCaches")})]})})]}):(0,t.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:g("pwaUi.loading")}),m[52]=y,m[53]=L,m[54]=S,m[55]=N,m[56]=k,m[57]=b,m[58]=g,m[59]=i):i=m[59],m[60]!==n||m[61]!==a||m[62]!==i?(s=(0,t.jsxs)("div",{className:n,children:[a,i]}),m[60]=n,m[61]=a,m[62]=i,m[63]=s):s=m[63],s}return null}],864375)},989285,e=>{"use strict";var t=e.i(500932),r=e.i(618566),a=e.i(271645);e.s(["default",0,function(){let e,i,s=(0,t.c)(3),n=(0,r.usePathname)();return s[0]!==n?(e=()=>{let e="/manifest.json";n.startsWith("/ar")?e="/ar/manifest.json":n.startsWith("/ru")&&(e="/ru/manifest.json");let t=document.querySelector('link[rel="manifest"]');t?t.href!==window.location.origin+e&&(t.href=e):((t=document.createElement("link")).rel="manifest",t.href=e,document.head.appendChild(t))},i=[n],s[0]=n,s[1]=e,s[2]=i):(e=s[1],i=s[2]),(0,a.useEffect)(e,i),null}])},787893,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(271645),i=e.i(471092),s=e.i(349512);function n(e,t){return e+t.quantity}let o=e=>"color"in e&&void 0!==e.color?{stroke:e.color,fill:e.filled?e.color:"none"}:{stroke:"currentColor",fill:e.filled?"currentColor":"none"};e.s(["BagIcon",0,e=>{let a,i,s,n=(0,r.c)(13);n[0]!==e?(a=o(e),n[0]=e,n[1]=a):a=n[1];let{stroke:l,fill:c}=a,d="className"in e?e.className:void 0,u="color"in e&&void 0!==e.color&&e.filled?"#ffffff":l,m=d?void 0:28,h=d?void 0:28,x=1.5*!e.filled;return n[2]!==u||n[3]!==e.filled?(i=e.filled?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4H6z"}),(0,t.jsx)("path",{d:"M3 6h18",stroke:u,strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M16 10a4 4 0 01-8 0",stroke:u,strokeWidth:"1.5",fill:"none"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4H6z"}),(0,t.jsx)("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),(0,t.jsx)("path",{d:"M16 10a4 4 0 01-8 0"})]}),n[2]=u,n[3]=e.filled,n[4]=i):i=n[4],n[5]!==d||n[6]!==c||n[7]!==l||n[8]!==m||n[9]!==h||n[10]!==x||n[11]!==i?(s=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:d,width:m,height:h,fill:c,stroke:l,strokeWidth:x,strokeLinecap:"round",strokeLinejoin:"round",children:i}),n[5]=d,n[6]=c,n[7]=l,n[8]=m,n[9]=h,n[10]=x,n[11]=i,n[12]=s):s=n[12],s},"HomeIcon",0,e=>{let a,i,s,n=(0,r.c)(12);n[0]!==e?(a=o(e),n[0]=e,n[1]=a):a=n[1];let{stroke:l,fill:c}=a,d="className"in e?e.className:void 0,u=d?void 0:28,m=d?void 0:28,h=1.5*!e.filled;return n[2]!==e.filled?(i=e.filled?(0,t.jsx)("path",{d:"M3 9.5L12 2l9 7.5V20a2 2 0 01-2 2H5a2 2 0 01-2-2V9.5z"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M3 9.5L12 2l9 7.5V20a2 2 0 01-2 2H5a2 2 0 01-2-2V9.5z"}),(0,t.jsx)("path",{d:"M9 22V12h6v10"})]}),n[2]=e.filled,n[3]=i):i=n[3],n[4]!==d||n[5]!==c||n[6]!==l||n[7]!==u||n[8]!==m||n[9]!==h||n[10]!==i?(s=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:d,width:u,height:m,fill:c,stroke:l,strokeWidth:h,strokeLinecap:"round",strokeLinejoin:"round",children:i}),n[4]=d,n[5]=c,n[6]=l,n[7]=u,n[8]=m,n[9]=h,n[10]=i,n[11]=s):s=n[11],s},"ListIcon",0,e=>{let a,i,s,n,l,c,d,u,m=(0,r.c)(14);m[0]!==e?(a=o(e),m[0]=e,m[1]=a):a=m[1];let{stroke:h}=a,x="className"in e?e.className:void 0,f=x?void 0:28,p=x?void 0:28,g=e.filled?2.5:1.5;return m[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("line",{x1:"8",y1:"6",x2:"21",y2:"6"}),s=(0,t.jsx)("line",{x1:"8",y1:"12",x2:"21",y2:"12"}),n=(0,t.jsx)("line",{x1:"8",y1:"18",x2:"21",y2:"18"}),l=(0,t.jsx)("line",{x1:"3",y1:"6",x2:"3.01",y2:"6"}),c=(0,t.jsx)("line",{x1:"3",y1:"12",x2:"3.01",y2:"12"}),d=(0,t.jsx)("line",{x1:"3",y1:"18",x2:"3.01",y2:"18"}),m[2]=i,m[3]=s,m[4]=n,m[5]=l,m[6]=c,m[7]=d):(i=m[2],s=m[3],n=m[4],l=m[5],c=m[6],d=m[7]),m[8]!==x||m[9]!==h||m[10]!==f||m[11]!==p||m[12]!==g?(u=(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:x,width:f,height:p,fill:"none",stroke:h,strokeWidth:g,strokeLinecap:"round",strokeLinejoin:"round",children:[i,s,n,l,c,d]}),m[8]=x,m[9]=h,m[10]=f,m[11]=p,m[12]=g,m[13]=u):u=m[13],u},"MOBILE_WEB_NAV_COLORS",0,{active:"#191716",inactive:"#665e59",badge:"#8f5a5a"},"getActiveTab",0,function(e){if(!e)return"home";let t=e.toLowerCase();return t.includes("/cart")||t.includes("/checkout")?"bag":t.includes("/orders")?"orders":"home"},"useCartCount",0,function(){let e,t,s=(0,r.c)(2),[o,l]=(0,a.useState)(0);return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=()=>{l(i.useCartStore.getState().items.reduce(n,0))};e();let t=i.useCartStore.subscribe(e),r=setTimeout(e,100);return()=>{t(),clearTimeout(r)}},t=[],s[0]=e,s[1]=t):(e=s[0],t=s[1]),(0,a.useEffect)(e,t),o},"useHideBottomNav",0,function(e,t){let r,{variant:a,cartCount:i}=t;e:{if(!e){r=!1;break e}if((0,s.isProductDetailPage)(e)||e.includes("/pwa-login")||e.includes("/pdf-viewer")||e.includes("/products/concern/")||e.includes("/admin")){r=!0;break e}if("pwa"===a){r=!1;break e}if("/login"===e||"/ru/login"===e||"/ar/login"===e||e.endsWith("/login")||e.includes("/signup")||e.includes("/forgot-password")||e.includes("/reset-password")||e.includes("/checkout")||e.includes("/success")||e.includes("/bundle-builder")||e.includes("/skin-rec
2ommendation")||e.includes("/blog")){r=!0;break e}if(e.includes("/cart")){r=(void 0===i?0:i)>0;break e}r=!1}return r}])},573023,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(618566),i=e.i(606315),s=e.i(999452),n=e.i(448959),o=e.i(271645),l=e.i(625307),c=e.i(787893);e.s(["default",0,function(){let e,d,u,m,h,x,f,p,g,b,v,y,w,j,k,N,S,_,L,C,P,E,T,A,z,M,$,F,B,R,W,D,I,O,H,q,G,U=(0,r.c)(92),Y=(0,a.usePathname)(),V=(0,a.useRouter)(),{t:K,dir:X}=(0,s.useTranslation)(),{isPWA:J,isClient:Z}=(0,n.usePWAMode)(),Q=(0,l.useHapticFeedback)(),[ee,et]=(0,o.useState)(!1),[er,ea]=(0,o.useState)(!1),ei=(0,c.useCartCount)(),es=(0,o.useRef)(0);U[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=setTimeout(()=>et(!0),100);return()=>clearTimeout(e)},d=[],U[0]=e,U[1]=d):(e=U[0],d=U[1]),(0,o.useEffect)(e,d),U[2]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{ea(!1)},U[2]=u):u=U[2],U[3]!==Y?(m=[Y],U[3]=Y,U[4]=m):m=U[4],(0,o.useEffect)(u,m);let en=Y||"/";U[5]!==en?(h=(0,i.getLocaleFromPath)(en),U[5]=en,U[6]=h):h=U[6];let eo=h;U[7]!==Q||U[8]!==er||U[9]!==ee||U[10]!==V?(x=e=>{let t=Date.now();t-es.current<300||er||!ee||(es.current=t,Q.light(),ea(!0),V.push(e))},U[7]=Q,U[8]=er,U[9]=ee,U[10]=V,U[11]=x):x=U[11];let el=x;U[12]===Symbol.for("react.memo_cache_sentinel")?(f={variant:"pwa"},U[12]=f):f=U[12];let ec=(0,c.useHideBottomNav)(Y,f),[ed,eu]=(0,o.useState)(!1);U[13]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{let e=()=>{eu(document.body.classList.contains("fullscreen-modal-open"))};e();let t=new MutationObserver(t=>{t.forEach(t=>{"class"===t.attributeName&&e()})});return t.observe(document.body,{attributes:!0}),()=>t.disconnect()},g=[],U[13]=p,U[14]=g):(p=U[13],g=U[14]),(0,o.useEffect)(p,g),U[15]!==Y?(b=(0,c.getActiveTab)(Y),U[15]=Y,U[16]=b):b=U[16];let em=b,eh=ei>0;if(!Z||!J||ec||ed)return null;U[17]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsx)("div",{className:"h-[117px] md:hidden","aria-hidden":"true"}),U[17]=v):v=U[17],U[18]===Symbol.for("react.memo_cache_sentinel")?(y={paddingBottom:"env(safe-area-inset-bottom, 0px)",borderTop:"1px solid #e8e0db"},U[18]=y):y=U[18],U[19]!==el||U[20]!==eo?(w=()=>el((0,i.getLocalizedPath)("/products",eo)),U[19]=el,U[20]=eo,U[21]=w):w=U[21];let ex=!ee||er,ef=`relative flex flex-col items-center justify-center flex-1 h-full min-h-[44px] px-2 transition-colors select-none active:scale-95 touch-target-exempt ${"home"===em?"text-[#191716]":"text-[#665e59]"} ${er?"opacity-70":""}`;U[22]===Symbol.for("react.memo_cache_sentinel")?(j={WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},U[22]=j):j=U[22];let ep="home"===em?"page":void 0;U[23]!==em?(k="home"===em&&(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute top-0 h-[2px] w-[26px] rounded-full bg-[#191716]"}),U[23]=em,U[24]=k):k=U[24];let eg="home"===em;U[25]!==eg?(N=(0,t.jsx)(c.HomeIcon,{filled:eg,className:"w-8 h-8"}),U[25]=eg,U[26]=N):N=U[26],U[27]!==K?(S=K("tabs.home")||"Home",U[27]=K,U[28]=S):S=U[28],U[29]!==S?(_=(0,t.jsx)("span",{className:"mt-1 text-[10px] font-semibold uppercase tracking-[0.1em]",children:S}),U[29]=S,U[30]=_):_=U[30],U[31]!==w||U[32]!==ex||U[33]!==ef||U[34]!==ep||U[35]!==k||U[36]!==N||U[37]!==_?(L=(0,t.jsxs)("button",{type:"button",onClick:w,disabled:ex,className:ef,style:j,"aria-current":ep,children:[k,N,_]}),U[31]=w,U[32]=ex,U[33]=ef,U[34]=ep,U[35]=k,U[36]=N,U[37]=_,U[38]=L):L=U[38],U[39]!==el||U[40]!==eo?(C=()=>el((0,i.getLocalizedPath)("/orders",eo)),U[39]=el,U[40]=eo,U[41]=C):C=U[41];let eb=!ee||er,ev=`relative flex flex-col items-center justify-center flex-1 h-full min-h-[44px] px-2 transition-colors select-none active:scale-95 touch-target-exempt ${"orders"===em?"text-[#191716]":"text-[#665e59]"} ${er?"opacity-70":""}`;U[42]===Symbol.for("react.memo_cache_sentinel")?(P={WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},U[42]=P):P=U[42];let ey="orders"===em?"page":void 0;U[43]!==em?(E="orders"===em&&(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute top-0 h-[2px] w-[26px] rounded-full bg-[#191716]"}),U[43]=em,U[44]=E):E=U[44];let ew="orders"===em;U[45]!==ew?(T=(0,t.jsx)(c.ListIcon,{filled:ew,className:"w-8 h-8"}),U[45]=ew,U[46]=T):T=U[46],U[47]!==K?(A=K("tabs.orders")||"Orders",U[47]=K,U[48]=A):A=U[48],U[49]!==A?(z=(0,t.jsx)("span",{className:"mt-1 text-[10px] font-semibold uppercase tracking-[0.1em]",children:A}),U[49]=A,U[50]=z):z=U[50],U[51]!==C||U[52]!==eb||U[53]!==ev||U[54]!==ey||U[55]!==E||U[56]!==T||U[57]!==z?(M=(0,t.jsxs)("button",{type:"button",onClick:C,disabled:eb,className:ev,style:P,"aria-current":ey,children:[E,T,z]}),U[51]=C,U[52]=eb,U[53]=ev,U[54]=ey,U[55]=E,U[56]=T,U[57]=z,U[58]=M):M=U[58],U[59]!==el||U[60]!==eo?($=()=>el((0,i.getLocalizedPath)("/cart",eo)),U[59]=el,U[60]=eo,U[61]=$):$=U[61];let ej=!ee||er,ek=`relative flex flex-col items-center justify-center flex-1 h-full min-h-[44px] px-2 transition-colors select-none active:scale-95 touch-target-exempt ${"bag"===em?"text-[#191716]":"text-[#665e59]"} ${er?"opacity-70":""}`;U[62]===Symbol.for("react.memo_cache_sentinel")?(F={WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},U[62]=F):F=U[62];let eN="bag"===em?"page":void 0;U[63]!==em?(B="bag"===em&&(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute top-0 h-[2px] w-[26px] rounded-full bg-[#191716]"}),U[63]=em,U[64]=B):B=U[64];let eS="bag"===em;return U[65]!==eS?(R=(0,t.jsx)(c.BagIcon,{filled:eS,className:"w-8 h-8"}),U[65]=eS,U[66]=R):R=U[66],U[67]!==ei||U[68]!==eh?(W=eh&&(0,t.jsx)("span",{className:"absolute -top-1.5 -right-2.5 bg-[var(--cera-rose-ink)] text-white text-[10px] font-bold rounded-full min-w-[18px] h-[18px] flex items-center justify-center border-2 border-[#faf7f5]","aria-label":`${ei} items in cart`,children:ei>99?"99+":ei}),U[67]=ei,U[68]=eh,U[69]=W):W=U[69],U[70]!==R||U[71]!==W?(D=(0,t.jsxs)("div",{className:"relative",children:[R,W]}),U[70]=R,U[71]=W,U[72]=D):D=U[72],U[73]!==K?(I=K("tabs.bag")||"Bag",U[73]=K,U[74]=I):I=U[74],U[75]!==I?(O=(0,t.jsx)("span",{className:"mt-1 text-[10px] font-semibold uppercase tracking-[0.1em]",children:I}),U[75]=I,U[76]=O):O=U[76],U[77]!==$||U[78]!==ej||U[79]!==ek||U[80]!==eN||U[81]!==B||U[82]!==D||U[83]!==O?(H=(0,t.jsxs)("button",{type:"button",onClick:$,disabled:ej,className:ek,style:F,"aria-current":eN,children:[B,D,O]}),U[77]=$,U[78]=ej,U[79]=ek,U[80]=eN,U[81]=B,U[82]=D,U[83]=O,U[84]=H):H=U[84],U[85]!==L||U[86]!==M||U[87]!==H?(q=(0,t.jsxs)("div",{className:"flex items-center justify-around h-[75px] pt-2",children:[L,M,H]}),U[85]=L,U[86]=M,U[87]=H,U[88]=q):q=U[88],U[89]!==X||U[90]!==q?(G=(0,t.jsxs)(t.Fragment,{children:[v,(0,t.jsx)("nav",{className:"fixed bottom-0 left-0 right-0 z-50 bg-[#faf7f5]/95 backdrop-blur-sm md:hidden",style:y,dir:X,role:"navigation","aria-label":"Mobile navigation",children:q})]}),U[89]=X,U[90]=q,U[91]=G):G=U[91],G}])},258354,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(618566),i=e.i(606315),s=e.i(999452),n=e.i(448959),o=e.i(239134),l=e.i(271645),c=e.i(787893);e.s(["default",0,function(){let e,d,u,m,h,x,f,p,g,b,v,y,w,j,k,N,S,_,L,C,P,E,T,A,z,M,$,F,B,R,W,D,I,O,H,q,G,U,Y,V,K=(0,r.c)(103),X=(0,a.usePathname)(),J=(0,a.useRouter)(),{t:Z,dir:Q}=(0,s.useTranslation)(),{isPWA:ee,isClient:et}=(0,n.usePWAMode)(),{isMobile:er}=(0,o.useIsMobile)(),[ea,ei]=(0,l.useState)(!1),[es,en]=(0,l.useState)(!1),eo=(0,c.useCartCount)(),el=(0,l.useRef)(0);K[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=setTimeout(()=>ei(!0),100);return()=>clearTimeout(e)},d=[],K[0]=e,K[1]=d):(e=K[0],d=K[1]),(0,l.useEffect)(e,d),K[2]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{en(!1)},K[2]=u):u=K[2],K[3]!==X?(m=[X],K[3]=X,K[4]=m):m=K[4],(0,l.useEffect)(u,m);let ec=X||"/";K[5]!==ec?(h=(0,i.getLocaleFromPath)(ec),K[5]=ec,K[6]=h):h=K[6];let ed=h;K[7]!==es||K[8]!==ea||K[9]!==J?(x=e=>{let t=Date.now();t-el.current<300||es||!ea||(el.current=t,en(!0),J.push(e))},K[7]=es,K[8]=ea,K[9]=J,K[10]=x):x=K[10];let eu=x;K[11]!==eo?(f={variant:"web",cartCount:eo},K[11]=eo,K[12]=f):f=K[12];let em=(0,c.useHideBottomNav)(X,f);K[13]!==X?(p=(0,c.getActiveTab)(X),K[13]=X,K[14]=p):p=K[14];let eh=p,ex=eo>0;if(!et||ee||!er||em)return null;let{active:ef,inactive:ep,badge:eg}=c.MOBILE_WEB_NAV_COLORS;K[15]!==eh?(g=e=>eh===e?ef:ep,K[15]=eh,K[16]=g):g=K[16];let eb=g;K[17]===Symbol.for("react.memo_cache_sentinel")?(b={position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",flex:1,height:"100%",padding:8,background:"none",border:"none",cursor:"pointer",WebkitTapHighlightColor:"transparent"},K[17]=b):b=K[17];let ev=b;K[18]!==eb?(v=e=>({marginTop:5,fontSize:9.5,fontWeight:600,letterSpacing:"0.1em",textTransform:"uppercase",color:eb(e)}),K[18]=eb,K[19]=v):v=K[19];let ey=v;K[20]!==eh?(y=e=>eh===e?(0,t.jsx)("span",{"aria-hidden":"true",style:{position:"absolute",top:0,width:26,height:2,borderRadius:2,backgroundColor:ef}}):null,K[20]=eh,K[21]=y):y=K[21];let ew=y,ej="home"===eh?"page":void 0;K[22]!==eu||K[23]!==ed?(w=()=>eu((0,i.getLocalizedPath)("/products",ed)),K[22]=eu,K[23]=ed,K[24]=w):w=K[24],K[25]!==ew?(j=ew("home"),K[25]=ew,K[26]=j):j=K[26];let ek="home"===eh;K[27]!==eb?(k=eb("home"),K[27]=eb,K[28]=k):k=K[28],K[29]!==ek||K[30]!==k?(N=(0,t.jsx)(c.HomeIcon,{filled:ek,color:k}),K[29]=ek,K[30]=k,K[31]=N):N=K[31],K[32]!==ey?(S=ey("home"),K[32]=ey,K[33]=S):S=K[33],K[34]!==Z?(_=Z("tabs.home")||"Home",K[34]=Z,K[35]=_):_=K[35],K[36]!==S||K[37]!==_?(L=(0,t.jsx)("span",{style:S,children:_}),K[36]=S,K[37]=_,K[38]=L):L=K[38],K[39]!==ej||K[40]!==w||K[41]!==j||K[42]!==N||K[43]!==L?(C=(0,t.jsxs)("button",{style:ev,"aria-current":ej,onClick:w,children:[j,N,L]}
2),K[39]=ej,K[40]=w,K[41]=j,K[42]=N,K[43]=L,K[44]=C):C=K[44];let eN="orders"===eh?"page":void 0;K[45]!==eu||K[46]!==ed?(P=()=>eu((0,i.getLocalizedPath)("/orders",ed)),K[45]=eu,K[46]=ed,K[47]=P):P=K[47],K[48]!==ew?(E=ew("orders"),K[48]=ew,K[49]=E):E=K[49];let eS="orders"===eh;K[50]!==eb?(T=eb("orders"),K[50]=eb,K[51]=T):T=K[51],K[52]!==eS||K[53]!==T?(A=(0,t.jsx)(c.ListIcon,{filled:eS,color:T}),K[52]=eS,K[53]=T,K[54]=A):A=K[54],K[55]!==ey?(z=ey("orders"),K[55]=ey,K[56]=z):z=K[56],K[57]!==Z?(M=Z("tabs.orders")||"Orders",K[57]=Z,K[58]=M):M=K[58],K[59]!==z||K[60]!==M?($=(0,t.jsx)("span",{style:z,children:M}),K[59]=z,K[60]=M,K[61]=$):$=K[61],K[62]!==eN||K[63]!==P||K[64]!==E||K[65]!==A||K[66]!==$?(F=(0,t.jsxs)("button",{style:ev,"aria-current":eN,onClick:P,children:[E,A,$]}),K[62]=eN,K[63]=P,K[64]=E,K[65]=A,K[66]=$,K[67]=F):F=K[67];let e_="bag"===eh?"page":void 0;K[68]!==eu||K[69]!==ed?(B=()=>eu((0,i.getLocalizedPath)("/cart",ed)),K[68]=eu,K[69]=ed,K[70]=B):B=K[70],K[71]!==ew?(R=ew("bag"),K[71]=ew,K[72]=R):R=K[72],K[73]===Symbol.for("react.memo_cache_sentinel")?(W={position:"relative"},K[73]=W):W=K[73];let eL="bag"===eh;return K[74]!==eb?(D=eb("bag"),K[74]=eb,K[75]=D):D=K[75],K[76]!==eL||K[77]!==D?(I=(0,t.jsx)(c.BagIcon,{filled:eL,color:D}),K[76]=eL,K[77]=D,K[78]=I):I=K[78],K[79]!==eo||K[80]!==ex?(O=ex&&(0,t.jsx)("span",{style:{position:"absolute",top:-5,right:-9,backgroundColor:eg,color:"#fff",fontSize:10,fontWeight:700,borderRadius:"50%",minWidth:17,height:17,display:"flex",alignItems:"center",justifyContent:"center",border:"2px solid #faf7f5"},children:eo>99?"99+":eo}),K[79]=eo,K[80]=ex,K[81]=O):O=K[81],K[82]!==I||K[83]!==O?(H=(0,t.jsxs)("div",{style:W,children:[I,O]}),K[82]=I,K[83]=O,K[84]=H):H=K[84],K[85]!==ey?(q=ey("bag"),K[85]=ey,K[86]=q):q=K[86],K[87]!==Z?(G=Z("tabs.bag")||"Bag",K[87]=Z,K[88]=G):G=K[88],K[89]!==q||K[90]!==G?(U=(0,t.jsx)("span",{style:q,children:G}),K[89]=q,K[90]=G,K[91]=U):U=K[91],K[92]!==e_||K[93]!==B||K[94]!==R||K[95]!==H||K[96]!==U?(Y=(0,t.jsxs)("button",{style:ev,"aria-current":e_,onClick:B,children:[R,H,U]}),K[92]=e_,K[93]=B,K[94]=R,K[95]=H,K[96]=U,K[97]=Y):Y=K[97],K[98]!==Q||K[99]!==C||K[100]!==F||K[101]!==Y?(V=(0,t.jsxs)("nav",{className:"mobile-web-footer-nav",dir:Q,"aria-label":"Mobile navigation",children:[C,F,Y]}),K[98]=Q,K[99]=C,K[100]=F,K[101]=Y,K[102]=V):V=K[102],V}])},593583,e=>{"use strict";let t=(0,e.i(456420).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["Menu",0,t],593583)},956449,e=>{"use strict";var t=e.i(843476),r=e.i(437902),a=e.i(500932),i=e.i(522016),s=e.i(657688),n=e.i(271645),o=e.i(618566),l=e.i(593583),c=e.i(668109),d=e.i(716327),u=e.i(263676),m=e.i(45356),h=e.i(24171),x=e.i(999452),f=e.i(448959),p=e.i(606315),g=e.i(945191),b=e.i(349512);function v(e){return!e}function y(e){return!e}e.s(["default",0,function(){let e,w,j,k,N,S,_,L,C,P,E,T,A,z,M,$,F,B,R,W,D,I,O,H,q,G,U,Y,V=(0,a.c)(148),{user:K,logout:X}=(0,m.useAuth)(),{favorites:J}=(0,h.useFavorites)(),{t:Z,locale:Q,dir:ee}=(0,x.useTranslation)(),{isPWA:et,isClient:er}=(0,f.usePWAMode)(),ea=(0,o.useRouter)(),ei=(0,o.usePathname)(),[es,en]=(0,n.useState)(!1),[eo,el]=(0,n.use
2State)(!1),[ec,ed]=(0,n.useState)(!1),[eu,em]=(0,n.useState)(!1),eh=(0,n.useRef)(0),ex=(0,n.useRef)(null);V[0]!==ei?(e=ei?.includes("/profile"),V[0]=ei,V[1]=e):e=V[1];let ef=e,ep=(0,b.isSimpleHeaderPage)(ei);V[2]!==ec||V[3]!==ef||V[4]!==Q||V[5]!==ea?(w=()=>{let e=Date.now();e-eh.current<500||(eh.current=e,ec||(ed(!0),ef?ea.push((0,p.getLocalizedPath)("/products",Q)):ea.push((0,p.getLocalizedPath)("/profile",Q)),setTimeout(()=>{ed(!1)},600)))},V[2]=ec,V[3]=ef,V[4]=Q,V[5]=ea,V[6]=w):w=V[6];let eg=w;V[7]===Symbol.for("react.memo_cache_sentinel")?(j=()=>{el(!1),ed(!1)},V[7]=j):j=V[7],V[8]!==ei?(k=[ei],V[8]=ei,V[9]=k):k=V[9],(0,n.useEffect)(j,k),V[10]===Symbol.for("react.memo_cache_sentinel")?(N=()=>{let e=setTimeout(()=>{em(!0)},100);return()=>clearTimeout(e)},S=[],V[10]=N,V[11]=S):(N=V[10],S=V[11]),(0,n.useEffect)(N,S),V[12]===Symbol.for("react.memo_cache_sentinel")?(_=()=>{let e=Date.now();e-eh.current<200||(eh.current=e,el(y))},V[12]=_):_=V[12];let eb=_;if(!er||!et||ep)return null;let ev="rtl"===ee,ey=J?.length||0;if(V[13]!==ee||V[14]!==ey||V[15]!==eg||V[16]!==ec||V[17]!==ef||V[18]!==ev||V[19]!==eu||V[20]!==Q||V[21]!==ei||V[22]!==es||V[23]!==eo||V[24]!==Z||V[25]!==K){let e,r,a,n,o,m,h,x,f,g,b,y,w,j,k,N,S,_,D,I,O,H,q,G,U=K?.name?.charAt(0)||K?.email?.charAt(0)||"G";M="fixed top-0 left-0 right-0 z-50 bg-white md:hidden",V[39]===Symbol.for("react.memo_cache_sentinel")?($={paddingTop:"env(safe-area-inset-top, 0px)",borderBottom:"0.5px solid rgba(0, 0, 0, 0.12)",boxShadow:"0 1px 3px rgba(0, 0, 0, 0.04)"},V[39]=$):$=V[39],F=ee,T=`flex items-center justify-between h-14 px-4 ${ev?"flex-row-reverse":""}`;let Y=`flex items-center gap-1.5 ${ev?"flex-row-reverse":""}`;V[40]!==eu?(e=e=>{e.preventDefault(),eu&&eb()},V[40]=eu,V[41]=e):e=V[41],V[42]===Symbol.for("react.memo_cache_sentinel")?(r={WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},V[42]=r):r=V[42],V[43]!==eo||V[44]!==Z?(a=Z(eo?"common.closeMobileMenu":"common.openMobileMenu"),V[43]=eo,V[44]=Z,V[45]=a):a=V[45];let X=!eu;V[46]!==eo?(n=eo?(0,t.jsx)(u.X,{className:"w-5 h-5 text-[var(--cera-ok)]"}):(0,t.jsx)(l.Menu,{className:"w-5 h-5"}),V[46]=eo,V[47]=n):n=V[47],V[48]!==eo||V[49]!==e||V[50]!==a||V[51]!==X||V[52]!==n?(o=(0,t.jsx)("button",{ref:ex,onClick:eb,onTouchEnd:e,className:"p-2.5 -m-1 text-gray-700 hover:text-gray-900 active:bg-gray-100 rounded-lg touch-manipulation select-none",style:r,"aria-label":a,"aria-expanded":eo,disabled:X,children:n}),V[48]=eo,V[49]=e,V[50]=a,V[51]=X,V[52]=n,V[53]=o):o=V[53],V[54]!==es?(m=()=>en(!es),V[54]=es,V[55]=m):m=V[55],V[56]!==eu?(h=e=>{e.preventDefault(),eu&&en(v)},V[56]=eu,V[57]=h):h=V[57];let J=!eu;V[58]===Symbol.for("react.memo_cache_sentinel")?(x={WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},V[58]=x):x=V[58],V[59]!==Q?(f=Q.toUpperCase(),V[59]=Q,V[60]=f):f=V[60],V[61]!==f?(g=(0,t.jsx)("span",{children:f}),V[61]=f,V[62]=g):g=V[62];let et=`w-3.5 h-3.5 transition-transform ${es?"rotate-180":""}`;V[63]!==et?(b=(0,t.jsx)(d.ChevronDown,{className:et}),V[63]=et,V[64]=b):b=V[64],V[65]!==m||V[66]!==h||V[67]!==J||V[68]!==g||V[69]!==b?(y=(0,t.jsxs)("button",{onClick:m,onTouchEnd:h,disabled:J,className:"flex items-center gap-0.5 text-[var(--cera-ok)] font-semibold text-sm px-2 py-1.5 touch-manipulation select-none active:bg-[var(--cera-ok-bg)] rounded-md transition-colors",style:x,children:[g,b]}),V[65]=m,V[66]=h,V[67]=J,V[68]=g,V[69]=b,V[70]=y):y=V[70],V[71]!==ev||V[72]!==Q||V[73]!==ei||V[74]!==es?(w=es&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-40",onClick:()=>en(!1)}),(0,t.jsx)("div",{className:`absolute top-full mt-2 bg-white rounded-lg shadow-lg border border-gray-100 py-1 z-50 min-w-[100px] ${ev?"right-0":"left-0"}`,children:["en","ru","ar"].map(e=>{let r="en"===e?"English":"ru"===e?"Русский":"العربية",a=()=>{en(!1),(0,p.switchLocaleHardNav)(e,ei||"/")};return(0,t.jsx)("button",{type:"button",onClick:a,onTouchEnd:e=>{e.preventDefault(),a()},className:`block w-full text-left px-4 py-2.5 text-sm hover:bg-gray-50 active:bg-gray-100 touch-manipulation ${Q===e?"text-[var(--cera-ok)] font-semibold bg-[var(--cera-ok-bg)]":"text-gray-700"}`,style:{WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},children:r},e)})})]}),V[71]=ev,V[72]=Q,V[73]=ei,V[74]=es,V[75]=w):w=V[75],V[76]!==y||V[77]!==w?(j=(0,t.jsxs)("div",{className:"relative",children:[y,w]}),V[76]=y,V[77]=w,V[78]=j):j=V[78],V[79]!==Q?(k=(0,p.getLocalizedPath)("/skin-rec
2ommendation",Q),V[79]=Q,V[80]=k):k=V[80],V[81]===Symbol.for("react.memo_cache_sentinel")?(N={WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},V[81]=N):N=V[81],V[82]!==k?(S=(0,t.jsx)(i.default,{href:k,className:"text-red-600 font-bold text-sm px-2 py-1.5 touch-manipulation select-none active:bg-red-50 rounded-md transition-colors",style:N,children:"AI"}),V[82]=k,V[83]=S):S=V[83],V[84]!==Y||V[85]!==o||V[86]!==j||V[87]!==S?(A=(0,t.jsxs)("div",{className:Y,children:[o,j,S]}),V[84]=Y,V[85]=o,V[86]=j,V[87]=S,V[88]=A):A=V[88];let er=`flex items-center gap-0.5 ${ev?"flex-row-reverse":""}`;V[89]!==Q?(_=(0,p.getLocalizedPath)("/products",Q),V[89]=Q,V[90]=_):_=V[90],V[91]===Symbol.for("react.memo_cache_sentinel")?(D=(0,t.jsx)(s.default,{src:"/Logo/upLOGO-transparent.png",alt:"GENOSYS",width:1009,height:203,className:"h-[22px] w-auto",priority:!0}),V[91]=D):D=V[91],V[92]!==_?(I=(0,t.jsx)(i.default,{href:_,className:"flex items-center",children:D}),V[92]=_,V[93]=I):I=V[93],V[94]!==Q?(O=(0,p.getLocalizedPath)("/favorites",Q),V[94]=Q,V[95]=O):O=V[95];let ea=`w-6 h-6 text-red-600 transition-all ${ey>0?"fill-red-600":""}`;V[96]!==ea?(H=(0,t.jsx)(c.Heart,{className:ea}),V[96]=ea,V[97]=H):H=V[97],V[98]!==ey?(q=ey>0&&(0,t.jsx)("span",{className:"absolute -top-0.5 -right-1 bg-red-600 text-white text-[9px] font-bold rounded-full min-w-[16px] h-[16px] flex items-center justify-center border-2 border-white",children:ey>99?"99+":ey}),V[98]=ey,V[99]=q):q=V[99],V[100]!==O||V[101]!==H||V[102]!==q?(G=(0,t.jsxs)(i.default,{href:O,className:"relative p-1",children:[H,q]}),V[100]=O,V[101]=H,V[102]=q,V[103]=G):G=V[103],V[104]!==er||V[105]!==I||V[106]!==G?(z=(0,t.jsxs)("div",{className:er,children:[I,G]}),V[104]=er,V[105]=I,V[106]=G,V[107]=z):z=V[107],B=eg,V[108]!==eg||V[109]!==ec||V[110]!==eu?(R=e=>{e.preventDefault(),eu&&!ec&&eg()},V[108]=eg,V[109]=ec,V[110]=eu,V[111]=R):R=V[111],W=ec||!eu,L=`flex items-center p-2.5 -m-1 touch-manipulation transition-all select-none ${ec?"opacity-50 scale-95":"active:scale-95"}`,V[112]===Symbol.for("react.memo_cache_sentinel")?(C={WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},V[112]=C):C=V[112],P=ef?"Go back":"Open profile",E=K?(0,t.jsxs)("div",{className:`relative w-9 h-9 rounded-full flex items-center justify-center transition-colors ${ef?"bg-gray-600":"bg-red-600"}`,children:[(0,t.jsx)("span",{className:"text-white text-sm font-semibold",children:U.toUpperCase()}),(0,t.jsx)("span",{className:"absolute bottom-0 right-0 w-2.5 h-2.5 bg-green-500 rounded-full border-[1.5px] border-white"})]}):(0,t.jsx)("div",{className:`w-9 h-9 rounded-full flex items-center justify-center transition-colors ${ef?"bg-gray-200":"bg-gray-100"}`,children:(0,t.jsx)("svg",{className:"w-5 h-5 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})})}),V[13]=ee,V[14]=ey,V[15]=eg,V[16]=ec,V[17]=ef,V[18]=ev,V[19]=eu,V[20]=Q,V[21]=ei,V[22]=es,V[23]=eo,V[24]=Z,V[25]=K,V[26]=L,V[27]=C,V[28]=P,V[29]=E,V[30]=T,V[31]=A,V[32]=z,V[33]=M,V[34]=$,V[35]=F,V[36]=B,V[37]=R,V[38]=W}else L=V[26],C=V[27],P=V[28],E=V[29],T=V[30],A=V[31],z=V[32],M=V[33],$=V[34],F=V[35],B=V[36],R=V[37],W=V[38];V[113]!==L||V[114]!==C||V[115]!==P||V[116]!==E||V[117]!==B||V[118]!==R||V[119]!==W?(D=(0,t.jsx)("button",{onClick:B,onTouchEnd:R,disabled:W,className:L,style:C,"aria-label":P,children:E}),V[113]=L,V[114]=C,V[115]=P,V[116]=E,V[117]=B,V[118]=R,V[119]=W,V[120]=D):D=V[120],V[121]!==T||V[122]!==A||V[123]!==z||V[124]!==D?(I=(0,t.jsxs)("div",{className:T,children:[A,z,D]}),V[121]=T,V[122]=A,V[123]=z,V[124]=D,V[125]=I):I=V[125];let ew="ar"===Q?"العناية بالبشرة الفاخرة والجمال":"ru"===Q?"Премиальный уход за кожей и красота":"Premium Skincare & Beauty";return V[126]!==ew?(O=(0,t.jsx)("div",{className:"text-center pb-1.5",children:(0,t.jsx)("p",{className:"text-[10px] text-gray-500 tracking-wide font-medium",children:ew})}),V[126]=ew,V[127]=O):O=V[127],V[128]!==M||V[129]!==$||V[130]!==F||V[131]!==I||V[132]!==O?(H=(0,t.jsxs)("header",{className:M,style:$,dir:F,children:[I,O]}),V[128]=M,V[129]=$,V[130]=F,V[131]=I,V[132]=O,V[133]=H):H=V[133],V[134]!==ee||V[135]!==ey||V[136]!==ev||V[137]!==Q||V[138]!==X||V[139]!==eo||V[140]!==Z||V[141]!==K?(q=eo&&(0,t.jsxs)("div",{className:"fixed inset-0 z-40 md:hidden",style:{paddingTop:"calc(env(safe-area-inset-top, 0px) + 56px)"},children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-sm",onClick:()=>el(!1)}),(0,t.jsxs)("div",{className:`relative bg-white rounded-b-2xl shadow-2xl max-h-[70vh] overflow-y-auto ${ev?"text-right":"text-left"}`,dir:ee,style:{animation:"slideDown 0.2s ease-out"},children:[(0,t.jsx)("nav",{className:"p-4",children:(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-x-4 gap-y-2",children:[(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/products",Q),className:`py-2.5 text-gray-800 hover:text-red-600 transition-colors text-sm font-medium ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("navigation.products")}),(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/orders",Q),className:`py-2.5 text-gray-800 hover:text-red-600 transition-colors text-sm font-medium ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("navigation.orders")||"Orders"}),(0,t.jsxs)(i.default,{href:(0,p.getLocalizedPath)("/favorites",Q),className:`py-2.5 text-gray-800 hover:text-red-600 transition-colors text-sm font-medium ${ev?"text-right":""}`,onClick:()=>el(!1),children:[Z("navigation.favorites")||"Favorites",ey>0&&(0,t.jsx)("span",{className:`${ev?"mr-1":"ml-1"} bg-red-500 text-white text-xs px-1.5 py-0.5 rounded-full`,children:ey})]}),(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/profile",Q),className:`py-2.5 text-gray-800 hover:text-red-600 transition-colors text-sm font-medium ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("common.profile")}),(0,t.jsx)("div",{className:"col-span-2 h-px bg-gray-200 my-2"}),(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/",Q),className:`py-2 text-gray-600 hover:text-red-600 transition-colors text-sm ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("navigation.home")}),(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/about",Q),className:`py-2 text-gray-600 hover:text-red-600 transition-colors text-sm ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("navigation.about")}),(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/brand",Q),className:`py-2 text-gray-600 hover:text-red-600 transition-colors text-sm ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("navigation.brand")}),(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/delivery",Q),className:`py-2 text-gray-600 hover:text-red-600 transition-colors text-sm ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("navigation.delivery")}),(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/contact",Q),className:`py-2 text-gray-600 hover:text-red-600 transition-colors text-sm ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("navigation.contact")}),(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/faq",Q),className:`py-2 text-gray-600 hover:text-red-600 transition-colors text-sm ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("navigation.faq")}),(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/locations",Q),className:`py-2 text-gray-600 hover:text-red-600 transition-colors text-sm ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("common.locations")}),(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/blog",Q),className:`py-2 text-gray-600 hover:text-red-600 transition-colors text-sm ${ev?"text-right":""}`,onClick:()=>el(!1),children:"ar"===Q?"المدونة":"ru"===Q?"Блог":"Blog"}
2),(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/skin-recommendation",Q),className:`py-2 text-red-600 hover:text-red-700 transition-colors text-sm font-medium ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("navigation.aiSkinAnalysis")||"AI Skin Analysis"}),K&&(0,t.jsx)(i.default,{href:(0,p.getLocalizedPath)("/training",Q),className:`py-2 text-gray-600 hover:text-red-600 transition-colors text-sm ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("navigation.training")}),(0,t.jsx)("div",{className:"col-span-2 h-px bg-gray-200 my-2"}),K?(0,t.jsx)("button",{onClick:()=>{X(),el(!1)},className:`col-span-2 py-2.5 text-red-600 hover:text-red-700 transition-colors text-sm font-medium ${ev?"text-right":"text-left"}`,children:Z("common.logout")}):(0,t.jsx)(i.default,{href:(0,g.loginPathWithReturn)(Q),className:`col-span-2 py-2.5 text-red-600 hover:text-red-700 transition-colors text-sm font-medium ${ev?"text-right":""}`,onClick:()=>el(!1),children:Z("common.login")})]})}),(0,t.jsx)("div",{className:"h-2"})]})]}),V[134]=ee,V[135]=ey,V[136]=ev,V[137]=Q,V[138]=X,V[139]=eo,V[140]=Z,V[141]=K,V[142]=q):q=V[142],V[143]===Symbol.for("react.memo_cache_sentinel")?(G=(0,t.jsx)(r.default,{id:"8ab98315ba029cdc",children:"@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}"}),V[143]=G):G=V[143],V[144]===Symbol.for("react.memo_cache_sentinel")?(U=(0,t.jsx)("div",{className:"md:hidden",style:{height:"calc(env(safe-area-inset-top, 0px) + 80px)"},"aria-hidden":"true"}),V[144]=U):U=V[144],V[145]!==H||V[146]!==q?(Y=(0,t.jsxs)(t.Fragment,{children:[H,q,G,U]}),V[145]=H,V[146]=q,V[147]=Y):Y=V[147],Y}])},430580,e=>{"use strict";var t=e.i(843476),r=e.i(437902),a=e.i(500932),i=e.i(522016),s=e.i(657688),n=e.i(271645),o=e.i(618566),l=e.i(593583),c=e.i(668109),d=e.i(716327),u=e.i(263676),m=e.i(367784),h=e.i(97923),x=e.i(328623),f=e.i(45356),p=e.i(24171),g=e.i(999452),b=e.i(448959),v=e.i(239134),y=e.i(606315),w=e.i(945191),j=e.i(349512),k=e.i(849702);function N(e){return!e}function S(){document.body.style.overflow=""}function _(e){return!e}e.s(["default",0,function(){let e,L,C,P,E,T,A,z,M,$,F,B,R,W,D,I,O,H,q,G,U,Y,V,K,X,J,Z,Q,ee,et,er,ea,ei,es,en,eo,el,ec,ed=(0,a.c)(168),{user:eu,logout:em}=(0,f.useAuth)(),{favorites:eh}=(0,p.useFavorites)(),{t:ex,locale:ef,dir:ep}=(0,g.useTranslation)(),{isPWA:eg,isClient:eb}=(0,b.usePWAMode)(),ev=(0,o.useRouter)(),ey=(0,o.usePathname)(),[ew,ej]=(0,n.useState)(!1),[ek,eN]=(0,n.useState)(!1),[eS,e_]=(0,n.use
2State)(!1),[eL,eC]=(0,n.useState)(!1),{isMobile:eP}=(0,v.useIsMobile)(),eE=!ek&&!ew;ed[0]!==eE?(e={enabled:eE},ed[0]=eE,ed[1]=e):e=ed[1];let{ref:eT,hidden:eA}=(0,k.useHideOnScroll)(e),ez=(0,n.useRef)(0),eM=(0,n.useRef)(null),e$=(0,n.useRef)(null),[eF,eB]=(0,n.useState)(0),[eR,eW]=(0,n.useState)(!1),eD=(0,n.useRef)(0),eI=(0,n.useRef)(0),eO=(0,n.useRef)(!0);ed[2]!==ey?(L=ey?.includes("/profile"),ed[2]=ey,ed[3]=L):L=ed[3];let eH=L,eq=(0,j.isSimpleHeaderPage)(ey);ed[4]!==eS||ed[5]!==eH||ed[6]!==ef||ed[7]!==ev?(C=()=>{let e=Date.now();e-ez.current<500||(ez.current=e,eS||(e_(!0),eH?ev.push((0,y.getLocalizedPath)("/products",ef)):ev.push((0,y.getLocalizedPath)("/profile",ef)),setTimeout(()=>{e_(!1)},600)))},ed[4]=eS,ed[5]=eH,ed[6]=ef,ed[7]=ev,ed[8]=C):C=ed[8];let eG=C;ed[9]===Symbol.for("react.memo_cache_sentinel")?(P=()=>{eN(!1),e_(!1)},ed[9]=P):P=ed[9],ed[10]!==ey?(E=[ey],ed[10]=ey,ed[11]=E):E=ed[11],(0,n.useEffect)(P,E),ed[12]===Symbol.for("react.memo_cache_sentinel")?(T=()=>{let e=setTimeout(()=>{eC(!0)},100);return()=>clearTimeout(e)},A=[],ed[12]=T,ed[13]=A):(T=ed[12],A=ed[13]),(0,n.useEffect)(T,A),ed[14]===Symbol.for("react.memo_cache_sentinel")?(z=()=>{let e=Date.now();e-ez.current<200||(ez.current=e,eN(_))},ed[14]=z):z=ed[14];let eU=z;ed[15]===Symbol.for("react.memo_cache_sentinel")?(M=e=>{let t=e$.current;t&&t.scrollTop<=0?eO.current=!0:eO.current=!1,eD.current=e.touches[0]?.clientY??0,eI.current=Date.now(),eW(!1)},ed[15]=M):M=ed[15];let eY=M;ed[16]!==eR?($=e=>{if(!eO.current)return;let t=e.touches[0]?.clientY??0,r=eD.current-t;r>10?(eW(!0),eB(Math.min(.6*r,300))):eR&&(eB(0),eW(!1))},ed[16]=eR,ed[17]=$):$=ed[17];let eV=$;ed[18]!==eR||ed[19]!==eF?(F=()=>{if(!eR)return void eB(0);let e=eF/Math.max(Date.now()-eI.current,1);eF>80||e>.3?(eB(500),setTimeout(()=>{eN(!1),eB(0),eW(!1)},200)):(eB(0),eW(!1))},ed[18]=eR,ed[19]=eF,ed[20]=F):F=ed[20];let eK=F;if(ed[21]!==ek?(B=()=>(ek?document.body.style.overflow="hidden":(document.body.style.overflow="",eB(0),eW(!1)),S),R=[e
2k],ed[21]=ek,ed[22]=B,ed[23]=R):(B=ed[22],R=ed[23]),(0,n.useEffect)(B,R),!eb||eg||!eP||eq)return null;let eX="rtl"===ep,eJ=eh?.length||0;if(ed[24]!==ep||ed[25]!==eJ||ed[26]!==eG||ed[27]!==eA||ed[28]!==eT||ed[29]!==eS||ed[30]!==eH||ed[31]!==eX||ed[32]!==eL||ed[33]!==ef||ed[34]!==ey||ed[35]!==ew||ed[36]!==ek||ed[37]!==ex||ed[38]!==eu){let e,r,a,n,o,m,h,x,f,p,g,b,v,w,j,k,S,_,L,C,P,E=eu?.name?.charAt(0)||eu?.email?.charAt(0)||"G";J=eT,Z=eA,Q="cera-page genosys-page mobile-web-header mweb-hide-on-scroll fixed z-50 md:hidden",ed[56]===Symbol.for("react.memo_cache_sentinel")?(ee={top:"calc(env(safe-area-inset-top, 0px) + var(--mweb-chrome-inset))",left:"var(--mweb-chrome-inset)",right:"var(--mweb-chrome-inset)",border:"1px solid var(--cera-line)",borderRadius:"var(--mweb-chrome-radius)",boxShadow:"var(--mweb-chrome-shadow)"},ed[56]=ee):ee=ed[56],et=ep,V="grid h-14 grid-cols-[1fr_auto_1fr] items-center px-2.5";let T=`flex items-center justify-self-start ${eX?"flex-row-reverse":""}`;ed[57]!==eL?(e=e=>{e.preventDefault(),eL&&eU()},ed[57]=eL,ed[58]=e):e=ed[58],ed[59]===Symbol.for("react.memo_cache_sentinel")?(r={WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},ed[59]=r):r=ed[59],ed[60]!==ek||ed[61]!==ex?(a=ex(ek?"common.closeMobileMenu":"common.openMobileMenu"),ed[60]=ek,ed[61]=ex,ed[62]=a):a=ed[62];let A=!eL;ed[63]!==ek?(n=ek?(0,t.jsx)(u.X,{className:"w-5 h-5"}):(0,t.jsx)(l.Menu,{className:"w-5 h-5"}),ed[63]=ek,ed[64]=n):n=ed[64],ed[65]!==ek||ed[66]!==e||ed[67]!==a||ed[68]!==A||ed[69]!==n?(o=(0,t.jsx)("button",{ref:eM,onClick:eU,onTouchEnd:e,className:"flex h-11 w-11 items-center justify-center rounded-full text-[var(--cera-ink)] transition-colors active:bg-[var(--cera-cream-deep)] touch-manipulation select-none",style:r,"aria-label":a,"aria-expanded":ek,disabled:A,children:n}),ed[65]=ek,ed[66]=e,ed[67]=a,ed[68]=A,ed[69]=n,ed[70]=o):o=ed[70],ed[71]!==ew?(m=()=>ej(!ew),ed[71]=ew,ed[72]=m):m=ed[72],ed[73]!==eL?(h=e=>{e.preventDefault(),eL&&ej(N)},ed[73]=eL,ed[74]=h):h=ed[74];let z=!eL;ed[75]!==ex?(x=ex("common.language")||"Language",ed[75]=ex,ed[76]=x):x=ed[76],ed[77]===Symbol.for("react.memo_cache_sentinel")?(f={WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},ed[77]=f):f=ed[77],ed[78]!==ef?(p=ef.toUpperCase(),ed[78]=ef,ed[79]=p):p=ed[79],ed[80]!==p?(g=(0,t.jsx)("span",{children:p}),ed[80]=p,ed[81]=g):g=ed[81];let M=`w-3.5 h-3.5 transition-transform ${ew?"rotate-180":""}`;ed[82]!==M?(b=(0,t.jsx)(d.ChevronDown,{className:M}),ed[82]=M,ed[83]=b):b=ed[83],ed[84]!==ew||ed[85]!==m||ed[86]!==h||ed[87]!==z||ed[88]!==x||ed[89]!==g||ed[90]!==b?(v=(0,t.jsxs)("button",{onClick:m,onTouchEnd:h,disabled:z,"aria-label":x,"aria-expanded":ew,className:"flex h-11 min-w-11 items-center justify-center gap-0.5 rounded-full px-2 text-[13px] font-semibold tracking-[0.06em] text-[var(--cera-muted)] transition-colors active:bg-[var(--cera-cream-deep)] touch-manipulation select-none",style:f,children:[g,b]}),ed[84]=ew,ed[85]=m,ed[86]=h,ed[87]=z,ed[88]=x,ed[89]=g,ed[90]=b,ed[91]=v):v=ed[91],ed[92]!==eX||ed[93]!==ef||ed[94]!==ey||ed[95]!==ew?(w=ew&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-40",onClick:()=>ej(!1)}),(0,t.jsx)("div",{className:`absolute top-full z-50 mt-1 min-w-[132px] overflow-hidden rounded-2xl border border-[var(--cera-line)] bg-white py-1 shadow-[0_20px_44px_-28px_rgba(23,20,15,0.45)] ${eX?"right-0":"left-0"}`,children:["en","ru","ar"].map(e=>{let r="en"===e?"English":"ru"===e?"Русский":"العربية",a=()=>{ej(!1),(0,y.switchLocaleHardNav)(e,ey||"/")};return(0,t.jsx)("button",{type:"button",onClick:a,onTouchEnd:e=>{e.preventDefault(),a()},className:`block w-full px-4 py-3 text-start text-sm touch-manipulation transition-colors active:bg-[var(--cera-cream-deep)] ${ef===e?"bg-[var(--cera-blush)] font-semibold text-[var(--cera-rose-ink)]":"text-[var(--cera-body)]"}`,style:{WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},children:r},e)})})]}),ed[92]=eX,ed[93]=ef,ed[94]=ey,ed[95]=ew,ed[96]=w):w=ed[96],ed[97]!==v||ed[98]!==w?(j=(0,t.jsxs)("div",{className:"relative",children:[v,w]}),ed[97]=v,ed[98]=w,ed[99]=j):j=ed[99],ed[100]!==T||ed[101]!==o||ed[102]!==j?(K=(0,t.jsxs)("div",{className:T,children:[o,j]}),ed[100]=T,ed[101]=o,ed[102]=j,ed[103]=K):K=ed[103],ed[104]!==ef?(k=(0,y.getLocalizedPath)("/products",ef),ed[104]=ef,ed[105]=k):k=ed[105],ed[106]===Symbol.for("react.memo_cache_sentinel")?(S=(0,t.jsx)(s.default,{src:"/images/genosys-wordmark-trans
2parent.png",alt:"GENOSYS",width:977,height:210,className:"h-[22px] w-auto",priority:!0}),ed[106]=S):S=ed[106],ed[107]!==k?(X=(0,t.jsx)(i.default,{href:k,className:"flex items-center justify-self-center",children:S}),ed[107]=k,ed[108]=X):X=ed[108],U=`flex items-center justify-self-end ${eX?"flex-row-reverse":""}`,ed[109]!==ef?(_=(0,y.getLocalizedPath)("/favorites",ef),ed[109]=ef,ed[110]=_):_=ed[110],ed[111]!==ex?(L=ex("navigation.favorites")||"Favorites",ed[111]=ex,ed[112]=L):L=ed[112];let $=`w-[21px] h-[21px] transition-all ${eJ>0?"fill-[var(--cera-rose)] text-[var(--cera-rose)]":"text-[var(--cera-ink)]"}`;ed[113]!==$?(C=(0,t.jsx)(c.Heart,{className:$}),ed[113]=$,ed[114]=C):C=ed[114],ed[115]!==eJ?(P=eJ>0&&(0,t.jsx)("span",{className:"absolute right-1 top-1 flex h-[17px] min-w-[17px] items-center justify-center rounded-full border-2 border-[var(--cera-cream)] bg-[var(--cera-rose)] text-[9px] font-bold text-white",children:eJ>99?"99+":eJ}),ed[115]=eJ,ed[116]=P):P=ed[116],ed[117]!==_||ed[118]!==L||ed[119]!==C||ed[120]!==P?(Y=(0,t.jsxs)(i.default,{href:_,className:"relative flex h-11 w-11 items-center justify-center rounded-full transition-colors active:bg-[var(--cera-cream-deep)]","aria-label":L,children:[C,P]}),ed[117]=_,ed[118]=L,ed[119]=C,ed[120]=P,ed[121]=Y):Y=ed[121],W=eG,ed[122]!==eG||ed[123]!==eS||ed[124]!==eL?(D=e=>{e.preventDefault(),eL&&!eS&&eG()},ed[122]=eG,ed[123]=eS,ed[124]=eL,ed[125]=D):D=ed[125],I=eS||!eL,O=`flex h-11 w-11 items-center justify-center touch-manipulation select-none transition-all ${eS?"scale-95 opacity-50":"active:scale-95"}`,ed[126]===Symbol.for("react.memo_cache_sentinel")?(H={WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},ed[126]=H):H=ed[126],q=eH?"Go back":"Open profile",G=eu?(0,t.jsxs)("div",{className:`relative flex h-[34px] w-[34px] items-center justify-center rounded-full transition-colors ${eH?"bg-[var(--cera-muted)]":"bg-[var(--cera-cta)]"}`,children:[(0,t.jsx)("span",{className:"text-[13px] font-semibold text-white",children:E.toUpperCase()}),(0,t.jsx)("span",{className:"absolute bottom-0 right-0 h-2.5 w-2.5 rounded-full border-[1.5px] border-[var(--cera-cream)] bg-green-500"})]}):(0,t.jsx)("div",{className:`flex h-[34px] w-[34px] items-center justify-center rounded-full border border-[var(--cera-line)] transition-colors ${eH?"bg-[var(--cera-cream-deep)]":"bg-white"}`,children:(0,t.jsx)("svg",{className:"h-[19px] w-[19px] text-[var(--cera-muted)]",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})})}),ed[24]=ep,ed[25]=eJ,ed[26]=eG,ed[27]=eA,ed[28]=eT,ed[29]=eS,ed[30]=eH,ed[31]=eX,ed[32]=eL,ed[33]=ef,ed[34]=ey,ed[35]=ew,ed[36]=ek,ed[37]=ex,ed[38]=eu,ed[39]=W,ed[40]=D,ed[41]=I,ed[42]=O,ed[43]=H,ed[44]=q,ed[45]=G,ed[46]=U,ed[47]=Y,ed[48]=V,ed[49]=K,ed[50]=X,ed[51]=J,ed[52]=Z,ed[53]=Q,ed[54]=ee,ed[55]=et}else W=ed[39],D=ed[40],I=ed[41],O=ed[42],H=ed[43],q=ed[44],G=ed[45],U=ed[46],Y=ed[47],V=ed[48],K=ed[49],X=ed[50],J=ed[51],Z=ed[52],Q=ed[53],ee=ed[54],et=ed[55];return ed[127]!==W||ed[128]!==D||ed[129]!==I||ed[130]!==O||ed[131]!==H||ed[132]!==q||ed[133]!==G?(er=(0,t.jsx)("button",{onClick:W,onTouchEnd:D,disabled:I,className:O,style:H,"aria-label":q,children:G}),ed[127]=W,ed[128]=D,ed[129]=I,ed[130]=O,ed[131]=H,ed[132]=q,ed[133]=G,ed[134]=er):er=ed[134],ed[135]!==U||ed[136]!==Y||ed[137]!==er?(ea=(0,t.jsxs)("div",{className:U,children:[Y,er]}),ed[135]=U,ed[136]=Y,ed[137]=er,ed[138]=ea):ea=ed[138],ed[139]!==V||ed[140]!==K||ed[141]!==X||ed[142]!==ea?(ei=(0,t.jsxs)("div",{className:V,children:[K,X,ea]}),ed[139]=V,ed[140]=K,ed[141]=X,ed[142]=ea,ed[143]=ei):ei=ed[143],ed[144]!==J||ed[145]!==Z||ed[146]!==Q||ed[147]!==ee||ed[148]!==et||ed[149]!==ei?(es=(0,t.jsx)("header",{ref:J,"data-hidden":Z,className:Q,style:ee,dir:et,children:ei}),ed[144]=J,ed[145]=Z,ed[146]=Q,ed[147]=ee,ed[148]=et,ed[149]=ei,ed[150]=es):es=ed[150],ed[151]!==ep||ed[152]!==eK||ed[153]!==eV||ed[154]!==eX||ed[155]!==eR||ed[156]!==ef||ed[157]!==em||ed[158]!==ek||ed[159]!==eF||ed[160]!==ex||ed[161]!==eu?(en=ek&&(0,t.jsxs)("div",{className:"fixed inset-0 z-40 md:hidden",style:{paddingTop:"var(--mweb-header-space)"},children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-sm",onClick:()=>eN(!1)}),(0,t.jsxs)("div",{ref:e$,className:`cera-page genosys-page relative max-h-[70vh] overflow-y-auto rounded-b-[24px] shadow-[0_28px_60px_-24px_rgba(23,20,15,0.5)] ${eX?"text-right":"text-left"}
2`,dir:ep,style:{animation:eR||0!==eF?void 0:"slideDown 0.2s ease-out",transform:eF>0?`translateY(-${eF}px)`:void 0,transition:eR?"none":"transform 0.25s ease-out",opacity:eF>0?Math.max(1-eF/400,0):1},onTouchStart:eY,onTouchMove:eV,onTouchEnd:eK,children:[(0,t.jsx)("div",{className:"flex justify-center pb-1 pt-2",children:(0,t.jsx)("div",{className:"h-1 w-10 rounded-full bg-[var(--cera-blush-deep)]"})}),(0,t.jsx)("p",{className:"cera-eyebrow px-4 pb-2 pt-1 text-center",children:"ar"===ef?"العناية بالبشرة الفاخرة والجمال":"ru"===ef?"Премиальный уход за кожей и красота":"Premium Skincare & Beauty"}),(0,t.jsxs)("nav",{className:"px-4 pt-1 pb-3",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-x-4 gap-y-1",children:[(0,t.jsx)(i.default,{href:(0,y.getLocalizedPath)("/products",ef),className:`py-2.5 text-[var(--cera-ink)] hover:text-[var(--cera-rose-ink)] transition-colors text-[15px] font-semibold ${eX?"text-right":""}`,onClick:()=>eN(!1),children:ex("navigation.products")}),(0,t.jsxs)(i.default,{href:(0,y.getLocalizedPath)("/bundle-builder",ef),className:`py-2.5 text-[var(--cera-rose-ink)] transition-colors text-[15px] font-semibold ${eX?"text-right":""}`,onClick:()=>eN(!1),children:["🎁 ",ex("bundleBuilder.title")]})]}),(0,t.jsxs)(i.default,{href:(0,y.getLocalizedPath)("/skin-recommendation",ef),onClick:()=>eN(!1),className:`mt-3 flex items-center gap-2.5 w-full py-2.5 px-3 rounded-xl ed-panel text-[var(--cera-rose-ink)] transition-colors ${eX?"flex-row-reverse text-right":""}`,children:[(0,t.jsx)(x.Sparkles,{className:"w-4 h-4 flex-shrink-0"}),(0,t.jsx)("span",{className:"text-sm font-semibold",children:ex("navigation.aiSkinAnalysis")||"AI Skin Analysis"})]}),(0,t.jsxs)("div",{className:"mt-4 mb-1.5 flex items-center gap-2 px-1",children:[(0,t.jsx)("span",{className:`cera-eyebrow ${eX?"order-2":""}`,children:"ar"===ef?"استكشف":"ru"===ef?"Разделы":"Explore"}),(0,t.jsx)("div",{className:"flex-1 h-px bg-[var(--cera-line)]"})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-x-4 gap-y-0.5",children:[(0,t.jsx)(i.default,{href:(0,y.getLocalizedPath)("/about",ef),className:`py-1.5 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors text-sm ${eX?"text-right":""}`,onClick:()=>eN(!1),children:ex("navigation.about")}),(0,t.jsx)(i.default,{href:(0,y.getLocalizedPath)("/brand",ef),className:`py-1.5 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors text-sm ${eX?"text-right":""}`,onClick:()=>eN(!1),children:ex("navigation.brand")}),(0,t.jsx)(i.default,{href:(0,y.getLocalizedPath)("/delivery",ef),className:`py-1.5 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors text-sm ${eX?"text-right":""}`,onClick:()=>eN(!1),children:ex("navigation.delivery")}),(0,t.jsx)(i.default,{href:(0,y.getLocalizedPath)("/contact",ef),className:`py-1.5 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors text-sm ${eX?"text-right":""}`,onClick:()=>eN(!1),children:ex("navigation.contact")}),(0,t.jsx)(i.default,{href:(0,y.getLocalizedPath)("/faq",ef),className:`py-1.5 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors text-sm ${eX?"text-right":""}`,onClick:()=>eN(!1),children:ex("navigation.faq")}),(0,t.jsx)(i.default,{href:(0,y.getLocalizedPath)("/locations",ef),className:`py-1.5 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors text-sm ${eX?"text-right":""}`,onClick:()=>eN(!1),children:ex("common.locations")}),(0,t.jsx)(i.default,{href:(0,y.getLocalizedPath)("/partners",ef),className:`py-1.5 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors text-sm ${eX?"text-right":""}`,onClick:()=>eN(!1),children:ex("navigation.partners")}),(0,t.jsx)(i.default,{href:(0,y.getLocalizedPath)("/blog",ef),className:`py-1.5 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors text-sm ${eX?"text-right":""}`,onClick:()=>eN(!1),children:"ar"===ef?"المدونة":"ru"===ef?"Блог":"Blog"}),eu&&(0,t.jsx)(i.default,{href:(0,y.getLocalizedPath)("/training",ef),className:`py-1.5 text-[var(--cera-body)] hover:text-[var(--cera-rose-ink)] transition-colors text-sm ${eX?"text-right":""}`,onClick:()=>eN(!1),children:ex("navigation.training")})]}),(0,t.jsxs)("div",{className:"mt-4 mb-2 flex items-center gap-2 px-1",children:[(0,t.jsx)("span",{className:`cera-eyebrow ${eX?"order-2":""}`,children:"ar"===ef?"حمّل التطبيق":"ru"===ef?"Скачать приложение":"Get the app"}),(0,t.jsx)("div",{className:"flex-1 h-px bg-[var(--cera-line)]"})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,t.jsxs)("a",{href:"https://apps.apple.com/ae/app/genosys-uae/id6756648064",target:"_blank",rel:"noopener noreferrer",className:`flex items-center justify-center gap-2 py-2 px-3 bg-[var(--cera-cta)] text-white rounded-lg transition-colors active:bg-[var(--cera-rose-ink)] ${eX?"flex-row-reverse":""}`,onClick:()=>eN(!1),"aria-label":"ar"===ef?"حمّل من App Store":"ru"===ef?"Загрузите в App Store":"Download on the App Store",children:[(0,t.jsx)("svg",{className:"w-6 h-6 flex-shrink-0",viewBox:"0 0 24 24",fill:"
2currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"})}),(0,t.jsxs)("div",{className:`flex flex-col leading-tight ${eX?"text-right":"text-left"}`,children:[(0,t.jsx)("span",{className:"text-[9px] font-normal opacity-90",children:"ar"===ef?"حمّل من":"ru"===ef?"Загрузите в":"Download on the"}),(0,t.jsx)("span",{className:"text-sm font-semibold -mt-0.5",children:"App Store"})]})]}),(0,t.jsxs)("a",{href:"https://play.google.com/store/apps/details?id=ae.genosys.app",target:"_blank",rel:"noopener noreferrer",className:`flex items-center justify-center gap-2 py-2 px-3 bg-[var(--cera-cta)] text-white rounded-lg transition-colors active:bg-[var(--cera-rose-ink)] ${eX?"flex-row-reverse":""}`,onClick:()=>eN(!1),"aria-label":"ar"===ef?"احصل عليه من Google Play":"ru"===ef?"Доступно в Google Play":"Get it on Google Play",children:[(0,t.jsx)("svg",{className:"w-6 h-6 flex-shrink-0",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M3.609 1.814L13.792 12 3.61 22.186a.996.996 0 0 1-.61-.92V2.734a1 1 0 0 1 .609-.92zm10.89 10.893l2.302 2.302-10.937 6.333 8.635-8.635zm3.199-3.199l2.807 1.626a1 1 0 0 1 0 1.732l-2.808 1.626L15.206 12l2.492-2.492zM5.864 2.658L16.8 8.99l-2.302 2.302-8.634-8.634z"})}),(0,t.jsxs)("div",{className:`flex flex-col leading-tight ${eX?"text-right":"text-left"}`,children:[(0,t.jsx)("span",{className:"text-[9px] font-normal opacity-90",children:"ar"===ef?"متوفر على":"ru"===ef?"Доступно в":"GET IT ON"}),(0,t.jsx)("span",{className:"text-sm font-semibold -mt-0.5",children:"Google Play"})]})]})]}),(0,t.jsx)("div",{className:"mt-4 pt-3 border-t border-[var(--cera-line)]",children:eu?(0,t.jsxs)("button",{onClick:()=>{em(),eN(!1)},className:`w-full flex items-center gap-2 py-2.5 px-3 rounded-lg text-[var(--cera-rose-ink)] active:bg-[var(--cera-blush)] transition-colors text-sm font-semibold ${eX?"flex-row-reverse text-right":"text-left"}`,children:[(0,t.jsx)(m.LogOut,{className:"w-4 h-4 flex-shrink-0"}),(0,t.jsx)("span",{children:ex("common.logout")})]}):(0,t.jsxs)(i.default,{href:(0,w.loginPathWithReturn)(ef),onClick:()=>eN(!1),className:`w-full flex items-center gap-2 py-2.5 px-3 rounded-lg text-[var(--cera-rose-ink)] active:bg-[var(--cera-blush)] transition-colors text-sm font-semibold ${eX?"flex-row-reverse text-right":"text-left"}`,children:[(0,t.jsx)(h.LogIn,{className:"w-4 h-4 flex-shrink-0"}),(0,t.jsx)("span",{children:ex("common.login")})]})})]}),(0,t.jsx)("div",{className:"h-2"})]})]}),ed[151]=ep,ed[152]=eK,ed[153]=eV,ed[154]=eX,ed[155]=eR,ed[156]=ef,ed[157]=em,ed[158]=ek,ed[159]=eF,ed[160]=ex,ed[161]=eu,ed[162]=en):en=ed[162],ed[163]===Symbol.for("react.memo_cache_sentinel")?(eo=(0,t.jsx)(r.default,{id:"8ab98315ba029cdc",children:"@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}"}),ed[163]=eo):eo=ed[163],ed[164]===Symbol.for("react.memo_cache_sentinel")?(el=(0,t.jsx)("div",{className:"md:hidden",style:{height:"var(--mweb-header-space)"},"aria-hidden":"true"}),ed[164]=el):el=ed[164],ed[165]!==es||ed[166]!==en?(ec=(0,t.jsxs)(t.Fragment,{children:[es,en,eo,el]}),ed[165]=es,ed[166]=en,ed[167]=ec):ec=ed[167],ec}])},369982,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(271645),i=e.i(618566),s=e.i(657688),n=e.i(448959),o=e.i(45356);let l=["/pwa-login","/login","/signup","/forgot-password","/reset-password"];function c(e){let a,i,n,o,l,c=(0,r.c)(9),{className:d,faded:u}=e,m=void 0!==u&&u,h=`fixed inset-0 z-[9999] flex flex-col items-center justify-center bg-white ${m?"transition-opacity duration-300 opacity-0 pointer-events-none":""} ${void 0===d?"":d}`;return c[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(s.default,{src:"/Logo/Full.png",alt:"Genosys",width:260,height:90,className:"w-[260px] h-auto"}),i=(0,t.jsx)("p",{className:"mt-5 text-lg font-semibold text-red-600 text-center",children:"GENOSYS"}),c[0]=a,c[1]=i):(a=c[0],i=c[1]),c[2]!==m?(n=!m&&(0,t.jsx)("div",{className:"mt-8",children:(0,t.jsx)("div",{className:"w-8 h-8 border-2 border-gray-200 border-t-red-600 rounded-full animate-spin"})}),c[2]=m,c[3]=n):n=c[3],c[4]!==n?(o=(0,t.jsxs)("div",{className:"flex flex-col items-center px-6",children:[a,i,n]}
2),c[4]=n,c[5]=o):o=c[5],c[6]!==h||c[7]!==o?(l=(0,t.jsx)("div",{className:h,children:o}),c[6]=h,c[7]=o,c[8]=l):l=c[8],l}e.s(["default",0,function(e){let s,d,u,m,h,x,f=(0,r.c)(20),{children:p}=e,{isPWA:g,isClient:b}=(0,n.usePWAMode)(),{isLoading:v,user:y}=(0,o.useAuth)(),w=(0,i.useRouter)(),j=(0,i.usePathname)(),[k,N]=(0,a.useState)(!0),[S,_]=(0,a.useState)(!1),[L,C]=(0,a.useState)(!1),[P,E]=(0,a.useState)(!1);f[0]!==j||f[1]!==w?(s=()=>{var e,t;let r="en"==(e=j||"",t=e?.startsWith("/ar")?"ar":e?.startsWith("/ru")?"ru":"en")?"/pwa-login":`/${t}/pwa-login`;w.replace(r)},f[0]=j,f[1]=w,f[2]=s):s=f[2];let T=s;f[3]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{let e=setTimeout(()=>{_(!0)},600);return()=>clearTimeout(e)},u=[],f[3]=d,f[4]=u):(d=f[3],u=f[4]),(0,a.useEffect)(d,u),f[5]!==v||f[6]!==b||f[7]!==g||f[8]!==S||f[9]!==j||f[10]!==T||f[11]!==y?(m=()=>{var e;let t;if(!b||v)return;if(C(!0),!g){E(!0),N(!1);return}let r=(e=j||"/",t=e?.replace(/^\/(ar|ru)/,"")||"/",l.some(e=>t.includes(e)));y?S&&(E(!0),N(!1)):r?(E(!0),N(!1)):(sessionStorage.clear(),T())},h=[b,v,g,y,j,S,T],f[5]=v,f[6]=b,f[7]=g,f[8]=S,f[9]=j,f[10]=T,f[11]=y,f[12]=m,f[13]=h):(m=f[12],h=f[13]),(0,a.useEffect)(m,h);let A=null,z=!0;if(b){if(g)if(L&&P){if(k){let e;f[16]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(c,{faded:!0}),f[16]=e):e=f[16],A=e}}else{let e;f[15]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(c,{}),f[15]=e):e=f[15],A=e,z=!1}}else{let e;f[14]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(c,{className:"pwa-boot-splash"}),f[14]=e):e=f[14],A=e}let M=z?p:null;return f[17]!==A||f[18]!==M?(x=(0,t.jsxs)(t.Fragment,{children:[A,M]}),f[17]=A,f[18]=M,f[19]=x):x=f[19],x}])},102182,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(271645),i=e.i(394580),s=e.i(288515);let n="pending-operations";function o(){return(0,s.isIndexedDBAvailable)()?new Promise((e,t)=>{let r=indexedDB.open("genosys-sync-queue",1);r.onerror=()=>{(0,i.errorLog)("Failed to open sync database:",r.error),t(r.error)},r.onsuccess=()=>{e(r.result)},r.onupgradeneeded=()=>{let e=r.result;if(e&&!e.objectStoreNames.contains(n)){let t=e.createObjectStore(n,{keyPath:"id"});t.createIndex("status","status",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1}),t.createIndex("type","type",{unique:!1})}}}):Promise.reject(Error("IndexedDB is unavailable in this browser context"))}function l(){let[e,t]=(0,a.useState)({isOnline:"u"<typeof navigator||navigator.onLine,pendingCount:0,isSyncing:!1,lastSyncTime:null,syncError:null}),r=(0,a.useRef)(!1),l=(0,a.useRef)(null);(0,a.useEffect)(()=>{if((0,s.isIndexedDBAvailable)())return o().then(e=>{l.current=e,c()}).catch(e=>{(0,i.errorLog)("Failed to initialize sync database:",e)}),()=>{l.current&&l.current.close()}},[]),(0,a.useEffect)(()=>{let e=()=>{(0,i.debugLog)("🌐 Back online! Processing sync queue..."),t(e=>({...e,isOnline:!0})),u()},r=()=>{(0,i.debugLog)("📴 Gone offline. Operations will be queued."),t(e=>({...e,isOnline:!1}))};return window.addEventListener("online",e),window.addEventListener("offline",r),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",r)}},[]);let c=(0,a.useCallback)(async()=>{if((0,s.isIndexedDBAvailable)())try{let e=(l.current||await o()).transaction(n,"readonly").objectStore(n).index("status").count(IDBKeyRange.only("pending"));e.onsuccess=()=>{t(t=>({...t,pendingCount:e.result}))}}catch(e){(0,i.errorLog)("Failed to update pending count:",e)}},[]),d=(0,a.useCallback)(async e=>{let t=`sync_${Date.now()}_${Math.random().toString(36).substr(2,9)}`;if(!(0,s.isIndexedDBAvailable)())return t;let r={...e,id:t,timestamp:Date.now(),retryCount:0,maxRetries:e.maxRetries||3,status:"pending"};try{let e=(l.current||await o()).transaction(n,"readwrite").objectStore(n);await new Promise((t,a)=>{let i=e.add(r);i.onsuccess=()=>t(),i.onerror=()=>a(i.error)}),(0,i.debugLog)("📝 Queued operation:",r.type,t),await c();let a=navigator.serviceWorker;if("serviceWorker"in navigator&&"sync"in a)try{let e=await navigator.serviceWorker.ready;
2e.sync&&(await e.sync.register("sync-queue"),(0,i.debugLog)("📡 Background sync registered"))}catch(e){(0,i.warnLog)("Background sync registration failed:",e)}return navigator.onLine&&setTimeout(()=>u(),100),t}catch(e){throw(0,i.errorLog)("Failed to queue operation:",e),e}},[c]),u=(0,a.useCallback)(async()=>{if((0,s.isIndexedDBAvailable)()){if(r.current)return void(0,i.debugLog)("Sync already in progress, skipping...");if(!navigator.onLine)return void(0,i.debugLog)("Offline, cannot process queue");r.current=!0,t(e=>({...e,isSyncing:!0,syncError:null}));try{let e=(l.current||await o()).transaction(n,"readonly").objectStore(n).index("status"),r=await new Promise((t,r)=>{let a=e.getAll(IDBKeyRange.only("pending"));a.onsuccess=()=>t(a.result||[]),a.onerror=()=>r(a.error)});for(let e of((0,i.debugLog)(`📤 Processing ${r.length} pending operations...`),r))await m(e);t(e=>({...e,isSyncing:!1,lastSyncTime:Date.now()})),await c()}catch(e){(0,i.errorLog)("Failed to process sync queue:",e),t(t=>({...t,isSyncing:!1,syncError:e instanceof Error?e.message:"Sync failed"}))}finally{r.current=!1}}},[c]),m=async e=>{(0,i.debugLog)(`🔄 Processing operation: ${e.type} (${e.id})`);try{await h(e.id,"processing");let t=await fetch(e.url,{method:e.method,headers:{"Content-Type":"application/json","X-Background-Sync":"true",...e.headers},body:e.body??null,credentials:"include"});if(t.ok)await f(e.id),(0,i.debugLog)(`✅ Operation completed: ${e.type}`),window.dispatchEvent(new CustomEvent("sync-operation-complete",{detail:{operation:e,success:!0}}));else throw Error(`HTTP ${t.status}: ${t.statusText}`)}catch(a){let t=a instanceof Error?a.message:"Unknown error";(0,i.warnLog)(`❌ Operation failed: ${e.type}`,t);let r=e.retryCount+1;r>=e.maxRetries?(await h(e.id,"failed",t),(0,i.debugLog)(`💀 Operation permanently failed after ${e.maxRetries} retries`),window.dispatchEvent(new CustomEvent("sync-operation-failed",{detail:{operation:e,error:t}}))):(await x(e.id,r),(0,i.debugLog)(`🔁 Will retry (${r}/${e.maxRetries})`))}},h=async(e,t,r)=>{if((0,s.isIndexedDBAvailable)())try{let a=(l.current||await o()).transaction(n,"readwrite").objectStore(n),i=a.get(e);i.onsuccess=()=>{let e=i.result;e&&(e.status=t,r&&(e.error=r),a.put(e))}}catch(e){(0,i.errorLog)("Failed to update operation status:",e)}},x=async(e,t)=>{if((0,s.isIndexedDBAvailable)())try{let r=(l.current||await o()).transaction(n,"readwrite").objectStore(n),a=r.get(e);a.onsuccess=()=>{let e=a.result;e&&(e.retryCount=t,e.status="pending",r.put(e))}}catch(e){(0,i.errorLog)("Failed to update retry count:",e)}},f=(0,a.useCallback)(async e=>{if((0,s.isIndexedDBAvailable)())try{let t=(l.current||await o()).transaction(n,"readwrite").objectStore(n);await new Promise((r,a)=>{let i=t.delete(e);i.onsuccess=()=>r(),i.onerror=()=>a(i.error)}),await c()}catch(e){(0,i.errorLog)("Failed to remove operation:",e)}},[c]),p=(0,a.useCallback)(async()=>{if(!(0,s.isIndexedDBAvailable)())return[];try{let e=(l.current||await o()).transaction(n,"readonly").objectStore(n);return new Promise((t,r)=>{let a=e.getAll();a.onsuccess=()=>t(a.result||[]),a.onerror=()=>r(a.error)})}catch(e){return(0,i.errorLog)("Failed to get pending operations:",e),[]}},[]),g=(0,a.useCallback)(async()=>{if((0,s.isIndexedDBAvailable)())try{let e=(l.current||await o()).transaction(n,"readwrite").objectStore(n);await new Promise((t,r)=>{let a=e.clear();a.onsuccess=()=>t(),a.onerror=()=>r(a.error)}),await c(),(0,i.debugLog)("🗑️ Sync queue cleared")}catch(e){(0,i.errorLog)("Failed to clear queue:",e)}},[c]);return{...e,queueOperation:d,processQueue:u,clearQueue:g,getPendingOperations:p,removeOperation:f}}var c=e.i(448959),d=e.i(456420);let u=(0,d.default)("cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]),m=(0,d.default)("cloud-off",[["path",{d:"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057",key:"1uxyv8"}],["path",{d:"M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78",key:"99tcn7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);var h=e.i(741120),x=e.i(689664),f=e.i(399847),p=e.i(647163);e.s(["SyncStatusDot",0,function(){let e,a,i,s,n=(0,r.c)(9),{isPWA:o}
2=(0,c.usePWAMode)(),{isOnline:d,pendingCount:u,isSyncing:m}=l();if(!o||d&&0===u&&!m)return null;let h=d?m?"bg-primary-500 animate-pulse":"bg-amber-500":"bg-gray-400";return n[0]!==h?(e=(0,p.cn)("w-2 h-2 rounded-full",h),n[0]=h,n[1]=e):e=n[1],n[2]!==e?(a=(0,t.jsx)("div",{className:e}),n[2]=e,n[3]=a):a=n[3],n[4]!==u?(i=u>0&&(0,t.jsxs)("span",{className:"absolute -top-1 -right-1 flex h-3 w-3",children:[(0,t.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-amber-400 opacity-75"}),(0,t.jsx)("span",{className:"relative inline-flex rounded-full h-3 w-3 bg-amber-500 text-[8px] text-white items-center justify-center font-bold",children:u>9?"!":u})]}),n[4]=u,n[5]=i):i=n[5],n[6]!==a||n[7]!==i?(s=(0,t.jsxs)("div",{className:"relative",children:[a,i]}),n[6]=a,n[7]=i,n[8]=s):s=n[8],s},"SyncStatusIndicator",0,function(e){var i;let s,n,o,d,g,b,v,y,w,j,k,N,S,_,L,C,P,E,T,A=(0,r.c)(53),{className:z,showAlways:M,position:$}=e,F=void 0!==M&&M,B=void 0===$?"bottom-right":$,{isPWA:R}=(0,c.usePWAMode)(),{isOnline:W,pendingCount:D,isSyncing:I,lastSyncTime:O,syncError:H}=l(),[q,G]=(0,a.useState)(!1),[U,Y]=(0,a.useState)(!1),[V,K]=(0,a.useState)(0),X=(0,a.useRef)(null);if(A[0]!==I||A[1]!==V||A[2]!==D?(d=()=>(V>0&&0===D&&!I&&(G(!0),X.current=setTimeout(()=>G(!1),2e3)),K(D),()=>{X.current&&clearTimeout(X.current)}),g=[D,I,V],A[0]=I,A[1]=V,A[2]=D,A[3]=d,A[4]=g):(d=A[3],g=A[4]),(0,a.useEffect)(d,g),A[5]!==W||A[6]!==I||A[7]!==D||A[8]!==F||A[9]!==q||A[10]!==H?(b=()=>{Y(F||!W||D>0||I||q||!!H)},v=[F,W,D,I,q,H],A[5]=W,A[6]=I,A[7]=D,A[8]=F,A[9]=q,A[10]=H,A[11]=b,A[12]=v):(b=A[11],v=A[12]),(0,a.useEffect)(b,v),!R||!U)return null;A[13]!==z||A[14]!==U||A[15]!==B?(y=(0,p.cn)("fixed z-50 transition-all duration-300 ease-out",{"top-right":"top-4 right-4","bottom-right":"bottom-24 right-4","bottom-left":"bottom-24 left-4","top-left":"top-4 left-4"}
2[B],U?"opacity-100 translate-y-0":"opacity-0 translate-y-2",z),A[13]=z,A[14]=U,A[15]=B,A[16]=y):y=A[16];let J=H?"bg-red-50/90 border-red-200/50":W?q?"bg-green-50/90 border-green-200/50":"bg-white/90 border-gray-200/50":"bg-gray-100/90 border-gray-200/50";A[17]!==J?(w=(0,p.cn)("flex items-center gap-3 px-4 py-3 rounded-2xl shadow-lg","backdrop-blur-xl border",J),A[17]=J,A[18]=w):w=A[18],A[19]===Symbol.for("react.memo_cache_sentinel")?(j={WebkitBackdropFilter:"blur(20px)"},A[19]=j):j=A[19],A[20]!==W||A[21]!==I||A[22]!==D||A[23]!==q||A[24]!==H?(k=(0,t.jsx)("div",{className:"flex-shrink-0",children:H?(0,t.jsx)("div",{className:"w-8 h-8 rounded-full bg-red-100 flex items-center justify-center",children:(0,t.jsx)(f.AlertCircle,{className:"w-4 h-4 text-red-600"})}):W?I?(0,t.jsx)("div",{className:"w-8 h-8 rounded-full bg-primary-100 flex items-center justify-center",children:(0,t.jsx)(h.RefreshCw,{className:"w-4 h-4 text-primary-600 animate-spin"})}):q?(0,t.jsx)("div",{className:"w-8 h-8 rounded-full bg-[var(--cera-ok-bg)] flex items-center justify-center",children:(0,t.jsx)(x.Check,{className:"w-4 h-4 text-[var(--cera-ok)]"})}):D>0?(0,t.jsx)("div",{className:"w-8 h-8 rounded-full bg-amber-100 flex items-center justify-center",children:(0,t.jsx)(u,{className:"w-4 h-4 text-amber-600"})}):(0,t.jsx)("div",{className:"w-8 h-8 rounded-full bg-[var(--cera-ok-bg)] flex items-center justify-center",children:(0,t.jsx)(u,{className:"w-4 h-4 text-[var(--cera-ok)]"})}):(0,t.jsx)("div",{className:"w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center",children:(0,t.jsx)(m,{className:"w-4 h-4 text-gray-500"})})}),A[20]=W,A[21]=I,A[22]=D,A[23]=q,A[24]=H,A[25]=k):k=A[25];let Z=H?"text-red-900":W?q?"text-[var(--cera-ok)]":"text-gray-900":"text-gray-700";A[26]!==Z?(N=(0,p.cn)("text-sm font-medium",Z),A[26]=Z,A[27]=N):N=A[27];let Q=H?"Sync Failed":W?I?"Syncing...":q?"All Synced!":D>0?`${D} Pending`:"Connected":"You're Offline";return A[28]!==N||A[29]!==Q?(S=(0,t.jsx)("span",{className:N,children:Q}),A[28]=N,A[29]=Q,A[30]=S):S=A[30],A[31]!==W||A[32]!==I||A[33]!==O||A[34]!==D||A[35]!==H?(_=H?"Tap to retry":W?I?"Updating your data":D>0?"Will sync when online":O?`Last sync: ${i=O,o=Math.floor((n=Math.floor((s=Math.floor((Date.now()-i)/1e3))/60))/60),s<60?"Just now":n<60?`${n}m ago`:o<24?`${o}h ago`:new Date(i).toLocaleDateString()}`:"All changes saved":"Changes saved locally",A[31]=W,A[32]=I,A[33]=O,A[34]=D,A[35]=H,A[36]=_):_=A[36],A[37]!==_?(L=(0,t.jsx)("span",{className:"text-xs text-gray-500",children:_}),A[37]=_,A[38]=L):L=A[38],A[39]!==S||A[40]!==L?(C=(0,t.jsxs)("div",{className:"flex flex-col",children:[S,L]}),A[39]=S,A[40]=L,A[41]=C):C=A[41],A[42]!==I||A[43]!==D?(P=D>0&&!I&&(0,t.jsx)("div",{className:"flex-shrink-0 ml-1",children:(0,t.jsx)("span",{className:"inline-flex items-center justify-center w-6 h-6 text-xs font-bold text-white bg-primary-600 rounded-full",children:D>9?"9+":D})}),A[42]=I,A[43]=D,A[44]=P):P=A[44],A[45]!==k||A[46]!==C||A[47]!==P||A[48]!==w?(E=(0,t.jsxs)("div",{className:w,style:j,children:[k,C,P]}),A[45]=k,A[46]=C,A[47]=P,A[48]=w,A[49]=E):E=A[49],A[50]!==E||A[51]!==y?(T=(0,t.jsx)("div",{className:y,children:E}),A[50]=E,A[51]=y,A[52]=T):T=A[52],T}],102182)},530681,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(271645);e.s(["default",0,function(){let e,i,s,n,o,l,c=(0,r.c)(13),[d,u]=(0,a.useState)(!0),[m,h]=(0,a.useState)(!1),x=(0,a.useRef)(null);if(c[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{u(navigator.onLine),navigator.onLine||h(!0);let e=()=>{u(!0),x.current=setTimeout(()=>{h(!1)},2e3)},t=()=>{u(!1),h(!0)};return window.addEventListener("online",e),window.addEventListener("offline",t),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",t),x.current&&clearTimeout(x.current)}},i=[],c[0]=e,c[1]=i):(e=c[0],i=c[1]),(0,a.useEffect)(e,i),d&&!m)return null;let f=`
3        fixed bottom-20 left-4 right-4 md:left-auto md:right-4 md:w-auto
4        z-50 transition-all duration-300 ease-in-out
5        ${m?"opacity-100 translate-y-0":"opacity-0 translate-y-4 pointer-events-none"}
6      `,p=`
7          flex items-center gap-3 px-4 py-3 rounded-lg shadow-lg
8          ${d?"bg-green-600 text-white":"bg-amber-500 text-white"}
9        `;c[2]!==d?(s=d?(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M5 13a10 10 0 0 1 14 0"}),(0,t.jsx)("path",{d:"M8.5 16.5a5 5 0 0 1 7 0"}
9),(0,t.jsx)("path",{d:"M2 8.82a15 15 0 0 1 20 0"}),(0,t.jsx)("line",{x1:"12",x2:"12.01",y1:"20",y2:"20"})]}):(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M12 20h.01"}),(0,t.jsx)("path",{d:"M8.5 16.429a5 5 0 0 1 7 0"}),(0,t.jsx)("path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69"}),(0,t.jsx)("path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523"}),(0,t.jsx)("path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643"}),(0,t.jsx)("path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764"}),(0,t.jsx)("path",{d:"m2 2 20 20"})]}),c[2]=d,c[3]=s):s=c[3];let g=d?"✓ Back online":"You're offline - browsing cached content";return c[4]!==g?(n=(0,t.jsx)("span",{className:"text-sm font-medium",children:g}),c[4]=g,c[5]=n):n=c[5],c[6]!==p||c[7]!==s||c[8]!==n?(o=(0,t.jsxs)("div",{className:p,children:[s,n]}),c[6]=p,c[7]=s,c[8]=n,c[9]=o):o=c[9],c[10]!==f||c[11]!==o?(l=(0,t.jsx)("div",{role:"status","aria-live":"polite","aria-atomic":"true",className:f,children:o}),c[10]=f,c[11]=o,c[12]=l):l=c[12],l}])},103746,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(999452);e.s(["default",0,function(){let e,i,s=(0,r.c)(4),{t:n}=(0,a.useTranslation)();s[0]!==n?(e=n("accessibility.skipToContent")||"Skip to main content",s[0]=n,s[1]=e):e=s[1];let o=e;return s[2]!==o?(i=(0,t.jsx)("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:fixed focus:top-4 focus:left-4 focus:z-[9999] focus:px-4 focus:py-3 focus:rounded-lg focus:bg-primary-600 focus:text-white focus:font-semibold focus:text-sm focus:shadow-lg focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-primary-600 focus:outline-none transition-all duration-200","aria-label":o,children:o}),s[2]=o,s[3]=i):i=s[3],i}])},341802,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(770703),i=e.i(618566);let s=(0,a.default)(()=>e.A(876642),{loadableGenerated:{modules:[687430]},ssr:!1}),n=["/success","/checkout/success","/skin-recommendation","/skin-analysis","/profile","/privacy-policy","/terms","/faq","/about","/contact"];e.s(["default",0,function(){let e,a=(0,r.c)(1),o=(0,i.usePathname)();return n.some(e=>o?.includes(e))?null:(a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(s,{}),a[0]=e):e=a[0],e)}])},955688,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(271645),i=e.i(522016),s=e.i(476677),n=e.i(999452),o=e.i(606315);e.s(["default",0,function(){let e,l,c,d,u,m,h,x,f,p,g,b,v,y,w=(0,r.c)(34),{locale:j,dir:k}=(0,n.useTranslation)(),[N,S]=(0,a.useState)(!1);if(w[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{null===(0,s.getConsent)()&&S(!0)},l=[],w[0]=e,w[1]=l):(e=w[0],l=w[1]),(0,a.useEffect)(e,l),!N)return null;let _="rtl"===k,L="ar"===j?"نستخدم ملفات تعريف الارتباط لتحليل استخدام الموقع وتحسين تجربتك. يمكنك القبول أو الرفض.":"ru"===j?"Мы используем файлы cookie для аналитики и улучшения сайта. Вы можете принять или отклонить.":"We use cookies for analytics to understand site usage and improve your experience. You can accept or decline.",C="ar"===j?"سياسة الخصوصية":"ru"===j?"Политика конфиденциальности":"Privacy Policy",P="ar"===j?"قبول":"ru"===j?"Принять":"Accept",E="ar"===j?"رفض":"ru"===j?"Отклонить":"Decline";w[2]!==L||w[3]!==C||w[4]!==P||w[5]!==E?(c={text:L,privacy:C,accept:P,decline:E},w[2]=L,w[3]=C,w[4]=P,w[5]=E,w[6]=c):c=w[6];let T=c;w[7]===Symbol.for("react.memo_cache_sentinel")?(d=e=>{(0,s.setConsent)(e),S(!1)},w[7]=d):d=w[7];let A=d,z=T.privacy,M=`container mx-auto flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between ${_?"sm:flex-row-reverse text-right":""}`,$=T.text;w[8]!==j?(u=(0,o.getLocalizedPath)("/privacy-policy",j),w[8]=j,w[9]=u):u=w[9],w[10]!==T.privacy||w[11]!==u?(m=(0,t.jsx)(i.default,{href:u,className:"font-semibold text-[var(--cera-rose-ink,#8f5a5a)] underline hover:text-[var(--cera-rose-ink,#8f5a5a)]",children:T.privacy}),w[10]=T.privacy,w[11]=u,w[12]=m):m=w[12],w[13]!==T.text||w[14]!==m?(h=(0,t.jsxs)("p",{className:"text-sm text-[var(--cera-body,#3d3734)] leading-relaxed max-w-2xl",children:[$," ",m]}),w[13]=T.text,w[14]=m,w[15]=h):h=w[15];let F=`flex items-center gap-2 flex-shrink-0 ${_?"flex-row-reverse":""}`;return w[16]===Symbol.for("react.memo_cache_sentinel")?(x=()=>A("declined"),w[16]=x):x=w[16],w[17]!==T.decline?(f=(0,t.jsx)("button",{type:"button",onClick:x,className:"rounded-full border border-[var(--cera-line,#e8e0db)] px-4 py-2 text-sm font-semibold text-[var(--cera-body,#3d3734)] hover:bg-[var(--cera-cream-deep,#f3ece8)] focu
9s:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40",children:T.decline}),w[17]=T.decline,w[18]=f):f=w[18],w[19]===Symbol.for("react.memo_cache_sentinel")?(p=()=>A("accepted"),w[19]=p):p=w[19],w[20]!==T.accept?(g=(0,t.jsx)("button",{type:"button",onClick:p,className:"rounded-full bg-[var(--cera-cta,#9c686d)] px-5 py-2 text-sm font-semibold text-white hover:bg-[var(--cera-rose-ink,#8f5a5a)] focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",children:T.accept}),w[20]=T.accept,w[21]=g):g=w[21],w[22]!==F||w[23]!==f||w[24]!==g?(b=(0,t.jsxs)("div",{className:F,children:[f,g]}),w[22]=F,w[23]=f,w[24]=g,w[25]=b):b=w[25],w[26]!==h||w[27]!==b||w[28]!==M?(v=(0,t.jsxs)("div",{className:M,children:[h,b]}),w[26]=h,w[27]=b,w[28]=M,w[29]=v):v=w[29],w[30]!==k||w[31]!==T.privacy||w[32]!==v?(y=(0,t.jsx)("div",{role:"dialog","aria-label":z,dir:k,className:"fixed z-[60] inset-x-[var(--mweb-chrome-inset)] bottom-[var(--mobile-nav-height)] rounded-[var(--mweb-chrome-radius)] border border-[var(--cera-line,#e8e0db)] bg-[var(--cera-cream)] px-4 py-3 shadow-[var(--mweb-chrome-shadow)] print:hidden md:inset-x-0 md:bottom-0 md:rounded-none md:border-0 md:border-t md:shadow-[0_-4px_20px_-8px_rgba(0,0,0,0.15)]",children:v}),w[30]=k,w[31]=T.privacy,w[32]=v,w[33]=y):y=w[33],y}])},729065,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(271645),i=e.i(96892),s=e.i(448959),n=e.i(999452),o=e.i(639553);let l=".mweb-float-bottom, .mweb-float-sticky-bottom";function c(){window.scrollTo({top:0,behavior:(0,o.prefersReducedMotion)()?"auto":"smooth"})}e.s(["default",0,function(){let e,o,d,u,m,h,x=(0,r.c)(13),{isPWA:f,isClient:p}=(0,s.usePWAMode)(),{t:g,dir:b}=(0,n.useTranslation)(),[v,y]=(0,a.useState)(!1),[w,j]=(0,a.useState)(0);if(x[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=()=>{y(window.scrollY>1.5*window.innerHeight),j(function(){let e=0;for(let t of Array.from(document.querySelectorAll(l))){let r=t.getBoundingClientRect();r.bottom<window.innerHeight-24||(e=Math.max(e,window.innerHeight-r.top))}return Math.max(0,Math.round(e))}())},t=t=>{let r=t.target;"transform"===t.propertyName&&r?.matches?.(l)&&e()},r=new ResizeObserver(e),a=()=>{r.disconnect(),document.querySelectorAll(l).forEach(e=>r.observe(e)),e()},i=0,s=new MutationObserver(()=>{i||(i=window.requestAnimationFrame(()=>{i=0,a()}))});return a(),s.observe(document.body,{childList:!0,subtree:!0}),window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",e),document.addEventListener("transitionend",t,!0),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e),document.removeEventListener("transitionend",t,!0),i&&window.cancelAnimationFrame(i),s.disconnect(),r.disconnect()}},o=[],x[0]=e,x[1]=o):(e=x[0],o=x[1]),(0,a.useEffect)(e,o),!p||f)return null;let k=!v,N=v?0:-1;x[2]!==g?(d=g("common.backToTop")||"Back to top",x[2]=g,x[3]=d):d=x[3];let S=`fixed bottom-[calc(var(--mobile-nav-height,58px)+16px)] z-50 flex h-11 w-11 items-center justify-center rounded-full border border-[var(--cera-line)] bg-white/95 text-[var(--cera-ink)] shadow-[0_10px_28px_-14px_rgba(23,20,15,0.5)] backdrop-blur transition-all duration-300 md:bottom-6 ${v?"translate-y-0 opacity-100":"pointer-events-none translate-y-2 opacity-0"} ${"rtl"===b?"right-4 md:right-6":"left-4 md:left-6"}`;return x[4]!==w?(u={WebkitTapHighlightColor:"transparent",...w>0?{bottom:`${w+16}px`}:{}},x[4]=w,x[5]=u):u=x[5],x[6]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)(i.ArrowUp,{className:"h-[19px] w-[19px]","aria-hidden":"true"}),x[6]=m):m=x[6],x[7]!==k||x[8]!==N||x[9]!==d||x[10]!==S||x[11]!==u?(h=(0,t.jsx)("button",{type:"button",onClick:c,"aria-hidden":k,tabIndex:N,"aria-label":d,className:S,style:u,children:m}),x[7]=k,x[8]=N,x[9]=d,x[10]=S,x[11]=u,x[12]=h):h=x[12],h}])}]);
10
11//# debugId=fa947109-539b-8b37-a014-dce131709077

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.