PageSourceSearch

https://muslimskstudent.no/assets/LoginPage-BhqTSsUm.js

js muslimskstudent.no collected 2026-09-25 12:26:48 UTC 5,079 bytes, 1 lines download raw bytes

1import{f as u,u as p,r,j as e,L as f}from"./react-Cs8zWWH2.js";import{u as b}from"./usePageMeta-BvB62zv-.js";import{r as l,a as y,b as k}from"./majmio-LpLy6kms.js";import{N as x}from"./Nav-D3sQx3ol.js";import{F as j}from"./Footer-CLRuN2SU.js";import"./motion-Dk9OBirR.js";import{E as S}from"./Eyebrow-jkQoX5k8.js";import{t as _}from"./index-BGOdKNd7.js";import{a as w}from"./links-NWmkt4vY.js";import"./auth-hint-D8tyCaun.js";import"./scrollLock-BEkOnnHN.js";import"./motion-Eu1XLqKB.js";import"./motion-ok-BZHsZT9U.js";const N={state:"That sign-in link did not match this browser. Please try again.",mangler_token:"majmio did not send a sign-in token back. Please try again.",ugyldig_token:"That sign-in link had expired. They last 60 seconds, so please try again.",invalid_token:"That sign-in link was not accepted. They expire after about a minute, so please try again.",replayed:"That sign-in link had already been used. Each one works once, so please try again.",login_required:"Please sign in to continue.",not_member:"That account is not a member of MSS.",no_email:"Your majmio profile has no email address on it. Please add one, then try again.",bad_redirect:"This site is running on an address majmio has not been told about, so sign-in was refused before it started. Nothing is broken. Tell the board which address you are on and they can register it.",for_mange:"Too many sign-in attempts from your network just now. Wait a minute and try again.",stengt:"MSS membership sign-in is closed at majmio right now. Please tell the board, because this is not something you can fix.",org_closed:"MSS membership sign-in is closed at majmio right now. Please tell the board, because this is not something you can fix.",feil_organisasjon:"That account belongs to a different organisation.",wrong_org:"That account belongs to a different organisation.",ukjent_integrasjon:"majmio does not recognise this site. Please tell the board.",unreachable:"We could not reach the sign-in service. Check your connection and try again.",verify_failed:"You were recognised, but the last step did not complete. Please try again.",session_failed:"Something on our side did not finish. Please try again, and tell the board if it keeps happening.",link_failed:"Something on our side did not finish. Please try again, and tell the board if it keeps happening.",user_create_failed:"We could not set your account up. Please tell the board.",email_sync_failed:"We could not update your email address. Please tell the board.",replay_guard_failed:"Something on our side did not finish. Please try again, and tell the board if it keeps happening."};function Y(){var n;b("Log in","Log in with your MSS membership.",{noindex:!0});const[i]=u(),d=p(),[a,m]=r.useState(!1),[t,c]=r.useState(()=>l()),o=i.get("feil")||t,h=((n=d.state)==null?void 0:n.to)||i.get("til")||"/medlem",g=()=>{const s=l();if(s){c(s);return}m(!0),window.location.assign(k({returnTo:h}))};return e.jsxs(e.Fragment,{children:[e.jsx(x,{current:"medlem"}),e.jsx("main",{id:"innhold",className:"min-h-dvh grid place-items-center px-5 py-28",style:{background:"radial-gradient(120% 90% at 15% 0%, #0C2421 0%, #060D0C 60%)"},children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsxs("div",{className:"rounded-[6px] p-8 geo-tint",style:{background:"var(--ink-700)",border:"1px solid rgba(212,174,88,.18)"},children:[e.jsx(S,{color:"var(--teal-400)",className:"mb-4",children:"Members"}),e.jsx("h1",{className:"font-display font-semibold text-cream",style:{fontSize:"1.7rem"},children:"Log in"}),e.jsx("p",{className:"font-serif mt-2.5",style:{color:"var(--cream-muted)"},children:"Your membership lives in majmio, so that is where you sign in. There is no password here."}),o&&e.jsxs("p",{className:"font-serif mt-5 px-3.5 py-3 rounded-[3px]",style:{background:"rgba(239,68,68,.12)",color:"#F87171",fontSize:".92rem"},role:"alert",children:[N[o]||"Something went wrong signing you in. Please try again.",o==="bad_redirect"&&e.jsxs("span",{className:"block mt-1.5 break-all",style:{opacity:.8,fontSize:".78rem"},children:["Address sent: ",y()]}),e.jsxs("span",{className:"block mt-1.5",style:{opacity:.65,fontSize:".78rem"},children:["Code: ",o]})]}),e.jsx("button",{onClick:g,disabled:a||!!t,className:"w-full mt-6 font-display font-semibold rounded-[4px] px-5 py-3.5 transition-opacity",style:{background:"var(--teal-500)",color:"var(--ink-900)",fontSize:13,letterSpacing:".06em",textTransform:"uppercase",opacity:a||t?.6:1,cursor:a||t?"default":"pointer"},children:a?"Taking you to majmio…":"Log in with MSS membership"}),e.jsxs("p",{className:"font-serif mt-5",style:{color:"var(--cream-faint)",fontSize:".88rem"},children:["Not a member yet?"," ",e.jsx("a",{href:w,target:"_blank",rel:"noreferrer",onClick:()=>_("member-login"),style:{color:"var(--teal-400)"},children:"Join MSS"}),", then come back here."]})]}),e.jsx("p",{className:"text-center mt-6",children:e.jsx(f,{to:"/",className:"font-serif",style:{color:"var(--cream-faint)",fontSize:".88rem"},children:"Back to the site"})})]})}),e.jsx(j,{})]})}
1export{Y as default};

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.