1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7419],{2433:function(e,t,a){var r=a(57437);a(2265);var l=a(27648);t.default=e=>{let{title:t="Create AI Videos from Text in Minutes!",description:a="Get started today and watch your ideas come to life with AI-powered video creation.",buttonText:s="Start Now",href:o="/text-to-video"}=e;return(0,r.jsx)("div",{className:"relative bg-black px-4 py-12 md:py-20 overflow-hidden h-[480px]",children:(0,r.jsxs)("div",{className:"relative z-[2] mx-auto max-w-[900px] text-center",children:[(0,r.jsx)("h2",{className:"mt-3 text-center text-2xl font-semibold font-poppins text-white lg:text-5xl",children:t}),(0,r.jsx)("p",{className:"text-lg lg:text-xl text-white",children:a}),(0,r.jsx)("div",{className:"group relative mx-auto mt-6 flex w-fit md:mt-9 [&_a]:w-fit",children:(0,r.jsx)("div",{className:"text-text relative flex justify-center w-full rounded-full transition-none overflow-hidden",children:(0,r.jsx)(l.default,{href:o,className:"transition-colors relative z-[1] flex items-center justify-center rounded-full px-8 py-4 text-center md:px-12 text-[#00ceff] border-2 border-[#00ceff] bg-black hover:bg-[#00ceff] hover:text-black xl:text-2xl font-semibold font-poppins",children:s})})})]})})}},3915:function(e,t,a){var r=a(57437),l=a(2265);t.default=e=>{let{faqItems:t,title:a="FAQ"}=e,[s,o]=(0,l.useState)(null),i=e=>{o(s===e?null:e)};return(0,r.jsx)("section",{className:"bg-black w-full py-12 md:py-20 lg:py-[160px]",children:(0,r.jsxs)("div",{className:"mx-auto max-w-[920px] px-4 sm:px-6 lg:px-8 flex flex-col gap-12",children:[(0,r.jsx)("h2",{className:"text-white text-center text-3xl md:text-4xl lg:text-5xl font-semibold",children:a}),(0,r.jsx)("div",{className:"w-full",children:t.map((e,t)=>(0,r.jsxs)("div",{className:"border-b border-gray-800 text-white",children:[(0,r.jsxs)("button",{onClick:()=>i(t),className:"w-full flex justify-between items-center py-6 text-left font-medium focus:outline-none",children:[(0,r.jsx)("span",{className:"text-lg md:text-xl text-white",children:e.question}),(0,r.jsx)("span",{className:"ml-6 flex-shrink-0",children:(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5 transition-transform duration-300 ".concat(s===t?"transform rotate-180":""),children:(0,r.jsx)("path",{d:"M6 9L12 15L18 9",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,r.jsx)("div",{className:"overflow-hidden transition-all duration-300 ".concat(s===t?"max-h-96 opacity-100 pb-6":"max-h-0 opacity-0"),children:(0,r.jsx)("div",{className:"text-gray-400 text-base md:text-lg",children:e.answer})})]},t))})]})})}},84832:function(e,t,a){var r=a(57437);a(2265);var l=a(27648);t.default=e=>{let{title:t="Turn Any Photo into a Video",description:a="No matter the subject of your photo, whether it's a portrait, landscape, or product shot, the AI can animate it into a full-fledged video. You can turn any photos you like into exciting video content in just a few clicks.",buttonText:s="Turn Photo to Video",buttonHref:o="/image-to-video",backgroundColor:i="bg-black",videoSrc:n="",imageSrc:c=""}=e;return(0,r.jsx)("section",{className:"".concat(i," w-full py-12 md:py-20 lg:py-[100px]"),children:(0,r.jsxs)("div",{className:"mx-auto max-w-[920px] px-4 sm:px-6 lg:px-8 flex flex-col items-center text-center",children:[(0,r.jsx)("h2",{className:"text-white text-3xl md:text-4xl lg:text-5xl font-semibold font-poppins",children:t}),(0,r.jsx)("p",{className:"mt-6 text-gray-300 text-sm md:text-base lg:text-xl max-w-[750px] mx-auto",children:a}),(0,r.jsx)("div",{className:"mt-10",children:(0,r.jsx)(l.default,{className:"inline-block bg-[#0A4D68] hover:bg-[#088395] transition-colors py-4 px-12 rounded-full text-white font-semibold",href:o,children:s})}),n?(0,r.jsx)("div",{className:"mx-auto mt-12 w-full max-w-[800px] overflow-visible rounded-xl lg:rou
1nded-3xl",children:(0,r.jsx)("video",{className:"w-full object-contain max-h-[450px]",src:n,playsInline:!0,"webkit-playsinline":"true",controlsList:"nodownload",loop:!0,muted:!0,autoPlay:!0,preload:"auto"})}):c?(0,r.jsx)("div",{className:"mx-auto mt-12 aspect-[16/9] w-full overflow-hidden rounded-xl lg:h-[400px] lg:max-w-[800px] lg:rounded-3xl",children:(0,r.jsx)("img",{className:"w-full h-full object-cover",src:c,alt:"Feature preview"})}):null]})})}},89673:function(e,t,a){var r=a(57437);a(2265),t.Z=e=>{let{LoadingText:t}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"flex items-center justify-center",children:(0,r.jsxs)("div",{className:"inline-flex items-center px-4 py-2 font-semibold leading-6 text-xl transition ease-in-out duration-150",style:{color:"rgb(74, 7, 218)"},children:[(0,r.jsxs)("svg",{className:"animate-spin -ml-1 mr-3 h-10 w-10",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",style:{color:"rgb(74, 7, 218)"},children:[(0,r.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),t]})})})}},41351:function(e,t,a){var r=a(57437);a(2265),t.default=e=>{let{howItWorksData:t}=e;return(0,r.jsx)("div",{className:"bg-black px-4 py-12 lg:py-[160px]",children:(0,r.jsxs)("div",{className:"mx-auto max-w-[1196px] text-center",children:[(0,r.jsx)("h2",{className:"mx-auto max-w-[800px] text-4xl md:text-5xl font-semibold text-white",children:t.title}),(0,r.jsx)("p",{className:"text-white mt-4 text-sm md:text-xl max-w-[900px] mx-auto",children:t.description}),(()=>{let{steps:e}=t;return(0,r.jsx)("div",{className:"flex justify-center mt-10",children:(0,r.jsx)("div",{className:"grid md:grid-cols-3 gap-6 max-w-full place-items-center",children:e.map((e,t)=>(0,r.jsxs)("div",{className:"bg-[#121212] rounded-xl p-6 text-center flex flex-col items-center w-full",children:[(0,r.jsx)("h3",{className:"text-white text-2xl font-semibold mb-4",children:e.number}),(0,r.jsxs)("p",{className:"text-white",children:[(0,r.jsx)("strong",{children:e.title})," ",e.description]})]},t))})})})(),(0,r.jsx)("a",{href:t.ctaLink,className:"inline-block mx-auto mt-10 px-8 py-4 bg-transparent text-white text-center font-semibold rounded-full border-2 border-[#00cfff] hover:bg-[rgba(0,207,255,0.15)] transition-colors",children:t.ctaText})]})})}},4241:function(e,t,a){a.d(t,{Z:function(){return m}});var r=a(57437),l=a(29),s=a.n(l),o=a(33044),i=a(46624),n=a(2265),c=a(99376);a(87011),a(96997),a(97266);var d=a(68879),x=a(89673),m=e=>{let{isModalOpen:t,setIsModalOpen:a,pricingJson:l}=e,[m,u]=(0,n.useState)(!1);return(0,c.useRouter)(),(0,n.useEffect)(()=>{if(t){u(!l);let e=setTimeout(()=>{let e=document.querySelector(".pricing-modal-scroll");e&&(e.scrollTo({top:300,behavior:"smooth"}),setTimeout(()=>{e.scrollTo({top:0,behavior:"smooth"})},1e3))},500);return()=>clearTimeout(e)}},[t,l]),(0,r.jsx)(o.u,{appear:!0,show:t,as:n.Fragment,children:(0,r.jsxs)(i.V,{as:"div",className:"relative z-50",onClose:()=>a(!1),children:[(0,r.jsx)(o.u.Child,{as:n.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsx)("div",{className:"jsx-10e285355824ceac fixed inset-0 bg-gradient-to-br from-black/80 via-purple-900/30 to-blue-900/30 backdrop-blur-md"})}),(0,r.jsx)("div",{className:"jsx-10e285355824ceac fixed inset-0 overflow-y-auto",children:(0,r.jsx)("div",{className:"jsx-10e285355824ceac flex min-h-full items-center justify-center p-2 sm:p-6 md:p-8",children:(0,r.jsx)(o.u.Child,{as:n.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95 translate-y-4",enterTo:"opacity-100 scale-100 translate-y-0",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100 translate-y-0",leaveTo:"opacity-0 scale-95 translate-y-4",children:(0,r.jsxs)(i.V.Panel,{className:"relative w-full max-w-4xl max-h-[90vh] sm:max-h-[90vh] overflow-hidden transform text-left align-middle transition-all rounded-lg sm:rounded-2xl bg-gradient-to-br from-slate-900 via-gray-900 to-slate-800 shadow-2xl border border-white/20",children:[(0,r.jsx)("div",{className:"jsx-10e285355824ceac absolute inset-0 rounded-lg sm:rounded-2xl bg-gradient-to-r from-purple-500/30 via-blue-500/30 to-cyan-500/30 p-[1px]",children:(0,r.jsx)("div",{className:"jsx-10e285355824ceac h-full w-full rounded-lg sm:rounded-2xl bg-gradient-to-br from-slate-900 via-gray-900 to-slate-800"})}),(0,r.jsxs)("div",{className:"jsx-10e285355824ceac relative sticky top-0 z-20 flex justify-between items-center p-3 sm:p-6 bg-gradient-to-r from-slate-900/95 via-gray-900/95 to-slate-800/95 backdrop-blur-lg border-b border-white/20",children:[(0,r.jsxs)("div",{className:"jsx-10e285355824ceac flex flex-col space-y-1.5 sm:space-y-2 flex-1 mr-3 sm:mr-4",children:[(0,r.jsxs)("div",{className:"jsx-10e285355824ceac flex items-center space-x-2 sm:space-x-3",children:[(0,r.jsxs)("div",{className:"jsx-10e285355824ceac hidden sm:flex space-x-1",children:[(0,r.jsx)("div",{className:"jsx-10e285355824ceac w-3 h-3 bg-red-500 rounded-full shadow-lg"}),(0,r.jsx)("div",{className:"jsx-10e285355824ceac w-3 h-3 bg-yellow-500 rounded-full shadow-lg"}),(0,r.jsx)("div",{className:"jsx-10e285355824ceac w-3 h-3 bg-green-500 rounded-full shadow-lg"})]}),(0,r.jsx)("h2",{className:"jsx-10e285355824ceac text-base sm:text-lg md:text-xl font-bold bg-gradient-to-r from-white via-blue-200 to-purple-200 bg-clip-text text-transparent leading-tight",children:"Upgrade to get more credits"})]}),(0,r.jsx)("p",{className:"jsx-10e285355824ceac text-gray-300 text-xs sm:text-sm sm:ml-8 leading-relaxed",children:"This feature is unavailable with your current plan. To access it, we recommend upgrading your plan."})]}),(0,r.jsxs)("button",{onClick:()=>a(!1),title:"Close",className:"jsx-10e285355824ceac group relative inline-flex items-center justify-center w-11 h-11 sm:w-12 sm:h-12 text-white bg-gradient-to-r from-purple-500 to-blue-500 hover:from-purple-600 hover:to-blue-600 active:from-purple-700 active:to-blue-700 rounded-full transition-all duration-200 hover:scale-105 active:scale-95 shadow-lg hover:shadow-xl hover:shadow-
1purple-500/30 border border-purple-400/50 hover:border-purple-300 touch-manipulation",children:[(0,r.jsx)("div",{className:"jsx-10e285355824ceac absolute inset-0 rounded-full bg-gradient-to-r from-purple-500 to-blue-500 opacity-0 group-hover:opacity-20 blur-sm transition-all duration-200"}),(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"jsx-10e285355824ceac w-5 h-5 sm:w-6 sm:h-6 relative z-10 transform group-hover:rotate-90 group-active:rotate-180 transition-transform duration-200 drop-shadow-sm",children:(0,r.jsx)("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z",className:"jsx-10e285355824ceac"})})]})]}),(0,r.jsxs)("div",{className:"jsx-10e285355824ceac pricing-modal-scroll relative overflow-y-auto max-h-[calc(90vh-180px)] sm:max-h-[calc(90vh-220px)] touch-pan-y",children:[(0,r.jsx)("div",{className:"jsx-10e285355824ceac absolute top-0 left-0 w-48 h-48 sm:w-72 sm:h-72 bg-purple-500/8 rounded-full filter blur-3xl animate-pulse"}),(0,r.jsx)("div",{style:{animationDelay:"3s"},className:"jsx-10e285355824ceac absolute bottom-0 right-0 w-48 h-48 sm:w-72 sm:h-72 bg-cyan-500/8 rounded-full filter blur-3xl animate-pulse"}),(0,r.jsx)("div",{className:"jsx-10e285355824ceac relative p-3 sm:p-6 pt-4 sm:pt-8",children:m?(0,r.jsx)("div",{className:"jsx-10e285355824ceac flex items-center justify-center py-8 sm:py-12",children:(0,r.jsx)(x.Z,{LoadingText:"Loading pricing options..."})}):(0,r.jsx)(d.default,{pricingJson:l,isModal:!0})})]})]})})})}),(0,r.jsx)(s(),{id:"10e285355824ceac",children:".pricing-modal-scroll::-webkit-scrollbar{width:8px}.pricing-modal-scroll::-webkit-scrollbar-track{background:rgba(255,255,255,.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,.3);-moz-box-shadow:inset 0 0 3px rgba(0,0,0,.3);box-shadow:inset 0 0 3px rgba(0,0,0,.3)}.pricing-modal-scroll::-webkit-scrollbar-thumb{background:-webkit-linear-gradient(top,#8B5CF6,#06B6D4);background:-moz-linear-gradient(top,#8B5CF6,#06B6D4);background:-o-linear-gradient(top,#8B5CF6,#06B6D4);background:linear-gradient(180deg,#8B5CF6,#06B6D4);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.3);-moz-box-shadow:0 2px 4px rgba(0,0,0,.3);box-shadow:0 2px 4px rgba(0,0,0,.3);-webkit-transition:all.3s ease;-moz-transition:all.3s ease;-o-transition:all.3s ease;transition:all.3s ease;opacity:.8}.pricing-modal-scroll::-webkit-scrollbar-thumb:hover{background:-webkit-linear-gradient(top,#A855F7,#0891B2);background:-moz-linear-gradient(top,#A855F7,#0891B2);background:-o-linear-gradient(top,#A855F7,#0891B2);background:linear-gradient(180deg,#A855F7,#0891B2);-webkit-box-shadow:0 2px 8px rgba(139,92,246,.5);-moz-box-shadow:0 2px 8px rgba(139,92,246,.5);box-shadow:0 2px 8px rgba(139,92,246,.5);-webkit-transform:scalex(1.2);-moz-transform:scalex(1.2);-ms-transform:scalex(1.2);-o-transform:scalex(1.2);transform:scalex(1.2);opacity:1}.pricing-modal-scroll::-webkit-scrollbar-thumb:active{background:-webkit-linear-gradient(top,#7C3AED,#0284C7);background:-moz-linear-gradient(top,#7C3AED,#0284C7);background:-o-linear-gradient(top,#7C3AED,#0284C7);background:linear-gradient(180deg,#7C3AED,#0284C7)}.pricing-modal-scroll{scrollbar-width:thin;scrollbar-color:#8B5CF6 rgba(255,255,255,.15);overflow-y:scroll!important;-webkit-overflow-scrolling:touch}.pricing-modal-scroll::-webkit-scrollbar{-webkit-appearance:none}.pricing-modal-scroll::-webkit-scrollbar:vertical{width:8px}@media(max-width:640px){.pricing-modal-scroll::-webkit-scrollbar{width:10px}.pricing-modal-scroll::-webkit-scrollbar-thumb{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;min-height:40px}.pricing-modal-scroll{scroll-behavior:smooth;-ms-scroll-chaining:none;overscroll-behavior:contain}}@media(max-width:480px){.pricing-modal-scroll::-webkit-scrollbar{width:12px}}"})]})})}},31154:function(e,t,a){a.d(t,{o:function(){return r}});let r=(e,t)=>{let a;let r=Number(t)||5;if("hailuo-23"===e)return t>6?4:2;if("ltx-2"===e)return 2+Math.floor((r-6)/2);switch(e){case"seedance-reference-to-video":case"wan22480p":case"wan22720p":case"seedance":case"seedancepro":case"wan21":default:a=r>5?2:1;break;case"wavespeed-seedance-480p":a=1;break;case"wavespeed-seedance-720p":case"veo3_fast":a=2;break;case"wavespeed-seedance-1080p":case"veo3":a=4;break;case"klingai":a=r>=10?3:2;break;case"hailuo02":a=r>=8?3:2}return r>=10?2*a:a}},5630:function(e,t,a){a.d(t,{H:function(){return s}});var r=a(80928),l=a.n(r);let s=e=>
1l().AES.encrypt(e,"sk-sdfs23-gd25135adgdgagaaaag446@#42a55aaaaa").toString()},70189:function(e,t,a){a.d(t,{z:function(){return l}});var r=a(5630);let l=async e=>{let t=Date.now(),a=(0,r.H)(t.toString());try{let t=await fetch("/api/anyllm",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompts:e,system_prompt:"You are an expert in text detection, skilled in detecting whether text is illegal, whether it is illegal, etc. When a user outputs a text, you output the probability value of whether it is an NSFW text in JSON format, and the key is is_nsfw",token:a})});if(!t.ok)return console.error(" task submission failed"),!1;let r=(await t.json()).request_id;if(!r)return console.error("No request_id received from API"),!1;console.log("nsfw check request_id:",r);let l=0;for(;l<60;)try{let e=await fetch("/api/anyllmGetRes?id=".concat(r,"&token=").concat(a),{method:"GET"});if(!e.ok){console.error("Failed to get result from API"),await new Promise(e=>setTimeout(e,2e3)),l++;continue}let t=await e.json();if(t.output&&"string"==typeof t.output&&t.output.trim()){let e=t.output.trim();try{let t=e.match(/{[\s\S]*}/);if(t&&t[0]){let e=JSON.parse(t[0]);if(void 0!==e.is_nsfw)return console.log("is_nsfw probability:",e.is_nsfw),e.is_nsfw>.8}}catch(t){console.error("Could not parse NSFW JSON from output:",e,t)}return console.log("isNsfw (fallback):",e),!1}if("FAILED"===t.status)return console.error(" task failed:",t.error),!1;await new Promise(e=>setTimeout(e,2e3)),l++}catch(e){console.error("Error fetching result:",e),await new Promise(e=>setTimeout(e,2e3)),l++}return console.warn(" timeout reached (1 minute), returning original prompt"),!1}catch(e){return console.error(" error:",e),!1}}},95614:function(e,t,a){a.d(t,{Z9:function(){return s}}),a(57437);var r=a(2265),l=a(69064);function s(e){let{creditThreshold:t=2,waitTimeSeconds:a=30,credit:s=0,onWaitComplete:o=null}=e,[i,n]=(0,r.useState)(!1),[c,d]=(0,r.useState)(0),[x,m]=(0,r.useState)(!1),u=null!==s&&s>0&&s<=t;(0,r.useEffect)(()=>{let e=null;return i&&c>0&&(e=setInterval(()=>{d(e=>e<=1?(n(!1),m(!0),l.ZP.success("Wait complete! You can now generate videos."),o&&o(),0):e-1)},1e3)),()=>{e&&clearInterval(e)}},[i,c]);let p=(0,r.useCallback)(()=>u?(n(!0),d(a),m(!1),l.ZP.error("Low credit (".concat(s,"). Please wait ").concat(a,"s or upgrade to skip waiting."),{duration:5e3}),!1):(m(!0),!0),[u,s,a]);return(0,r.useEffect)(()=>{!u&&i&&(n(!1),d(0),m(!0))},[u,i]),{isWaiting:i,waitCountdown:c,canProceed:x||!u,needsWaiting:u,startWaitIfNeeded:p}}}}]);
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.