1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7616],{47805:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/signup",function(){return r(72971)}])},60641:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});let s=(0,r(63759).Z)("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},28378:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});let s=(0,r(63759).Z)("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]])},24420:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});let s=(0,r(63759).Z)("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]])},72971:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return j}});var s=r(85893),a=r(67294),n=r(9008),i=r.n(n),l=r(41664),o=r.n(l),d=r(98778),c=r(88860),u=r(91538),p=r(89346),m=r(2749),f=r(80675),h=r(79931),x=r(24327),g=r(60641),b=r(28378),w=r(20834),j=!0;t.default=()=>{let e=(0,f.p9)(),[t,r]=(0,a.useState)(""),[n,l]=(0,a.useState)(""),[j,y]=(0,a.useState)(""),[v,N]=(0,a.useState)(!1),[k,_]=(0,a.useState)({type:"",content:""}),[C,S]=(0,a.useState)(!1),{t:Z}=(0,w.$G)("account"),L=(0,x.B)(),P=async r=>{if(r.preventDefault(),N(!0),_({type:"",content:""}),n!==j){_({type:"error",content:Z("shared.passwordConfirmationErrorMessage")}),N(!1);return}try{let e=await fetch("/api/check-blocked-email",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t})});if(e.ok){let{isBlocked:r}=await e.json();if(r){(0,h.L9)("blocked_email_signup_attempt",{email:t,reason:"spam_pattern_match",pattern:"tau.*tembo.*@gmail.com",timestamp:new Date().toISOString()}),_({type:"error",content:"This email has been blocked. If you believe this is an error, please contact us."}),N(!1);return}}else console.error("Failed to check blocked email status")}catch(e){console.error("Error checking blocked email:",e)}let{error:s,data:{user:a}}=await e.auth.signUp({email:t,password:n,options:{emailRedirectTo:"".concat("https://theresumeapp.com","/verify-success"),data:{full_name:"",avatar_url:""}}});if(s){_({type:"error",content:s.message}),N(!1);return}if(a){var i;(0,h.L9)("signup",{method:"email",email:a.email});let{data:r,error:s}=await e.auth.signInWithPassword({email:t,password:n});if(!s&&(null==r?void 0:null===(i=r.session)||void 0===i?void 0:i.user)){window.location.href="/account/profile";return}_({type:"error",content:"Signup successful but login failed. Please try signing in manually."})}N(!1)};return L?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i(),{children:(0,s.jsx)("title",{children:Z("signup.title")})}),(0,s.jsx)(m.Z,{})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i(),{children:(0,s.jsx)("title",{children:Z("signup.title")})}),(0,s.jsx)("div",{className:"min-h-full flex flex-col justify-center pt-6 pb-16 sm:px-6 lg:px-8",children:(0,s.jsx)("div",{className:"mt-8 sm:mx-auto sm:w-full sm:max-w-md",children:(0,s.jsxs)(p.Zb,{children:[(0,s.jsx)(p.Ol,{children:(0,s.jsx)("div",{className:"flex items-center justify-between",children:(0,s.jsx)(p.ll,{children:Z("signup.heading")})})}),(0,s.jsxs)(p.aY,{children:[(0,s.jsxs)("form",{onSubmit:P,className:"space-y-6",children:["error"===k.type&&(0,s.jsx)("div",{className:"bg-red-50 border border-red-200 rounded-md p-4",children:(0,s.jsx)("p",{className:"text-red-800 text-sm",children:k.content})}),"note"===k.type&&(0,s.jsx)("div",{className:"bg-blue-50 border border-blue-200 rounded-md p-4",children:(0,s.jsx)("p",{className:"text-blue-800 text-sm",children:k.content})}),(0,s.jsxs)("div",{children:[(0,s.jsx)(u._,{htmlFor:"email",children:Z("shared.emailLabel")}),(0,s.jsx)(c.I,{id:"email",name:"email",type:"email",autoComplete:"email",required:!0,onChange:e=>r(e.target.value),value:t})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(u._,{htmlFor:"password",children:Z("shared.passwordLabel")}),(0,s.jsx)(c.I,{id:"password",name:"password",type:"password",autoComplete:"new-password",required:!0,onChange:e=>l(e.target.value),value:n})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(u._,{htmlFor:"password-confirmation",children:Z("shared.confirmPasswordLabel")}),(0,s.jsx)(c.I,{id:"password-confirmation",name:"password-confirmation",type:"password",autoComplete:"new-password",required:!0,onChange:e=>y(e.target.value),value:j})]}),(0,s.jsx)("div",{children:(0,s.jsxs)(d.z,{type:"submit",className:"w-full",disabled:v||!t.length||!n.length||!j.length,children:[v?(0,s.jsx)(g.Z,{className:"mr-2 h-4 w-4 animate-spin"}):(0,s.jsx)(b.Z,{className:"mr-2 h-4 w-4"}),Z("signup.signUpButton")]})})]}),(0,s.jsx)("div",{className:"mt-6",children:(0,s.jsx)(d.z,{asChild:!0,variant:"link",children:(0,s.jsx)(o(),{href:"/signin",children:Z("signup.signInLink")})})})]})]})})})]})}},2749:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});
1var s=r(85893),a=r(20834),n=r(89346),i=r(82922),l=r(24420);function o(e){let{source:t="mobile_app_download"}=e,{t:r}=(0,a.$G)("landingPage");return(0,s.jsx)("div",{className:"min-h-full flex flex-col justify-center pt-6 pb-16 sm:px-6 lg:px-8",children:(0,s.jsx)("div",{className:"mt-8 sm:mx-auto sm:w-full sm:max-w-md",children:(0,s.jsxs)(n.Zb,{className:"text-center",children:[(0,s.jsxs)(n.Ol,{children:[(0,s.jsx)("div",{className:"flex justify-center mb-4",children:(0,s.jsx)("div",{className:"bg-blue-100 dark:bg-blue-900 p-3 rounded-full",children:(0,s.jsx)(l.Z,{className:"h-8 w-8 text-blue-600 dark:text-blue-400"})})}),(0,s.jsx)(n.ll,{className:"text-2xl text-gray-900 dark:text-white",children:r("mobileAppDownload.title")})]}),(0,s.jsxs)(n.aY,{className:"space-y-6",children:[(0,s.jsx)("p",{className:"text-gray-600 dark:text-gray-300",children:r("mobileAppDownload.description")}),(0,s.jsx)(i.ZP,{source:t,className:"space-x-4"}),(0,s.jsx)("div",{className:"pt-4 border-t border-gray-200 dark:border-gray-700",children:(0,s.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:r("mobileAppDownload.featuresDescription")})})]})]})})})}},82922:function(e,t,r){"use strict";r.d(t,{ZP:function(){return l}});var s=r(85893),a=r(25675),n=r.n(a),i=r(79931);function l(e){let{source:t,eventProps:r,showGooglePlay:a=!1,align:l="center",className:o}=e;return(0,s.jsxs)("div",{className:["flex flex-wrap gap-4","start"===l?"justify-center lg:justify-start":"justify-center",o].filter(Boolean).join(" "),children:[(0,s.jsx)("a",{href:"https://apps.apple.com/us/app/the-resume-app-companion-app/id6748490033",target:"_blank",rel:"noopener noreferrer",className:"cursor-pointer hover:opacity-80 transition-opacity",onClick:()=>(0,i.L9)("app_store_cta_clicked",{source:t,...r}),children:(0,s.jsx)(n(),{src:"/images/app-store-logo.svg",alt:"Download on App Store",width:200,height:60,className:"h-16 w-auto"})}),a&&(0,s.jsx)("a",{href:"https://play.google.com/store/apps/details?id=com.CamSoftwareLLC.theresumeapp",target:"_blank",rel:"noopener noreferrer",className:"cursor-pointer hover:opacity-80 transition-opacity",onClick:()=>(0,i.L9)("google_play_cta_clicked",{source:t,...r}),children:(0,s.jsx)(n(),{src:"/images/play-store-logo.png",alt:"Get it on Google Play",width:200,height:60,className:"h-16 w-auto"})})]})}},89346:function(e,t,r){"use strict";r.d(t,{Ol:function(){return l},SZ:function(){return d},Zb:function(){return i},aY:function(){return c},eW:function(){return u},ll:function(){return o}});var s=r(85893),a=r(67294),n=r(24515);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...a})});i.displayName="Card";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",r),...a})});l.displayName="CardHeader";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h3",{ref:t,className:(0,n.cn)("text-2xl font-semibold leading-none tracking-tight",r),...a})});o.displayName="CardTitle";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...a})});d.displayName="CardDescription";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",r),...a})});c.displayName="CardContent";let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",r),...a})});u.displayName="CardFooter"},88860:function(e,t,r){"use strict";r.d(t,{I:function(){return i}});var s=r(85893),a=r(67294),n=r(24515);let i=a.forwardRef((e,t)=>{let{className:r,type:a,rows:i,isTextarea:l,...o}=e;return l?(0,s.jsx)("textarea",{className:(0,n.cn)("flex w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),rows:i||4,ref:t,...o}):(0,s.jsx)("input",{type:a,className:(0,n.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});i.displayName="Input"},91538:function(e,t,r){"use strict";r.d(t,{_:function(){return d}});var s=r(85893),a=r(67294),n=r(49102),i=r(12003),l=r(24515);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.f,{ref:t,className:(0,l.cn)(o(),r),...a})});d.displayName=n.f.displayName},24327:function(e,t,r){"use strict";r.d(t,{B:function(){return a}});var s=r(67294);function a(){let[e,t]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=()=>{let e=navigator.userAgent.toLowerCase(),r=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(e),s=window.innerWidth<=768;t(r||s)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}},9008:function(e,t,r){e.exports=r(23867)},49102:function(e,t,r){"use strict";r.d(t,{f:function(){return l}});var s=r(67294),a=r(75320),n=r(85893),i=s.forwardRef((e,t)=>(0,n.jsx)(a.WV.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName="Label";var l=i}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=47805)}),_N_E=e.O()}]);
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.