PageSourceSearch

https://restream.io/_next/static/chunks/app/login/page-481c27ca11b59064.js

js restream.io collected 2026-09-24 06:55:33 UTC 24,877 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2626],{28982:function(e,t,r){Promise.resolve().then(r.bind(r,1240))},25649:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(27573),i=r(10564),o=r(78766),a=r(58344),s=r.n(a);function l(e){let{className:t,width:r=97,theme:a="black"}=e;return(0,n.jsx)("div",{className:s()(t),children:(0,n.jsx)("a",{href:o.Z.HOME,"aria-label":"Restream Logo",className:"rounded-sm block focus:outline-[#5381FF] focus:outline focus:outline-offset-2 focus:outline-[1.5px]",children:(0,n.jsx)(i.Z,{name:"Logo",fill:"currentColor",className:s()("white"===a?"text-stream-1000":"text-white","transition-colors duration-500"),style:{width:r,height:"auto"}})})})}},49324:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(27573),i=r(58344),o=r.n(i),a=r(7653);function s(e){let{error:t,warning:r=!1,setIsErrorState:i,className:s}=e;return(0,a.useEffect)(()=>{i(!!t)},[t,i]),(0,n.jsx)("div",{className:o()("text-[12px] font-400 leading-[24px] transition-[max-height] duration-300",t?"max-h-[72px]":"max-h-0",r?"text-white":"text-[#D15E44]",s),children:t})}},57440:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(27573);r(65187);var i=r.p+"static/media/auth-google.d421103ad3bbae2ed018ec18e2dc8fac.svg",o=r(58344),a=r.n(o),s=r(96072),l=r.n(s);function c(e){let{className:t,handleClick:r}=e;return(0,n.jsxs)("button",{onClick:r,type:"button",className:a()("w-full","h-auto","backdrop-blur-[7.5px]","py-[7px]","bg-white/10","border","border-solid","border-white/[0.15]","rounded-lg","flex","justify-center","items-center","gap-[12px]","transition-[background-color,border-color]","hover:bg-white/[0.16]","active:bg-white/[0.07]","focus:bg-white/[0.07]","focus:outline-[#5381FF]","focus:outline","focus:outline-[1.5px]","focus:outline-offset-2",t),children:[(0,n.jsx)(l(),{className:a()("static","shrink-0","scale-1","w-[16px]","h-[16px]"),width:16,height:16,src:i,alt:"google icon"}),(0,n.jsx)("span",{className:a()("font-body","text-white","text-sm","leading-20","font-500"),children:"Continue with Google"})]})}r(7653)},65382:function(e,t,r){"use strict";r.d(t,{Y:function(){return s}});var n=r(27573),i=r(58344),o=r.n(i),a=r(7653);let s=(0,a.forwardRef)((e,t)=>{let{disabled:r,label:i,className:s,button:l,classNameWrapper:c,classNameLabel:u,type:d="text",isError:f=!1,...p}=e;(0,a.useEffect)(()=>{if(f&&t&&"current"in t&&t.current){var e;null==t||null===(e=t.current)||void 0===e||e.focus()}},[f,t]);let x=(0,a.useMemo)(()=>{let e=o()("absolute","top-0","right-0","text-[12px]","font-400","leading-20","tracking-12","text-white","inline-block",'after:content-[""]',"after:absolute","after:left-0","after:right-0","after:bottom-0","after:h-[2px]","after:bg-white/20","after:rounded-[2px]","after:transition-colors","hover:after:bg-white","focus:outline","focus:outline-offset-2","focus:outline-[#5381FF]","focus:outline-[1.5px]","rounded-sm",{"pointer-events-none":r});if(l)return"href"in l?(0,n.jsx)("a",{href:l.href,type:"button",className:e,tabIndex:null==l?void 0:l.tabIndex,children:l.text}):(0,n.jsx)("button",{type:"button",onClick:l.onClick,className:e,disabled:r,tabIndex:null==l?void 0:l.tabIndex,children:l.text})},[l,r]);return(0,n.jsxs)("div",{className:o()(s,"relative w-full"),children:[x,(0,n.jsxs)("label",{className:o()("flex flex-col gap-[12px]",c),children:[i&&(0,n.jsx)("p",{className:o()("text-white","inline-block","text-sm","leading-20",{"!text-white/50":r},u),children:i}),(0,n.jsx)("p",{className:"relative",children:(0,n.jsx)("input",{className:o()("w-full","outline-none","px-[16px]","py-[5px]","bg-stream-950","blur-[7,5px]","border",f?"border-[#D15E44]":"border-[#282837]","password"===d&&"tracking-[4.2px]","m-[0.5px]","rounded-[8px]","transition-[border-color]","placeholder:text-[#3B3B4A]","placeholder:text-[14px]","placeholder:leading-[24px]","placeholder:font-400","focus:border-[1.5px]","focus:border-[#5381FF]","focus:m-0",!f&&!r&&"hover:border-[#4E4E5C]","text-[14px]","leading-[24px]","font-400","text-white",{"pointer-events-none !border-[#1B1B29] !text-[#808085]":r}),ref:t,type:d,disabled:r,...p})}),(0,n.jsx)("style",{children:"\n                input[data-com-onepassword-filled],\n                input:-webkit-autofill,\n                input:-webkit-autofill:hover,\n                input:-webkit-autofill:focus,\n                input:-webkit-autofill:active {\n                  -webkit-box-shadow: 0 0 0px 1000px #01010c inset !important;\n                  -webkit-text-fill-color: #ffffff !important;\n                  -webkit-background-color: #01010c !important;\n                }\n            "})]})]})});s.displayName="AuthInput"},87197:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(7653);function i(e){let{loading:t,setIsLoadingState:r}=e;return(0,n.useEffect)(()=>(r(t),()=>r(!1)),[t,r]),null}},49367:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(27573),i=r(41947),o=r(58344),a=r.n(o),s=r(7653);function l(e){let{className:t,isErrorState:r,isVerificationState:o=!1,isVerifiedState:l=!1,children:c}=e,{width:u}=(0,i.Z)(),d=(0,s.useMemo)(()=>({"--linear-one":r?"rgba(231, 66, 66, 0.2)":"rgba(66,83,231,0.2)","--linear-two":r?"#E74242":"#4253E7","--l
1inear-three":r?"rgba(255, 83, 83, 0.1)":"rgba(83,119,255,0.1)"}),[r]),f=a()("w-[159px]","md:h-[124px]","absolute","-z-10","duration-[1s]","transition-[shadow, bottom]","duration-200");return(0,n.jsxs)("div",{style:u>=768?d:{},className:a()("relative","md:my-[66px]","md:bg-stream-1000","md:rounded-[24px]","w-full","max-w-[424px]","py-[40px]","md:px-[40px]",'after:content-[""]',"md:after:border-[0.75px]","after:border-[rgba(66,83,231,0.20)]","after:rounded-[24px]","after:absolute","after:inset-0","after:-z-[1]",'before:content-[""]',"before:rounded-[24px]","before:bg-login-linear","before:transition-all","before:opacity-40","before:-z-[2]","before:absolute","before:inset-[-0.75px]",t),children:[c,(0,n.jsx)("div",{className:a()(f,"animate__animated animate__fadeIn animate-delay-100ms","shadow-[0_0_300px_50px]","top-[20px] md:top-0","left-[90px] md:left-[137px]"),style:{boxShadow:r?"0 0 300px 50px rgba(255, 66, 66, 0.2)":l?"0 0 300px 50px rgba(0, 255, 163, 0.30)":o?"0 0 300px 50px rgba(110, 113, 255, 0.28)":"0 0 300px 50px rgba(170, 125, 255, 0.35)"}}),(0,n.jsx)("div",{className:a()(f,"animate__animated animate__fadeIn animate-delay-100ms","shadow-[0_0_300px_85px]","left-[20px] md:left-0",r?"bottom-[112px]":"bottom-[76px]"),style:{boxShadow:r?"0 0 300px 85px rgba(178, 32, 32, 0.2)":l?"0 0 300px 85px rgba(0, 255, 163, 0.35)":o?"0 0 300px 85px rgba(110, 113, 255, 0.22)":"0 0 300px 85px rgba(120, 180, 255, 0.3)"}}),(0,n.jsx)("div",{className:a()(f,"animate__animated animate__fadeIn animate-delay-100ms","shadow-[0px_0px_300px_70px]","right-[0px] md:right-[57px]",r?"bottom-[36px]":"bottom-[8px]"),style:{boxShadow:r?"0 0 300px 70px rgba(178, 32, 32, 0.2)":l?"0 0 300px 70px rgba(0, 255, 163, 0.40)":o?"0 0 300px 70px rgba(82, 55, 255, 0.26)":"0 0 300px 70px rgba(130, 100, 255, 0.25)"}})]})}},36358:function(e,t,r){"use strict";r.d(t,{a:function(){return i}});var n=r(7653);function i(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{t(!0)},[]),e}},63421:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(39981),i=r(92297),o=r(7653);function a(){(0,o.useEffect)(()=>{if(!/refreshXsrfToken/.test(document.cookie))return;let e=n.v.BACKEND_HOST,t=new URL(window.location.href).searchParams.toString(),r="".concat(e,"/v2/public/user/continue-for-logged-user").concat(t?"?".concat(t):""),o=document.prerendering||!1,a=window!==window.top;if(o){try{i.fy.logger.info("useRedirectAuthorizedUser: Prerendering detected, using window.location",{redirectUrl:r,timestamp:new Date().toISOString()}),window.location.replace(r)}catch(e){i.fy.logger.error("useRedirectAuthorizedUser: Prerender redirect failed",{error:e instanceof Error?e.message:String(e),redirectUrl:r,timestamp:new Date().toISOString()})}return}if(a)try{var s;i.fy.logger.info("useRedirectAuthorizedUser: Iframe detected, breaking out via window.top",{redirectUrl:r,timestamp:new Date().toISOString()}),null===(s=window.top)||void 0===s||s.location.replace(r)}catch(e){i.fy.logger.warn("useRedirectAuthorizedUser: window.top redirect failed, trying fallback",{error:e instanceof Error?e.message:String(e),redirectUrl:r,timestamp:new Date().toISOString()});try{window.location.replace(r)}catch(e){i.fy.logger.error("useRedirectAuthorizedUser: Both iframe redirects failed",{error:e instanceof Error?e.message:String(e),redirectUrl:r,timestamp:new Date().toISOString()})}}else try{i.fy.logger.info("useRedirectAuthorizedUser: Normal redirect via window.location",{redirectUrl:r,timestamp:new Date().toISOString()}),window.location.replace(r)}catch(e){i.fy.logger.error("useRedirectAuthorizedUser: Normal redirect failed",{error:e instanceof Error?e.message:String(e),redirectUrl:r,timestamp:new Date().toISOString()})}},[])}},41947:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(7653);function i(){let[e,t]=(0,n.useState)({width:window.innerWidth,height:window.innerHeight});function r(){t({width:window.innerWidth,height:window.innerHeight})}return(0,n.useEffect)(()=>(window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}),[]),e}},77398:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});let n="user_backend_rollout_id";function i(e){let t;if("true"===localStorage.getItem("isInSignupRollout"))return!0;let r=((t=localStorage.getItem(n))||(t=crypto.randomUUID(),localStorage.setItem(n,t)),t);return!!r&&parseInt(r.slice(0,8),16)%100<e}},3814:function(e,t,r){"use strict";r.d(t,{cn:function(){return o}});var n=r(90794),i=r(59654);function o(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,i.m6)((0,n.W)(t))}},1240:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return B}});var n,i,o=r(27573);r(45683);var a=r(19773),s=r(75629),l=r(25649),c=r(49324),u=r(57440),d=r(65382),f=r(87197),p=r(58344),x=r.n(p),h=r(7653),m=r(9057),g=r.n(m);(n=i||(i={})).PENDING="pending",n.VERIFYING="verifying",n.VERIFIED="verified";let b=()=>(0,o.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,o.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2",ry:"2",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M4 6.5l8 6 8-6.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),w=()=>(0,o.jsxs)("svg",{viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,o.jsx)("circle",{cx:"11",cy:"11",r:"9",stroke:"currentColor",strokeWidth:"1.7",opacity:"1"}),(0,o.jsx)("path",{d:"M8 11.5l2 2 4.5-4.5",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round"})]}),v=()=>(0,o.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,o.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),(0,o.jsx)("path",{d:"M12 6v6l4 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]});function y(e){let{status:t,onStatusChange:r,className:n}=e;(0,h.useEffect)(()=>{r&&r(!!t)},[t,r]);let i=(0,h.useMemo)(()=>{switch(t){case"verifying":return{icon:(0,o.jsx)(b,{}),text:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("strong",{children:"Check your email"})," — we've sent you a message to verify this device."]})};case"verified":return{icon:(0,o.jsx)(w,{}),text:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("strong",{children:"Device verified!"}),"You can now continue to your account."]})};
1case"pending":return{icon:(0,o.jsx)(v,{}),text:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("strong",{children:"Loading"})," — please wait while we verify your device."]})};default:return null}},[t]);return i?(0,o.jsxs)("div",{className:x()("verified"===t?g().verifyNoticeVerified:g().verifyNotice,"transition-[max-height,opacity,margin] duration-300",t?"max-h-[200px] opacity-100":"mb-0 max-h-0 opacity-0",n),children:[i.icon,(0,o.jsx)("p",{children:i.text})]}):null}var j=r(49367),E=r(43453),N=r(39981),k=r(78766),I=r(92297),_=r(87391),S=r(36358),C=r(87987),R=r(63421),L=r(71809),F=r(77398),D=r(93134),T=r(90794),V=r(59654);function P(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,V.m6)((0,T.W)(t))}let U=e=>{let{children:t,asChild:r,className:n,shimmer:i=!1,as:a,...s}=e,l=a||(r?D.g7:"button");return(0,o.jsx)(l,{className:P("twp cursor-pointer border-0 px-3 py-1 text-left text-sm focus-visible:outline-none",{"text-[#f5f6f8]":!i},n),...s,children:t})},A=e=>{let{className:t,...r}=e;return(0,o.jsx)("div",{style:{"--radius":"8px"},className:P("twp group/promo-banner flex items-center rounded-lg bg-gradient-to-r from-[#6E71FF] to-[#FF2AF6] p-[1px] text-white",t),...r})},O=e=>{let{children:t,onClose:r,className:n,...i}=e;return(0,o.jsx)("div",{className:P("flex w-full justify-between rounded-[calc(var(--radius)-1px)] bg-[#191333]",n),...i,children:t})};var Z=r(3814);let W=(e,t)=>{if(!e)return null;switch(t){case L.re.VERIFYING:return i.VERIFYING;case L.re.VERIFIED:return i.VERIFIED;case L.re.PENDING:return i.PENDING;default:return null}},z=(e,t,r)=>{if(e)switch(t){case L.re.VERIFYING:return"Waiting for device verification...";case L.re.VERIFIED:return"Logging you in...";case L.re.PENDING:return"Loading...";default:return"Waiting for device verification..."}return r?"Loading...":"Log In"};function B(){var e;let t=(0,h.useRef)(null),r=(0,_.x)(),n=(0,S.a)();(0,R.Z)();let p=(0,s.getContinueParam)(),m=(0,C.Z)("email"),g=(0,C.Z)("shouldVerifyDevice"),b="true"===(0,C.Z)("should-use-user-backend"),w=!!(null==p?void 0:p.toLowerCase().includes("returnoffer")),v="✨ Log in to get your offer.";(null==p?void 0:p.toLowerCase().includes("returnoffer"))&&(v="✨ Log in to get a free month of the Professional plan."),(null==p?void 0:p.toLowerCase().includes("returnoffer-clips"))&&(v="✨ Log in to get Clips for free for 7 days."),(null==p?void 0:p.toLowerCase().includes("returnoffer-standard"))&&(v="✨ Log in to claim a free month of the Standard plan."),(null==p?void 0:p.toLowerCase().includes("returnoffer-try-clips"))&&(v="✨ Log in to try Clips for free.");let[D,T]=(0,h.useState)(!1),[V,P]=(0,h.useState)(!1),[B,H]=(0,h.useState)(""),[Y,G]=(0,h.useState)(!1),[M,K]=(0,h.useState)(!1),q=b||(0,F.j)(20)?N.v.USER_BACKEND_HOST:N.v.AUTH_API_HOST;(0,h.useEffect)(()=>{m&&0===B.length&&H(decodeURIComponent(m))},[B,m]);let J=(0,h.useMemo)(()=>"".concat(k.Z.FORGOT_PASSWORD).concat(B?"?email=".concat(encodeURIComponent(B)):""),[B]),X=(0,h.useMemo)(()=>({continue:p}),[p]),Q=(0,h.useMemo)(()=>p?"".concat(k.Z.SIGN_UP,"?continue=").concat(encodeURIComponent(p),"&email=").concat(encodeURIComponent(null!=B?B:"")):"".concat(k.Z.SIGN_UP,"?email=").concat(encodeURIComponent(null!=B?B:"")),[p,B]),$=(0,h.useCallback)(()=>{g&&I.fy.logger.info("Login Page: Device Verification Requested",{timestamp:new Date().toISOString()})},[g]),ee=(0,h.useCallback)(e=>{if((0,s.clearContinueParam)(),null==e?void 0:e.redirectUrl){window.location.href=e.redirectUrl;return}window.location.assign("/")},[]),et=(0,h.useCallback)(e=>{ee({redirectUrl:null==e?void 0:e.redirect})},[ee]);return n?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(E.Z,{isVisible:V&&0===B.trim().length&&!Y}),(0,o.jsxs)("div",{className:(0,Z.cn)("relative flex h-screen flex-col items-center justify-start px-[24px] pt-[56px] md:pt-[136px]",{"pt-[100px]":w,"pointer-events-none":V&&!Y}),children:[w&&(0,o.jsx)(A,{className:"absolute top-0 w-screen p-0 md:top-8 md:w-auto md:p-[1px]",children:(0,o.jsx)(O,{className:"justify-center rounded-none py-[.25rem] md:rounded-[calc(var(--radius)-1px)] md:py-0",children:(0,o.jsxs)(U,{className:"cursor-default text-pretty text-center",as:"div",children:["111",v]})})}),(0,o.jsx)(l.Z,{width:121,theme:"black"}),(0,o.jsx)("h1",{className:"mt-[16px] text-lg font-[300] leading-[26px] text-white",children:"Log in to your account"}),(0,o.jsx)(j.Z,{className:"auth-recapcha-hide",isErrorState:D,isVerificationState:Y,isVerifiedState:M,children:(0,o.jsx)(L.Ho,{googleClientId:N.v.GOOGLE_CLIENT_ID,recaptchaSiteKey:N.v.RECAPTCHA_SITE_KEY,turnstileSiteKey:N.v.CLOUDFLARE_TURNSTILE_SITE_KEY,recaptchaRef:t,analyticsReporter:r,logger:I.fy.createLogger("login-page"),children:(0,o.jsx)(L.YE,{initialEmail:null!==(e=decodeURIComponent(m||""))&&void 0!==e?e:void 0,noValidate:!0,recaptchaRef:t,apiHost:q,onSuccess:ee,shouldUseRecaptcha:!1,shouldUseTurnstile:!0,shouldVerifiedDevice:!!g,onVerifiedDeviceRequired:$,loginParams:X,children:(0,o.jsx)(L.Wb,{children:e=>{let{isVerifiedDeviceRequired:t,deviceVerificationStatus:r}=e,n=t||!!r,s=W(t,r);return(0,o.jsxs)(o.Fragment,{children:[s!==i.VERIFIED&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(L.Yh,{apiHost:N.v.USER_BACKEND_HOST,onSuccess:et,continue:p,children:e=>{let{handleClick:t}=e;return(0,o.jsx)(u.Z,{handleClick:t})}}),(0,o.jsx)("div",{className:x()("mt-[24px]","text-stone-200","flex","gap-[17px]","items-center",'after:content-[""]',"after:h-[1px]","after:flex-1","after:bg-white/[0.07]",'before:content-[""]',"before:h-[1px]","before:flex-1","before:bg-white/[0.07]"),children:(0,o.jsx)("span",{className:"shrink-0 text-[12px] font-400 leading-20 tracking-12 text-stream-200",children:"or"})})]}),(0,o.jsx)(y,{className:s===i.VERIFIED?"":"mt-[24px]",status:s,onStatusChange:e=>{G(e),K(s===i.VERIFIED)}}),(0,o.jsx)(L.VT,{name:"email",children:e=>{let{ref:t,value:r,handleChange:i,shown:a,disabled:s,error:l}=e;return a&&(0,o.jsx)(d.Y,{className:"mt-[24px]",classNameLabel:"font-medium",ref:t,isError:!!l,type:"email",value:r,onChange:e=>{i(e),H(e.target.value)},autoComplete:"email",placeholder:"[email protected]",label:"Email address",disabled:s||n})}}),(0,o.jsx)(L.VT,{name:"password",children:e=>{let{ref:t,value:r,handleChange:i,shown:a,disabled:s,error:l}=e;return a&&(0,o.jsx)(d.Y,{className:"mt-[24px]",classNameLabel:"font-medium",button:{href:J,text:"Forgot password?",tabIndex:1},ref:t,type:"password",isError:!!l,value:r,onChange:i,placeholder:"••••••••••",label:"Password",disabled:s||n})}}),(0,o.jsxs)("div",{className:"relative",children:[(0,o.jsx)(L.M9,{children:e=>{let{isOtpMode:t,isOtpRecoveryMode:r,toggleOtpMode:i}=e;return t?(0,o.jsx)("button",{className:x()("absolute","z-10","top-0","right-0","text-[12px]","font-400","leading-20","tracking-12","text-white","inline-block",'after:content-[""]',"after:absolute","after:left-0","after:right-0","after:bottom-0","after:h-[2px]","after:bg-white/20","after:rounded-[2px]","after:transition-colors","hover:after:bg-white"),type:"button",onClick:i,disabled:n,children:"Use a recovery code?"}):r?(0,o.jsx)("button",{className:x()("absolute","z-10","top-0","right-0","text-[12px]","font-400","leading-20","tracking-12","text-white","inline-block",'after:content-[""]',"after:absolute","after:left-0","after:right-0","after:bottom-0","after:h-[2px]","after:bg-white/20","after:rounded-[2px]","after:transition-colors","hover:after:bg-white"),type:"button",onClick:i,disabled:n,children:"Use a 2FA code?"}):null}}),(0,o.jsx)(L.VT,{name:"otp",children:e=>{let{ref:t,value:r,handleChange:i,shown:a,disabled:s,error:l}=e;return a&&(0,o.jsx)(d.Y,{className:"mt-[24px]",classNameLabel:"font-medium",ref:t,isError:!!l,value:r,onChange:i,placeholder:"1 2 3 4 5 6",label:"Two-factor code",disabled:s||n})}}),(0,o.jsx)(L.VT,{name:"otpRecovery",children:e=>{let{ref:t,value:r,handleChange:i,shown:a,disabled:s,error:l}=e;return a&&(0,o.jsx)(d.Y,{className:"mt-[24px]",classNameLabel:"font-medium",ref:t,isError:!!l,value:r,onChange:i,placeholder:"ABC12-123AB",label:"Recovery code",disabled:s||n})}})]}),(0,o.jsx)(L.Wj,{children:e=>{let{error:t}=e;return(0,o.jsx)(c.Z,{className:"mt-[12px]",setIsErrorState:T,error:t})}}),(0,o.jsx)(L._y,{children:e=>{let{loading:n,disabled:i,verificationStatus:s}=e,l=n||!!s||!!(t&&r),c=z(t,null!=s?s:r,l),u=(null!=s?s:r)===L.re.VERIFIED;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(f.Z,{loading:l,setIsLoadingState:P}),(0,o.jsx)(a.z,{className:"mt-[24px] py-[8px] text-sm font-medium focus:outline focus:outline-[1.5px] focus:outline-[#5381FF]",style:u?{background:"linear-gradient(90deg, #24976e 0%, #1db87f 100%)"}:void 0,type:"submit",fluid:!0,variant:"primary",color:"blue-gradient",loading:l,disabled:i,loadingText:c,children:c})]})}}),(0,o.jsxs)("p",{className:"mt-[32px] text-center text-[12px] leading-20 tracking-12 text-cod-gray-500",children:[(0,o.jsx)("span",{className:"inline-block leading-20",children:"New to Restream?"})," ",(0,o.jsx)("a",{className:x()("relative","inline-block","text-white",'after:content-[""]',"after:absolute","after:left-0","after:right-0","after:bottom-0","after:h-[2px]","after:bg-white/20","after:rounded-[2px]","after:transition-colors","hover:after:bg-white","focus:outline","focus:outline-offset-2","focus:outline-[1.5px]","focus:outline-[#5381FF]","rounded-sm"),href:Q,children:"Create account"})]})]})}})})})})]})]}):null}},45683:function(){},9057:function(e){e.exports={verifyNotice:"auth-verification-status_verifyNotice__FAEk3",verifyPop:"auth-verification-status_verifyPop__el0H3",glowPulsePurple:"auth-verification-status_glowPulsePurple__pXWrs",iconPulse:"auth-verification-status_iconPulse__Yvs7r",shimmer:"auth-verification-status_shimmer__WwOBe",verifyNoticeVerified:"auth-verification-status_verifyNoticeVerified__6FJJl",iconPulseHero:"auth-verification-status_iconPulseHero__9zWV9"}},68571:function(e){var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l=[],c=!1,u=-1;function d(){c&&n&&(c=!1,n.length?l=n.concat(l):u=-1,l.length&&f())}function f(){if(!c){var e=s(d);c=!0;for(var t=l.length;t;){for(n=l,l=[];++u<t;)n&&n[u].run();u=-1,t=l.length}n=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);
1if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function x(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new p(e,t)),1!==l.length||c||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=x,i.addListener=x,i.once=x,i.off=x,i.removeListener=x,i.removeAllListeners=x,i.emit=x,i.prependListener=x,i.prependOnceListener=x,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},93134:function(e,t,r){"use strict";r.d(t,{g7:function(){return a}});var n=r(7653);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var o=r(27573),a=n.forwardRef((e,t)=>{let{children:r,...i}=e,a=n.Children.toArray(r),l=a.find(c);if(l){let e=l.props.children,r=a.map(t=>t!==l?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(s,{...i,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,o.jsx)(s,{...i,ref:t,children:r})});a.displayName="Slot";var s=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){let e,a;let s=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref;return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{o(...e),i(...e)}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props),ref:t?function(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}(t,s):s})}return n.Children.count(r)>1?n.Children.only(null):null});s.displayName="SlotClone";var l=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function c(e){return n.isValidElement(e)&&e.type===l}}},function(e){e.O(0,[678,6473,5136,2297,6074,1328,5341,2559,1074,1293,4016,1744],function(){return e(e.s=28982)}),_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.