PageSourceSearch

https://bytesmarknaden.se/_next/static/chunks/app/logga-in/page-a7…?dpl=dpl_DMjKafgxEvvfFX5bx5CDbZprwyiJ

js bytesmarknaden.se collected 2026-10-02 02:07:50 UTC 3,436 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7897],{42529:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(71847).A)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},51798:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>N});var a=t(95155),r=t(12115),l=t(6059),n=t(52619),i=t.n(n),d=t(20063),o=t(65939),c=t(88232),m=t(99865),u=t(97003),p=t(33789),h=t(90235),x=t(42529),g=t(6132),j=t(35299),f=t(32559);function y(){let[e,s]=(0,r.useState)(""),[t,l]=(0,r.useState)(""),[n,y]=(0,r.useState)(""),[N,k]=(0,r.useState)(!1),v=(0,d.useSearchParams)(),{login:w,isConfigured:b}=(0,o.A)(),C=(0,c.Z2)(v.get("redirect")),S="success"===v.get("password_reset"),_=async s=>{if(s.preventDefault(),y(""),!e.trim()||!t.trim())return void y("V\xe4nligen fyll i b\xe5de e-post och l\xf6senord.");if(!b)return void y("Inloggning \xe4r inte tillg\xe4nglig just nu. F\xf6rs\xf6k igen senare.");k(!0);try{let s=await w(e.trim(),t);if(!s.success)return void y(s.message||"Inloggningen misslyckades. Kontrollera dina uppgifter.");window.location.assign(C)}finally{k(!1)}};return(0,a.jsx)(m.k,{mode:"login",title:"Logga in",subtitle:"V\xe4lkommen tillbaka – forts\xe4tt swipa och matcha byten.",children:(0,a.jsxs)("form",{onSubmit:_,className:"space-y-4",autoComplete:"on",children:[S?(0,a.jsxs)(f.Fc,{children:[(0,a.jsx)(x.A,{className:"h-4 w-4"}),(0,a.jsx)(f.TN,{children:"Ditt l\xf6senord \xe4r uppdaterat. Logga in med det nya l\xf6senordet — samma konto fungerar i mobilappen."})]}):null,n&&(0,a.jsxs)(f.Fc,{variant:"destructive",children:[(0,a.jsx)(g.A,{className:"h-4 w-4"}),(0,a.jsx)(f.TN,{children:n})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(h.J,{htmlFor:"email",children:"E-postadress"}),(0,a.jsx)(p.p,{id:"email",name:"email",type:"email",inputMode:"email",autoComplete:"username email",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,className:m.i,placeholder:"[email protected]",value:e,onChange:e=>s(e.target.value),disabled:N,required:!0})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(h.J,{htmlFor:"password",children:"L\xf6senord"}),(0,a.jsx)(i(),{href:"/glomt-losenord",className:"text-sm text-primary hover:underline",children:"Gl\xf6mt l\xf6senord?"})]}),(0,a.jsx)(p.p,{id:"password",name:"password",type:"password",autoComplete:"current-password",className:m.i,placeholder:"Ditt l\xf6senord",value:t,onChange:e=>l(e.target.value),disabled:N,required:!0})]}),(0,a.jsx)(u.$,{type:"submit",className:"w-full h-11",disabled:N||!e.trim()||!t.trim(),children:N?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j.A,{className:"mr-2 h-4 w-4 animate-spin"}),"Loggar in..."]}):"Logga in"}),(0,a.jsxs)("p",{className:"text-center text-sm text-muted-foreground pt-2",children:["Har du inget konto?"," ",(0,a.jsx)(i(),{href:"/bli-medlem",className:"font-medium text-primary hover:underline",children:"Skapa konto h\xe4r"})]})]})})}function N(){return(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)("div",{className:"container py-20 max-w-md mx-auto text-center",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Laddar..."})}),children:(0,a.jsx)(l._,{children:(0,a.jsx)(y,{})})})}},72816:(e,s,t)=>{Promise.resolve().then(t.bind(t,51798))}},e=>{e.O(0,[5730,2619,9779,1678,1356,4360,4368,8441,1255,7358],()=>e(e.s=72816)),_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.