1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9344,7278,6138,8703,687,6004,1371,8796],{40163:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/login",function(){return r(19042)}])},43263:function(e,t,r){"use strict";r.d(t,{DX:function(){return n},Fy:function(){return l},JF:function(){return i},Jw:function(){return m},PW:function(){return o},SE:function(){return b},Vl:function(){return s},Y1:function(){return c},aO:function(){return h},fl:function(){return p},hi:function(){return d},hv:function(){return x},mc:function(){return a},yZ:function(){return u}});let i="mx-auto w-full max-w-[1400px] px-3 sm:px-4 lg:px-6",s="group relative inline-flex min-h-[52px] items-center gap-3 rounded-2xl border border-slate-200 bg-white/90 px-2.5 py-2 text-slate-700 shadow-sm shadow-slate-200/60 transition-all hover:-translate-y-0.5 hover:border-brand/30 hover:text-brand hover:shadow-md",l="relative flex h-10 w-10 shrink-0 items-center justify-center rounded-2xl bg-slate-100 text-slate-700 transition-colors group-hover:bg-brand/10 group-hover:text-brand",n="relative flex h-10 w-10 shrink-0 items-center justify-center rounded-2xl bg-brand text-white shadow-sm shadow-brand/20 transition-colors group-hover:bg-brand-dark",a="text-lg leading-none",o="absolute -right-1 -top-1 flex h-5 min-w-[1.25rem] items-center justify-center rounded-full bg-brand px-1 text-[10px] font-semibold text-white ring-2 ring-white",c="hidden min-w-0 flex-col text-left leading-tight lg:flex",d="text-[10px] font-semibold uppercase tracking-[0.16em] text-slate-400",u="inline-flex min-h-[3rem] shrink-0 items-center justify-center gap-2 rounded-2xl bg-brand px-4 py-2.5 text-sm font-semibold text-white shadow-md shadow-brand/20 transition-all duration-150 hover:-translate-y-0.5 hover:bg-brand-dark hover:text-white [&_i]:text-white [&_svg]:text-white",x='absolute right-0 top-full z-30 mt-3 hidden w-[22rem] min-w-[16rem] flex-col rounded-[26px] border border-slate-200 bg-white p-3 shadow-[0_24px_60px_rgba(15,23,42,0.18)] group-hover:flex before:absolute before:-top-3 before:left-0 before:h-3 before:w-full before:content-[""]',m="inline-flex w-[68px] shrink-0 items-center justify-center rounded-[18px] border-0 bg-brand transition-colors hover:bg-brand-dark",h="absolute left-0 right-0 top-[calc(100%+10px)] z-[160] max-h-96 overflow-y-auto rounded-[24px] border border-slate-200 bg-white p-2 shadow-[0_24px_60px_rgba(15,23,42,0.18)]",p="flex cursor-pointer items-center justify-between gap-3 rounded-2xl px-3 py-3 transition-colors hover:bg-slate-50",b="text-sm font-medium text-slate-700"},86138:function(e,t,r){"use strict";var i=r(85893),s=r(41664),l=r.n(s),n=r(11163);r(67294),t.Z=e=>{let{href:t,asPath:r,children:s,...a}=e,{locale:o}=(0,n.useRouter)(),c=e=>"/".concat(o).concat(e).replace(/\/+/g,"/"),d=c("string"==typeof t?t:t.pathname),u=r?c(r):d,x="object"==typeof t&&t.query?t.query:{};return(0,i.jsx)(l(),{legacyBehavior:!0,href:{pathname:d,query:x},as:u,...a,children:s})}},30947:function(e,t,r){"use strict";var i=r(85893);r(67294);var s=r(36722),l=r(42171),n=r(61258),a=r(4307),o=r(76194),c=r(28887),d=r(14235),u=r(47865),x=r(68655),m=r(62190),h=r(27695),p=r(66447),b=r(74111),g=r(2553),f=r(89176),v=r(14919),w=r(36127),j=r(71601),y=r(16215),Z=r(90341),N=r(90690),_=r(23432),k=r(3350),S=r(82126),E=r(86691),z=r(78497),P=r(7656),I=r(21700),L=r(70123),B=r(41833),C=r(70775),R=r(72278),A=r(50874),q=r(23603),O=r(4687),W=r(37864),F=r(68223),T=r(8267),X=r(45062);let Q={"ci-announcement":s.Z,"ci-arrow-down":l.Z,"ci-arrow-left":n.Z,"ci-arrow-right":a.Z,"ci-bag":o.Z,"ci-calculator":c.Z,"ci-card":d.Z,"ci-cart":u.Z,"ci-circle-alert":x.Z,"ci-close":m.Z,"ci-close-circle":h.Z,"ci-compare":p.Z,"ci-delivery":b.Z,"ci-document":g.Z,"ci-facebook":f.Z,"ci-filter-alt":v.Z,"ci-google":w.Z,"ci-heart":j.Z,"ci-home":y.Z,"ci-instagram":Z.Z,"ci-linkedin":N.Z,"ci-loading":_.Z,"ci-location":k.Z,"ci-locked":S.Z,"ci-mail":E.Z,"ci-menu":z.Z,"ci-messenger":P.Z,"ci-odnoklassniki":f.Z,"ci-phone":I.Z,"ci-pinterest":L.Z,"ci-search":w.Z,"ci-sign-in":B.Z,"ci-sign-out":C.Z,"ci-shield-check":R.Z,"ci-support":A.Z,"ci-telegram":q.Z,"ci-time":O.Z,"ci-trash":W.Z,"ci-twitter":F.Z,"ci-user":T.Z,"ci-viber":I.Z,"ci-vk":f.Z,"ci-youtube":X.Z},V=e=>e?e.startsWith("ci-")?e:"ci-".concat(e):null,H=e=>null==e?void 0:e.split(/\s+/).filter(e=>e&&!e.startsWith("ci-")).join(" ").trim();t.Z=e=>{var t,r;let{className:s,name:l,...n}=e,a=V(l),o=null!==(r=null==s?void 0:null===(t=s.match(/\bci-[a-z0-9-]+\b/))||void 0===t?void 0:t[0])&&void 0!==r?r:null,c=a&&Q[a]&&a||o&&Q[o]&&o||null;if(!c)return(0,i.jsx)("i",{className:s,...n});let d=Q[c],u=["inline-block shrink-0 align-middle",H(s)].filter(
1Boolean).join(" ");return(0,i.jsx)(d,{size:"1em",strokeWidth:1.9,"aria-hidden":!n["aria-label"]||void 0,className:u,...n})}},81371:function(e,t,r){"use strict";r.d(t,{Q:function(){return a},v:function(){return n}});var i=r(85893),s=r(67294);let l=(0,s.createContext)({isShopSidebarOpen:!1,openShopSidebar:()=>void 0,closeShopSidebar:()=>void 0,toggleShopSidebar:()=>void 0}),n=e=>{let{children:t}=e,[r,n]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if(!r)return;let e=document.body.style.overflow,t=e=>{"Escape"===e.key&&n(!1)},i=()=>{window.innerWidth>=1024&&n(!1)};return document.body.style.overflow="hidden",window.addEventListener("keydown",t),window.addEventListener("resize",i),()=>{document.body.style.overflow=e,window.removeEventListener("keydown",t),window.removeEventListener("resize",i)}},[r]),(0,i.jsx)(l.Provider,{value:{isShopSidebarOpen:r,openShopSidebar:()=>n(!0),closeShopSidebar:()=>n(!1),toggleShopSidebar:()=>n(e=>!e)},children:t})},a=()=>(0,s.useContext)(l)},19042:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return S}});var i=r(85893),s=r(67294),l=r(9008),n=r.n(l),a=r(41664),o=r.n(a),c=r(2962),d=r(33299),u=r(11163),x=r(81043),m=r(87536),h=r(47533),p=r(74231),b=r(40782),g=r(89526),f=r(71705),v=r(30947),w=r(81917),j=r(21057),y=r(58991);let Z="space-y-2",N="block text-sm font-semibold text-slate-700",_="h-12 w-full rounded-2xl border border-slate-200 bg-white pl-12 pr-12 text-sm text-slate-900 outline-none transition placeholder:text-slate-400 focus:border-brand focus:ring-4 focus:ring-brand/10",k="text-sm text-rose-600";var S=!0;t.default=()=>{var e,t,r,l,a,S;let E=(0,u.useRouter)(),{locale:z,asPath:P}=E,{t:I}=(0,g.useTranslation)("common"),L=(0,x.I0)(),[B,C]=(0,s.useState)({title:"",description:""}),{settings:R}=(0,x.v9)(e=>e.settingsReducer);(0,s.useEffect)(()=>{if(R){let e=(0,w.sE)(R);e&&C(e)}},[R]),(0,s.useEffect)(()=>{L((0,j.PI)({alternateUrl:{ro:"/ro/auth/login",ru:"/ru/auth/login"}}))},[L]);let[A,q]=(0,s.useState)(!1),O=(0,s.useMemo)(()=>p.Ry().shape({email:p.Z_().email(I("MustBeAValidEmail")).required(I("EmailIsRequired")),password:p.Z_().required(I("PasswordIsRequired"))}),[I]),{control:W,handleSubmit:F,setError:T}=(0,m.cI)({resolver:(0,h.X)(O),defaultValues:{email:"",password:""}}),X="ru"===z?"СбÑÐ¾Ñ Ð¿Ð°ÑÐ¾Ð»Ñ Ð±ÑÐ´ÐµÑ Ð´Ð¾Ð±Ð°Ð²Ð»ÐµÐ½ оÑделÑно.":"Resetarea parolei o putem conecta separat.";return(0,i.jsxs)(f.default,{children:[(0,i.jsxs)(n(),{children:[null===(e=E.locales)||void 0===e?void 0:e.map(e=>(0,i.jsx)("link",{rel:"alternate",hrefLang:"".concat(e,"-md"),href:"".concat(y._n,"/").concat(e).concat(P)},e)),(0,i.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:"".concat(y._n,"/ro").concat(P)})]}),B?(0,i.jsx)(c.PB,{title:null==B?void 0:null===(t=B.title)||void 0===t?void 0:t[null!=z?z:"ro"],description:null==B?void 0:null===(r=B.description)||void 0===r?void 0:r[null!=z?z:"ro"],canonical:"".concat(y._n,"/").concat(z).concat(P),openGraph:{type:"website",url:"".concat(y._n,"/").concat(z).concat(P),title:null==B?void 0:null===(l=B.title)||void 0===l?void 0:l[null!=z?z:"ro"],description:null==B?void 0:null===(a=B.description)||void 0===a?void 0:a[null!=z?z:"ro"],site_name:"Bigshop.md",images:[{url:"".concat(y.z0,"images/og/bigshop.png"),width:800,height:600,alt:null==B?void 0:null===(S=B.title)||void 0===S?void 0:S[null!=z?z:"ro"],type:"image/jpeg"}]},twitter:{cardType:"summary"}}):null,(0,i.jsx)("div",{className:"mx-auto w-full max-w-[1400px] px-3 py-8 sm:px-4 lg:px-6 lg:py-14",children:(0,i.jsxs)("div",{className:"grid overflow-hidden rounded-[32px] border border-slate-200 bg-white shadow-xl shadow-slate-200/70 lg:grid-cols-[1.05fr_0.95fr]",children:[(0,i.jsxs)("div",{className:"relative overflow-hidden bg-[radial-gradient(circle_at_top,_rgba(196,34,34,0.14),_transparent_58%),linear-gradient(135deg,#0f172a_0%,#1e293b_52%,#111827_100%)] px-6 py-8 text-white sm:px-8 lg:px-10 lg:py-12",children:[(0,i.jsxs)("div",{className:"absolute inset-0 opacity-20",children:[(0,i.jsx)("div",{className:"absolute -left-16 top-10 h-44 w-44 rounded-full bg-white/30 blur-3xl"}),(0,i.jsx)("div",{className:"absolute bottom-0 right-0 h-56 w-56 rounded-full bg-brand/30 blur-3xl"})]}),(0,i.jsxs)("div",{className:"relative max-w-md",children:[(0,i.jsxs)("span",{className:"inline-flex items-center gap-2 rounded-full border border-white/15 bg-white/10 px-3 py-1 text-xs font-semibold uppercase tracking-[0.18em] text-white/80",children:[(0,i.jsx)(v.Z,{className:"ci-user text-sm"}),"Bigshop Account"]}),(0,i.jsx)("h1",{className:"mt-5 text-3xl font-bold leading-tight sm:text-4xl",children:I("Login")}),(0,i.jsx)("p",{className:"mt-4 text-sm leading-6 text-slate-200 sm:text-base",children:"ru"===z?"ÐойдиÑе, ÑÑÐ¾Ð±Ñ Ð±ÑÑÑÑее оÑоÑмлÑÑÑ Ð·Ð°ÐºÐ°Ð·Ñ, ÑоÑ
ÑанÑÑÑ Ð¸Ð·Ð±Ñанное и видеÑÑ Ð¸ÑÑоÑÐ¸Ñ Ð¿Ð¾ÐºÑпок.":"IntrÄ \xeen cont ca sÄ finalizezi mai repede comenzile, sÄ pÄstrezi favoritele Èi sÄ vezi istoricul cumpÄrÄturilor."}),(0,i.jsxs)("div",{className:"mt-8 grid gap-3 text-sm text-slate-200",children:[(0,i.jsxs)("div",{className:"flex items-center gap-3 rounded-2xl border border-white/10 bg-white/5 px-4 py-3",children:[(0,i.jsx)(v.Z,{className:"ci-cart text-lg text-white"}),(0,i.jsx)("span",{children:"Checkout mai rapid cu datele salvate"})]}),(0,i.jsxs)("div",{className:"flex items-center gap-3 rounded-2xl border border-white/10 bg-white/5 px-4 py-3",children:[(0,i.jsx)(v.Z,{className:"ci-heart text-lg text-white"}),(0,i.jsx)("span",{children:"ru"===z?"ÐзбÑаннÑе ÑоваÑÑ sincronizate \xeentre dispozitive":"Favorite sincronizate \xeentre dispozitive"})]}),(0,i.jsxs)("div",{className:"flex items-center gap-3 rounded-2xl border border-white/10 bg-white/5 px-4 py-3",children:[(0,i.jsx)(v.Z,{className:"ci-support text-lg text-white"}),(0,i.jsx)("span",{children:"Acces mai uÈor la suport Èi istoric"})]})]})]})]}),(0,i.jsx)("div",{className:"px-6 py-8 sm:px-8 lg:px-10 lg:py-12",children:(0,i.jsxs)("div",{className:"mx-auto w-full max-w-md",children:[(0,i.jsxs)("div",{className:"mb-8",children:[(0,i.jsx)("p",{className:"text-sm font-semibold uppercase tracking-[0.16em] text-slate-400",children:"Welcome back"}),(0,i.jsx)("h2",{className:"mt-2 text-2xl font-bold text-slate-900",children:I("LogIn")})]}),(0,i.jsxs)("form",{onSubmit:F(e=>{let t={username:e.email,password:e.password,callbackUrl:"".concat(window.location.origin,"/"),redirect:!1};(0,d.signIn)("credentials",t).then(e=>{(null==e?void 0:e.status)!==200&&(T("email",{type:"manual",message:" "}),T("password",{type:"manual",message:"Error"})),(null==e?void 0:e.status)===200&&(b.toast.success(I("AuthSuccess"),{position:"top-right",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0}),E.push("/"))})}),className:"space-y-5",children:[(0,i.jsx)(m.Qr,{name:"email",control:W,render:e=>{let{field:t,formState:r}=e;return(0,i.jsxs)("div",{className:Z,children:[(0,i.jsx)("label",{className:N,htmlFor:"login-email",children:I("EmailAddress")}),(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)(v.Z,{className:"ci-mail pointer-events-none absolute left-4 top-1/2 -translate-y-1/2 text-lg text-slate-400"}),(0,i.jsx)("input",{...t,id:"login-email",type:"email",className:_,placeholder:I("EmailAddress")})]}),r.errors.email?(0,i.jsx)("div",{className:k,children:r.errors.email.message}):null]})}}),(0,i.jsx)(m.Qr,{name:"password",control:W,render:e=>{let{field:t,formState:r}=e;return(0,i.jsxs)("div",{className:Z,children:[(0,i.jsx)("label",{className:N,htmlFor:"login-password",children:I("Password")}),(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)(v.Z,{className:"ci-locked pointer-events-none absolute left-4 top-1/2 -translate-y-1/2 text-lg text-slate-400"}),(0,i.jsx)("input",{...t,id:"login-password",type:A?"text":"password",className:_,placeholder:I("Password")}),(0,i.jsx)("button",{type:"button",onClick:()=>q(e=>!e),className:"absolute right-4 top-1/2 -translate-y-1/2 text-sm font-medium text-slate-400 transition hover:text-slate-700","aria-label":"Toggle password visibility",children:A?"Hide":"Show"})]}),r.errors.password?(0,i.jsx)("div",{className:k,children:r.errors.password.message}):null]})}}),(0,i.jsx)("div",{className:"flex items-center justify-end",children:(0,i.jsx)("span",{className:"text-sm text-slate-500",children:X})}),(0,i.jsxs)("button",{className:"inline-flex h-12 w-full items-center justify-center gap-2 rounded-2xl bg-brand px-5 text-sm font-semibold text-white transition hover:bg-brand-dark",type:"submit",children:[(0,i.jsx)(v.Z,{className:"ci-sign-in text-base"}),I("LogIn")]})]}),(0,i.jsxs)("div",{className:"mt-8 rounded-2xl border border-slate-200 bg-slate-50 px-4 py-4 text-sm text-slate-600",children:[I("NoAccount")," ",(0,i.jsx)(o(),{legacyBehavior:!0,href:"/auth/register",children:(0,i.jsx)("a",{className:"font-semibold text-brand transition hover:text-brand-dark",children:I("Register")})})]})]})})]})})]})}}},function(e){e.O(0,[5675,1664,5770,2962,9661,9491,1705,2888,9774,179],function(){return e(e.s=40163)}),_N_E=e.O()}]);
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.