PageSourceSearch

https://seedance2.fast/_next/static/chunks/6811f9af99dea570.js

js seedance2.fast collected 2026-10-08 03:56:37 UTC 9,043 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,181285,e=>{"use strict";let t="login",r="generate_success",n="view_pricing",a="purchase";function i(e,t){try{let r,n;r=window.gtag,"function"==typeof r&&r("event",e,t),n=window.plausible,"function"==typeof n&&n(e,{props:t})}catch(e){}}function l(){let e="has_generated";return!localStorage.getItem(e)&&(localStorage.setItem(e,"true"),!0)}e.s(["isFirstGeneration",()=>l,"trackFunnel",0,{landingPageView:()=>{i("landing_page_view")},login:e=>{i(t,e)},loginSuccess:e=>{i(t,e)},generateSuccess:e=>{i(r,e)},firstGeneration:e=>{i(r,{...e,is_first:!0})},creditsInsufficient:e=>{i("credits_insufficient",e)},viewPricing:e=>{i(n,e)},pricingPageView:()=>{i(n)},pricingPlanView:e=>{i("pricing_plan_view",e)},beginCheckout:e=>{i("begin_checkout",e)},purchase:e=>{i(a,e)},paymentSuccess:e=>{i(a,e)}},"trackHero",0,{announcementClick:e=>{i("hero_announcement_click",e)}},"trackImage",0,{continueEdit:e=>{i("image_continue_edit",e)},generateClick:e=>{i("image_generate_click",e)}},"trackMedia",0,{generateClick:e=>{i("media_generate_click",e)}},"trackSpecialOffer",0,{view:e=>{i("special_offer_view",e)},planClick:e=>{i("special_offer_plan_click",e)},closeClick:e=>{i("special_offer_close_click",e)}}])},79163,e=>{"use strict";var t=e.i(623099),r=e.i(604720);function n({locale:e,...n}){if(!e)throw Error(void 0);return(0,r.jsx)(t.IntlProvider,{locale:e,...n})}e.s(["default",()=>n])},619696,e=>{"use strict";let t="referral_code";function r(e){try{let r=e.trim().toUpperCase();if(!r)return;let n={code:r,timestamp:Date.now()};localStorage.setItem(t,JSON.stringify(n))}catch(e){}}function n(){try{let e=localStorage.getItem(t);if(!e)return null;let r=JSON.parse(e),n=r.timestamp+2592e6;if(Date.now()>n)return localStorage.removeItem(t),null;return r.code}catch(e){return null}}async function a(e,r){let a=n();if(!a)return{success:!0};try{let n=await fetch("/api/referral/apply",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:e,email:r,referralCode:a})}),i=await n.json();if(n.ok&&i.success){try{localStorage.removeItem(t)}catch(e){}return{success:!0}}return{success:!1,error:i.error}}catch(e){return{success:!1,error:"NETWORK_ERROR"}}}e.s(["applyReferralCodeViaApi",()=>a,"getReferralCodeFromStorage",()=>n,"storeReferralCode",()=>r])},178467,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return a}});let n=e.r(95295);function a({reason:e,children:t}){if("undefined"==typeof window)throw Object.defineProperty(new n.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},559939,(e,t,r)=>{"use strict";function n(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return n}})},436381,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return c}});let n=e.r(604720),a=e.r(10668),i=e.r(747188),l=e.r(559939);function c({moduleIds:e}){if("undefined"!=typeof window)return null;let t=i.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let n=t.reactLoadableManifest;for(let t of e){if(!n[t])continue;let e=n[t].files;r.push(...e)}}return 0===r.length?null:(0,n.jsx)(n.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,l.encodeURIPath)(e)}`;return e.endsWith(".css")?(0,n.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,a.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},259427,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(604720),a=e.r(176506),i=e.r(178467),l=e.r(436381);function c(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(c(()=>null)),loading:null,ssr:!0},s=function(e){let t={...o,...e},r=(0,a.lazy)(()=>t.loader().then(c)),s=t.loading;function u(e){let c=s?(0,n.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,u=o?a.Suspense:a.Fragment,f=t.ssr?(0,n.jsxs)(n.Fragment,{children:["undefined"==typeof window?(0,n.jsx)(l.PreloadChunks,{moduleIds:t.modules}):null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(u,{...o?{fallback:c}:{},children:f})}return u.displayName="LoadableComponent",u}},648728,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}});let n=e.r(481258)._(e.r(259427));function a(e,t){let r={};"function"==typeof e&&(r.loader=e);let a={...r,...t};return(0,n.default)({...a,modules:a.loadableGenerated?.modules})}("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)},998415,e=>{"use strict";var t=e.i(604720),r=e.i(917268),n=e.i(176506),a=e.i(623099),i=e.i(408430),l=e.i(551956);function c(e){let c,o,s,u=(0,r.c)(5),{children:f}=e,d=(0,a.useLocale)();return u[0]!==d?(c=()=>{"undefined"!=typeof document&&d&&(document.documentElement.lang=d)},o=[d],u[0]=d,u[1]=c,u[2]=o):(c=u[1],o=u[2]),(0,n.useEffect)(c,o),u[3]!==f?(s=(0,t.jsx)(i.ThemeProvider,{attribute:"class",defaultTheme:l.envConfigs.appearance,enableSystem:!0,disableTransitionOnChange:!0,children:f}),u[3]=f,u[4]=s):s=u[4],s}e.s(["ThemeProvider",()=>c])},528842,e=>{"use strict";var t=e.i(604720),r=e.i(917268),n=e.i(408430),a=e.i(779342),i=e.i(176506);let l=e=>{let l,c,o,s,u,f=(0,r.c)(8);f[0]!==e?({...l}=e,f[0]=e,f[1]=l):l=f[1];let{theme:d}=(0,n.useTheme)(),[p,m]=(0,i.useState)(!1);if(f[2]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{m(!0)},o=[],f[2]=c,f[3]=o):(c=f[2],o=f[3]),(0,i.useEffect)(c,o),!p)return null;let g=void 0===d?"system":d;return f[4]===Symbol.for("react.memo_cache_sentinel")?(s={"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},f[4]=s):s=f[4],f[5]!==l||f[6]!==g?(u=(0,t.jsx)(a.Toaster,{theme:g,className:"toaster group",style:s,...l}),f[5]=l,f[6]=g,f[7]=u):u=f[7],u};e.s(["Toaster",()=>l])},215506,e=>{"use strict";var t=e.i(917268),r=e.i(176506),n=e.i(619696),a=e.i(960568);function i(){let e,i,l=(0,t.c)(4),{user:c,isCheckSign:o}=(0,a.useAppContext)(),s=(0,r.useRef)(null);return l[0]!==o||l[1]!==c?(e=()=>{let e=(0,n.getReferralCodeFromStorage)();!o&&e&&c?.id&&c?.email&&s.current!==c.id&&(async()=>{try{let e=new Date(c.createdAt);if(Number.isNaN(e.getTime())||(new Date().getTime()-e.getTime())/6e4>5)return;s.current=c.id,await (0,n.applyReferralCodeViaApi)(c.id,c.email)}catch(e){}})()},i=[o,c],l[0]=o,l[1]=c,l[2]=e,l[3]=i):(e=l[2],i=l[3]),(0,r.useEffect)(e,i),null}e.s(["ReferralApplicator",()=>i])},830498,e=>{"use strict";var t=e.i(604720),r=e.i(917268),n=e.i(648728);let a=(0,n.default)(()=>e.A(748180).then(e=>({default:e.SignModal})),{loadableGenerated:{modules:[167026]},ssr:!1}),i=(0,n.default)(()=>e.A(52933).then(e=>({default:e.SpecialOfferPopup})),{loadableGenerated:{modules:[269362]},ssr:!1});function l(e){let n,l,c=(0,r.c)(3),{pricing:o}=e;return c[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(a,{}),c[0]=n):n=c[0],c[1]!==o?(l=(0,t.jsxs)(t.Fragment,{children:[n,(0,t.jsx)(i,{pricing:o})]}),c[1]=o,c[2]=l):l=c[2],l}e.s(["LazyModals",()=>l])},97636,e=>{"use strict";var t=e.i(917268),r=e.i(176506),n=e.i(225962);function a(){let e,n=(0,t.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],n[0]=e):e=n[0],(0,r.useEffect)(i,e),null}function i(){(0,n.captureUtm)()}e.s(["default",()=>a])},119013,e=>{"use strict";var t=e.i(917268),r=e.i(176506),n=e.i(709600),a=e.i(181285);function i(){let e,i,l=(0,t.c)(3),c=(0,n.useSearchParams)();(0,n.usePathname)(),(0,n.useRouter)();let o=(0,r.useRef)(!1);return l[0]!==c?(e=()=>{if("true"===c?.get("payment_success")&&!o.current){let e=parseFloat(c?.get("amount")||"0"),t=c?.get("currency")||"USD",r=c?.get("payment_type"),n=c?.get("transaction_id")||`txn_${Date.now()}`;a.trackFunnel.purchase({transaction_id:n,value:e/100,currency:t,payment_type:r,items:[]}),o.current=!0}},i=[c],l[0]=c,l[1]=e,l[2]=i):(e=l[1],i=l[2]),(0,r.useEffect)(e,i),null}e.s(["default",()=>i])},748180,e=>{e.v(t=>Promise.all(["static/chunks/9247db4dd263c0df.js","static/chunks/88221e2e4c8c7b4f.js","static/chunks/1bcebb766e6ae9de.js","static/chunks/d1e59f7b645265b9.js","static/chunks/7d5f725006f9cce8.js"].map(t=>e.l(t))).then(()=>t(167026)))},52933,e=>{e.v(t=>
1Promise.all(["static/chunks/6efaac0c8b7fde93.js","static/chunks/c622455a7c5407fe.js","static/chunks/d1e59f7b645265b9.js","static/chunks/7d5f725006f9cce8.js","static/chunks/88221e2e4c8c7b4f.js"].map(t=>e.l(t))).then(()=>t(269362)))}]);

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.