1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9d94efc7-4a77-5aec-a161-65fd0707fea3")}catch(e){}}(); 3import{w as D,a as N,r as n,u as A,f as C,j as e,L as l,F as P}from"./chunk-62JRHF6Z-Cg50Stu2.js";import{b as S}from"./build-page-meta-qhTCv4Dg.js";import{C as k}from"./checkbox-TE7pzvAZ.js";import{c as F,A as M,S as O}from"./social-auth-options-Ku24y_GT.js";import{L as R}from"./label-DmsXjegR.js";import{L as T}from"./loader-button-jS9UC2d-.js";import{u as B}from"./use-disable-spa-navigation-DEjxOnI0.js";import{u as I}from"./use-gtm-BypLYnIz.js";import{E as $}from"./email-input--_mNugeZ.js";import{F as U}from"./form-layout-CBf09Qba.js";import{P as V}from"./page-error-banners-B_jsjyt7.js";import{P as _}from"./page-layout-CSjgRWgH.js";import{P as G}from"./password-w1oRmadf.js";import{S as t}from"./spacer-y5aqkyMZ.js";import"./colors-Cc7HAQZt.js";import"./index-KatFkK5c.js";import"./index-B-9bbPAc.js";import"./index-DJMJsl4U.js";import"./check-small-Bdr-IMWE.js";import"./check-F6xWM4Mb.js";import"./createLucideIcon-DqVr-3iM.js";import"./google-BZbUsShA.js";import"./apple-G3D9vJY0.js";import"./index-DwjXpV-A.js";import"./use-route-is-loading-DY6zploj.js";import"./gtags.client-DzOMWus4.js";import"./use-consent-manager-D8muF1dE.js";import"./consent-for-purpose-C1zII8oQ.js";import"./input-with-label-ChBqifqC.js";import"./input-qxnRkfpA.js";import"./status-banner-CB2IEtyO.js";import"./cancel-Bn1Utm5Y.js";import"./info-small-DN8fAlaV.js";import"./index-BM383GJL.js";import"./index-DPA9Oy_9.js";import"./index-7ATJMyab.js";import"./index-B-y3haoZ.js";import"./chevron-down-BtiuFvvq.js";import"./cancel-with-circle-dsGJyDFw.js";import"./focus-dialog-title-on-open-BLKuxurX.js";import"./currency-to-string-RiBuxXPH.js";import"./rule-C5r1XMP6.js";import"./support-urls-ChXx0Dhk.js";import"./date-formats-DSV9DK-t.js";import"./format-yuzPHSV4.js";import"./parseISO-ZHpNAdKS.js";import"./vehicle-image-P9w3Pbsh.js";import"./fullstory-event-DY6iD3-u.js";import"./logger-B2euJylT.js";import"./input-with-icon-CuZiw9Sw.js";const Ue=a=>S({title:"Log In",description:"Log into your Flexcar account today and order your dream car without the long-term commitment, or car leasing fees."},a),Ve=D(function(){const r=N(),[i,c]=n.useState(),[p,h]=n.useState(!1),{isFromWaitlist:d,publicBackendUrl:s,googleOAuthEnabled:u,appleOAuthEnabled:g,errors:x,isAdditionalDriver:j,strictEmailValidationEnabled:b}=A(),{disableSpaNavigation:m}=B(),{gtmEvent:f}=I("Analytics"),v=o=>{c(o.target.value)},y=o=>{h(o)},L=()=>{f("existing_user_login")},E=C(),w=`/create-account${F(E.search)}`;return e.jsx(_,{children:e.jsxs(U,{children:[e.jsx(V,{loaderErrors:x,actionErrors:r?.errors}),d?e.jsxs(e.Fragment,{children:[e.jsx("h1",{children:"Log in to create your waitlist"}),e.jsx(t,{variant:"height16"}),e.jsx("p",{className:"body",children:"Tell us the cars you are looking for and we'll email you as soon as they become available."})]}):e.jsx("h1",{children:"Log in"}),e.jsx(t,{variant:"height24"}),j?e.jsxs(e.Fragment,{children:[e.jsx(M,{}),e.jsx(t,{variant:"height24"})]}):null,e.jsxs("p",{className:"body",children:["Don't have an account?  ",e.jsx(l,{to:w,className:"link-body",reloadDocument:m,children:"Sign up"})]}),e.jsx(t,{variant:"height24"}),u&&s?e.jsx(O,{publicBackendUrl:s,appleOAuthEnabled:g}):null,e.jsxs(P,{method:"post",noValidate:b,children:[e.jsx($,{label:"Email",name:"email",onChange:v,className:"w-full",errorText:r?.errors.email}),e.jsx(t,{variant:"height24"}),e.jsx(G,{errorText:r?.errors?.password}),e.jsx(t,{variant:"height24"}),e.jsxs("div",{className:"flex flex-row justify-between",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(k,{checked:p,onCheckedChange:y,id:"rememberMe"}),e.jsx(t,{variant:"width8"}),e.jsx(R,{htmlFor:"rememberMe",className:"cursor-pointer text-base",children:"Remember me"})]}),e.jsx(l,{to:`/troubleshoot${i?`?email=${encodeURIComponent(i)}`:""}`,reloadDocument:m,className:"link-body",children:"Trouble logging in?"})]}),e.jsx(t,{variant:"height24"}),e.jsx(T,{type:"submit",className:"w-full",onClick:L,children:"Log in"})]})]})})});export{Ve as default,Ue as meta}; 4//# sourceMappingURL=login-CT_4fcPU.js.map 5 6//# debugId=9d94efc7-4a77-5aec-a161-65fd0707fea3
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.