1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-wv3FL4wS.css"])))=>i.map(i=>d[i]); 2import{j as s,H as j,L as n,f as c,i as g,_ as y}from"./vendor-K6v_-SBx.js";import{z as f}from"./index-CQNN-TwN.js";import{d as N,k as b,p as v,e as k}from"./pepsico-M9pdHuGT.js";import{D as w,S,L as C,A as L}from"./contants-B-QEWsSE.js";import{u as A}from"./useProgressiveShader-DPFNowpK.js";import{B,aH as o,bf as h,bc as l,bA as z,v as P,x as t,bs as E,aI as W,c as _,a3 as R,a2 as U}from"./ui-DiuG94xN.js";const I=c.lazy(()=>y(()=>import("./PrismaticFlowBackdrop-Ch9L89uh.js"),__vite__mapDeps([0]))),F=[{icon:h,title:"Less busywork",copy:"Automate routine accounting and compliance tasks."},{icon:P,title:"Clearer decisions",copy:"See real-time books, cash flow and tax positions."},{icon:l,title:"Always audit-ready",copy:"Stay secure, compliant and confidently in control."}],G=[{src:N,alt:"Coca-Cola"},{src:b,alt:"Kia"},{src:v,alt:"PepsiCo"},{src:k,alt:"KPMG"}];function M(){return s.jsxs("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:"auth-google-mark",children:[s.jsx("path",{fill:"#4285F4",d:"M21.6 12.23c0-.71-.06-1.4-.18-2.07H12v3.91h5.38a4.6 4.6 0 0 1-2 3.02v2.54h3.24c1.9-1.75 2.98-4.33 2.98-7.4Z"}),s.jsx("path",{fill:"#34A853",d:"M12 22c2.7 0 4.98-.9 6.64-2.43l-3.24-2.54c-.9.6-2.05.96-3.4.96-2.61 0-4.82-1.76-5.61-4.13H3.04v2.62A10 10 0 0 0 12 22Z"}),s.jsx("path",{fill:"#FBBC05",d:"M6.39 13.86A6 6 0 0 1 6.08 12c0-.65.11-1.28.31-1.86V7.52H3.04A10 10 0 0 0 2 12c0 1.61.38 3.14 1.04 4.48l3.35-2.62Z"}),s.jsx("path",{fill:"#EA4335",d:"M12 6.01c1.47 0 2.79.5 3.83 1.5l2.88-2.87A9.65 9.65 0 0 0 12 2a10 10 0 0 0-8.96 5.52l3.35 2.62C7.18 7.77 9.39 6.01 12 6.01Z"})]})}function u({compact:a=!1}){return s.jsx(n,{to:"/",className:a?"auth-logo auth-logo--compact":"auth-logo","aria-label":"WhiteBooks home",children:s.jsx("img",{src:f,alt:"WhiteBooks"})})}function T(){const a=A({minWidth:1001});return s.jsxs("aside",{className:"auth-story","aria-label":"Why WhiteBooks",children:[s.jsxs("div",{className:"auth-story-ambient","aria-hidden":"true",children:[s.jsx("div",{className:"auth-shader-fallback"}),a&&s.jsx(c.Suspense,{fallback:null,children:s.jsx(I,{variant:"auth",className:"auth-shader-layer",canvasClassName:"auth-story-shader"})}),s.jsx("div",{className:"auth-story-shader-veil"})]}),s.jsx("div",{className:"auth-story-grid","aria-hidden":"true"}),s.jsxs("div",{className:"auth-story-inner",children:[s.jsx(u,{}),s.jsxs("div",{className:"auth-story-copy",children:[s.jsxs("div",{className:"auth-eyebrow",children:[s.jsx("span",{children:s.jsx(z,{size:13,strokeWidth:2.4})}),"AI-powered books. GST-ready."]}),s.jsxs("h1",{children:["Your numbers,",s.jsx("span",{children:"finally in rhythm."})]}),s.jsx("p",{className:"auth-story-lede",children:"One beautifully simple workspace for books, tax compliance and the clarity to move your business forward."}),s.jsx("div",{className:"auth-benefits",children:F.map(({icon:e,title:i,copy:r})=>s.jsxs("div",{className:"auth-benefit",children:[s.jsx("span",{className:"auth-benefit-icon",children:s.jsx(e,{size:17,strokeWidth:2})}),s.jsxs("span",{children:[s.jsx("strong",{children:i}),s.jsx("small",{children:r})]})]},i))})]}),s.jsxs("div",{className:"auth-pulse-card","aria-hidden":"true",children:[s.jsxs("div",{className:"auth-pulse-head",children:[s.jsxs("span",{children:[s.jsx("small",{children:"BUSINESS PULSE"}),s.jsx("strong",{children:"Everything looks healthy"})]}),s.jsxs("span",{className:"auth-live",children:[s.jsx("i",{})," LIVE"]})]}),s.jsxs("div",{className:"auth-pulse-body",children:[s.jsxs("span",{className:"auth-pulse-total",children:[s.jsx("small",{children:"Revenue this month"}),s.jsx("strong",{children:"â¹46.2L"}),s.jsx("em",{children:"+12.5%"})]}),s.jsxs("svg",{className:"auth-sparkline",viewBox:"0 0 240 74",preserveAspectRatio:"none",children:[s.jsx("defs",{children:s.jsxs("linearGradient",{id:"auth-area",x1:"0",y1:"0",x2:"0",y2:"1",children:[s.jsx("stop",{offset:"0",stopColor:"#dc2f65",stopOpacity:".26"}),s.jsx("stop",{offset:"1",stopColor:"#dc2f65",stopOpacity:"0"})]})}),s.jsx("path",{d:"M1 64C17 61 17 46 34 48s18 11 35 3 16-23 31-19 16 15 32 8 17-30 34-25 13 31 31 20 19-28 42-31v70H1Z",fill:"url(#auth-area)"}),s.jsx("path",{d:"M1 64C17 61 17 46 34 48s18 11 35 3 16-23 31-19 16 15 32 8 17-30 34-25 13 31 31 20 19-28 42-31",fill:"none",stroke:"#dc2f65",strokeWidth:"3",strokeLinecap:"round"})]})]}),s.jsxs("div",{className:"auth-pulse-foot",children:[s.jsxs("span",{children:[s.jsx(t,{size:13})," Books reconciled"]}),s.jsxs("span",{children:[s.jsx(t,{size:13})," GST on track"]}),s.jsxs("span",{children:[s.jsx(t,{size:13})," Cash flow positive"]})]})]}),s.jsxs("div",{className:"auth-partners",children:[s.jsx("p",{children:"Trusted by finance teams at"}),s.jsx("div",{className:"auth-partner-row",children:G.map(e=>s.jsx("img",{...e},e.alt))})]})]})]})}function H({mode:a}){const[e,i]=c.useState(!1);return s.jsxs("label",{className:"auth-field",children:[s.jsx("span",{children:"Password"}),s.jsxs("span",{className:"auth-input-shell",children:[s.jsx(o,{size:17,"aria-hidden":"true"}),s.jsx("input",{type:e?"text":"password",name:"password",autoComplete:a==="login"?"current-password":"new-password",placeholder:a==="login"?"Enter your password":"Create a strong password",minLength:8,required:!0}),s.jsx("button",{type:"button",className:"auth-password-toggle",onClick:()=>i(r=>!r),"aria-label":e?"Hide password":"Show password",children:e?s.jsx(R,{size:18}):s.jsx(U,{size:18})})]}),a==="signup"&&s.jsx("small",{className:"auth-password-hint",children:"Use 8 or more characters"})]})}function O({mode:a}){const e=a==="login",[i]=g(),r=i.get("type")==="developer"?w:S,d=e?C:r,m=p=>{p.preventDefault(),window.location.assign(d)};return s.jsxs("form",{className:"auth-form",onSubmit:m,children:[s.jsxs("button",{className:"auth-google",type:"button",onClick:()=>window.location.assign(d),children:[s.jsx(M,{}),"Continue with Google"]}),s.jsx("div",{className:"auth-divider",children:s.jsx("span",{children:"or continue with email"})}),!e&&s.jsxs("label",{className:"auth-field",children:[s.jsx("span",{children:"Full name"}),s.jsxs("span",{className:"auth-input-shell",children:[s.jsx(E,{size:17,"aria-hidden":"true"}),s.jsx("input",{type:"text",name:"name",autoComplete:"name",placeholder:"Your full name",required:!0})]})]}),s.jsxs("label",{className:"auth-field",children:[s.jsx("span",{children:e?"Email address":"Work email"}),s.jsxs("span",{className:"auth-input-shell",children:[s.jsx(W,{size:17,"aria-hidden":"true"}),s.jsx("input",{type:"email",name:"email",autoComplete:"email",placeholder:"[email protected]",required:!0})]})]}),s.jsx(H,{mode:a}),e?s.jsxs("div",{className:"auth-form-meta",children:[s.jsxs("label",{className:"auth-check",children:[s.jsx("input",{type:"checkbox",name:"remember"}),s.jsx("span",{"aria-hidden":"true",children:s.jsx(t,{size:11})}),"Remember me"]}),s.jsx("a",{href:`${L}/forgot-password`,children:"Forgot password?"})]}):s.jsxs("label",{className:"auth-check auth-terms",children:[s.jsx("input",{type:"checkbox",name:"terms",required:!0}),s.jsx("span",{"aria-hidden":"true",children:s.jsx(t,{size:11})}),s.jsxs("span",{children:["I agree to the ",s.jsx(n,{to:"/about/terms",children:"Terms"})," and"," ",s.jsx(n,{to:"/about/privacy-policy",children:"Privacy Policy"}),"."]})]}),s.jsxs("button",{className:"auth-submit",type:"submit",children:[s.jsx("span",{children:e?"Sign in to WhiteBooks":"Create my free account"}),s.jsx(_,{size:18})]}),!e&&s.jsxs("p",{className:"auth-form-assurance",children:[s.jsx(t,{size:13})," No credit card required. Set up in minutes."]})]})}function x({mode:a}){const e=a==="login";return s.jsxs("main",{className:"auth-page",children:[s.jsxs(j,{children:[s.jsxs("title",{children:[e?"Sign in":"Create your account"," | WhiteBooks"]}),s.jsx("meta",{name:"description",content:e?"Sign in to your WhiteBooks account.":"Create a WhiteBooks account and put your books and compliance on auto
2pilot."}),s.jsx("link",{rel:"canonical",href:`https://whitebooks.in/${e?"login":"signup"}`}),s.jsx("meta",{name:"robots",content:"noindex, follow"})]}),s.jsx(T,{}),s.jsxs("section",{className:"auth-access",children:[s.jsx("div",{className:"auth-mobile-brand",children:s.jsx(u,{compact:!0})}),s.jsxs("div",{className:"auth-switch",children:[s.jsx("span",{children:e?"New to WhiteBooks?":"Already have an account?"}),s.jsx(n,{to:e?"/signup":"/login",children:e?"Create account":"Sign in"})]}),s.jsxs("div",{className:"auth-card-wrap",children:[s.jsxs("div",{className:"auth-mobile-proof",children:[s.jsx(B,{size:15})," Books, compliance and clarity â together."]}),s.jsxs("div",{className:"auth-card",children:[s.jsxs("div",{className:"auth-card-kicker-row",children:[s.jsx("div",{className:"auth-card-icon",children:e?s.jsx(o,{size:21}):s.jsx(h,{size:21})}),s.jsxs("span",{className:"auth-assurance-pill",children:[s.jsx(l,{size:13})," ",e?"Secure access":"Free to get started"]})]}),s.jsxs("div",{className:"auth-card-heading",children:[s.jsx("p",{children:e?"Welcome back":"Start building better books"}),s.jsx("h2",{children:e?"Sign in to your account.":"Create your account."}),s.jsx("span",{children:e?"Your business is ready when you are.":"A clearer financial picture is just a minute away."})]}),s.jsx(O,{mode:a}),s.jsxs("p",{className:"auth-card-bottom",children:[e?"Don't have an account?":"Already using WhiteBooks?"," ",s.jsx(n,{to:e?"/signup":"/login",children:e?"Create one free":"Sign in"})]})]}),s.jsxs("div",{className:"auth-security",children:[s.jsxs("span",{children:[s.jsx(l,{size:15})," ISO 27001 certified"]}),s.jsx("i",{}),s.jsxs("span",{children:[s.jsx(o,{size:14})," 256-bit SSL secured"]})]})]})]})]})}function $(){return s.jsx(x,{mode:"login"})}function J(){return s.jsx(x,{mode:"signup"})}export{x as AuthPage,$ as LoginPage,J as SignupPage};
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.