1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,561137,e=>{"use strict";var n=e.i(722613),t=e.i(713842),i=e.i(442434),a=e.i(392810);async function r(n=5e3){try{return await Promise.race([e.A(271510).then(e=>e.getFingerprint()),new Promise((e,t)=>setTimeout(()=>t(Error("Fingerprint timeout")),n))])}catch(e){return console.warn("Failed to get fingerprint:",e),""}}var o=e.i(25991);function s(){return(0,n.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,n.jsx)("path",{fill:"#4285F4",d:"M17.64 9.2c0-.637-.057-1.251-.164-1.84H9v3.481h4.844a4.14 4.14 0 0 1-1.796 2.716v2.259h2.908c1.702-1.567 2.684-3.875 2.684-6.615z"}),(0,n.jsx)("path",{fill:"#34A853",d:"M9 18c2.43 0 4.467-.806 5.956-2.184l-2.908-2.259c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H.957v2.332A8.997 8.997 0 0 0 9 18z"}),(0,n.jsx)("path",{fill:"#FBBC05",d:"M3.964 10.706A5.41 5.41 0 0 1 3.682 9c0-.593.102-1.17.282-1.706V4.962H.957A8.996 8.996 0 0 0 0 9c0 1.452.348 2.827.957 4.038l3.007-2.332z"}),(0,n.jsx)("path",{fill:"#EA4335",d:"M9 3.58c1.321 0 2.508.454 3.44 1.345l2.582-2.581C13.463.891 11.426 0 9 0A8.997 8.997 0 0 0 .957 4.962L3.964 7.294C4.672 5.167 6.656 3.58 9 3.58z"})]})}function l({className:e="",redirectPath:t}){let a=`/${(t??"home").replace(/^\//,"")}`,r=`/api/auth/oauth/google/start?redirect=${encodeURIComponent(a)}`;return(0,n.jsxs)("a",{href:r,onClick:()=>{(0,i.trackEvent)(i.HeygenEventType.CTAClickSignup,{label:"Sign up with Google",buttonType:"google",path_url:window.location.pathname,flow:"oauth-link",webview:!0},!0)},className:`inline-flex items-center justify-center gap-[8px] rounded-[4px] border border-[#dadce0] bg-white px-[16px] py-[10px] text-[14px] font-medium text-[#3c4043] transition-colors hover:bg-[#f8f9fa] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 min-h-[40px] ${e}`,"aria-label":"Sign up with Google",children:[(0,n.jsx)(s,{}),"Sign up with Google"]})}let d="heygen_is_login";e.s(["GoogleSignInButtonAPI",0,function({className:e="",buttonId:s="googleSignInButton",onSuccess:c,onError:m,onInAppBrowserBlocked:p,redirectPath:u,height:g=44,width:h=220}){let[k,f]=(0,t.useState)(null),[x,E]=(0,t.useState)(!1),[w,v]=(0,t.useState)(!1),b=(0,t.useRef)(null),y=(0,t.useRef)(!1),P=(0,o.usePostAuthRedirect)(),S="300955663610-kefo9gph15m4fgruadi26f9qi51lhp9p.apps.googleusercontent.com",C="https://api2.heygen.com/",j="https://app.heygen.com/",[T,I]=(0,t.useState)(!1),[L,G]=(0,t.useState)("gis");(0,t.useEffect)(()=>{let e=(0,a.isInAppBrowser)();I(e),!c&&e&&G("oauth-link")},[c]);let D=T&&"gis"===L,N="gis"===L&&!T&&!x&&!w,R=(0,t.useCallback)(async e=>{if(!y.current){y.current=!0,f(null);try{let n=(e=>{try{let n=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),t=decodeURIComponent(atob(n).split("").map(e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)).join(""));return JSON.parse(t)}catch{return null}})(e.credential);if(!n)throw Error("Failed to parse Google credential");let t=await r(),a={zid:(0,i.getZid)(),google_id:n.sub,google_token:e.credential,name:n.name,email:n.email,meta:JSON.stringify({imageUrl:n.picture,rewardful:function(){let e=window.Rewardful;if(!e)return;let n=e.referral,t=e.affiliate;if(n&&t)return{referral:n,affiliate:t}}()}),first_name:n.given_name||"",last_name:n.family_name||"",fingerprint:t},o=new URL("v1/pacific/check_google",C),s=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify(a)});if(!s.ok)throw Error(`Authentication failed: ${s.status}`);let l=await s.json();if(100===l.code&&l.data?.token){let e,t,a,r,o;if(l.data?.need_mfa)throw Error("This account requires MFA verification. Please use the main app to sign in.");let s=l.data?.is_new;if(l.data?.username&&(0,i.identifyUser)(l.data?.username),s?(0,i.trackEvent)(i.HeygenEventType.AcctRegComplete,{email:n.email,username:l.data?.username,from:"google",platform:"www"},!0):(0,i.trackEvent)(i.HeygenEventType.LoginSuccess,{email:n.email,username:l.data?.username,from:"google",platform:"www"},!0),e=function(){let e=window.location.hostname;if(/^\d{1,3}(\.\d{1,3}){3}$/.test(e))return e;if("localhost"===e)return"";let n=e.split(".");return n.length>=2?"."+n.slice(-2).join("."):e}(),t=new Date(Date.now()+2592e6).toUTCString(),a="https:"===window.location.protocol?"; secure":"",r=e?`; domain=${e}`:"",document.cookie=`${d}=true; expires=${t}${r}; path=/${a}`,((o=document.cookie.match(RegExp(`(^| )${d}=([^;]+)`)))?decodeURIComponent(o[2]):void 0)||(document.cookie=`${d}=true; expires=${t}; path=/${a}`),c)c(l);else{let e=u||P||"home";window.location.href=new URL(e.replace(/^\//,""),j).toString()}}else{let e=l.message||(l.code?`API Error Code: ${l.code}`:"Login failed");throw Error(e)}}catch(n){let e=n instanceof Error?n:Error("Google sign in failed");m?m(e):f(e.message)}finally{y.current=!1}}},[c,m,j,C,u,P]);return((0,t.useEffect)(()=>{b.current=R},[R]),(0,t.useEffect)(()=>{let e;if(!S||x)return;let n=e=>{b.current&&b.current(e)},t=()=>{if(!window.google)return;window.google.accounts.id.initialize({client_id:S,callback:n,ux_mode:"popup",auto_select:!1,cancel_on_tap_outside:!0});let e=document.getElementById(s);e&&(e.innerHTML="",window.google.accounts.id.renderButton(e,{type:"standard",theme:"outline",size:"large",text:"signup_with",width:h,click_listener:()=>{f(null),(0,i.trackEvent)(i.HeygenEventType.CTAClickSignup,{label:"Sign up with Google",buttonType:"google",path_url:window.location.pathname})}})),T||setTimeout(()=>{window.google&&document.hasFocus()&&window.google.accounts.id.prompt()},2e3),E(!0)};if(window.google)return void t();let a=document.createElement("script");a.src="https://accounts.google.com/gsi/client",a.async=!0,a.defer=!0,a.onload=t,a.onerror=()=>v(!0);let r=()=>{document.body.appendChild(a),e=setTimeout(()=>v(!0),1e4)},o="function"==typeof window.requestIdleCallback,l=o?window.requestIdleCallback(r,{timeout:2e3}):window.setTimeout(r,1);return()=>{o?window.cancelIdleCallback(l):clearTimeout(l),a.onload=null,a.onerror=null,e&&clearTimeout(e)}},[S,x,s,T]),"oauth-link"===L)?(0,n.jsx)(l,{className:e,redirectPath:u??P??void 0}):(0,n.jsxs)("div",{className:`relative ${e}`,children:[(0,n.jsx)("div",{id:s,style:{width:h,height:g},className:"overflow-hidden"}),N&&(0,n.jsxs)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 flex animate-pulse items-center gap-[8px] rounded-[4px] border border-[#dadce0] bg-white px-[16px]",children:[(0,n.jsx)("span",{className:"h-[18px] w-[18px] rounded-full bg-[#dadce0]"}),(0,n.jsx)("span",{className:"h-[12px] w-[120px] rounded-[2px] bg-[#dadce0]"})]}),D&&(0,n.jsx)("button",{type:"button",onClick:()=>{(0,i.trackEvent)(i.HeygenEventType.CTAClickSignup,{label:"Sign up with Google",buttonType:"google",path_url:window.location.pathname,blocked_by:"in_app_browser"}),p?.()},className:"absolute inset-0 z-10 cursor-pointer rounded-[4px] bg-transparent transition-colors hover:bg-black/5 active:bg-black/10","aria-label":"Open Google sign-in in your browser"}),k&&(0,n.jsx)("div",{className:"mt-[12px] bg-red-50 border border-red-200 rounded-[12px] p-[12px]",children:(0,n.jsx)("p",{className:"text-[12px] text-red-600",children:k})})]})}],561137)},96507,e=>{"use strict";var n=e.i(722613),t=e.i(617058);let i=()=>(0,n.jsxs)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"6.7143",cy:"5.28571",r:"2.03571",stroke:"#00C3FF",strokeWidth:"2"}),(0,n.jsx)("circle",{cx:"14.2143",cy:"8.32111",r:"2.03571",stroke:"#00C3FF",strokeWidth:"2"}),(0,n.jsx)("path",{d:"M1 14.7499V13.8349C1 12.8717 1.55327 11.9943 2.42232 11.5791L
15.54732 10.0861C6.22888 9.76053 7.02112 9.76053 7.70268 10.0861L9.4375 10.9149",stroke:"#00C3FF",strokeWidth:"2"}),(0,n.jsx)("path",{d:"M8.5 17.7855V16.8705C8.5 15.9074 9.05327 15.0299 9.92232 14.6147L13.0473 13.1218C13.7289 12.7962 14.5211 12.7962 15.2027 13.1218L18.3277 14.6147C19.1967 15.0299 19.75 15.9074 19.75 16.8705V17.7855",stroke:"#00C3FF",strokeWidth:"2"})]});e.s(["default",0,({label:e,className:a,icon:r,hasIcon:o=!0,variant:s="blue"})=>(0,n.jsx)(n.Fragment,{children:"blue"===s?(0,n.jsxs)("div",{className:(0,t.twMerge)("inline-flex items-center justify-center gap-10 rounded-[80px] bg-[#DFF8FF] px-12 py-6 shadow-[inset_0_0_14px_0_#FFF] font-tt-norms",a),children:[o&&(0,n.jsx)("span",{className:"flex h-20 w-20 items-center justify-center p-2",children:r||(0,n.jsx)(i,{})}),(0,n.jsx)("span",{className:"text-14 font-bold tracking-[-0.16px] text-[#00C3FF]",children:e})]}):(0,n.jsx)("div",{className:"w-fit py-6 px-12 bg-prism-pink rounded-full inset-shadow-[0_0_14px_0_white]",children:(0,n.jsx)("span",{className:"font-abc-solar-display text-15 text-dark-pink",children:e})})})])},818325,(e,n,t)=>{n.exports={"en-us":{step1:"Step 1",step2:"Step 2",step3:"Step 3",actionPhrase1:"Enter Prompt",actionPhrase2:"Click Generate Button",actionPhrase3:"Watch Your Video Come To Life",placeholder:"Enter your prompt here...",submitPrompt:"Submit prompt",whatToCreate:"What would you like to create?"},"pt-br":{step1:"Passo 1",step2:"Passo 2",step3:"Passo 3",actionPhrase1:"Digite Seu Prompt",actionPhrase2:"Clique No Botão Gerar",actionPhrase3:"Veja Seu VÃdeo Ganhar Vida",placeholder:"Digite seu prompt aqui...",submitPrompt:"Enviar prompt",whatToCreate:"O que você gostaria de criar?"},"es-es":{step1:"Paso 1",step2:"Paso 2",step3:"Paso 3",actionPhrase1:"Introduce Tu Prompt",actionPhrase2:"Haz Clic En El Botón Generar",actionPhrase3:"Mira Cómo Tu VÃdeo Cobra Vida",placeholder:"Introduce tu prompt aquÃ...",submitPrompt:"Enviar prompt",whatToCreate:"¿Qué te gustarÃa crear?"},"fr-fr":{step1:"Ãtape 1",step2:"Ãtape 2",step3:"Ãtape 3",actionPhrase1:"Saisissez Votre Prompt",actionPhrase2:"Cliquez Sur Le Bouton Générer",actionPhrase3:"Regardez Votre Vidéo Prendre Vie",placeholder:"Saisissez votre prompt ici...",submitPrompt:"Envoyer le prompt",whatToCreate:"Que souhaitez-vous créer ?"},"de-de":{step1:"Schritt 1",step2:"Schritt 2",step3:"Schritt 3",actionPhrase1:"Geben Sie Ihren Prompt Ein",actionPhrase2:"Klicken Sie Auf Die Schaltfläche Generieren",actionPhrase3:"Sehen Sie Zu, Wie Ihr Video Zum Leben Erwacht",placeholder:"Geben Sie hier Ihren Prompt ein...",submitPrompt:"Prompt absenden",whatToCreate:"Was möchten Sie erstellen?"},"ko-kr":{step1:"ë¨ê³ 1",step2:"ë¨ê³ 2",step3:"ë¨ê³ 3",actionPhrase1:"í롬íí¸ë¥¼ ì
ë ¥íì¸ì",actionPhrase2:"ìì± ë²í¼ì í´ë¦íì¸ì",actionPhrase3:"ëììì´ ììíê² ë§ë¤ì´ì§ë ê²ì íì¸íì¸ì",placeholder:"ì¬ê¸°ì í롬íí¸ë¥¼ ì
ë ¥íì¸ì...",submitPrompt:"í롬íí¸ ì ì¶",whatToCreate:"무ìì ë§ë¤ê³ ì¶ì¼ì ê°ì?"},"it-it":{step1:"Passaggio 1",step2:"Passaggio 2",step3:"Passaggio 3",actionPhrase1:"Inserisci Il Tuo Prompt",actionPhrase2:"Clicca Sul Pulsante Genera",actionPhrase3:"Guarda Il Tuo Video Prendere Vita",placeholder:"Inserisci qui il tuo prompt...",submitPrompt:"Invia prompt",whatToCreate:"Cosa vorresti creare?"},"nl-nl":{step1:"Stap 1",step2:"Stap 2",step3:"Stap 3",actionPhrase1:"Voer Je Prompt In",actionPhrase2:"Klik Op De Knop Genereren",actionPhrase3:"Zie Je Video Tot Leven Komen",placeholder:"Voer hier je prompt in...",submitPrompt:"Prompt verzenden",whatToCreate:"Wat wil je maken?"},"id-id":{step1:"Langkah 1",step2:"Langkah 2",step3:"Langkah 3",actionPhrase1:"Masukkan Prompt Anda",actionPhrase2:"Klik Tombol Hasilkan",actionPhrase3:"Saksikan Video Anda Jadi Nyata",placeholder:"Masukkan prompt Anda di sini...",submitPrompt:"Kirim prompt",whatToCreate:"Apa yang ingin Anda buat?"},"ja-jp":{step1:"ã¹ããã 1",step2:"ã¹ããã 2",step3:"ã¹ããã 3",actionPhrase1:"ããã³ãããå
¥å",actionPhrase2:"çæãã¿ã³ãã¯ãªãã¯",actionPhrase3:"åç»ãçã¾ããç¬éãè¦ã",placeholder:"ããã«ããã³ãããå
¥åãã¦ãã ãã...",submitPrompt:"ããã³ãããéä¿¡",whatToCreate:"ä½ã使ãã¾ããï¼"},"zh-hk":{step1:"æ¥é© 1",step2:"æ¥é© 2",step3:"æ¥é© 3",actionPhrase1:"輸å
¥ä½ çæç¤ºè©",actionPhrase2:"é»æçææé",actionPhrase3:"è§çä½ çè¦é »è®æç¾å¯¦",placeholder:"卿¤è¼¸å
¥ä½ çæç¤ºè©...",submitPrompt:"æäº¤æç¤ºè©",whatToCreate:"ä½ æ³åµå»ºä»éº¼ï¼"},"vi-vn":{step1:"Bưá»c 1",step2:"Bưá»c 2",step3:"Bưá»c 3",actionPhrase1:"Nháºp Prompt Cá»§a Bạn",actionPhrase2:"Nhấp Và o Nút Tạo",actionPhrase3:"Xem Video Cá»§a Bạn Trá» Nên Sá»ng Äá»ng",placeholder:"Nháºp prompt cá»§a bạn tại Äây...",submitPrompt:"Gá»i prompt",whatToCreate:"Bạn muá»n tạo gì?"},"pl-pl":{step1:"Krok 1",step2:"Krok 2",step3:"Krok 3",actionPhrase1:"Wpisz prompt",actionPhrase2:"Kliknij przycisk Generuj",actionPhrase3:"Zobacz, jak Twoje wideo ożywa",placeholder:"Wpisz tutaj swój prompt...",submitPrompt:"WyÅlij prompt",whatToCreate:"Co chciaÅbyÅ stworzyÄ?"},"tl-ph":{step1:"Hakbang 1",step2:"Hakbang 2",step3:"Hakbang 3",actionPhrase1:"Ilagay ang Prompt",actionPhrase2:"I-click ang Generate Button",actionPhrase3:"Panoorin ang Iyong Video na Maging Totoo",placeholder:"Ilagay ang iyong prompt dito...",submitPrompt:"I-submit ang prompt",whatToCreate:"Ano ang gusto mong gawin?"},"en-in":{step1:"Step 1",step2:"Step 2",step3:"Step 3",actionPhrase1:"Enter Prompt",actionPhrase2:"Click Generate Button",actionPhrase3:"Watch Your Video Come To Life",placeholder:"Enter your prompt here...",submitPrompt:"Submit prompt",whatToCreate:"What would you like to create?"},"en-gb":{step1:"Step 1",step2:"Step 2",step3:"Step 3",actionPhrase1:"Enter Prompt",actionPhrase2:"Click Generate Button",actionPhrase3:"Watch Your Video Come To Life",placeholder:"Enter your prompt here...",submitPrompt:"Submit prompt",whatToCreate:"What would you like to create?"},"ar-sa":{step1:"Ø§ÙØ®Ø·ÙØ© 1",step2:"Ø§ÙØ®Ø·ÙØ© 2",step3:"Ø§ÙØ®Ø·ÙØ© 3",actionPhrase1:"أدخ٠اÙÙ
ÙØ¬ÙÙ",actionPhrase2:"اÙÙØ± زر Ø§ÙØ¥Ùشاء",actionPhrase3:"Ø´Ø§ÙØ¯ ÙÙØ¯ÙÙÙ ÙØ£Ø®Ø° Ø§ÙØÙØ§Ø©",placeholder:"أدخ٠Ù
ÙØ¬ÙÙÙ ÙÙØ§...",submitPrompt:"إرسا٠اÙÙ
ÙØ¬ÙÙ",whatToCreate:"Ù
اذا ØªÙØ¯Ù Ø£Ù ØªÙØ´Ø¦Ø"},"ur-pk":{step1:"Ù
رØÙÛ 1",step2:"Ù
رØÙÛ 2",step3:"Ù
رØÙÛ 3",actionPhrase1:"پراÙ
پٹ درج کرÛÚº",actionPhrase2:"Generate بٹ٠دبائÛ
1Úº",actionPhrase3:"اپÙÛ ÙÛÚÛÙ Ú©Ù Ø²ÙØ¯Û ÛÙØªÛ دÛÚ©Ú¾ÛÚº",placeholder:"Ø§Ù¾ÙØ§ پراÙ
پٹ ÛÛØ§Úº درج کرÛÚº...",submitPrompt:"پراÙ
پٹ جÙ
ع کرائÛÚº",whatToCreate:"آپ Ú©ÛØ§ Ø¨ÙØ§Ùا ÚØ§ÛÛÚº Ú¯ÛØ"},"es-mx":{step1:"Paso 1",step2:"Paso 2",step3:"Paso 3",actionPhrase1:"Ingresa tu prompt",actionPhrase2:"Haz clic en el botón Generar",actionPhrase3:"Mira cómo tu video cobra vida",placeholder:"Ingresa tu prompt aquÃ...",submitPrompt:"Enviar prompt",whatToCreate:"¿Qué te gustarÃa crear?"},"tr-tr":{step1:"1. Adım",step2:"2. Adım",step3:"3. Adım",actionPhrase1:"Prompt'unuzu girin",actionPhrase2:"OluÅtur düÄmesine tıklayın",actionPhrase3:"Videonuzun hayat bulmasını izleyin",placeholder:"Prompt'unuzu buraya girin...",submitPrompt:"Prompt'u gönder",whatToCreate:"Ne oluÅturmak istersiniz?"},"zh-tw":{step1:"æ¥é© 1",step2:"æ¥é© 2",step3:"æ¥é© 3",actionPhrase1:"輸å
¥æ¨çæç¤ºè©",actionPhrase2:"黿ãçæãæé",actionPhrase3:"çèæ¨çå½±çæå½¢",placeholder:"卿¤è¼¸å
¥æ¨çæç¤ºè©â¯",submitPrompt:"éåºæç¤ºè©",whatToCreate:"æ¨æ³åµä½ä»éº¼ï¼"},"th-th":{step1:"à¸à¸±à¹à¸à¸à¸à¸à¸à¸µà¹ 1",step2:"à¸à¸±à¹à¸à¸à¸à¸à¸à¸µà¹ 2",step3:"à¸à¸±à¹à¸à¸à¸à¸à¸à¸µà¹ 3",actionPhrase1:"à¹à¸ªà¹ Prompt",actionPhrase2:"à¸à¸¥à¸´à¸à¸à¸¸à¹à¸¡ Generate",actionPhrase3:"à¸à¸¡à¸§à¸´à¸à¸µà¹à¸à¸à¸à¸à¸à¸¸à¸à¸à¸¥à¸²à¸¢à¹à¸à¹à¸à¸à¸£à¸´à¸",placeholder:"à¹à¸ªà¹ prompt à¸à¸à¸à¸à¸¸à¸à¸à¸µà¹à¸à¸µà¹...",submitPrompt:"สà¹à¸ prompt",whatToCreate:"à¸à¸¸à¸à¸à¸¢à¸²à¸à¸ªà¸£à¹à¸²à¸à¸à¸°à¹à¸£?"},"uk-ua":{step1:"ÐÑок 1",step2:"ÐÑок 2",step3:"ÐÑок 3",actionPhrase1:"ÐведÑÑÑ Ð¿ÑомпÑ",actionPhrase2:"ÐаÑиÑнÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ Generate",actionPhrase3:"СпоÑÑеÑÑгайÑе, Ñк ÐаÑе вÑдео оживаÑ",placeholder:"ÐведÑÑÑ ÑвÑй пÑÐ¾Ð¼Ð¿Ñ ÑÑÑ...",submitPrompt:"ÐадÑÑлаÑи пÑомпÑ",whatToCreate:"Що Ðи Ñ
оÑÑли б ÑÑвоÑиÑи?"},"he-il":{step1:"ש×× 1",step2:"ש×× 2",step3:"ש×× 3",actionPhrase1:"×××× × ×¤×¨××פ×",actionPhrase2:"×××¦× ×¢× ×פת×ר ×צר×",actionPhrase3:"×¦×¤× ×סר××× ×©××× ×§× ×××××",placeholder:"×××× × ×ת ×פר×××¤× ×©××× ×××...",submitPrompt:"ש××× ×¤×¨××פ×",whatToCreate:"×× ×ª×¨×¦× ××צ×ר?"},"sv-se":{step1:"Steg 1",step2:"Steg 2",step3:"Steg 3",actionPhrase1:"Skriv Din Prompt",actionPhrase2:"Klicka PÃ¥ Generera-knappen",actionPhrase3:"Se Din Video Bli Levande",placeholder:"Skriv din prompt här...",submitPrompt:"Skicka prompt",whatToCreate:"Vad vill du skapa?"}}},987528,e=>{"use strict";var n=e.i(722613),t=e.i(713842),i=e.i(851712),a=e.i(818325);async function r(e){let n=await fetch("/api/v_next/search-to-agent",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:e})});if(!n.ok)throw Error("Failed to create search-to-agent action");let t=await n.json();if(!t?.token||!t?.redirectUrl)throw Error("Invalid response from server");return{token:t.token,redirectUrl:t.redirectUrl}}e.s(["default",0,function({locale:e}){let[o,s]=(0,t.useState)(""),[l,d]=(0,t.useState)(!1),[c,m]=(0,t.useState)(null),p=(0,i.getTranslations)(e,a.default),u=o.length,g=u>=2e3,h=async()=>{let e=o.trim();if(e){d(!0),m(null);try{let n=await r(e);window.location.href=n.redirectUrl}catch{m("Failed to generate. Please try again."),d(!1)}}};return(0,n.jsx)("div",{className:"flex w-full flex-col items-center px-20 md:px-0",children:(0,n.jsx)("div",{className:"flex w-full max-w-[900px] flex-col gap-10",children:(0,n.jsxs)("div",{className:"flex flex-col items-start gap-10 p-30 pr-20 pb-20 rounded-30 border border-black/5 bg-white shadow-xl shadow-black/5",children:[(0,n.jsx)("textarea",{autoComplete:"off",value:o,className:"min-h-70 w-full resize-none bg-transparent text-left text-18 leading-relaxed text-black outline-none placeholder:text-black/50",placeholder:p.placeholder,maxLength:2e3,onChange:e=>s(e.target.value)}),c&&(0,n.jsx)("div",{className:"text-sm text-red-600 text-center mb-2",children:c}),(0,n.jsxs)("div",{className:"relative flex w-full items-center h-[44px]",children:[(0,n.jsxs)("span",{className:`text-[12px] self-center ${g?"text-red-600":"text-black"}`,children:[u,"/",2e3]}),(0,n.jsx)("div",{className:"absolute top-0 right-0",children:(0,n.jsx)("button",{className:"p-10 bg-black leading-none rounded-full text-white disabled:opacity-70 flex items-center justify-center","aria-label":p.submitPrompt,onClick:h,disabled:l,children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,n.jsx)("path",{d:"M3.19995 9.5998H16M16 9.5998L11.2 4.7998M16 9.5998L11.2 14.3998",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})})})]})]})})})}],987528)},70280,(e,n,t)=>{n.exports=JSON.parse('{"en-us":{"getStarted":"Get Started for Free","termsPrefix":"By continuing you agree to ","termsLink":"HeyGen\'s terms","loading":"Loading...","sent":"Check your inbox","sentDescription":"We\'ve sent a magic link to","openIn":"Open in:","continue":"Continue","useDifferentEmail"
1:"Use a different email","enterEmail":"Enter your email...","or":"Or","defaultErrorMessage":"Unable to send magic link","invalidEmail":"Invalid email","emailRequired":"Email is required","resendEmail":"Resend email","checkSpam":"Check spam folder","linkSentTo":"Link sent to","resendIn":"Resend ({seconds}s)","sending":"Sending..."},"en-in":{"getStarted":"Get Started for Free","termsPrefix":"By continuing you agree to ","termsLink":"HeyGen\'s terms","loading":"Loading...","sent":"Check your inbox","sentDescription":"We\'ve sent a magic link to","openIn":"Open in:","continue":"Continue","useDifferentEmail":"Use a different email","enterEmail":"Enter your email...","or":"Or","defaultErrorMessage":"Unable to send magic link","invalidEmail":"Invalid email","emailRequired":"Email is required","resendEmail":"Resend email","checkSpam":"Check spam folder","linkSentTo":"Link sent to","resendIn":"Resend ({seconds}s)","sending":"Sending..."},"en-gb":{"getStarted":"Get Started for Free","termsPrefix":"By continuing you agree to ","termsLink":"HeyGen\'s terms","loading":"Loading...","sent":"Check your inbox","sentDescription":"We\'ve sent a magic link to","openIn":"Open in:","continue":"Continue","useDifferentEmail":"Use a different email","enterEmail":"Enter your email...","or":"Or","defaultErrorMessage":"Unable to send magic link","invalidEmail":"Invalid email","emailRequired":"Email is required","resendEmail":"Resend email","checkSpam":"Check spam folder","linkSentTo":"Link sent to","resendIn":"Resend ({seconds}s)","sending":"Sending..."},"pt-br":{"getStarted":"Comece de graça","termsPrefix":"Ao continuar, você concorda com os ","termsLink":"termos da HeyGen","loading":"Carregando...","sent":"Verifique sua caixa de entrada","sentDescription":"Enviamos um link mágico para","openIn":"Abrir em:","continue":"Continuar","useDifferentEmail":"Usar um e-mail diferente","enterEmail":"Insira seu e-mail...","or":"Ou","defaultErrorMessage":"Não foi possÃvel enviar o link mágico","invalidEmail":"Email inválido","emailRequired":"Email é obrigatório","resendEmail":"Reenviar e-mail","checkSpam":"Verifique a pasta de spam","linkSentTo":"Link enviado para","resendIn":"Reenviar ({seconds}s)","sending":"Enviando..."},"es-es":{"getStarted":"Comienza gratis","termsPrefix":"Al continuar, aceptas los ","termsLink":"términos de HeyGen","loading":"Cargando...","sent":"Revisa tu bandeja de entrada","sentDescription":"Hemos enviado un enlace mágico a","openIn":"Abrir en:","continue":"Continuar","useDifferentEmail":"Usar otro correo electrónico","enterEmail":"Introduce tu correo electrónico...","or":"O","defaultErrorMessage":"No se pudo enviar el enlace mágico","invalidEmail":"Correo electrónico inválido","emailRequired":"Correo electrónico requerido","resendEmail":"Reenviar correo","checkSpam":"Revisa la carpeta de spam","linkSentTo":"Link enviado a","resendIn":"Reenviar ({seconds}s)","sending":"Enviando..."},"fr-fr":{"getStarted":"Commencez gratuitement","termsPrefix":"En continuant, vous acceptez les ","termsLink":"conditions de HeyGen","loading":"Chargement...","sent":"Vérifiez votre boîte mail","sentDescription":"Nous avons envoyé un lien magique à ","openIn":"Ouvrir dans :","continue":"Continuer","useDifferentEmail":"Utiliser un autre e-mail","enterEmail":"Entrez votre e-mail...","or":"Ou","defaultErrorMessage":"Impossible d\'envoyer le lien magique","invalidEmail":"Email invalide","emailRequired":"Email requis","resendEmail":"Renvoyer l\'e-mail","checkSpam":"Vérifiez le dossier spam","linkSentTo":"Lien envoyé à ","resendIn":"Renvoyer ({seconds}s)","sending":"Envoi..."},"de-de":{"getStarted":"Jetzt kostenlos starten","termsPrefix":"Indem Sie fortfahren, stimmen Sie den ","termsLink":"Bedingungen von HeyGen","loading":"Lädt...","sent":"Prüfen Sie Ihren Posteingang","sentDescription":"Wir haben einen Magic-Link gesendet an","openIn":"Ãffnen in:","continue":"Weiter","useDifferentEmail":"Andere E-Mail verwenden","enterEmail":"Geben Sie Ihre E-Mail-Adresse ein...","or":"Oder","defaultErrorMessage":"Magic-Link kann nicht gesendet werden","invali
1dEmail":"Ungültige E-Mail","emailRequired":"E-Mail erforderlich","resendEmail":"E-Mail erneut senden","checkSpam":"Spam-Ordner prüfen","linkSentTo":"Link gesendet an","resendIn":"Erneut senden ({seconds}s)","sending":"Senden..."},"ko-kr":{"getStarted":"무ë£ë¡ ììí기","termsPrefix":"ê³ìíë©´ ","termsLink":"HeyGenì ì½ê´","termsSuffix":"ì ëìíë ê²ì¼ë¡ ê°ì£¼ë©ëë¤","loading":"ë¡ë© ì¤...","sent":"ë°ì í¸ì§í¨ì íì¸íì¸ì","sentDescription":"ë§¤ì§ ë§í¬ë¥¼ ë³´ëìµëë¤:","openIn":"ì´ê¸°:","continue":"ê³ì","useDifferentEmail":"ë¤ë¥¸ ì´ë©ì¼ ì¬ì©","enterEmail":"ì´ë©ì¼ì ì
ë ¥íì¸ì...","or":"ëë","defaultErrorMessage":"ë§¤ì§ ë§í¬ë¥¼ ë³´ë¼ ì ììµëë¤","invalidEmail":"ì í¨íì§ ìì ì´ë©ì¼","emailRequired":"ì´ë©ì¼ì´ íìí©ëë¤","resendEmail":"ì´ë©ì¼ ì¬ì ì¡","checkSpam":"ì¤í¸ í´ë를 íì¸íì¸ì","linkSentTo":"ë§í¬ ì ì¡ ìë£:","resendIn":"ì¬ì ì¡ ({seconds}s)","sending":"ì ì¡ ì¤..."},"it-it":{"getStarted":"Inizia gratis","termsPrefix":"Continuando accetti i ","termsLink":"termini di HeyGen","loading":"Caricamento...","sent":"Controlla la tua casella di posta","sentDescription":"Abbiamo inviato un link magico a","openIn":"Apri in:","continue":"Continua","useDifferentEmail":"Usa un\'altra email","enterEmail":"Inserisci la tua email...","or":"O","defaultErrorMessage":"Impossibile inviare il link magico","invalidEmail":"Email non valida","emailRequired":"Email richiesta","resendEmail":"Reinvia email","checkSpam":"Controlla la cartella spam","linkSentTo":"Link inviato a","resendIn":"Reinvia ({seconds}s)","sending":"Invio..."},"nl-nl":{"getStarted":"Begin gratis","termsPrefix":"Door verder te gaan ga je akkoord met de ","termsLink":"voorwaarden van HeyGen","loading":"Laden...","sent":"Controleer je inbox","sentDescription":"We hebben een magische link gestuurd naar","openIn":"Openen in:","continue":"Doorgaan","useDifferentEmail":"Ander e-mailadres gebruiken","enterEmail":"Voer je e-mailadres in...","or":"Of","defaultErrorMessage":"Kan magische link niet verzenden","invalidEmail":"Ongeldig e-mailadres","emailRequired":"E-mailadres vereist","resendEmail":"E-mail opnieuw verzenden","checkSpam":"Controleer de spammap","linkSentTo":"Link verzonden naar","resendIn":"Opnieuw ({seconds}s)","sending":"Verzenden..."},"id-id":{"getStarted":"Mulai Gratis","termsPrefix":"Dengan melanjutkan, Anda menyetujui ","termsLink":"ketentuan HeyGen","loading":"Memuat...","sent":"Periksa kotak masuk Anda","sentDescription":"Kami telah mengirim tautan ajaib ke","openIn":"Buka di:","continue":"Lanjutkan","useDifferentEmail":"Gunakan email lain","enterEmail":"Masukkan email Anda...","or":"Atau","defaultErrorMessage":"Tidak dapat mengirim tautan ajaib","invalidEmail":"Email tidak valid","emailRequired":"Email diperlukan","resendEmail":"Kirim ulang email","checkSpam":"Periksa folder spam","linkSentTo":"Link terkirim ke","resendIn":"Kirim ulang ({seconds}s)","sending":"Mengirim..."},"ja-jp":{"getStarted":"ç¡æã§å§ãã","termsPrefix":"ç¶è¡ããã¨ã","termsLink":"HeyGenã®å©ç¨è¦ç´","termsSuffix":"ã«åæãããã®ã¨ã¿ãªããã¾ã","loading":"èªã¿è¾¼ã¿ä¸...","sent":"åä¿¡ãã¬ã¤ã確èªãã¦ãã ãã","sentDescription":"ãã¸ãã¯ãªã³ã¯ãéä¿¡ãã¾ããï¼","openIn":"éãï¼","continue":"ç¶è¡","useDifferentEmail":"å¥ã®ã¡ã¼ã«ã使ç¨","enterEmail":"ã¡ã¼ã«ã¢ãã¬ã¹ãå
¥åãã¦ãã ãã...","or":"ã¾ãã¯","defaultErrorMessage":"ãã¸ãã¯ãªã³ã¯ãéä¿¡ã§ãã¾ãã","invalidEmail":"ç¡å¹ãªã¡ã¼ã«ã¢ãã¬ã¹","emailRequired":"ã¡ã¼ã«ã¢ãã¬ã¹ãå¿
è¦ã§ã","resendEmail":"ã¡ã¼ã«ãåéä¿¡","checkSpam":"è¿·æã¡ã¼ã«ãã©ã«ãã確èª","linkSentTo":"ãªã³ã¯éä¿¡æ¸ã¿:","resendIn":"åéä¿¡ ({seconds}s)","sending":"éä¿¡ä¸..."},"zh-hk":{"getStarted":"å
è²»éå§","termsPrefix":"ç¹¼çºå³è¡¨ç¤ºæ¨åæ ","termsLink":"HeyGen çæ¢æ¬¾","loading":"è¼å
¥ä¸...","sent":"è«æª¢æ¥æ¶ä»¶ç®±","sentDescription":"æåå·²ç¼ééæ³é£çµè³","openIn":"éåï¼","continue":"ç¹¼çº","useDifferentEmail"
1:"使ç¨å
¶ä»é»éµ","enterEmail":"輸å
¥æ¨çé»éµ...","or":"æ","defaultErrorMessage":"ç¡æ³ç¼ééæ³é£çµ","invalidEmail":"é»éµç¡æ","emailRequired":"éè¦é»éµ","resendEmail":"éæ°ç¼éé»éµ","checkSpam":"檢æ¥åå¾éµä»¶","linkSentTo":"é£çµå·²ç¼éè³","resendIn":"éæ°ç¼é ({seconds}s)","sending":"ç¼éä¸..."},"vi-vn":{"getStarted":"Bắt Äầu miá»
n phÃ","termsPrefix":"Bằng cách tiếp tục, bạn Äá»ng ý vá»i ","termsLink":"Äiá»u khoản cá»§a HeyGen","loading":"Äang tải...","sent":"Kiá»m tra há»p thư cá»§a bạn","sentDescription":"Chúng tôi Äã gá»i liên kết ma thuáºt Äến","openIn":"Má» trong:","continue":"Tiếp tục","useDifferentEmail":"Sá» dụng email khác","enterEmail":"Nháºp email cá»§a bạn...","or":"Hoặc","defaultErrorMessage":"Không thá» gá»i liên kết ma thuáºt","invalidEmail":"Email không hợp lá»","emailRequired":"Email là bắt buá»c","resendEmail":"Gá»i lại email","checkSpam":"Kiá»m tra thư rác","linkSentTo":"Äã gá»i link Äến","resendIn":"Gá»i lại ({seconds}s)","sending":"Äang gá»i..."},"pl-pl":{"getStarted":"Zacznij za darmo","termsPrefix":"KontynuujÄ
c, akceptujesz ","termsLink":"regulamin HeyGen","loading":"Åadowanie...","sent":"Sprawdź skrzynkÄ odbiorczÄ
","sentDescription":"WysÅaliÅmy link magiczny na adres","openIn":"Otwórz w:","continue":"Kontynuuj","useDifferentEmail":"Użyj innego adresu e-mail","enterEmail":"Wprowadź swój e-mail...","or":"Lub","defaultErrorMessage":"Nie udaÅo siÄ wysÅaÄ linku magicznego","invalidEmail":"NieprawidÅowy adres e-mail","emailRequired":"Adres e-mail jest wymagany","resendEmail":"WyÅlij e-mail ponownie","checkSpam":"Sprawdź folder spam","linkSentTo":"Link wysÅany na","resendIn":"WyÅlij ponownie ({seconds}s)","sending":"WysyÅanie..."},"tl-ph":{"getStarted":"Magsimula nang Libre","termsPrefix":"Sa pagpapatuloy, sumasang-ayon ka sa ","termsLink":"mga tuntunin ng HeyGen","loading":"Naglo-load...","sent":"Suriin ang iyong inbox","sentDescription":"Nagpadala kami ng magic link sa","openIn":"Buksan sa:","continue":"Magpatuloy","useDifferentEmail":"Gumamit ng ibang email","enterEmail":"Ilagay ang iyong email...","or":"O","defaultErrorMessage":"Hindi maipadala ang magic link","invalidEmail":"Hindi wastong email","emailRequired":"Kailangan ang email","resendEmail":"Ipadala muli ang email","checkSpam":"Suriin ang spam folder","linkSentTo":"Naipadala ang link sa","resendIn":"Ipadala muli ({seconds}s)","sending":"Nagpapadala..."},"ar-sa":{"getStarted":"ابدأ Ù
Ø¬Ø§ÙØ§Ù","termsPrefix":"بÙ
ØªØ§Ø¨Ø¹ØªÙ ÙØ¥ÙÙ ØªÙØ§Ù٠عÙÙ ","termsLink":"Ø´Ø±ÙØ· HeyGen","loading":"Ø¬Ø§Ø±Ù Ø§ÙØªØÙ
ÙÙ...","sent":"تØÙÙÙ Ù
Ù Ø¨Ø±ÙØ¯Ù اÙÙØ§Ø±Ø¯","sentDescription":"أرسÙÙØ§ Ø±Ø§Ø¨Ø·ÙØ§ Ø³ØØ±ÙÙØ§ Ø¥ÙÙ","openIn":"Ø§ÙØªØ ÙÙ:","continue":"Ù
تابعة","useDifferentEmail":"استخدÙ
Ø¨Ø±ÙØ¯Ùا Ø¥ÙÙØªØ±ÙÙÙÙØ§ آخر","enterEmail":"Ø£Ø¯Ø®Ù Ø¨Ø±ÙØ¯Ù Ø§ÙØ¥ÙÙØªØ±ÙÙÙ...","or":"Ø£Ù","defaultErrorMessage":"ØªØ¹Ø°ÙØ± Ø¥Ø±Ø³Ø§Ù Ø§ÙØ±Ø§Ø¨Ø· Ø§ÙØ³ØØ±Ù","invalidEmail":"Ø¨Ø±ÙØ¯ Ø¥ÙÙØªØ±ÙÙÙ ØºÙØ± ØµØ§ÙØ","emailRequired":"Ø§ÙØ¨Ø±Ùد Ø§ÙØ¥ÙÙØªØ±ÙÙÙ Ù
Ø·ÙÙØ¨","resendEmail":"إعادة Ø¥Ø±Ø³Ø§Ù Ø§ÙØ¨Ø±Ùد","checkSpam":"تØÙÙÙ Ù
Ù Ù
Ø¬ÙØ¯ Ø§ÙØ±Ø³Ø§Ø¦Ù ØºÙØ± اÙÙ
Ø±ØºÙØ¨ ÙÙÙØ§","linkSentTo":"تÙ
Ø¥Ø±Ø³Ø§Ù Ø§ÙØ±Ø§Ø¨Ø· Ø¥ÙÙ","resendIn":"إعادة Ø§ÙØ¥Ø±Ø³Ø§Ù Ø®ÙØ§Ù ({seconds} ثاÙÙØ©)","sending":"Ø¬Ø§Ø±Ù Ø§ÙØ¥Ø±Ø³Ø§Ù..."},"ur-pk":{"getStarted":"Ù
ÙØª Ù
ÛÚº Ø´Ø±ÙØ¹ کرÛÚº","termsPrefix":"Ø¬Ø§Ø±Û Ø±Ú©Ú¾ کر آپ Ù
تÙÙ ÛÙØªÛ ÛÛÚº ","termsLink":"HeyGen Ú©Û Ø´Ø±Ø§Ø¦Ø·","loading":"ÙÙÚ ÛÙ Ø±ÛØ§ ÛÛ...","sent":"Ø§Ù¾ÙØ§ ا٠باکس ÚÛÚ© کرÛÚº","sentDescription":"ÛÙ
ÙÛ Ù
ÛØ¬Ú© ÙÙÚ© Ø¨Ú¾ÛØ¬ Ø¯ÛØ§ ÛÛ","openIn":"Ú©Ú¾ÙÙÛÚº:","continue":"Ø¬Ø§Ø±Û Ø±Ú©Ú¾ÛÚº","useDifferentEmail":"Ù
ختÙÙ Ø§Û Ù
Û٠استعÙ
ا٠کرÛÚº","enterEmail":"Ø§Ù¾ÙØ§ Ø§Û Ù
Û٠درج کرÛÚº...","or":"ÛØ§","defaultErrorMessage":"Ù
ÛØ¬Ú© ÙÙÚ© ÙÛ Ø¨Ú¾ÛØ¬Ø§ جا سکا","invali
1dEmail":"ØºÙØ· Ø§Û Ù
ÛÙ","emailRequired":"Ø§Û Ù
ÛÙ Ø¶Ø±ÙØ±Û ÛÛ","resendEmail":"Ø§Û Ù
ÛÙ Ø¯ÙØ¨Ø§Ø±Û Ø¨Ú¾ÛØ¬ÛÚº","checkSpam":"اسپاÙ
ÙÙÙÚØ± ÚÛÚ© کرÛÚº","linkSentTo":"ÙÙÚ© Ø¨Ú¾ÛØ¬ Ø¯ÛØ§ Ú¯ÛØ§","resendIn":"Ø¯ÙØ¨Ø§Ø±Û Ø¨Ú¾ÛØ¬ÛÚº ({seconds}s)","sending":"Ø¨Ú¾ÛØ¬Ø§ جا Ø±ÛØ§ ÛÛ..."},"es-mx":{"getStarted":"Empieza gratis","termsPrefix":"Al continuar, aceptas los ","termsLink":"términos de HeyGen","loading":"Cargando...","sent":"Revisa tu bandeja de entrada","sentDescription":"Te enviamos un enlace mágico a","openIn":"Abrir en:","continue":"Continuar","useDifferentEmail":"Usar otro correo electrónico","enterEmail":"Ingresa tu correo electrónico...","or":"O","defaultErrorMessage":"No se pudo enviar el enlace mágico","invalidEmail":"Correo electrónico no válido","emailRequired":"El correo electrónico es obligatorio","resendEmail":"Reenviar correo","checkSpam":"Revisa la carpeta de spam","linkSentTo":"Enlace enviado a","resendIn":"Reenviar ({seconds}s)","sending":"Enviando..."},"tr-tr":{"getStarted":"Ãcretsiz baÅlayın","termsPrefix":"Devam ederek Åunları kabul etmiÅ olursunuz: ","termsLink":"HeyGen koÅulları","loading":"Yükleniyor...","sent":"Gelen kutunuzu kontrol edin","sentDescription":"Sihirli bir baÄlantı gönderdik:","openIn":"Åurada aç:","continue":"Devam et","useDifferentEmail":"Farklı bir e-posta kullan","enterEmail":"E-posta adresinizi girin...","or":"Veya","defaultErrorMessage":"Sihirli baÄlantı gönderilemedi","invalidEmail":"Geçersiz e-posta","emailRequired":"E-posta gerekli","resendEmail":"E-postayı tekrar gönder","checkSpam":"Spam klasörünü kontrol edin","linkSentTo":"BaÄlantı gönderildi:","resendIn":"Tekrar gönder ({seconds}s)","sending":"Gönderiliyor..."},"th-th":{"getStarted":"à¹à¸£à¸´à¹à¸¡à¸à¹à¸à¹à¸à¹à¸à¸²à¸à¸à¸£à¸µ","termsPrefix":"à¹à¸¡à¸·à¹à¸à¸à¸³à¹à¸à¸´à¸à¸à¸²à¸£à¸à¹à¸ à¸à¸¸à¸à¸¢à¸à¸¡à¸£à¸±à¸","termsLink":"à¸à¹à¸à¸à¸³à¸«à¸à¸à¸à¸à¸ HeyGen","loading":"à¸à¸³à¸¥à¸±à¸à¹à¸«à¸¥à¸...","sent":"à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¸¥à¹à¸à¸à¸à¸à¸«à¸¡à¸²à¸¢à¸à¸à¸à¸à¸¸à¸","sentDescription":"à¹à¸£à¸²à¹à¸à¹à¸ªà¹à¸ magic link à¹à¸à¸¢à¸±à¸","openIn":"à¹à¸à¸´à¸à¹à¸:","continue":"à¸à¸³à¹à¸à¸´à¸à¸à¸²à¸£à¸à¹à¸","useDifferentEmail":"à¹à¸à¹à¸à¸µà¹à¸¡à¸¥à¸à¸·à¹à¸","enterEmail":"à¸à¸£à¸à¸à¸à¸µà¹à¸¡à¸¥à¸à¸à¸à¸à¸¸à¸...","or":"หรืà¸","defaultErrorMessage":"à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸ªà¹à¸ magic link à¹à¸à¹","invali
1dEmail":"à¸à¸µà¹à¸¡à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸","emailRequired":"à¸à¹à¸à¸à¸£à¸°à¸à¸¸à¸à¸µà¹à¸¡à¸¥","resendEmail":"สà¹à¸à¸à¸µà¹à¸¡à¸¥à¸à¸µà¸à¸à¸£à¸±à¹à¸","checkSpam":"à¸à¸£à¸§à¸à¸ªà¸à¸à¹à¸à¸¥à¹à¸à¸à¸£à¹à¸ªà¹à¸à¸¡","linkSentTo":"สà¹à¸à¸¥à¸´à¸à¸à¹à¹à¸à¸¢à¸±à¸","resendIn":"สà¹à¸à¸à¸µà¸à¸à¸£à¸±à¹à¸ ({seconds}s)","sending":"à¸à¸³à¸¥à¸±à¸à¸ªà¹à¸..."},"uk-ua":{"getStarted":"ÐоÑаÑи безкоÑÑовно","termsPrefix":"ÐÑодовжÑÑÑи, Ðи погоджÑÑÑеÑÑ Ð· ","termsLink":"Ñмовами HeyGen","loading":"ÐаванÑаженнÑ...","sent":"ÐеÑевÑÑÑе ÑÐ²Ð¾Ñ Ð¿Ð¾ÑÑÐ¾Ð²Ñ ÑкÑинÑкÑ","sentDescription":"Ðи надÑÑлали magic link на","openIn":"ÐÑдкÑиÑи в:","continue":"ÐÑодовжиÑи","useDifferentEmail":"ÐикоÑиÑÑаÑи ÑнÑÑ email-адÑеÑÑ","enterEmail":"ÐведÑÑÑ ÑвÑй email...","or":"Ðбо","defaultErrorMessage":"Ðе вдалоÑÑ Ð½Ð°Ð´ÑÑлаÑи magic link","invalidEmail":"ÐевÑÑний email","emailRequired":"Email Ñ Ð¾Ð±Ð¾Ð²\'Ñзковим","resendEmail":"ÐадÑÑлаÑи email повÑоÑно","checkSpam":"ÐеÑевÑÑÑе Ð¿Ð°Ð¿ÐºÑ Ñпам","linkSentTo":"ÐоÑÐ¸Ð»Ð°Ð½Ð½Ñ Ð½Ð°Ð´ÑÑлано на","resendIn":"ÐадÑÑлаÑи Ñе Ñаз ({seconds}s)","sending":"ÐадÑилаÑмо..."},"he-il":{"getStarted":"×ת×××× ×××× ×","termsPrefix":"××××©× ××ª× ×ס××××× ×","termsLink":"×ª× ×× HeyGen","loading":"×××¢×...","sent":"×××§× ×ת ת××ת ××××ר","sentDescription":"ש××× × ×§×ש×ר ×§×¡× ××","openIn":"פת×× ×:","continue":"××ש×","useDifferentEmail":"×שת××©× ×××××´× ××ר","enterEmail":"×××× × ×ת ×××××´× ×©×××...","or":"××","defaultErrorMessage":"×× × ××ª× ×ש××× ×§×ש×ר קס×","invalidEmail":"××××´× ×× ×ª×§××","emailRequired":"××××´× × ×רש","resendEmail":"ש××× ×©××","checkSpam":"×××§× ×ª××§××ת ספ××","linkSentTo":"××§×ש×ר × ×©×× ××","resendIn":"ש××× ×©×× ({seconds}×©× ×³)","sending":"ש×××..."},"zh-tw":{"getStarted":"å
è²»éå§ä½¿ç¨","termsPrefix":"ç¹¼çºå³è¡¨ç¤ºæ¨åæ ","termsLink":"HeyGen çæ¢æ¬¾","loading":"è¼å
¥ä¸â¯","sent":"è«æ¥çæ¶ä»¶å£","sentDescription":"æåå·²å° magic link å¯è³","openIn":"æ¼ä»¥ä¸éåï¼","continue":"ç¹¼çº","useDifferentEmail":"使ç¨å
¶ä»é»åéµä»¶","enterEmail":"è«è¼¸å
¥æ¨çé»åéµä»¶â¯","or":"æ","defaultErrorMessage":"ç¡æ³å³é magic link","invalidEmail":"é»åéµä»¶ç¡æ","emailRequired":"è«è¼¸å
¥é»åéµä»¶","resendEmail":"éæ°å³ééµä»¶","checkSpam":"è«æª¢æ¥åå¾éµä»¶è³æå¤¾","linkSentTo":"é£çµå·²å³éè³","resendIn":"éæ°å³é ({seconds}s)","sending":"å³éä¸â¯"},"sv-se":{"getStarted":"Kom igÃ¥ng gratis","termsPrefix":"Genom att fortsätta godkänner du ","termsLink":"HeyGens villkor","loading":"Laddar...","sent":"Kolla din inkorg","sentDescription":"Vi har skickat en magisk länk till","openIn":"Ãppna i:","continue":"Fortsätt","useDifferentEmail":"Använd en annan e-postadress","enterEmail":"Ange din e-postadress...","or":"Eller","defaultErrorMessage":"Kunde inte skicka den magiska länken","invalidEmail":"Ogiltig e-postadress","emailRequired":"E-postadress krävs","resendEmail":"Skicka e-posten igen","checkSpam":"Kolla skräppostmappen","linkSentTo":"Länk skickad till","resendIn":"Skicka igen ({seconds} s)","sending":"Skickar..."}}')},510815,e=>{"use strict";var n=e.i(722613),t=e.i(713842),i=e.i(140732),a=e.i(697900),r=e.i(561137),o=e.i(412261),s=e.i(108689);let l=(0,e.i(323051).default)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var d=e.i(392810);function c({className:e=""}){let[i,a]=(0,t.useState)(!1),r=async()=>{try{await navigator.clipboard.writeText(window.location.href),a(!0),setTimeout(()=>a(!1),2e3)}catch{let e=document.createElement("textarea");e.value=window.location.href,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),a(!0),setTimeout(()=>a(!1),2e3)}},m=(0,d.isIOSDevice)();return(0,n.jsx)("div",{className:`rounded-[16px] border border-heygen-blue-hey/2
10 bg-light-blue p-[16px] ${e}`,children:(0,n.jsxs)("div",{className:"flex items-start gap-[12px]",children:[(0,n.jsx)("span",{className:"mt-[2px] shrink-0 text-hey-blue",children:(0,n.jsx)(l,{size:20})}),(0,n.jsxs)("div",{className:"flex-1",children:[(0,n.jsx)("p",{className:"text-[14px] font-medium text-dark-blue",children:"You're using an in-app browser"}),(0,n.jsxs)("p",{className:"mt-[4px] text-[12px] leading-relaxed text-dark-blue/70",children:["Google sign-in is not available here. Copy this URL and open it in ",m?"Safari":"Chrome",", or continue with email below."]}),(0,n.jsx)("button",{type:"button",onClick:r,className:"mt-[12px] inline-flex items-center gap-[6px] rounded-full bg-hey-blue px-[16px] py-[8px] text-[12px] font-medium text-white transition-colors hover:bg-hey-blue/90",children:i?(0,n.jsxs)(n.Fragment,{children:["Copied!",(0,n.jsx)(s.Check,{size:14})]}):(0,n.jsxs)(n.Fragment,{children:["Copy URL",(0,n.jsx)(o.Copy,{size:14})]})})]})]})})}var m=e.i(25991),p=e.i(442434),u=e.i(632135),g=e.i(851712),h=e.i(70280);let k=(0,t.memo)(({locale:e="en-us",buttonVariant:o="hey-blue"})=>{let s=(0,g.getTranslations)(e,h.default),l=(0,i.useSearchParams)(),d=(0,m.usePostAuthRedirect)(),k="https://app.heygen.com/".replace(/\/$/,""),f=l?.get("guest")==="1"&&d&&"/"!==d?`${k}${d}`:void 0,[x,E]=(0,t.useState)(!1);return(0,n.jsxs)("div",{className:"flex flex-col gap-8 md:gap-12 w-full max-w-600",children:[x&&(0,n.jsx)(c,{className:"mb-4"}),(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row gap-8 md:gap-12 items-center justify-center lg:justify-start",children:[(0,n.jsx)("div",{className:"shrink-0",children:(0,n.jsx)(r.GoogleSignInButtonAPI,{buttonId:"hero-signup-form",redirectPath:d??void 0,onInAppBrowserBlocked:()=>E(!0)})}),(0,n.jsx)(a.default,{variant:o,buttonType:"button",clickEventType:p.HeygenEventType.CTAClickSignup,clickEventData:{label:f?"cta-guest-mode":"cta-direct-auth"},onClick:()=>{if(f){window.location.href=f;return}if(d&&"/"!==d)return void window.open(`${k}${d}`,"_blank");let e="https://auth.heygen.com";window.open((0,u.appendPostAuthRedirect)(e,d)??e,"_blank")},wrapperClassName:"!px-12 md:!px-20",className:"whitespace-nowrap",children:s.getStarted})]})]})});e.s(["default",0,k],510815)},323051,e=>{"use strict";var n=e.i(713842);let t=(...e)=>e.filter((e,n,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===n).join(" ").trim();var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,n.forwardRef)(({color:e="currentColor",size:a=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:s="",children:l,iconNode:d,...c},m)=>(0,n.createElement)("svg",{ref:m,...i,width:a,height:a,stroke:e,strokeWidth:o?24*Number(r)/Number(a):r,className:t("lucide",s),...c},[...d.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(l)?l:[l]]));e.s(["default",0,(e,i)=>{let r=(0,n.forwardRef)(({className:r,...o},s)=>(0,n.createElement)(a,{ref:s,iconNode:i,className:t(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,r),...o}));return r.displayName=`${e}`,r}],323051)},108689,e=>{"use strict";let n=(0,e.i(323051).default)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,n],108689)},412261,e=>{"use strict";let n=(0,e.i(323051).default)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,n],412261)}]);
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.