PageSourceSearch

https://helloquinoa.ai/_next/static/chunks/app/%5Blocale%5D/(non-r…/(access)/signup/page-0e44e1098ac68633.js

js helloquinoa.ai collected 2026-10-05 13:42:10 UTC 23,230 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="abe08816-ef8c-4854-aa3b-7841e5446c05",e._sentryDebugIdIdentifier="sentry-dbid-abe08816-ef8c-4854-aa3b-7841e5446c05")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7608],{9862:function(e,t,r){Promise.resolve().then(r.bind(r,78700))},78700:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return Z}});var s=r(9983),n=r(67398),a=r(60750),i=r(42768),l=r(71719),o=r(51032),c=r(7853),d=r(77468),u=r(93723),f=r(6813),x=r(13538),m=r(68671),h=r(98766),g=r(2026),p=r(22529),_=r(44855),j=r(41355),b=r(30189),w=r(31322),v=r(78646),N=r(2650),y=r(40716),k=r(7601),C=r(89129);let L="0x4AAAAAADeMw8PfFfN-NOVi";var z=e=>{let{isSignupComplete:t}=e,r=(0,n.useTranslations)("access"),a=(0,n.useTranslations)("app.toast"),[i,z]=(0,y.useState)(!1),F=(0,y.useRef)(null),[I,A]=(0,y.useState)(null),{mutateAsync:Z,isPending:P}=f.Z.user.useSignup({onError:()=>{var e;null===(e=F.current)||void 0===e||e.reset(),A(null),C.Am.custom(e=>(0,s.jsx)(o.Z,{status:"error",title:a("error_register_title"),content:a("error_register_description"),toastId:e}))}}),[S,E]=(0,y.useState)(!1),[R,D]=(0,y.useState)(!1),[U,M]=(0,y.useState)(!1),G=(0,N.useRouter)(),O=(0,k.cI)({resolver:(0,g.F)((0,h.if)({emailError:r("field_errors.access.email"),passwordError:r("field_errors.access.password"),fullnameMinError:r("field_errors.access.fullname"),fullNameMaxError:r("field_errors.access.fullname_max"),fullnameInvalidCharsError:r("field_errors.access.fullname_invalid_chars")})),defaultValues:{email:"",full_name:"",password:""}});function B(){z(!i)}async function T(e){let r={...e};if(!S){M(!0);return}r.marketing_consent=R,r.privacy_policy_consent=S,r.turnstileToken=null!=I?I:void 0,201===(await Z(r)).status&&t(r.email)}let V=!!L&&!I;return(0,s.jsxs)(u.l0,{...O,children:[(0,s.jsx)("form",{onSubmit:O.handleSubmit(T),children:(0,s.jsx)("fieldset",{disabled:P,children:(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsx)(u.Wi,{control:O.control,name:"email",render:e=>{let{field:t}=e;return(0,s.jsxs)(u.xJ,{children:[(0,s.jsx)(u.lX,{children:"Email"}),(0,s.jsx)(u.NI,{children:(0,s.jsx)(d.U,{placeholder:r("email_placeholder"),...t})}),(0,s.jsx)(u.zG,{})]})}}),(0,s.jsx)(u.Wi,{control:O.control,name:"full_name",render:e=>{let{field:t}=e;return(0,s.jsxs)(u.xJ,{children:[(0,s.jsx)(u.lX,{children:r("fullname_label")}),(0,s.jsx)(u.NI,{children:(0,s.jsx)(d.U,{placeholder:r("fullname_label"),...t})}),(0,s.jsx)(u.zG,{})]})}}),(0,s.jsx)(u.Wi,{control:O.control,name:"password",render:e=>{let{field:t}=e;return(0,s.jsxs)(u.xJ,{children:[(0,s.jsx)(u.lX,{children:"Password"}),(0,s.jsx)(u.NI,{children:(0,s.jsx)(d.r,{placeholder:r("password_placeholder"),...t,type:i?"text":"password",children:i?(0,s.jsx)(_.Z,{size:20,className:"cursor-pointer",onClick:B}):(0,s.jsx)(j.Z,{size:20,className:"cursor-pointer",onClick:B})})}),(0,s.jsx)(u.zG,{})]})}}),(0,s.jsxs)("div",{className:"mt-2 flex flex-col gap-4",children:[(0,s.jsxs)("div",{className:"flex gap-2",children:[S?(0,s.jsx)("div",{onClick:()=>E(!S),className:"h-fit cursor-pointer",children:(0,s.jsx)(l.Z,{icon:"check_box",className:(0,x.cn)("h-max shrink-0 p-0 selection:bg-none"),size:"md",fill:!0})}):(0,s.jsx)("div",{onClick:()=>{M(!1),E(!S)},className:"h-fit cursor-pointer",children:(0,s.jsx)(l.Z,{icon:"check_box_outline_blank",className:(0,x.cn)("h-max shrink-0",{"animate-shake text-[#DC3545]":U}),size:"md"})}),(0,s.jsxs)("p",{className:"text-xs font-medium",children:[(0,s.jsx)("span",{children:r("signup.privacy_consent")}),(0,s.jsxs)(v.default,{href:m.Z.privacyPolicy(),target:"_blank",rel:"noreferrer",className:"text-primary-600 underline",children:[r("signup.privacy_link")," "]}),(0,s.jsx)("span",{children:r("signup.privacy_consent_2")}),U&&(0,s.jsx)("p",{className:"mt-1 text-xs text-[#DC3545]",children:r("signup.privacy_consent_error")})]})]}),(0,s.jsxs)("div",{className:"flex gap-2",children:[R?(0,s.jsx)("div",{onClick:()=>D(!R),className:"h-fit cursor-pointer",children:(0,s.jsx)(l.Z,{icon:"check_box",className:"h-max shrink-0 p-0 selection:bg-none",size:"md",fill:!0})}):(0,s.jsx)("div",{onClick:()=>D(!R),className:"h-fit cursor-pointer",children:(0,s.jsx)(l.Z,{icon:"check_box_outline_blank",className:"h-max shrink-0",size:"md"})}),(0,s.jsx)("p",{className:"text-xs font-medium",children:r("signup.marketing")})]})]}),L&&(0,s.jsx)("div",{className:"mt-4 flex justify-center",children:(0,s.jsx)(p.Nc,{ref:F,siteKey:L,onSuccess:e=>A(e),onExpire:()=>A(null),onError:()=>A(null)})}),(0,s.jsxs)("div",{className:"mt-4 w-full",children:[(0,s.jsxs)(c.z,{type:"submit",disabled:P||V,variant:"gradient",className:"flex h-11 w-full justify-center gap-2 py-3",children:[P&&(0,s.jsx)(b.Z,{className:"animate-spin from-transparent",width:20,height:20}),r("signup.action")]}),(0,s.jsxs)("div",{className:"mt-6 flex justify-center gap-2 align-middle text-base",children:[(0,s.jsx)("p",{children:r("signup.account")}
1),(0,s.jsx)(v.default,{href:m.Z.login(),className:"font-bold",children:r("signup.login")})]})]})]})})}),(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("div",{className:"flex-grow border-t border-gray-500"}),(0,s.jsx)("span",{className:"text-xxs mx-4 font-normal uppercase text-[#0B1215]",children:r("login.or_try_text")}),(0,s.jsx)("div",{className:"flex-grow border-t border-gray-500"})]}),(0,s.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,s.jsxs)(c.z,{className:"flex h-[43px] w-full gap-2 rounded-lg bg-[#282828] py-3  text-base font-normal leading-5 text-white hover:bg-[#282828]",onClick:()=>{S?G.push(m.Z.googleOAuth({marketing:R,privacy:S})):M(!0)},children:[(0,s.jsx)(w.default,{src:"/access/google.svg",alt:"Google logo",width:16,height:16}),"Google"]}),(0,s.jsxs)(c.z,{onClick:()=>{S?G.push(m.Z.AzureADAuth({marketing:R,privacy:S})):M(!0)},className:"flex h-[43px] w-full gap-2 rounded-lg bg-[#282828] py-3  text-base font-normal leading-5 text-white hover:bg-[#282828]",children:[(0,s.jsx)(w.default,{src:"/access/microsoft.svg",alt:"Microsoft logo",width:16,height:16}),"Microsoft"]})]})]})]})},F=()=>(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("mask",{id:"mask0_4189_730",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:(0,s.jsx)("rect",{width:"24",height:"24",fill:"url(#paint0_linear_4189_730)"})}),(0,s.jsx)("g",{mask:"url(#mask0_4189_730)",children:(0,s.jsx)("path",{d:"M10.5808 16.2538L17.3038 9.53075L16.25 8.477L10.5808 14.1463L7.73075 11.2963L6.677 12.35L10.5808 16.2538ZM12.0017 21.5C10.6877 21.5 9.45267 21.2507 8.2965 20.752C7.14033 20.2533 6.13467 19.5766 5.2795 18.7218C4.42433 17.8669 3.74725 16.8617 3.24825 15.706C2.74942 14.5503 2.5 13.3156 2.5 12.0017C2.5 10.6877 2.74933 9.45267 3.248 8.2965C3.74667 7.14033 4.42342 6.13467 5.27825 5.2795C6.13308 4.42433 7.13833 3.74725 8.294 3.24825C9.44967 2.74942 10.6844 2.5 11.9983 2.5C13.3123 2.5 14.5473 2.74933 15.7035 3.248C16.8597 3.74667 17.8653 4.42342 18.7205 5.27825C19.5757 6.13308 20.2528 7.13833 20.7518 8.294C21.2506 9.44967 21.5 10.6844 21.5 11.9983C21.5 13.3123 21.2507 14.5473 20.752 15.7035C20.2533 16.8597 19.5766 17.8653 18.7218 18.7205C17.8669 19.5757 16.8617 20.2528 15.706 20.7518C14.5503 21.2506 13.3156 21.5 12.0017 21.5ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"url(#paint1_linear_4189_730)"})}),(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"paint0_linear_4189_730",x1:"24",y1:"12",x2:"0",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"#F9597C"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#FFA300"})]}),(0,s.jsxs)("linearGradient",{id:"paint1_linear_4189_730",x1:"21.5",y1:"12",x2:"2.5",y2:"12",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"#F9597C"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#FFA300"})]})]})]}),I=e=>{let{title:t,content:r}=e;return(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("div",{className:"flex gap-3",children:[(0,s.jsx)(F,{}),(0,s.jsx)("p",{className:"text-base font-semibold",children:t})]}),(0,s.jsx)("div",{className:"flex pl-9",children:(0,s.jsx)("p",{className:"w-[95%]",children:r})})]})},A=r(19426),Z=()=>{let e=(0,n.useTranslations)("access.signup"),[t,r]=(0,y.useState)(!1),[l,o]=(0,y.useState)(""),{mutate:d,isPending:u}=f.Z.user.useResendVerificationEmail(),[h,g]=(0,y.useState)(299),p="".concat((0,x.mr)(h));return(0,y.useEffect)(()=>{if(h>0&&t){let e=setTimeout(()=>g(h-1),1e3);return()=>clearTimeout(e)}},[h,t]),(0,s.jsx)("div",{className:"flex w-full content-center justify-center gap-28 px-10",children:t?(0,s.jsxs)("div",{className:"max-w-[480px] rounded-2xl border border-gray-500 bg-white p-10",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)("div",{className:"flex",children:(0,s.jsx)(i.Z,{title:e("signup_success_title")})}),(0,s.jsx)("div",{className:"flex justify-center text-sm font-normal",children:(0,s.jsx)("p",{children:e("signup_success_content")})}),(0,s.jsx)("div",{className:"flex justify-center text-xs italic text-black",children:(0,s.jsx)("p",{children:e("signup_success_hint")})})]}),(0,s.jsxs)(c.z,{disabled:h>0,variant:"gradient",className:"mt-8 flex h-11 w-full justify-center gap-2 py-3",onClick:()=>{try{d(l),g(299)}catch(e){C.Am.error(e)}},children:[h>0&&!u&&p,u?(0,s.jsx)(b.Z,{className:"animate-spin from-transparent",width:20,height:20}):null," ".concat(e("signup_resend"))]}),(0,s.jsx)("div",{className:"mt-8 flex justify-center",children:(0,s.jsx)(v.default,{className:"text-base font-bold text-black",href:m.Z.login(),children:e("signup_success_login")})})]}):(0,s.jsxs)("div",{className:"flex w-full content-center justify-center gap-28 px-10",children:[(0,s.jsxs)("div",{className:"hidden w-1/2 flex-col gap-8 sm:flex ",children:[(0,s.jsx)(v.default,{href:m.Z.home(),className:"flex w-fit",children:(0,s.jsx)(A.B,{})}),(0,s.jsx)(I,{title:e("title_info_1"),content:e("content_info_1")},"info-1"),(0,s.jsx)(I,{title:e("title_info_2"),content:e("content_info_2")},"info-2"),(0,s.jsx)(I,{title:e("title_info_3"),content:e("content_info_3")},"info-3")]}),(0,s.jsxs)("div",{className:"flex max-w-[480px] flex-col gap-8 rounded-2xl border border-gray-500 bg-white p-10",children:[(0,s.jsx)(i.Z,{title:e("title")}),(0,s.jsx)(z,{isSignupComplete:e=>{r(!0),o(e)}}),(0,s.jsx)(a.Z,{})]})]})})}},60750:function(e,t,r){"use strict";var s=r(9983),n=r(68671),a=r(67398),i=r(78646);t.Z=()=>{let e=(0,a.useTranslations)("access");return(0,s.jsxs)("div",{className:"text-center text-sm",children:[e("login.conditions_1"),(0,s.jsx)(i.default,{href:n.Z.termsAndConditions(),target:"_blank",rel:"noreferrer",className:"underline underline-offset-4",children:e("terms")}),"."]})}},42768:function(e,t,r){"use strict";var s=r(9983);t.Z=e=>{let{title:t}=e;return(0,s.jsx)("span",{className:"bg-gradient-to-r from-secondary to-primary bg-clip-text text-[24px] font-semibold text-transparent",children:t})}},71719:function(e,t,r){"use strict";var s=r(9983),n=r(13538);let a=(e,t)=>{if(e)switch(t){case 200:return"![font-variation-settings:_'wght'_200_,'FILL'_1]";case 300:default:return"![font-variation-settings:_'wght'_300_,'FILL'_1]";case 400:return"![font-variation-settings:_'wght'_400_,'FILL'_1]";case 500:return"![font-variation-settings:_'wght'_500_,'FILL'_1]";case 600:return"![font-variation-settings:_'wght'_600_,'FILL'_1]";case 700:return"![font-variation-settings:_'wght'_700_,'FILL'_1]";case 800:return"![font-variation-settings:_'wght'_800_,'FILL'_1]";
1case 900:return"![font-variation-settings:_'wght'_900_,'FILL'_1]"}switch(t){case 200:return"![font-variation-settings:_'wght'_200_,'FILL'_0]";case 300:default:return"![font-variation-settings:_'wght'_300_,'FILL'_0]";case 400:return"![font-variation-settings:_'wght'_400_,'FILL'_0]";case 500:return"![font-variation-settings:_'wght'_500_,'FILL'_0]";case 600:return"![font-variation-settings:_'wght'_600_,'FILL'_0]";case 700:return"![font-variation-settings:_'wght'_700_,'FILL'_0]";case 800:return"![font-variation-settings:_'wght'_800_,'FILL'_0]";case 900:return"![font-variation-settings:_'wght'_900_,'FILL'_0]"}},i=e=>{switch(e){case"xs":return"!text-xs";case"sm":return"!text-sm";case"md":default:return"!text-md";case"lg":return"!text-3xl";case"xl":return"!text-6xl"}};t.Z=e=>{let{icon:t,className:r,fill:l=!1,weight:o=300,size:c="md"}=e,d=a(l,o),u=i(c);return(0,s.jsx)("span",{className:(0,n.cn)("material-symbols-rounded",d,u,r),children:t})}},51032:function(e,t,r){"use strict";var s=r(9983),n=r(13538),a=r(91747),i=r(71765),l=r(30771),o=r(89129);let c=e=>{switch(e){case"success":return"text-[#136D25]";case"error":return"text-error";case"wait":return"text-[#CCA300]"}},d=e=>{let{status:t,className:r}=e;switch(t){case"success":return(0,s.jsx)(a.Z,{className:r});case"error":return(0,s.jsx)(i.Z,{className:r});case"wait":return(0,s.jsx)(l.Z,{className:r})}};t.Z=e=>{let{title:t,content:r,toastId:a,status:l,onClose:u}=e,f=c(l);return(0,s.jsxs)("div",{className:"relative right-[10%] flex w-full min-w-96 items-center justify-center gap-4 roun
1ded-lg border border-gray-500 bg-white p-6 shadow-sm",children:[(0,s.jsx)("div",{children:(0,s.jsx)(d,{status:l,className:(0,n.cn)("",f)})}),(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("h1",{className:(0,n.cn)(" whitespace-nowrap text-sm font-semibold first-letter:capitalize",f),children:t}),(0,s.jsx)("p",{className:"text-sm text-gray-700 first-letter:capitalize",children:r})]}),(0,s.jsx)("div",{className:"cursor-pointer self-start",onClick:()=>{o.Am.dismiss(a),u&&u()},children:(0,s.jsx)(i.Z,{width:16,height:16})})]})}},19426:function(e,t,r){"use strict";r.d(t,{B:function(){return a},v:function(){return i}});var s=r(9983),n=r(31322);function a(e){let{className:t}=e;return(0,s.jsx)(n.default,{src:"/LogoQuinoa-Vivo.svg",alt:"quinoa-logo",height:60,width:122,priority:!0})}function i(e){let{className:t}=e;return(0,s.jsx)(n.default,{src:"/LogoQuinoa-Vivo-White.svg",alt:"quinoa-logo",height:60,width:122,priority:!0})}},7853:function(e,t,r){"use strict";r.d(t,{d:function(){return o},z:function(){return c}});var s=r(9983),n=r(40716),a=r(92294),i=r(43261),l=r(13538);let o=(0,i.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-base font-medium ring-offset-[#FDA735] transition-colors focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-[#FDA7351A] focus-visible:ring-offset-1 disabled:opacity-50 disabled:cursor-not-allowed ",{variants:{variant:{gradient:"rounded-lg bg-gradient-to-r from-secondary to-primary text-base leading-5 text-white h-12 px-6 py-3",default:"bg-black font-normal text-white hover:bg-black dark:bg-black dark:text-white dark:hover:bg-black",default_toggle_left:"bg-black font-normal text-white hover:bg-black dark:bg-black dark:text-white dark:hover:bg-black rounded-r-none",default_toggle_right:"bg-black font-normal text-white hover:bg-black dark:bg-black dark:text-white dark:hover:bg-black rounded-l-none",destructive:"bg-error text-blue-50 hover:bg-error/90",outline:"border border-black bg-white hover:bg-primary-150/30 hover:text-primary-50 ",secondary:"bg-blue-100 text-blue-900 hover:bg-blue-100/80 dark:bg-blue-800 dark:text-blue-50 dark:hover:bg-blue-800/80",ghost:"",link:"text-blue-900 underline-offset-4 hover:underline dark:text-blue-50",header:"cursor-pointer border border-transparent hover:border-white hover:bg-transparent hover:text-white bg-transparent",light:"cursor-pointer rounded-full text-dark bg-light px-12 hover:bg-dark hover:text-light",dark:"cursor-pointer rounded-full text-light bg-dark px-12 hover:bg-light hover:text-dark"},size:{default:"h-10 px-4 py-2 text-sm",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:i,asChild:c=!1,...d}=e,u=c?a.g7:"button";return(0,s.jsx)(u,{className:(0,l.cn)(o({variant:n,size:i,className:r})),ref:t,...d})});c.displayName="Button"},77468:function(e,t,r){"use strict";r.d(t,{U:function(){return l},r:function(){return i}});var s=r(9983),n=r(40716),a=r(13538);let i=n.forwardRef((e,t)=>{let{className:r,type:n,children:i,iconPosition:l="right",actionButton:o,...c}=e;return(0,s.jsxs)("div",{className:(0,a.cn)("flex h-10 w-full items-center gap-x-2 rounded-md border border-gray-500 px-3 text-center text-sm ring-offset-[#FDA735] focus-within:outline-none focus-within:ring-4 focus-within:ring-[#FDA7351A] focus-within:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-50",r),children:["left"===l?i:null,(0,s.jsx)("input",{type:n,className:(0,a.cn)("h-full w-full rounded-md outline-none placeholder:text-[#9CA3B0] autofill:shadow-[inset_0_0_0px_1000px_rgb(255,255,255)] focus:outline-0",r),ref:t,...c}),"right"==l?i:null,null!=o?o:null]})});i.displayName="Input";let l=n.forwardRef((e,t)=>{let{className:r,type:n,...i}=e;return(0,s.jsx)("div",{className:(0,a.cn)("flex h-10 w-full items-center gap-x-2 rounded-md border border-[#E5E7EB] px-3 text-center text-sm ring-offset-[#FDA735] focus-within:outline-none focus-within:ring-4 focus-within:ring-[#FDA7351A] focus-within:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-50",r),children:(0,s.jsx)("input",{type:n,className:(0,a.cn)("h-full w-full rounded-md outline-none placeholder:text-[#9CA3B0] autofill:shadow-[inset_0_0_0px_1000px_rgb(255,255,255)] focus:outline-0",r),ref:t,...i})})});l.displayName="Input"},93723:function(e,t,r){"use strict";r.d(t,{NI:function(){return g},Wi:function(){return u},l0:function(){return c},lX:function(){return h},xJ:function(){return m},zG:function(){return p}});var s=r(9983),n=r(40716),a=r(92294),i=r(7601),l=r(13538),o=r(4740);let c=i.RV,d=n.createContext({}),u=e=>{let{...t}=e;return(0,s.jsx)(d.Provider,{value:{name:t.name},children:(0,s.jsx)(i.Qr,{...t})})},f=()=>{let e=n.useContext(d),t=n.useContext(x),{getFieldState:r,formState:s}=(0,i.Gc)(),a=r(e.name,s);if(!e)throw Error("useFormField should be used within <FormField>");let{id:l}=t;return{id:l,name:e.name,formItemId:"".concat(l,"-form-item"),formDescriptionId:"".concat(l,"-form-item-description"),formMessageId:"".concat(l,"-form-item-message"),...a}},x=n.createContext({}),m=n.forwardRef((e,t)=>
1{let{className:r,...a}=e,i=n.useId();return(0,s.jsx)(x.Provider,{value:{id:i},children:(0,s.jsx)("div",{ref:t,className:(0,l.cn)("space-y-2",r),...a})})});m.displayName="FormItem";let h=n.forwardRef((e,t)=>{let{className:r,...n}=e,{error:a,formItemId:i}=f();return(0,s.jsx)(o._,{ref:t,className:(0,l.cn)(a&&"text-red-500 dark:text-red-900",r),htmlFor:i,...n})});h.displayName="FormLabel";let g=n.forwardRef((e,t)=>{let{...r}=e,{error:n,formItemId:i,formDescriptionId:l,formMessageId:o}=f();return(0,s.jsx)(a.g7,{ref:t,id:i,"aria-describedby":n?"".concat(l," ").concat(o):"".concat(l),"aria-invalid":!!n,...r})});g.displayName="FormControl",n.forwardRef((e,t)=>{let{className:r,...n}=e,{formDescriptionId:a}=f();return(0,s.jsx)("p",{ref:t,id:a,className:(0,l.cn)("text-sm text-slate-500 dark:text-slate-400",r),...n})}).displayName="FormDescription";let p=n.forwardRef((e,t)=>{let{className:r,children:n,...a}=e,{error:i,formMessageId:o}=f(),c=i?String(null==i?void 0:i.message):n;return c?(0,s.jsx)("p",{ref:t,id:o,className:(0,l.cn)("text-xs font-normal text-error dark:text-error",r),...a,children:c}):null});p.displayName="FormMessage"},4740:function(e,t,r){"use strict";r.d(t,{_:function(){return c}});var s=r(9983),n=r(40716),a=r(96263),i=r(43261),l=r(13538);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,s.jsx)(a.f,{ref:t,className:(0,l.cn)(o(),r),...n})});c.displayName=a.f.displayName},68671:function(e,t){"use strict";t.Z={home:(e,t)=>{let r=(null==t?void 0:t.forAnchor)?"":"/#";return e?"".concat(r).concat(e):"/"},funnel:()=>"/funnel",login:()=>"/login",signup:()=>"/signup",onboarding:()=>"/onboarding",app:(e,t)=>e?t?"/app/".concat(t,"/").concat(e):"/app/".concat(e):"/app",upgradeModal:(e,t)=>"/app/".concat(e,"/").concat(t,"/upgrade"),forgotPassword:()=>"/forgot-password",resetPassword:()=>"/reset-password",verify:()=>"/verify",account:e=>{if(!e)return"/app/account";if("string"==typeof e){let t=new URLSearchParams;return t.set("page",e),"/app/account?".concat(t.toString())}let{modal:t,params:r,searchParams:s}=e;if(!t)return"/app/account";let n=new URLSearchParams(s);return Object.entries(r||{}).forEach(e=>{let[t,r]=e;n.set(t,r)}),"/app/account/".concat(t,"?").concat(n.toString())},googleOAuth:e=>{let{marketing:t,privacy:r}=e;return void 0!==t&&r?"".concat("https://cms.helloquinoa.ai","/oauth2/google/authorize?marketing=").concat(encodeURIComponent(t),"&privacy=").concat(encodeURIComponent(r)):"".concat("https://cms.helloquinoa.ai","/oauth2/google/authorize")},AzureADAuth:e=>{let{marketing:t,privacy:r}=e;return void 0!==t&&r?"".concat("https://cms.helloquinoa.ai","/auth/azure/authorize?marketing=").concat(encodeURIComponent(t),"&privacy=").concat(encodeURIComponent(r)):"".concat("https://cms.helloquinoa.ai","/auth/azure/authorize")},termsAndConditions:()=>"/terms-and-conditions",cookiePolicy:()=>"/cookie-policy",privacyPolicy:()=>"/privacy-policy"}},98766:function(e,t,r){"use strict";r.d(t,{S4:function(){return l},dm:function(){return i},ek:function(){return o},if:function(){return a}});var s=r(84201);let n=/[<>"'&]/,a=e=>{let{emailError:t,passwordError:r,fullnameMinError:a,fullNameMaxError:i,fullnameInvalidCharsError:l}=e;return s.z.object({email:s.z.string().min(2).max(50).email({message:t}),password:s.z.string().min(8,{message:r}),full_name:s.z.string().min(2,{message:a}).max(50,{message:i}).refine(e=>!n.test(e),{message:null!=l?l:"Name contains invalid characters."})})},i=e=>{let{emailError:t,passwordError:r}=e;return s.z.object({email:s.z.string().min(2,{message:t}).max(50,{message:t}).email({message:t}),password:s.z.string().min(8,{message:r})})},l=e=>{let{passwordError:t,confirmPasswordError:r}=e;return s.z.object({password:s.z.string().min(8,{message:t}),confirmPassword:s.z.string().min(8,{message:t})}).refine(e=>e.password===e.confirmPassword,{message:r,path:["confirmPassword"]})},o=e=>{let{resetPasswordNotValidError:t,resetPasswordError:r,passwordError:n}=e;return s.z.object({oldPassword:s.z.string().min(8,{message:n}),newPassword:s.z.string().min(8,{message:n}),confirmNewPassword:s.z.string().min(8,{message:n})}).refine(e=>e.oldPassword!==e.newPassword,{message:t,path:["newPassword"]}).refine(e=>e.newPassword===e.confirmNewPassword,{message:r,path:["confirmNewPassword"]})}}},function(e){e.O(0,[8120,7118,1446,9223,3714,327,9457,8686,9129,2034,7215,4270,94,6277,4640,1744],function(){return e(e.s=9862)}),_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.