PageSourceSearch

https://www.renderpop.app/_next/static/chunks/44n2q5ur5gba7.js

js renderpop.app collected 2026-10-04 15:04:19 UTC 30,395 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,6331,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},83875,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return s}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function l(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}},4380,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return x},MissingStaticPage:function(){return w},NormalizeError:function(){return v},PageNotFoundError:function(){return b},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return o},execOnce:function(){return a},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return f},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return _}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return r||(r=!0,t=e(...i)),t}}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>s.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class v extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class w extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class x extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function _(e){return JSON.stringify({message:e.message,stack:e.stack})}},47954,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=e.r(43188);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},3355,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(44066)._(e.r(83875)),a=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${i}${c}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},51158,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(4380),i=e.r(96489);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},34363,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},44831,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(44066),a=e.r(59055),s=o._(e.r(43188)),l=e.r(3355),u=e.r(87777),c=e.r(47954),d=e.r(4380),f=e.r(21632);e.r(6331);let h=e.r(88759),p=e.r(24941),m=e.r(51158),g=e.r(39780);function y(t){var r,n;let i,o,y,[b,w]=(0,s.useOptimistic)(p.IDLE_LINK_STATUS),x=(0,s.useRef)(null),{href:_,as:S,children:k,prefetch:j=null,passHref:C,replace:E,shallow:N,scroll:I,onClick:P,onMouseEnter:O,onTouchStart:R,legacyBehavior:U=!1,onNavigate:T,transitionTypes:A,ref:$,unstable_dynamicOnHover:M,...L}=t;i=k,U&&("string"==typeof i||"number"==typeof i)&&(i=(0,a.jsx)("a",{children:i}));let z=s.default.useContext(u.AppRouterContext),B=!1!==j,D=!1!==j?null===(n=j)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,F="string"==typeof(r=S||_)?r:(0,l.formatUrl)(r);if(U){if((null==i?void 0:i.$$typeof)===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(i)}let G=U?o&&"object"==typeof o&&o.ref:$,W=s.default.useCallback(e=>(null!==z&&(x.current=(0,p.mountLinkInstance)(e,F,z,D,B,w)),()=>{x.current&&((0,p.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,p.unmountPrefetchableInstance)(e)}),[B,F,z,D,w]),V={ref:(0,c.useMergedRef)(W,G),onClick(t){U||"function"!=typeof P||P(t),U&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!z||t.defaultPrevented||function(t,r,n,i,o,a,l){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){i&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99889);s.default.startTransition(()=>{d(r,i?"replace":"push",!1===o?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,l)})}}(t,F,x,E,I,T,A)},onMouseEnter(e){U||"function"!=typeof O||O(e),U&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),z&&B&&(0,p.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){U||"function"!=typeof R||R(e),U&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),z&&B&&(0,p.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,d.isAbsoluteUrl)(F)?V.href=F:U&&!C&&("a"!==o.type||"href"in o.props)||(V.href=(0,f.addBasePath)(F)),y=U?s.default.cloneElement(o,V
1):(0,a.jsx)("a",{...L,...V,children:i}),(0,a.jsx)(v.Provider,{value:b,children:y})}e.r(34363);let v=(0,s.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,s.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},30919,13580,e=>{"use strict";let t="renderpop_visitor_id";function r(){try{let e=window.localStorage.getItem(t);if(e&&e.length>=8)return e;let r="u">typeof crypto&&"randomUUID"in crypto?crypto.randomUUID():`v_${Date.now().toString(36)}_${Math.random().toString(36).slice(2,10)}`;return window.localStorage.setItem(t,r),r}catch{return`v_session_${Date.now().toString(36)}`}}e.s(["getVisitorId",0,r],13580);let n="renderpop.analyticsAttribution.v2",i={};function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=function(){let e=window;if(e.clarity)return e.clarity;let t=function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];t.q??=[],t.q.push(r)};return e.clarity=t,t}();if(r){for(let[e,n]of Object.entries(t))r("set",e,n);r("event",e)}}function a(e){let t=e.replace(/^\/(?:en|es)(?=\/|$)/,"")||"/";return/^\/create\/[^/]+/.test(t)?"/create/:sessionId":t}e.s(["syncAnalyticsSnapshot",0,function(e){i=e},"trackClarityEvent",0,o,"trackConversion",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=window.location.pathname,l={plan:i.plan??"VISITOR",credits_available:i.creditsAvailable??0,fast_remaining:i.fastRemaining??0,page:s,page_template:a(s),tool:s.includes("face-swap")?"faceswap":s.includes("dance")?"dance":s.includes("headshot")?"headshots":s.includes("pricing")?"pricing":s.includes("image-to-video")||s.includes("ai-video")?"video":s.includes("color-inverter")?"color-inverter":s.includes("ai-image")||s.includes("/create")?"image":"/"===s||"/es"===s||"/es/"===s?"home":void 0,locale:i.locale??document.documentElement.lang??"en",device_type:window.innerWidth<640?"mobile":window.innerWidth<1024?"tablet":"desktop",viewport_width:window.innerWidth,event_version:2,experiment_variant:"task_offer_v1",...function(){let e=new URLSearchParams(window.location.search),t={utm_source:e.get("utm_source"),utm_medium:e.get("utm_medium"),utm_campaign:e.get("utm_campaign"),utm_content:e.get("utm_content"),utm_term:e.get("utm_term")},r=Object.values(t).some(Boolean),i={};try{let e=sessionStorage.getItem(n);e&&(i=JSON.parse(e))}catch{}if(0===Object.keys(i).length){let e=null;if(document.referrer)try{e=new URL(document.referrer).hostname||null}catch{e=null}i={...r?t:{},referrer_host:e,landing_page_template:a(window.location.pathname)};try{sessionStorage.setItem(n,JSON.stringify(i))}catch{}}return i}(),...t};o(e,function(e){let t={};for(let[r,n]of Object.entries(e))null!=n&&(t[r]=String(n));return t}(l));let u=r();u&&fetch("/api/v1/analytics/events",{method:"POST",headers:{"Content-Type":"application/json","X-Visitor-Id":u},body:JSON.stringify({events:[{name:e,occurred_at:new Date().toISOString(),properties:l}]}),credentials:"include",keepalive:!0}).catch(()=>{})}],30919)},56336,e=>{"use strict";var t=e.i(43188),r={outline:{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"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};e.s(["default",0,(e,n,i,o)=>{let a=(0,t.forwardRef)((i,a)=>{let{color:s="currentColor",size:l=24,stroke:u=2,title:c,className:d,children:f,...h}=i;return(0,t.createElement)("svg",{ref:a,...r[e],width:l,height:l,className:["tabler-icon",`tabler-icon-${n}`,d].join(" "),..."filled"===e?{fill:s}:{strokeWidth:u,stroke:s},...h},[c&&(0,t.createElement)("title",{key:"svg-title"},c),...o.map(e=>{let[r,n]=e;return(0,t.createElement)(r,n)}),...Array.isArray(f)?f:[f]])});return a.displayName=`${i}`,a}],56336)},17268,e=>{"use strict";let t=(0,e.i(56336).default)("outline","sparkles","Sparkles",[["path",{d:"M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6",key:"svg-0"}]]);e.s(["IconSparkles",0,t],17268)},68275,e=>{"use strict";e.s(["_",0,function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}])},62395,e=>{"use strict";let t=(0,e.i(56336).default)("outline","check","Check",[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]]);e.s(["IconCheck",0,t],62395)},47133,e=>{"use strict";let t={name:"RenderPop",description:"Free AI image generator with no sign-up for Fast mode. Create from a prompt or photo, then make AI videos with credits when you need motion.",url:"https://www.renderpop.app",tagline:"AI images and videos, without model setup"};e.s(["SIGNUP_BONUS_CREDITS",0,10,"SIGNUP_BONUS_QUERY",0,"signup_bonus","publicSiteOrigin",0,function(){return t.url.replace(/\/$/,"")},"siteConfig",0,t])},69274,e=>{"use strict";let t=(0,e.i(56336).default)("outline","loader-2","Loader2",[["path",{d:"M12 3a9 9 0 1 0 9 9",key:"svg-0"}]]);e.s(["IconLoader2",0,t],69274)},28536,e=>{"use strict";let t=(0,e.i(56336).default)("outline","x","X",[["path",{d:"M18 6l-12 12",ke
1y:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]]);e.s(["IconX",0,t],28536)},9165,e=>{"use strict";var t=e.i(68275),r=e.i(13580);class n extends Error{constructor(e,r,n,i){super(e),(0,t._)(this,"status",void 0),(0,t._)(this,"code",void 0),(0,t._)(this,"body",void 0),this.status=r,this.code=n,this.body=i,this.name="ApiError"}}async function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.startsWith("/api/")?e:`/api/v1${e.startsWith("/")?e:`/${e}`}`,i=new Headers(t.headers);if(void 0===t.body||i.has("Content-Type")||i.set("Content-Type","application/json"),!t.skipVisitor){let e=(0,r.getVisitorId)();e&&i.set("X-Visitor-Id",e)}return await fetch(n,{method:t.method??(void 0!==t.body?"POST":"GET"),headers:i,body:void 0!==t.body?JSON.stringify(t.body):void 0,credentials:"include",signal:t.signal,cache:t.cache,keepalive:t.keepalive})}async function o(e){let t=await e.text(),r=null;if(t)try{r=JSON.parse(t)}catch{r=t}let{message:i,code:o}=function(e,t){if("object"==typeof e&&null!==e){if("string"==typeof e.message)return{message:e.message,code:"string"==typeof e.code?e.code:null};if("string"==typeof e.detail)return{message:e.detail,code:null};if("object"==typeof e.detail&&null!==e.detail&&"message"in e.detail){let r=e.detail;return{message:"string"==typeof r.message?r.message:`Request failed (${t})`,code:"string"==typeof r.code?r.code:null}}}return{message:`Request failed (${t})`,code:null}}(r,e.status);return new n(i,e.status,o,r)}async function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=await i(e,t);if(!r.ok)throw await o(r);let n=await r.text(),a=null;if(n)try{a=JSON.parse(n)}catch{a=n}return a}async function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=await i(e,t);if(!r.ok)throw await o(r);return r.blob()}async function l(){return a("/billing/products")}async function u(e){return a("/billing/task-offer",{method:"POST",body:e})}async function c(){return a("/me/entitlements")}async function d(e){return a("/billing/checkout-sessions",{method:"POST",headers:{"Idempotency-Key":"u">typeof crypto&&crypto.randomUUID?crypto.randomUUID():`checkout-${Date.now()}-${Math.random().toString(36).slice(2,9)}`},body:{product_code:e.productCode,success_url:e.successUrl,cancel_url:e.cancelUrl,source:e.source,offer_context:e.offerContext}})}async function f(e){return a(`/billing/orders/${encodeURIComponent(e)}`)}e.s(["ApiError",0,n,"apiFetch",0,a,"apiFetchBlob",0,s,"createCheckoutSession",0,d,"fetchBillingOrder",0,f,"fetchEntitlements",0,c,"fetchProducts",0,l,"fetchTaskOffer",0,u,"isAuthRequired",0,function(e){return e instanceof n&&(401===e.status||"AUTH_REQUIRED"===e.code)}])},21398,53037,84616,e=>{"use strict";var t=e.i(59055),r=e.i(43188),n=e.i(69274),i=e.i(92781),o=e.i(9165);let a=(0,r.createContext)(void 0),s=null;function l(){let e=(0,r.useContext)(a);if(!e)throw Error("useGoogleIdentity must be used within GoogleIdentityProvider");return e}function u(){return!!l().error}function c(){let e=(0,r.useContext)(a);return(null==e?void 0:e.isSubmitting)??!1}function d(e){let{fallbackHref:o}=e,{status:a,isSubmitting:s,activate:u,renderButton:c}=l(),{t:d}=(0,i.useI18n)(),f=(0,r.useRef)(null);return((0,r.useEffect)(()=>{u()},[u]),(0,r.useEffect)(()=>{"ready"===a&&f.current&&!s&&c(f.current)},[s,c,a]),s)?(0,t.jsxs)("div",{className:"flex h-11 w-full items-center justify-center gap-2.5 rounded-lg border border-white/10 bg-white/10 px-4 text-sm font-medium text-white shadow-inner backdrop-blur-sm","aria-busy":"true","aria-disabled":"true",children:[(0,t.jsx)(n.IconLoader2,{className:"size-4 animate-spin text-zinc-300",stroke:2.2}),(0,t.jsx)("span",{children:d("auth.signingIn")})]}):"unavailable"===a?(0,t.jsx)("a",{href:o,className:"flex h-11 w-full items-center justify-center rounded-lg bg-white text-sm font-semibold text-zinc-950 transition hover:bg-zinc-200",children:d("auth.continueGoogle")}):(0,t.jsx)("div",{"aria-busy":s,children:(0,t.jsx)("div",{ref:f,className:"min-h-11 overflow-hidden rounded-lg [&>div]:!w-full"})})}e.s(["GoogleIdentityProvider",0,function(e){let{children:n,onSignedIn:i}=e,[l,u]=(0,r.useState)("loading"),[c,d]=(0,r.useState)(!1),[f,h]=(0,r.useState)(!1),[p,m]=(0,r.useState)(null),g=(0,r.useRef)(i);(0,r.useEffect)(()=>{g.current=i},[i]);let y=(0,r.useCallback)(async e=>{h(!0),m(null);try{let t=await (0,o.apiFetch)("/auth/google/credential",{method:"POST",body:{credential:e},headers:{"X-Requested-With":"XMLHttpRequest"}});await g.current({signupBonusGranted:!!t.signup_bonus_granted,signupBonusCredits:t.signup_bonus_credits??null})}catch(e){console.error("[Google Auth Error]",e),m((e instanceof o.ApiError&&e.message?e.message:null)||"We couldn't complete that sign-in. Please try again.")}finally{h(!1)}},[]);(0,r.useEffect)(()=>{var e;if(!c)return;let t=!0;return Promise.all([(0,o.apiFetch)("/auth/google/config",{skipVisitor:!0}),(null==(e=window.google)?void 0:e.accounts.id)?Promise.resolve():s||(s=new Promise((e,t)=>
1{let r=document.getElementById("google-identity-services"),n=r??document.createElement("script");n.addEventListener("load",()=>{var r;return(null==(r=window.google)?void 0:r.accounts.id)?e():t(Error("Google Identity Services did not load."))},{once:!0}),n.addEventListener("error",()=>t(Error("Google Identity Services failed to load.")),{once:!0}),r||(n.id="google-identity-services",n.src="https://accounts.google.com/gsi/client",n.async=!0,n.defer=!0,document.head.appendChild(n))}))]).then(e=>{var r;let[n]=e;t&&(null==(r=window.google)?void 0:r.accounts.id)&&(window.google.accounts.id.initialize({client_id:n.client_id,callback:e=>{e.credential&&y(e.credential)},auto_select:!1,cancel_on_tap_outside:!0,itp_support:!0}),u("ready"))}).catch(()=>{t&&u("unavailable")}),()=>{t=!1}},[y,c]);let v=(0,r.useCallback)(()=>d(!0),[]),b=(0,r.useCallback)(e=>{var t;if(!(null==(t=window.google)?void 0:t.accounts.id))return;e.replaceChildren();let r=Math.min(344,Math.floor(e.getBoundingClientRect().width||344));window.google.accounts.id.renderButton(e,{type:"standard",theme:"outline",size:"large",text:"continue_with",shape:"rectangular",logo_alignment:"left",width:r})},[]),w=(0,r.useMemo)(()=>({status:l,isSubmitting:f,error:p,activate:v,renderButton:b}),[l,f,p,v,b]);return(0,t.jsx)(a.Provider,{value:w,children:n})},"GoogleSignInButton",0,d,"useGoogleIdentityError",0,u,"useGoogleIdentitySubmitting",0,c],53037);var f=e.i(17268),h=e.i(28536),p=e.i(44831);function m(e){let{title:r,subtitle:n,returnTo:o,onClose:a,hasOAuthError:s=!1,footerNote:l,className:m=""}=e,{t:g}=(0,i.useI18n)(),y=u(),v=c(),b=`/api/v1/auth/google/start?return_to=${encodeURIComponent(o)}`;return(0,t.jsxs)("section",{role:"dialog","aria-modal":"true","aria-labelledby":"sign-in-card-title",className:`w-full max-w-[25rem] rounded-2xl border border-white/[0.12] bg-[#121214] p-5 shadow-2xl shadow-black/70 sm:p-7 ${m}`,onMouseDown:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-5",children:[(0,t.jsx)("div",{className:"flex size-10 items-center justify-center rounded-xl bg-gradient-to-br from-[#6a22ff] via-[#bd22c7] to-[#ff4c68] text-white shadow-lg shadow-fuchsia-500/20",children:(0,t.jsx)(f.IconSparkles,{size:19,stroke:2.25})}),a&&(0,t.jsx)("button",{type:"button",onClick:a,disabled:v,className:"-mr-1 -mt-1 inline-flex size-8 items-center justify-center rounded-lg text-zinc-400 transition hover:bg-white/[0.08] hover:text-white active:scale-95 disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-transparent disabled:hover:text-zinc-400","aria-label":g("auth.closeWall"),children:(0,t.jsx)(h.IconX,{className:"size-4",stroke:2.1})})]}),(0,t.jsx)("h2",{id:"sign-in-card-title",className:"mt-5 text-xl font-semibold tracking-[-0.035em] text-white",children:r||g("auth.title")}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-6 text-zinc-400",children:n||g("auth.subtitle")}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(d,{fallbackHref:b})}),s||y?(0,t.jsx)("p",{className:"mt-3 rounded-lg border border-rose-400/20 bg-rose-400/[0.08] px-3 py-2 text-center text-xs text-rose-300",children:g("auth.oauthError")}):null,l&&(0,t.jsx)("p",{className:"mt-4 text-center text-xs leading-5 text-zinc-500",children:l}),(0,t.jsxs)("p",{className:"mt-5 text-center text-xs leading-5 text-zinc-500",children:[g("auth.privacyNotePrefix"),(0,t.jsx)(p.default,{href:"/terms",className:"text-zinc-300 underline underline-offset-2 transition hover:text-white",children:g("footer.terms")}),g("auth.privacyNoteBetween"),(0,t.jsx)(p.default,{href:"/privacy",className:"text-zinc-300 underline underline-offset-2 transition hover:text-white",children:g("footer.privacy")}),"."]})]})}e.s(["SignInCard",0,m],84616),e.s(["LoginWall",0,function(e){let{open:n,returnTo:o,trigger:a,onClose:s}=e,{t:l}=(0,i.useI18n)(),u=c(),d="checkout"===a;return((0,r.useEffect)(()=>{if(!n)return;let e=e=>{"Escape"!==e.key||u||s()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[u,s,n]),n)?(0,t.jsx)("div",{className:"fixed inset-0 z-[200] flex items-end justify-center bg-black/80 p-3.5 backdrop-blur-md sm:items-center sm:p-6 animate-in fade-in duration-150",role:"presentation",onMouseDown:u?void 0:s,children:(0,t.jsx)(m,{title:l(d?"auth.checkoutWallTitle":"auth.wallTitle"),subtitle:l(d?"auth.checkoutWallSubtitle":"auth.wallSubtitle"),returnTo:o,onClose:s,footerNote:l(d?"auth.checkoutWallReturnNote":"auth.wallReturnNote")})}):null}],21398)},15737,e=>{"use strict";let t=(0,e.i(56336).default)("outline","coins","Coins",[["path",{d:"M9 14c0 1.657 2.686 3 6 3s6 -1.343 6 -3s-2.686 -3 -6 -3s-6 1.343 -6 3",key:"svg-0"}],["path",{d:"M9 14v4c0 1.656 2.686 3 6 3s6 -1.344 6 -3v-4",key:"svg-1"}],["path",{d:"M3 6c0 1.072 1.144 2.062 3 2.598s4.144 .536 6 0c1.856 -.536 3 -1.526 3 -2.598c0 -1.072 -1.144 -2.062 -3 -2.598s-4.144 -.536 -6 0c-1.856 .536 -3 1.526 -3 2.598",key:"svg-2"}],["path",{d:"M3 6v10c0 .888 .772 1.45 2 2",key:"svg-3"}],["path",{d:"M3 11c0 .888 .772 1.45 2 2",key:"svg-4"}]]);e.s(["IconCoins",0,t],15737)},2594,82628,e=>{"use strict";
1var t=e.i(59055),r=e.i(43188),n=e.i(21398),i=e.i(53037),o=e.i(62395),a=e.i(15737),s=e.i(47133),l=e.i(92781);function u(e){let{amount:n=s.SIGNUP_BONUS_CREDITS,onClose:i}=e,{t:u}=(0,l.useI18n)(),[c,d]=(0,r.useState)(0),[f,h]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){let e=window.setTimeout(()=>{d(n),h(!0)},0);return()=>window.clearTimeout(e)}let e=0,t=performance.now(),r=i=>{let o=Math.min(1,(i-t)/1100);if(d(Math.round(n*(1-(1-o)**3))),o<1){e=window.requestAnimationFrame(r);return}h(!0)};return e=window.requestAnimationFrame(r),()=>window.cancelAnimationFrame(e)},[n]),(0,r.useEffect)(()=>{let e=e=>{"Escape"===e.key&&f&&i()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[i,f]),(0,t.jsx)("div",{className:"fixed inset-0 z-[110] flex items-end justify-center bg-black/78 p-4 backdrop-blur-md sm:items-center",role:"dialog","aria-modal":"true","aria-labelledby":"signup-bonus-title",children:(0,t.jsxs)("div",{className:"relative w-full max-w-[380px] overflow-hidden rounded-3xl border border-white/12 bg-[#101014] px-6 pb-6 pt-7 shadow-[0_30px_80px_rgba(0,0,0,0.55)] [animation:credit-settle-in_420ms_cubic-bezier(0.16,1,0.3,1)]",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-10 -top-16 h-32 bg-[radial-gradient(circle,rgba(217,70,167,0.28),transparent_68%)]"}),(0,t.jsx)("p",{className:"relative text-[11px] font-semibold uppercase tracking-[0.22em] text-zinc-500",children:u("auth.bonusEyebrow")}),(0,t.jsxs)("div",{className:"relative mt-5 flex items-center justify-between gap-3",children:[(0,t.jsx)("div",{className:"flex size-11 items-center justify-center rounded-2xl border border-fuchsia-400/25 bg-fuchsia-500/10 text-fuchsia-200",children:f?(0,t.jsx)(o.IconCheck,{size:22,stroke:2.2}):(0,t.jsx)(a.IconCoins,{size:22,stroke:1.8})}),(0,t.jsx)("p",{id:"signup-bonus-title",className:"min-w-0 flex-1 text-sm font-medium text-zinc-300",children:u(f?"auth.bonusSettled":"auth.bonusSettling")})]}),(0,t.jsxs)("div",{className:"relative mt-6 border-y border-white/[0.08] py-5",children:[(0,t.jsx)("p",{className:"font-mono text-[11px] uppercase tracking-[0.18em] text-zinc-500",children:u("auth.credits")}),(0,t.jsxs)("p",{className:"mt-1 font-mono text-6xl font-semibold tabular-nums tracking-tight text-white",children:[(0,t.jsx)("span",{className:"mr-1 text-3xl font-medium text-fuchsia-300",children:"+"}),c]}),(0,t.jsx)("div",{className:"mt-4 h-px overflow-hidden bg-white/10",children:(0,t.jsx)("div",{className:`h-full origin-left bg-gradient-to-r from-violet-500 via-fuchsia-400 to-rose-400 ${f?"scale-x-100":"[animation:credit-ledger-fill_1.1s_cubic-bezier(0.16,1,0.3,1)_forwards]"}`})})]}),(0,t.jsx)("p",{className:"relative mt-4 text-sm leading-relaxed text-zinc-400",children:u("auth.bonusHint")}),(0,t.jsx)("button",{type:"button",onClick:i,disabled:!f,className:"brand-cta relative mt-5 inline-flex h-11 w-full items-center justify-center rounded-xl px-4 text-sm font-semibold text-white transition enabled:active:scale-[0.98] disabled:opacity-40",children:u("auth.bonusCta")})]})})}var c=e.i(9165),d=e.i(30919);let f="renderpop.pendingCheckout";function h(){try{sessionStorage.removeItem(f)}catch{}}e.s(["clearPendingCheckout",0,h,"consumePendingCheckout",0,function(e){try{let t=sessionStorage.getItem(f);if(!t)return null;let r=JSON.parse(t);if("number"!=typeof(null==r?void 0:r.ts)||Date.now()-r.ts>6e5)return sessionStorage.removeItem(f),null;if(!r.productCode||r.source!==e)return null;return sessionStorage.removeItem(f),{productCode:r.productCode,source:r.source}}catch{return null}},"savePendingCheckout",0,function(e){try{let t={...e,ts:Date.now()};sessionStorage.setItem(f,JSON.stringify(t))}catch{}}],82628);let p=(0,r.createContext)(void 0);e.s(["AuthProvider",0,function(e){let{children:o}=e,[a,l]=(0,r.useState)(null),[f,m]=(0,r.useState)(!0),[g,y]=(0,r.useState)(!1),[v,b]=(0,r.useState)(),[w,x]=(0,r.useState)("/"),[_,S]=(0,r.useState)(!1),[k,j]=(0,r.useState)(s.SIGNUP_BONUS_CREDITS),C=(0,r.useRef)(!1),E=(0,r.useRef)(void 0),N=(0,r.useRef)(null),I=(0,r.useCallback)(async()=>{try{let e=await (0,c.apiFetch)("/auth/me",{skipVisitor:!0}),t=e.authenticated?e.user:null;l(t)}catch{l(null)}finally{m(!1)}},[]);(0,r.useEffect)(()=>{let e=new URL(window.location.href);if("1"!==e.searchParams.get(s.SIGNUP_BONUS_QUERY))return;C.current=!0,e.searchParams.delete(s.SIGNUP_BONUS_QUERY);let t=e.searchParams.toString();window.history.replaceState(null,"",`${e.pathname}${t?`?${t}`:""}${e.hash}`)},[]),(0,r.useEffect)(()=>{a&&C.current&&(C.current=!1,j(s.SIGNUP_BONUS_CREDITS),S(!0))},[a]),(0,r.useEffect)(()=>{let e=!0;return(0,c.apiFetch)("/auth/me",{skipVisitor:!0}).then(async t=>{let r=t.authenticated?t.user:null;e&&l(r)}
1).catch(()=>{e&&l(null)}).finally(()=>{e&&m(!1)}),()=>{e=!1}},[]);let P=(0,r.useCallback)(async()=>{await (0,c.apiFetch)("/auth/logout",{method:"POST",skipVisitor:!0}),l(null),y(!1)},[]),O=(0,r.useCallback)(e=>{if(a)return!0;let t=`${window.location.pathname}${window.location.search}`;return E.current=e,b(e),x(t.startsWith("/")&&!t.startsWith("//")?t:"/"),y(!0),!1},[a]);(0,r.useEffect)(()=>{if(!g||a)return;let e=`${E.current??""}:${w}`;N.current!==e&&(N.current=e,(0,d.trackConversion)("auth_wall_shown",{trigger:E.current}))},[g,w,a]);let R=(0,r.useCallback)(()=>{g&&!a&&((0,d.trackConversion)("auth_wall_dismissed",{trigger:E.current}),h()),y(!1),N.current=null},[g,a]),U=(0,r.useCallback)(async e=>{await I(),y(!1),e.signupBonusGranted&&(j(e.signupBonusCredits??s.SIGNUP_BONUS_CREDITS),S(!0))},[I]),T=(0,r.useMemo)(()=>({user:a,isLoading:f,isInitialized:!f,isAuthenticated:!!a,refresh:I,signOut:P,requireAuth:O}),[a,f,I,P,O]);return(0,t.jsx)(p.Provider,{value:T,children:(0,t.jsxs)(i.GoogleIdentityProvider,{onSignedIn:U,children:[o,(0,t.jsx)(n.LoginWall,{open:g&&!a,returnTo:w,trigger:v,onClose:R}),_?(0,t.jsx)(u,{amount:k,onClose:()=>S(!1)}):null]})})},"useAuth",0,function(){let e=(0,r.useContext)(p);if(!e)throw Error("useAuth must be used within an AuthProvider");return e}],2594)}]);

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.