1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5465],{85465:(e,t,o)=>{o.r(t),o.d(t,{SignupSuccessHandler:()=>a});var s=o(12115),r=o(35695),n=o(56671);let i={background:"#FFFFFF",color:"#1D1D1F",border:"1px solid rgba(255, 112, 67, 0.3)",borderLeft:"3px solid #FF7043",borderRadius:"10px",padding:"12px 16px",boxShadow:"0 4px 16px rgba(0, 0, 0, 0.08)",fontSize:"14px",fontWeight:"500",letterSpacing:"-0.01em"};function a(){let e=(0,r.useSearchParams)(),t=(0,r.useRouter)(),o=(0,r.usePathname)();return(0,s.useEffect)(()=>{let s="true"===e.get("signup"),r=e.get("bonus");if(!s||!r)return;let a=`signup-bonus-toast-shown-${r}`;if(sessionStorage.getItem(a)){let s=new URLSearchParams(e.toString());s.delete("signup"),s.delete("bonus"),s.delete("intent");let r=o+(s.toString()?"?"+s.toString():"");t.replace(r,{scroll:!1});return}sessionStorage.setItem(a,"true");let u=new URLSearchParams(e.toString());u.delete("signup"),u.delete("bonus"),u.delete("intent");let l=o+(u.toString()?"?"+u.toString():"");t.replace(l,{scroll:!1}),"true"===sessionStorage.getItem("svgai_google_oauth_pending")&&sessionStorage.removeItem("svgai_google_oauth_pending");try{let e=localStorage.getItem("svgai_pending_prompt");if(e){let t=JSON.parse(e);t?.prompt}}catch{}setTimeout(()=>{1;n.toast.dismiss("signup-bonus-toast"),n.toast.success(`ð You got ${r} free credits! Hit Generate below to start!`,{id:"signup-bonus-toast",duration:8e3,style:i}),setTimeout(()=>{let e=document.getElementById("prompt-input");e&&(e.scrollIntoView({behavior:"smooth",block:"center"}),e.focus())},300)},100)},[e,o,t]),null}}}]);
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.