1import{f as u,z as f,I as m,J as a,B as l,E as d,H as p,W as c,U as b,Q as w,N as g}from"./Button-CusjfCl3.js";import{_}from"./MyRentbirdCard-VOl62sT5.js";import{b as y,_ as x}from"./app--lW3PYU6.js";import{_ as k}from"./PasswordInput-CjiixaBX.js";import"./CustomTransitionExpand-BU1cchEK.js";import"./ProgressBar-DkR2ybTK.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};r.SENTRY_RELEASE={id:"17af8e55c580f79fe0bd3ddf4616f461480ef34d"},r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[new r.Error().stack]=function(s){for(var t=1;t<arguments.length;t++){var o=arguments[t];if(o!=null)for(var e in o)o.hasOwnProperty(e)&&(s[e]=o[e])}return s}({},r._sentryModuleMetadata[new r.Error().stack],{"_sentryBundlerPluginAppKey:rentbird-frontend":!0});var n=new r.Error().stack;n&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[n]="f06902ff-62ce-4256-b4b4-5663a84d9067",r._sentryDebugIdIdentifier="sentry-dbid-f06902ff-62ce-4256-b4b4-5663a84d9067")}catch{}})();const E={class:"py-20"},B={__name:"LoginPage",props:{errors:Object},setup(r){const n=w(),s=u({csrf:n.props.csrf,email:"",password:""}),t=async()=>{await g.post("/control-panel",s,{onSuccess:()=>{console.log("Success! reloading"),window.location.reload()}})};return(o,e)=>(f(),m(x,null,{default:a(()=>[l("div",E,[d(_,{class:"w-[600px] max-w-full mx-auto"},{default:a(()=>[l("form",{class:"relative block",method:"post",onSubmit:p(t,["prevent"])},[e[5]||(e[5]=l("h2",{class:"text-purple-900 font-medium text-3xl mb-2 lg:text-4xl"}," Control Panel Login ",-1)),d(y,{modelValue:s.email,"onUpdate:modelValue":e[0]||(e[0]=i=>s.email=i),dusk:"email",error:r.errors.email,class:"mb-4",placeholder:"Email"},{label:a(()=>[...e[2]||(e[2]=[l("span",{class:"text-purple-900"},"Email",-1)])]),_:1},8,["modelValue","error"]),d(k,{modelValue:s.password,"onUpdate:modelValue":e[1]||(e[1]=i=>s.password=i),dusk:"password",error:r.errors.password,class:"mb-4","show-create-password-hint":!1,placeholder:"password"},{label:a(()=>[...e[3]||(e[3]=[l("span",{class:"text-purple-900"},"Password",-1)])]),_:1},8,["modelValue","error"]),d(c,{dusk:"submit-button",type:"submit",big:!0,"full-width-on-mobile":!0,"full-width-on-desktop":!0,"icon-right":"arrow-right",class:"mb-4"},{default:a(()=>[...e[4]||(e[4]=[b(" Login ",-1)])]),_:1})],32)]),_:1})])]),_:1}))}};export{B as default}; 2//# sourceMappingURL=LoginPage-DNhHXEaA.js.map
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.