PageSourceSearch

https://www.luchthavenvervoer-kevin.be/_mijnvervoer_nuxt/Dx1C-9Gr.js

js luchthavenvervoer-kevin.be collected 2026-10-03 21:49:53 UTC 3,247 bytes, 1 lines download raw bytes

1import{d as U,a as S,u as j,m as q,q as B,s as p,c as v,b as s,f as o,t as n,w as i,k as L,o as x,_ as N,v as T,g as c,x as y,e as a,y as E,h as z,i as A,n as D}from"./B_1jfnRc.js";import{_ as P}from"./DsWPMEIm.js";import{_ as R}from"./gqB93ZEO.js";import{_ as G}from"./DLJsRx_W.js";import{u as H}from"./BF-1kWYb.js";const M={class:"min-h-screen bg-gray-50 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8"},W={class:"max-w-md w-full space-y-8"},F={class:"text-center"},J={class:"mx-auto h-16 flex items-center justify-center"},K={class:"mt-6 text-3xl font-bold text-gray-900"},O={class:"mt-2 text-sm text-gray-600"},Q={class:"flex items-center justify-between"},X={class:"text-sm"},Y={key:0,class:"fas fa-spinner fa-spin mr-2"},Z={class:"mt-6 text-center"},ee={class:"text-sm text-gray-600"},re=U({__name:"index",setup(se){const b=S(),{t:r}=j();H({title:r("pages.login.metaTitle"),description:r("pages.login.metaDescription",{company:b.naam}),noindex:!1});const f=q(),$=B(),m=p(!1),l=p({email:f.formulierEmail||"",password:f.formulierWachtwoord||""}),t=p({}),V=async()=>{try{if(m.value=!0,t.value={},!l.value.email){t.value.email=r("common.emailRequired");return}if(!l.value.password){t.value.password=r("common.passwordRequired");return}await $.login(l.value.email,l.value.password)?await D("/account"):t.value.general=r("pages.login.invalidCredentials")}catch(e){console.error("Login failed:",e),t.value.general=r("common.errorGeneric")}finally{m.value=!1}};return(e,d)=>{const k=N,_=P,g=R,w=G,h=E,I=z,C=L;return x(),v("div",M,[s("div",W,[s("div",F,[s("div",J,[o(k,{link:"",loading:"eager",class:"w-auto h-16 mx-auto block"})]),s("h2",K,n(e.$t("pages.login.title")),1),s("p",O,n(e.$t("pages.login.subtitle")),1)]),o(C,{class:"p-8"},{default:i(()=>[s("form",{class:"flex flex-col gap-4",onSubmit:T(V,["prevent"])},[s("div",null,[o(_,{for:"email"},{default:i(()=>[c(n(e.$t("common.email")),1)]),_:1}),o(g,{id:"email",modelValue:a(l).email,"onUpdate:modelValue":d[0]||(d[0]=u=>a(l).email=u),type:"email",autocomplete:"email",placeholder:e.$t("common.email"),class:y({"border-red-500":a(t).email}),required:""},null,8,["modelValue","placeholder","class"]),o(w,{error:a(t).email},null,8,["error"])]),s("div",null,[o(_,{for:"password"},{default:i(()=>[c(n(e.$t("common.password")),1)]),_:1}),o(g,{id:"password",modelValue:a(l).password,"onUpdate:modelValue":d[1]||(d[1]=u=>a(l).password=u),type:"password",autocomplete:"current-password",placeholder:e.$t("common.password"),class:y({"border-red-500":a(t).password}),required:""},null,8,["modelValue","placeholder","class"]),o(w,{error:a(t).password},null,8,["error"])]),s("div",Q,[s("div",X,[o(h,{to:"/wachtwoord-vergeten",class:"font-bold text-gray-700 hover:text-black"},{default:i(()=>[c(n(e.$t("pages.login.forgotPassword")),1)]),_:1})])]),o(I,{type:"submit",disabled:a(m),class:"w-full",size:"lg"},{default:i(()=>[a(m)?(x(),v("i",Y)):A("",!0),c(" "+n(a(m)?e.$t("pages.login.loggingIn"):e.$t("pages.login.login")),1)]),_:1},8,["disabled"])],32),s("div",Z,[s("p",ee,[c(n(e.$t("pages.login.noAccount"))+" ",1),o(h,{to:"/registratie",class:"font-bold text-gray-700 hover:text-black"},{default:i(()=>[c(n(e.$t("pages.login.register")),1)]),_:1})])])]),_:1})])])}}});export{re 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.