PageSourceSearch

https://www.soam.ai/_next/static/chunks/9050-5d33c7dd6ecb0f9e.js?dpl=dpl_F73XLjjYJRpBSwQQkVS4hbAsBroa

js soam.ai collected 2026-10-05 12:39:32 UTC 20,147 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9050],{1279:(e,t,a)=>{a.d(t,{XO:()=>n,iN:()=>c,p6:()=>l,tx:()=>i});var r=a(53328),s=a(30901);let{Link:n,getPathname:l,redirect:o,usePathname:c,useRouter:i}=(0,r.A)(s.DT)},3377:(e,t,a)=>{a.d(t,{i:()=>n});var r=a(76947),s=a(57610);let n=e=>{let{message:t}=e;return t?(0,r.jsxs)("div",{className:"bg-emerald-500/15 p-3 rounded-md flex items-center gap-x-2 text-sm text-emerald-500",children:[(0,r.jsx)(s.A,{className:"h-4 w-4"}),(0,r.jsx)("p",{children:t})]}):null}},4212:(e,t,a)=>{a.d(t,{C5:()=>f,MJ:()=>p,eI:()=>x,lR:()=>g,lV:()=>i,zB:()=>u});var r=a(76947),s=a(98547),n=a(31873),l=a(76658),o=a(50021),c=a(15428);let i=l.Op,d=s.createContext({}),u=e=>{let{...t}=e;return(0,r.jsx)(d.Provider,{value:{name:t.name},children:(0,r.jsx)(l.xI,{...t})})},m=()=>{let e=s.useContext(d),t=s.useContext(h),{getFieldState:a}=(0,l.xW)(),r=(0,l.lN)({name:e.name}),n=a(e.name,r);if(!e)throw Error("useFormField should be used within <FormField>");let{id:o}=t;return{id:o,name:e.name,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...n}},h=s.createContext({});function x(e){let{className:t,...a}=e,n=s.useId();return(0,r.jsx)(h.Provider,{value:{id:n},children:(0,r.jsx)("div",{"data-slot":"form-item",className:(0,o.cn)("grid gap-2",t),...a})})}function g(e){let{className:t,...a}=e,{error:s,formItemId:n}=m();return(0,r.jsx)(c.J,{"data-slot":"form-label","data-error":!!s,className:(0,o.cn)("data-[error=true]:text-destructive",t),htmlFor:n,...a})}function p(e){let{...t}=e,{error:a,formItemId:s,formDescriptionId:l,formMessageId:o}=m();return(0,r.jsx)(n.DX,{"data-slot":"form-control",id:s,"aria-describedby":a?"".concat(l," ").concat(o):"".concat(l),"aria-invalid":!!a,...t})}function f(e){var t;let{className:a,...s}=e,{error:n,formMessageId:l}=m(),c=n?String(null!=(t=null==n?void 0:n.message)?t:""):s.children;return c?(0,r.jsx)("p",{"data-slot":"form-message",id:l,className:(0,o.cn)("text-destructive text-sm",a),...s,children:c}):null}},15428:(e,t,a)=>{a.d(t,{J:()=>l});var r=a(76947);a(98547);var s=a(87420),n=a(50021);function l(e){let{className:t,...a}=e;return(0,r.jsx)(s.b,{"data-slot":"label",className:(0,n.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...a})}},16997:(e,t,a)=>{a.d(t,{B:()=>m});var r=a(76947),s=a(4212),n=a(83514),l=a(10479),o=a(23614),c=a(11389),i=a(98547),d=a(55036);let u=(0,c.default)(()=>a.e(1485).then(a.bind(a,81485)).then(e=>e.Turnstile),{loadableGenerated:{webpack:()=>[81485]},ssr:!1}),m=(0,i.forwardRef)((e,t)=>{let{validationError:a,...c}=e,i=n.u.features.enableTurnstileCaptcha,m=d.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY;if(!i)return null;if(!m)return console.error("Captcha: NEXT_PUBLIC_TURNSTILE_SITE_KEY is not set"),null;let h=(0,o.D)(),x=(0,l.Ym)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u,{ref:t,options:{size:"flexible",language:x,theme:"dark"===h.theme?"dark":"light"},...c,siteKey:m}),a&&(0,r.jsx)(s.C5,{className:"text-red-500 mt-2",children:a})]})});m.displayName="Captcha"},19767:(e,t,a)=>{a.d(t,{AuthCard:()=>d});var r=a(76947),s=a(23894),n=a(1279),l=a(50021);let o=e=>{let{href:t,label:a}=e;return(0,r.jsx)(n.XO,{href:t,className:(0,l.cn)((0,s.r)({variant:"link",size:"sm"}),"font-normal w-full text-muted-foreground hover:underline underline-offset-4 hover:text-primary"),children:(0,r.jsx)("span",{className:"inline",children:a})})};var c=a(90679),i=a(64156);let d=e=>{let{children:t,headerLabel:a,bottomButtonLabel:s,bottomButtonHref:d,className:u}=e;return(0,r.jsxs)(i.Zp,{className:(0,l.cn)("shadow-xs border border-border",u),children:[(0,r.jsxs)(i.aR,{className:"flex flex-col items-center",children:[(0,r.jsx)(n.XO,{href:"/",prefetch:!1,children:(0,r.jsx)(c.Logo,{className:"mb-2"})}),(0,r.jsx)(i.BT,{children:a})]}),(0,r.jsx)(i.Wu,{children:t}),(0,r.jsx)(i.wL,{children:(0,r.jsx)(o,{label:s,href:d})})]})}},20389:(e,t,a)=>{a.d(t,{$_:()=>n,MF:()=>l,Mw:()=>c,Qk:()=>o,lx:()=>i});var r=a(30901);a(55036);let s="https://www.soam.ai";function n(){return s}function l(e){return!!e&&e!==r.DT.defaultLocale&&"default"!==e}function o(e,t){return l(t)?"".concat(s,"/").concat(t).concat(e):"".concat(s).concat(e)}function c(e,t){if(!e)return t;let a=e.trim();if(!a)return t;if(a.startsWith("/")&&!a.startsWith("//")&&!a.startsWith("/\\"))return a;let r=new Set;try{r.add(new URL(s).origin)}catch(e){}r.add(window.location.origin);try{let e=new URL(a);if(r.has(e.origin))return e.toString()}catch(e){}return t}function i(e){return"https://dashboard.stripe.com/customers/".concat(e)}},30786:(e,t,a)=>{a.d(t,{Cf:()=>u,HM:()=>i,L3:()=>h,c7:()=>m,lG:()=>l,zM:()=>o});var r=a(76947);a(98547);var s=a(86708),n=a(50021);function l(e){let{...t}=e;return(0,r.jsx)(s.bL,{"data-slot":"dialog",...t})}function o(e){let{...t}=e;return(0,r.jsx)(s.l9,{"data-slot":"dialog-trigger",...t})}function c(e){let{...t}=e;return(0,r.jsx)(s.ZL,{"data-slot":"dialog-portal",...t})}function i(e){let{...t}=e;return(0,r.jsx)(s.bm,{"data-slot":"dialog-close",...t})}function d(e){let{className:t,...a}=e;return(0,r.jsx)(s.hJ,{"data-slot":"dialog-overlay",className:(0,n.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...a})}function u(e){let{className:t,children:a,size:l="default",...o}=e;return(0,r.jsxs)(c,{"data-slot":"dialog-portal",children:[(0,r.jsx)(d,{}),(0,r.jsx)(s.UC,{"data-slot":"dialog-content",className:(0,n.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 roun
1ded-lg border p-6 shadow-lg duration-200","default"===l&&"max-w-[calc(100%-2rem)] sm:max-w-lg","wide"===l&&"max-w-[calc(100vw-1rem)] sm:max-w-[min(1120px,calc(100vw-3rem))]","promo"===l&&"max-w-[calc(100vw-1rem)] sm:max-w-[min(1360px,calc(100vw-2rem))]",t),...o,children:a})]})}function m(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"dialog-header",className:(0,n.cn)("flex flex-col gap-2 text-center sm:text-left",t),...a})}function h(e){let{className:t,...a}=e;return(0,r.jsx)(s.hE,{"data-slot":"dialog-title",className:(0,n.cn)("text-lg leading-none font-semibold",t),...a})}},39188:(e,t,a)=>{a.d(t,{z:()=>s});var r=a(73268);function s(e){let t=(0,r.usePathname)(),a=(0,r.useSearchParams)(),s=null!=t?t:"/";if(!(null==e?void 0:e.includeSearch))return s;let n=a.toString();return n?"".concat(s,"?").concat(n):s}},42570:(e,t,a)=>{a.d(t,{j:()=>n});var r=a(76947),s=a(28103);let n=e=>{let{message:t}=e;return t?(0,r.jsxs)("div",{className:"bg-destructive/15 p-3 rounded-md flex items-center gap-x-2 text-sm text-destructive",children:[(0,r.jsx)(s.A,{className:"h-4 w-4"}),(0,r.jsx)("p",{children:t})]}):null}},46010:(e,t,a)=>{a.d(t,{y:()=>l});var r=a(78322),s=a(95864),n=a(20389);let l=(0,s.MB)({baseURL:(0,n.$_)(),plugins:[(0,r.px)(),(0,r.Zn)(),(0,r.ll)({clientId:"236653920158-in3iek9pu99f2usd5m07lq46n31hhst8.apps.googleusercontent.com",autoSelect:!0,cancelOnTapOutside:!1,context:"signin",promptOptions:{baseDelay:1e3,maxAttempts:3}})]})},46666:(e,t,a)=>{a.d(t,{n:()=>v});var r=a(76947),s=a(50021);let n=e=>{let{text:t,className:a}=e;return(0,r.jsxs)("div",{className:(0,s.cn)("relative flex items-center",a),children:[(0,r.jsx)("div",{className:"grow border-t border-border"}),(0,r.jsx)("span",{className:"shrink mx-4 text-sm text-muted-foreground",children:t}),(0,r.jsx)("div",{className:"grow border-t border-border"})]})};var l=a(98547);function o(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:46.5,height:48,viewBox:"0 0 496 512",...e,children:[(0,r.jsx)("title",{children:"GitHub"}),(0,r.jsx)("path",{fill:"currentColor",d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6c-3.3.3-5.6-1.3-5.6-3.6c0-2 2.3-3.6 5.2-3.6c3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9c2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9c.3 2 2.9 3.3 5.9 2.6c2.9-.7 4.9-2.6 4.6-4.6c-.3-1.9-3-3.2-5.9-2.9M244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2c12.8 2.3 17.3-5.6 17.3-12.1c0-6.2-.3-40.4-.3-61.4c0 0-70 15-84.7-29.8c0 0-11.4-29.1-27.8-36.6c0 0-22.9-15.7 1.6-15.4c0 0 24.9 2 38.6 25.8c21.9 38.6 58.6 27.5 72.9 20.9c2.3-16 8.8-27.1 16-33.7c-55.9-6.2-112.3-14.3-112.3-110.5c0-27.5 7.6-41.3 23.6-58.9c-2.6-6.5-11.1-33.3 2.6-67.9c20.9-6.5 69 27 69 27c20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27c13.7 34.7 5.2 61.4 2.6 67.9c16 17.7 25.8 31.5 25.8 58.9c0 96.5-58.9 104.2-114.8 110.5c9.2 7.9 17 22.9 17 46.4c0 33.7-.3 75.4-.3 83.6c0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252C496 113.3 383.5 8 244.8 8M97.2 352.9c-1.3 1-1 3.3.7 5.2c1.6 1.6 3.9 2.3 5.2 1c1.3-1 1-3.3-.7-5.2c-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9c1.6 1 3.6.7 4.3-.7c.7-1.3-.3-2.9-2.3-3.9c-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2c2.3 2.3 5.2 2.6 6.5 1c1.3-1.3.7-4.3-1.3-6.2c-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2c-1.4-2.3-4-3.3-5.6-2"})]})}function c(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:45.75,height:48,viewBox:"0 0 488 512",...e,children:[(0,r.jsx)("title",{children:"Google"}),(0,r.jsx)("path",{fill:"currentColor",d:"M488 261.8C488 403.3 391.1 504 248 504C110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6c98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4"})]})}var i=a(23894),d=a(83514),u=a(47951),m=a(1279),h=a(46010),x=a(95458),g=a(79627),p=a(94076),f=a(10479);let v=e=>{let{callbackUrl:t,showDivider:a=!0}=e;if(!d.u.auth.enableGoogleLogin&&!d.u.auth.enableGithubLogin)return null;let s=(0,p.c3)("AuthPage.login"),v=(0,f.Ym)(),j=(0,u.Y)(t),b=(0,m.p6)({locale:v,href:x.BV.AuthError}),[w,N]=(0,l.useState)(null),k=async e=>{await h.y.signIn.social({provider:e,callbackURL:j,errorCallbackURL:b},{onRequest:t=>{N(e)},onResponse:e=>{N(null)},onSuccess:e=>{N(null)},onError:e=>{N(null)}})};return(0,r.jsxs)("div",{className:"w-full flex flex-col gap-4",children:[a&&(0,r.jsx)(n,{text:s("or")}),d.u.auth.enableGoogleLogin&&(0,r.jsxs)(i.$,{size:"lg",className:"w-full cursor-pointer",variant:"outline",onClick:()=>k("google"),disabled:"google"===w,children:["google"===w?(0,r.jsx)(g.A,{className:"mr-2 size-4 animate-spin"}):(0,r.jsx)(c,{className:"size-4 mr-2"}),(0,r.jsx)("span",{children:s("signInWithGoogle")})]}),d.u.auth.enableGithubLogin&&(0,r.jsxs)(i.$,{size:"lg",className:"w-full cursor-pointer",variant:"outline",onClick:()=>k("github"),disabled:"github"===w,children:["github"===w?(0,r.jsx)(g.A,{className:"mr-2 size-4 animate-spin"}):(0,r.jsx)(o,{className:"size-4 mr-2"}),(0,r.jsx)("span",{children:s("signInWithGitHub")})]})]})}},47951:(e,t,a)=>{a.d(t,{Y:()=>i});var r=a(30901),s=a(20389),n=a(95458),l=a(10479),o=a(73268);function c(e){return r.YZ.some(t=>e==="/".concat(t)||e.startsWith("/".concat(t,"/")))}function i(e){let t=(0,l.Ym)(),a=(0,o.usePathname)(),r=(0,o.useSearchParams)(),i=r.get("callbackUrl"),d=(0,s.Qk)(n.l4,t),u=r.toString(),m="".concat(a).concat(u?"?".concat(u):""),h=(null!=e?e:i)||((a==="/".concat(t)?"/":a.startsWith("/".concat(t,"/"))?a.slice(t.length+1):a).startsWith("/auth")?d:m);return function(e,t){if(!e||!(0,s.MF)(t))return e;if(e.startsWith("/")){let a=new URL(e,"http://localhost");if(c(a.pathname))return e;let r="/"===a.pathname?"/".concat(t):"/".concat(t).concat(a.pathname);return"".concat(r).concat(a.search).concat(a.hash)}try{let a=new URL(e);if(c(a.pathname))return e;return a.pathname="/"===a.pathname?"/".concat(t):"/".concat(t).concat(a.pathname),a.toString()}catch(t){return e}}((0,s.Mw)(h,d),t)}},50243:(e,t,a)=>{a.d(t,{n:()=>i});var r=a(76947),s=a(74104),n=a(30786),l=a(1279),o=a(95458),c=a(98547);let i=e=>{let{children:t,mode:a="redirect",asChild:i,callbackUrl:d,open:u,onOpenChange:m}=e,h=(0,l.tx)(),[x,g]=(0,c.useState)(!1),[p,f]=(0,c.useState)(!1);return((0,c.useEffect)(()=>{g(!0)},[]),x)?"modal"===a?(0,r.jsxs)(n.lG,{open:null!=u?u:p,onOpenChange:null!=m?m:f,children:[t?(0,r.jsx)(n.zM,{asChild:i,children:t}):null,(0,r.jsxs)(n.Cf,{className:"sm:max-w-[400px] p-0",children:[(0,r.jsx)(n.c7,{className:"hidden",children:(0,r.jsx)(n.L3,{})}),(0,r.jsx)(s.LoginForm,{callbackUrl:d,className:"border-none"})]})]}):(0,r.jsx)("span",{onClick:()=>{let e=d?"".concat(o.BV.Login,"?callbackUrl=").concat(encodeURIComponent(d)):"".concat(o.BV.Login);h.push(e)},className:"cursor-pointer",children:t}):null}},64156:(e,t,a)=>{a.d(t,{BT:()=>c,Wu:()=>i,ZB:()=>o,Zp:()=>n,aR:()=>l,wL:()=>d});var r=a(76947);a(98547);var s=a(50021);function n(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"card",className:(0,s.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",t),...a})}function l(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"card-header",className:(0,s.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t),...a})}function o(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"card-title",className:(0,s.cn)("leading-none font-semibold",t),...a})}function c(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"card-description",className:(0,s.cn)("text-muted-foreground text-sm",t),...a})}function i(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"card-content",className:(0,s.cn)("px-6",t),...a})}function d(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"card-footer",className:(0,s.cn)("flex items-center px-6 [.border-t]:pt-6",t),...a})}},67584:(e,t,a)=>{a.d(t,{f:()=>s});var r=a(42758);
1let s=(0,r.createServerReference)("7fef73b211b554c97fd7b6839f634f4d2b9e47d1ef",r.callServer,void 0,r.findSourceMapURL,"validateCaptchaAction")},74104:(e,t,a)=>{a.d(t,{LoginForm:()=>R});var r=a(76947),s=a(67584),n=a(19767),l=a(42570),o=a(3377),c=a(23894),i=a(4212),d=a(78110),u=a(83514),m=a(47951),h=a(1279),x=a(46010),g=a(50021),p=a(95458),f=a(44865),v=a(87596),j=a(79788),b=a(79627),w=a(94076),N=a(73268),k=a(98547),y=a(76658),C=a(88100),S=a(16997),T=a(46666),L=a(55036);let R=e=>{var t;let{className:a,callbackUrl:R}=e,I=(0,w.c3)("AuthPage.login"),z=I.rich("signUpHint",{action:e=>(0,r.jsx)("span",{className:"font-semibold",children:e})}),A=(0,N.useSearchParams)().get("error"),P=(0,m.Y)(R),[B,U]=(0,k.useState)(""),[E,M]=(0,k.useState)(""),[_,F]=(0,k.useState)(!1),[V,G]=(0,k.useState)(!1),W=(0,k.useRef)(null),Y=u.u.auth.enableCredentialLogin,O=u.u.features.enableTurnstileCaptcha,D=L.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY,X=O&&!!D,H=X?C.Yj().min(1,"Please complete the captcha"):C.Yj().optional(),$=C.Ik({email:C.Rp({message:I("emailRequired")}),password:C.Yj().min(1,{message:I("passwordRequired")}),captchaToken:H}),q=(0,y.mN)({resolver:(0,f.u)($),defaultValues:{email:"",password:"",captchaToken:""}}),J=(0,y.FH)({control:q.control,name:"captchaToken"}),Z=()=>{q.setValue("captchaToken",""),W.current&&"function"==typeof W.current.reset&&W.current.reset()},K=async e=>{if(X&&e.captchaToken){var t,a,r;F(!0),U(""),M("");let n=await (0,s.f)({captchaToken:e.captchaToken});if(!(null==n||null==(t=n.data)?void 0:t.success)||!(null==n||null==(a=n.data)?void 0:a.valid)){console.error("login, captcha invalid:",e.captchaToken),U((null==n||null==(r=n.data)?void 0:r.error)||I("captchaInvalid")),F(!1),Z();return}}await x.y.signIn.email({email:e.email,password:e.password,callbackURL:P},{onRequest:e=>{F(!0),U(""),M("")},onResponse:e=>{F(!1)},onSuccess:e=>{},onError:e=>{U("".concat(e.error.status,": ").concat(e.error.message)),X&&Z()}})},Q=()=>{G(e=>!e)};return(0,r.jsxs)(n.AuthCard,{headerLabel:I("welcomeBack"),bottomButtonLabel:z,bottomButtonHref:"".concat(p.BV.Register),className:(0,g.cn)("[&_[data-slot=card-footer]]:invisible",a),children:[Y&&(0,r.jsx)(i.lV,{...q,children:(0,r.jsxs)("form",{onSubmit:q.handleSubmit(K),className:"space-y-8",children:[(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)(i.zB,{control:q.control,name:"email",render:e=>{let{field:t}=e;return(0,r.jsxs)(i.eI,{children:[(0,r.jsx)(i.lR,{children:I("email")}),(0,r.jsx)(i.MJ,{children:(0,r.jsx)(d.p,{...t,disabled:_,placeholder:"[email protected]",type:"email"})}),(0,r.jsx)(i.C5,{})]})}}),(0,r.jsx)(i.zB,{control:q.control,name:"password",render:e=>{let{field:t}=e;return(0,r.jsxs)(i.eI,{children:[(0,r.jsxs)("div",{className:"flex justify-between items-center",children:[(0,r.jsx)(i.lR,{children:I("password")}),(0,r.jsx)(c.$,{size:"sm",variant:"link",asChild:!0,className:"px-0 font-normal text-muted-foreground",children:(0,r.jsx)(h.XO,{href:"".concat(p.BV.ForgotPassword),className:"text-xs hover:underline hover:underline-offset-4 hover:text-primary",children:I("forgotPassword")})})]}),(0,r.jsx)(i.MJ,{children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(d.p,{...t,disabled:_,placeholder:"******",type:V?"text":"password",className:"pr-10"}),(0,r.jsxs)(c.$,{type:"button",variant:"ghost",size:"sm",className:"absolute right-0 top-0 h-full px-3 py-2 hover:bg-transparent",onClick:Q,disabled:_,children:[V?(0,r.jsx)(v.A,{className:"size-4 text-muted-foreground"}):(0,r.jsx)(j.A,{className:"size-4 text-muted-foreground"}),(0,r.jsx)("span",{className:"sr-only",children:V?I("hidePassword"):I("showPassword")})]})]})}),(0,r.jsx)(i.C5,{})]})}})]}),(0,r.jsx)(l.j,{message:B||A||void 0}),(0,r.jsx)(o.i,{message:E}),X&&(0,r.jsx)(S.B,{ref:W,onSuccess:e=>q.setValue("captchaToken",e),validationError:null==(t=q.formState.errors.captchaToken)?void 0:t.message}),(0,r.jsxs)(c.$,{disabled:_||X&&!J,size:"lg",type:"submit",className:"w-full flex items-center justify-center gap-2 cursor-pointer",children:[_&&(0,r.jsx)(b.A,{className:"mr-2 size-4 animate-spin"}
1),(0,r.jsx)("span",{children:I("signIn")})]})]})}),(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(T.n,{callbackUrl:P,showDivider:Y})})]})}},90679:(e,t,a)=>{a.d(t,{Logo:()=>l});var r=a(76947),s=a(50021),n=a(78799);function l(e){let{className:t}=e;return(0,r.jsxs)("div",{className:(0,s.cn)("relative flex items-center justify-center size-12 group",t),children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-primary/20 opacity-0 group-hover:opacity-100 transition-all duration-500 blur-xl scale-50 group-hover:scale-125"}),(0,r.jsx)(n.default,{src:"/logo.webp",alt:"Soam Logo",width:48,height:48,className:"w-full h-full relative z-10",priority:!0,unoptimized:!0})]})}},95458:(e,t,a)=>{a.d(t,{BV:()=>n,l4:()=>l});var r,s=a(83514),n=function(e){return e.Root="/",e.FAQ="/#faqs",e.Features="/#features",e.Pricing="/pricing",e.Blog="/blog",e.CookiePolicy="/cookie",e.PrivacyPolicy="/privacy",e.TermsOfService="/terms",e.TextToImage="/text-to-image",e.ImageToImage="/image-to-image",e.TextToVideo="/text-to-video",e.ImageToVideo="/image-to-video",e.VideoEditor="/video-editor",e.MotionControl="/motion-control",e.SoraWatermarkRemover="/sora-watermark-remover",e.AiAvatar="/ai-avatar",e.TextToSpeech="/text-to-speech",e.Voices="/voices",e.Ai3DModelGenerator="/ai-3d-model-generator",e.AiMultishot="/ai-multishot",e.AiImageUpscaler="/ai-image-upscaler",e.AiBackgroundRemover="/ai-background-remover",e.AiTransparentImageGenerator="/ai-transparent-image-generator",e.Inspirations="/inspirations",e.Login="/auth/login",e.Register="/auth/register",e.AuthError="/auth/error",e.ForgotPassword="/auth/forgot-password",e.ResetPassword="/auth/reset-password",e.AdminAnalytics="/admin/analytics",e.AdminUsers="/admin/users",e.SettingsProfile="/settings/profile",e.SettingsBilling="/settings/billing",e.SettingsCredits="/settings/credits",e.SettingsSecurity="/settings/security",e.SettingsNotifications="/settings/notifications",e.MyCreations="/creations",e.Payment="/payment",e}({});let l=null!=(r=s.u.routes.defaultLoginRedirect)?r:"/settings/profile"}}]);

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.