1import{cV as W,p as L,a6 as Q,g as J,bP as K,bQ as Y,I as P,k as Z,s as T,i as X,h as ee,D as te,u as ae,o as i,c as n,a,O as g,b as k,l as t,d as m,t as s,F as h,Z as S,P as oe,E as re,G as se,n as ie,r as U,m as ne,v as C,j as le,_ as de}from"./Bl7aIc7Y.js";import ce from"./Sq_ef5QK.js";import{a as pe,i as me,l as ue}from"./Cg5-T1Kk.js";import{a as ge}from"./Cxw42SGi.js";import{S as he}from"./Ad73TV1m.js";import{L as be}from"./VdIuw3cU.js";import{A as fe}from"./4Bm_AXxj.js";function xe(R){const $=W();{const b=L(document.querySelector('meta[name="robots"]')?.getAttribute("content")||""),e=$.hooks.hook("dom:rendered",()=>{b.value=document.querySelector('meta[name="robots"]')?.getAttribute("content")||""});return Q(e),b}}const ye={class:"px-4 pt-28 pb-14 sm:px-6 md:px-12 md:pt-32"},we={class:"mb-5 inline-flex items-center gap-2 rounded-full border border-white/10 bg-white/5 px-4 py-2 text-sm text-white/70"},ve={class:"text-4xl md:text-6xl font-black tracking-tight text-white"},_e={class:"grid gap-3 rounded-[1.25rem] border border-white/10 bg-white/[0.06] p-2 shadow-2xl shadow-black/30 backdrop-blur-[18px] sm:grid-cols-[1fr_auto]"},ke={class:"flex min-h-14 items-center gap-3 px-3"},$e={class:"inline-flex min-h-14 items-center justify-center gap-2 rounded-2xl bg-white px-6 text-base font-bold text-black transition hover:bg-white/90 active:scale-[0.98] cursor-pointer",type:"submit"},Se={class:"flex items-center justify-between gap-4"},Le={class:"text-sm font-bold text-white"},Ae={class:"mt-1 text-xs text-white/45"},He={class:"rounded-full border border-white/10 px-3 py-1 text-xs font-bold text-[var(--landing-accent)]"},Pe=["onClick"],Te={class:"relative h-full w-full"},Ue=["src"],Ce=["src"],Re={key:2,class:"absolute inset-0 bg-black/10"},De=J({__name:"[name]",setup(R){const $=K(),b=String($.params.name||"tiktok"),e=pe(b);if(!e)throw Y({statusCode:404,statusMessage:"Landing platform not found"});const D=me.includes(e.slug);["apptovid.com","www.apptovid.com"].includes(new URL(P.appUrl).hostname.toLowerCase())&&!D&&xe();const{appUrl:z}=P,d=z.replace(/\/$/,""),j=Z(),{appUrl:f}=T(j),I=X(),{isLoggedIn:M}=T(I),{$firebaseAnalytics:N}=ee(),u=`https://ads-us-sv.oss-us-west-1.aliyuncs.com/app-ads/public/assets/landing-page-videos/platform/${e.slug}/`,l=`${d}/landing/platform/${e.slug}`,x=e.shortName||e.name,p=ue[e.category],A=p.layout==="conversation",H=p.layout==="showcase",y=p.layout==="knowledge",B=p.layout==="signal",F=`Turn your app URL or assets into ${x}-ready video ads.`,w=L([{id:0,img:`${u}hero-1.webp`,video:`${u}hero-1.mp4`},{id:1,img:`${u}hero-2.webp`,video:`${u}hero-2.mp4`},{id:2,img:`${u}hero-3.webp`,video:`${u}hero-3.mp4`}]),v=L([0,1,2]),G=[{"@context":"https://schema.org","@type":"Organization","@id":`${d}/#organization`,name:"Apptovid",url:`${d}/`,logo:{"@type":"ImageObject",url:`${d}/static/logo/apptovid-256x256.png`,width:256,height:256}},{"@context":"https://schema.org","@type":"WebSite","@id":`${d}/#website`,url:`${d}/`,name:"Apptovid",publisher:{"@id":`${d}/#organization`},inLanguage:"en"},{"@context":"https://schema.org","@type":"BreadcrumbList","@id":`${l}#breadcrumb`,itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:`${d}/`},{"@type":"ListItem",position:2,name:`${x} Ad Generator`,item:l}]},{"@context":"https://schema.org","@type":"WebPage","@id":`${l}#webpage`,url:l,name:e.seoTitle,description:e.seoDescription,inLanguage:"en",isPartOf:{"@id":`${d}/#website`},about:{"@id":`${l}#software`},breadcrumb:{"@id":`${l}#breadcrumb`}},{"@context":"https://schema.org","@type":["SoftwareApplication","WebApplication"],"@id":`${l}#software`,name:`Apptovid ${x} Ad Generator`,operatingSystem:"All",applicationCategory:"MultimediaApplication",url:l,description:e.schemaDescription,brand:{"@type":"Brand",name:"Apptovid"},publisher:{"@id":`${d}/#organization`},offers:{"@type":"Offer",price:"0",priceCurrency:"USD"},featureList:e.featureList},{"@context":"https://schema.org","@type":"FAQPage","@id":`${l}#faq`,mainEntity:e.faqItems.map(r=>({"@type":"Question",name:r.question,acceptedAnswer:{"@type":"Answer",text:r.answer}}
1))}],V=r=>JSON.stringify(r).replace(/</g,"\\u003c");te({...ge,title:e.seoTitle,description:e.seoDescription,ogTitle:e.ogTitle,ogDescription:e.ogDescription,ogUrl:l,twitterCard:"summary_large_image"}),ae({link:[{rel:"canonical",href:l}],script:[{key:`landing-platform-${e.slug}-json-ld`,type:"application/ld+json",innerHTML:V(G)}]});const E=()=>{const r=f.value.trim();if(N?.trackEvent("click_landing_generate",{platform:e.slug,has_url:!!r}),!M.value){C({path:"/app/create"});return}r?C({path:"/app/create"}):le().startTrial()},O=r=>{if(r===1)return;const o=v.value;r===0?v.value=[o[2],o[0],o[1]]:v.value=[o[1],o[2],o[0]]},q=r=>{const o="absolute transition-all duration-700 ease-in-out overflow-hidden border-white/10 bg-black cursor-pointer";switch(r){case 0:return`${o} 2 w-32 h-[260px] rounded-[1.5rem] border-2 z-10 opacity-50 blur-[1px] 3 -translate-x-[76%] rotate-[-12deg] 4 md:w-48 md:h-[400px] md:rounded-[2.5rem] md:border-4 md:-translate-x-[110%] 5 lg:-left-10 lg:top-10 lg:translate-x-0`;case 1:return`relative z-30 transition-all duration-700 6 w-56 h-[440px] rounded-[3rem] border-8 border-white/10 bg-black overflow-hidden shadow-2xl 7 md:w-64 md:h-[500px] md:rounded-[3rem] md:border-8`;case 2:return`${o} 8 w-32 h-[260px] rounded-[1.5rem] border-2 z-10 opacity-50 blur-[1px] 9 translate-x-[76%] rotate-[12deg] 10 md:w-48 md:h-[400px] md:rounded-[2.5rem] md:border-4 md:translate-x-[110%] 11 lg:-right-10 lg:top-20 lg:translate-x-0`;default:return""}};return(r,o)=>(i(),n("div",{class:"landing-platform",style:S({"--landing-accent":t(e).accent,"--landing-accent-rgb":t(e).accentRgb,"--landing-secondary-rgb":t(e).secondaryRgb,"--landing-gradient-from":t(e).gradientFrom,"--landing-gradient-to":t(e).gradientTo})},[a("section",ye,[a("div",{class:g(["mx-auto grid max-w-7xl items-center gap-10",y?"lg:grid-cols-[0.92fr_1.08fr]":B?"lg:grid-cols-[1.08fr_0.92fr]":"lg:grid-cols-[1.02fr_0.98fr]"])},[a("div",null,[a("div",we,[k(t(he),{class:"h-4 w-4 text-[var(--landing-accent)]"}),m(" "+s(t(p).label)+" · Store URL or DIY app details ",1)]),a("h1",ve,[t(e).heroHeadline?(i(),n(h,{key:0},[t(e).heroHeadlineHighlight&&t(e).heroHeadline.includes(t(e).heroHeadlineHighlight)?(i(),n(h,{key:0},[m(s(t(e).heroHeadline.split(t(e).heroHeadlineHighlight)[0])+" ",1),a("span",{class:"bg-clip-text text-transparent",style:S({backgroundImage:`linear-gradient(90deg, ${t(e).gradientFrom}, ${t(e).gradientTo})`})},s(t(e).heroHeadlineHighlight),5),m(s(t(e).heroHeadline.split(t(e).heroHeadlineHighlight)[1]),1)],64)):(i(),n(h,{key:1},[m(s(t(e).heroHeadline),1)],64))],64)):(i(),n(h,{key:1},[o[1]||(o[1]=m(" Create a ",-1)),a("span",{class:"bg-clip-text text-transparent",style:S({backgroundImage:`linear-gradient(90deg, ${t(e).gradientFrom}, ${t(e).gradientTo})`})},s(t(x)),5),m("-"+s(t(e).heroTitle),1)],64))]),a("p",{class:"mt-6 max-w-2xl text-base leading-8 text-white/60 sm:text-lg"},s(F)),a("form",{class:"mt-8 max-w-2xl",onSubmit:oe(E,["prevent"])},[o[2]||(o[2]=a("label",{class:"sr-only",for:"app-url"},"App Store or Google Play URL",-1)),a("div",_e,[a("div",ke,[k(t(be),{class:"h-5 w-5 shrink-0 text-white/45"}),re(a("input",{id:"app-url","onUpdate:modelValue":o[0]||(o[0]=c=>ie(f)?f.value=c:null),class:"w-full bg-transparent text-base text-white outline-none placeholder:text-white/35",inputmode:"url",placeholder:"Paste App Store or Google Play URL",type:"url"},null,512),[[se,t(f)]])]),a("button",$e,[m(s(t(e).ctaText||"Generate Video")+" ",1),k(t(fe),{class:"h-5 w-5"})])])],32),a("div",{class:g(["relative z-20 mt-6 max-w-2xl border border-white/10 bg-black/30 p-5 shadow-2xl shadow-black/20 backdrop-blur-2xl",A?"rounded-[2rem]":H?"rounded-3xl":y?"rounded-xl":"rounded-[1.25rem]"])},[a("div",Se,[a("div",null,[a("p",Le,s(t(p).heroPanelTitle),1),a("p",Ae,s(t(e).name)+" creative profile ",1)]),a("span",He,s(t(e).badge),1)]),a("ul",{class:g(["mt-4 grid gap-3",y?"sm:grid-cols-1":"sm:grid-cols-3"])},[(i(!0),n(h,null,U(t(p).heroPanelItems,c=>(i(),n("li",{key:c,class:"rounded-xl border border-white/10 bg-white/[0.04] p-3 text-sm leading-6 text-white/65"}
11,s(c),1))),128))],2)],2)]),a("div",{class:g(["relative mt-10 md:mt-0",H?"lg:scale-105":""])},[a("div",{class:g(["relative z-10 flex items-center justify-center",A?"min-h-[520px] md:min-h-[580px]":y?"min-h-[430px] md:min-h-[500px]":"min-h-[460px] md:min-h-[520px]"])},[(i(!0),n(h,null,U(v.value,(c,_)=>(i(),n("div",{key:w.value[c]?.id,class:g(q(_)),onClick:je=>O(_)},[a("div",Te,[_===1?(i(),n("video",{key:w.value[c]?.video,muted:"",loop:"",controls:"",autoplay:"",playsinline:"","webkit-playsinline":"","x5-playsinline":"","x5-video-player-type":"h5",class:"h-full w-full object-cover"},[a("source",{src:w.value[c]?.video,type:"video/mp4"},null,8,Ue)])):(i(),n("img",{key:1,src:w.value[c]?.img,alt:"App Interface",class:"h-full w-full object-cover",referrerpolicy:"no-referrer"},null,8,Ce)),_!==1?(i(),n("div",Re)):ne("",!0)])],10,Pe))),128))],2)],2)],2)]),k(ce)],4))}}),Ee=de(De,[["__scopeId","data-v-49e9d663"]]);export{Ee as default};
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.