1import{A as _,v as l,x as i,B as o,y as t,q as n,f as x,I as b,i as u,j as r,G as k,H as d,p as v}from"./@vue-4474Gfnj.js";import{_ as V}from"./Checkbox-CvLrv-li.js";import{_ as p}from"./InputError-DRXmsDfx.js";import{_ as f,a as c}from"./TextInput-hPSqJxED.js";import{P as B}from"./PrimaryButton-B1VA4MYh.js";import{a as h,h as L,l as P}from"./@inertiajs-7zqq8wgj.js";import"./app-B3xOPy74.js";import"./axios-DjWHqwoD.js";import"./laravel-vite-plugin-DEL3ZhID.js";import"./@iconify-DROonR5K.js";import"./vue-fast-marquee-CkwowO8X.js";import"./qs-C7saBnVC.js";import"./side-channel-BLCytySV.js";import"./es-errors-B3qLL4WI.js";import"./object-inspect--bXPCECa.js";import"./side-channel-list-BCZJqq54.js";import"./side-channel-map-D4vBmt7j.js";import"./get-intrinsic-DvtG1oIa.js";import"./es-object-atoms-BR76m4z7.js";import"./math-intrinsics-DP1tGiab.js";import"./gopd-C1lCZ5Qs.js";import"./es-define-property-D_7cP-M3.js";import"./has-symbols-BaUvM3gb.js";import"./get-proto-MZ3MALak.js";import"./dunder-proto-C6VzgWTX.js";import"./call-bind-apply-helpers-C9UlVOU4.js";import"./function-bind-CHqF18-c.js";import"./hasown-DwiY0sux.js";import"./call-bound-B0s5y60d.js";import"./side-channel-weakmap-Kf8cPeRJ.js";import"./lodash-es-DY0-vtN4.js";import"./laravel-precognition-BqdyoEeO.js";const q={key:0,class:"mb-4 text-sm font-medium text-green-600"},C={class:"mt-4"},N={class:"mt-4 block"},U={class:"flex items-center"},$={class:"mt-4 flex items-center justify-end"},de={__name:"Login",props:{canResetPassword:{type:Boolean},status:{type:String}},setup(m){const e=h({username:"",password:"",remember:!1}),g=()=>{e.post(route("login"),{onFinish:()=>e.reset("password")})};return(w,s)=>{const y=_("GuestLayout");return n(),l(y,null,{default:i(()=>[o(t(L),{title:"Log in"}),m.status?(n(),x("div",q,b(m.status),1)):u("",!0),r("form",{onSubmit:k(g,["prevent"])},[r("div",null,[o(f,{for:"username",value:"Username"}),o(c,{id:"username",type:"text",class:"mt-1 block w-full",modelValue:t(e).username,"onUpdate:modelValue":s[0]||(s[0]=a=>t(e).username=a),required:"",autofocus:"",autocomplete:"username",maxlength:"20"},null,8,["modelValue"]),o(p,{class:"mt-2",message:t(e).errors.username},null,8,["message"])]),r("div",C,[o(f,{for:"password",value:"Password"}),o(c,{id:"password",type:"password",class:"mt-1 block w-full",modelValue:t(e).password,"onUpdate:modelValue":s[1]||(s[1]=a=>t(e).password=a),required:"",autocomplete:"current-password"},null,8,["modelValue"]),o(p,{class:"mt-2",message:t(e).errors.password},null,8,["message"])]),r("div",N,[r("label",U,[o(V,{name:"remember",checked:t(e).remember,"onUpdate:checked":s[2]||(s[2]=a=>t(e).remember=a)},null,8,["checked"]),s[3]||(s[3]=r("span",{class:"ms-2 text-sm text-gray-600"},"Remember me",-1))])]),r("div",$,[m.canResetPassword?(n(),l(t(P),{key:0,href:w.route("password.request"),class:"rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"},{default:i(()=>[...s[4]||(s[4]=[d(" Forgot your password? ",-1)])]),_:1},8,["href"])):u("",!0),o(B,{class:v(["ms-4",{"opacity-25":t(e).processing}]),disabled:t(e).processing},{default:i(()=>[...s[5]||(s[5]=[d(" Log in ",-1)])]),_:1},8,["class","disabled"])])],32)]),_:1})}}};export{de 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.