PageSourceSearch

https://apptovid.com/_nuxt/VhH1ME_S.js

js apptovid.com collected 2026-09-29 19:07:15 UTC 2,087 bytes, 1 lines download raw bytes

1import{g as x,bP as h,bM as y,D as b,u as w,o as m,c as g,a as t,t as i,l as a,m as D,I as _,bQ as I,q as r}from"./Bl7aIc7Y.js";import{a as f}from"./Cxw42SGi.js";import{u as $}from"./DWPcOr1N.js";const k={class:"mt-20 mb-12 px-4 sm:px-6 md:mt-24 md:mb-24"},A={class:"max-w-7xl mx-auto px-4 py-8 lg:px-8"},C={class:"grid gap-8 lg:grid-cols-[320px_1fr] lg:items-start"},T={class:"flex flex-col gap-4"},B={class:"text-2xl font-bold text-gray-600 leading-tight capitalize"},M={class:"text-base text-gray-700 leading-relaxed uppercase"},V={class:"text-base text-gray-700 leading-relaxed capitalize"},S={class:"relative w-full bg-black rounded-xl overflow-hidden shadow-lg"},q=["src","poster"],z={key:0,class:"full-screen-loading"},U=x({__name:"[id]",async setup(E){let s,n;const o=h().params.id,{data:e,pending:v}=([s,n]=y(async()=>$(`template-detail-${o}`,async()=>{if(!o)return null;const l=await $fetch(`${_.apiBaseUrl}/api/template/details/${o}`,{query:{app:3}});if(l?.status!==0)throw I({statusCode:500,statusMessage:l?.errmsg||"Failed to fetch template details"});return l?.data?.template||null},{default:()=>null})),s=await s,n(),s),c=r(()=>e.value?.title?`${e.value.title} | Apptovid Template`:"Template Detail | Apptovid"),p=r(()=>e.value?.description||f.description),d=r(()=>e.value?.cover_image_url||e.value?.cover_image||f.ogImage);return b({title:()=>c.value,description:()=>p.value,ogTitle:()=>c.value,ogDescription:()=>p.value,ogImage:()=>d.value,twitterImage:()=>d.value}),w(()=>({link:[{rel:"canonical",href:`${_.appUrl}/template/${o}`}]})),(l,u)=>(m(),g("div",k,[t("main",A,[t("div",C,[t("section",T,[t("h3",B,i(a(e)?.title||"AI Video Ad Promo Template"),1),t("p",M,i(a(e)?.template_type),1),t("p",V,i(a(e)?.description),1)]),t("section",S,[t("video",{ref:"resultVideoRef",class:"w-full h-auto block aspect-video object-contain",referrerpolicy:"no-referrer",src:a(e)?.demo_video?.url,poster:a(e)?.cover_image_url,controls:""},null,8,q)])])]),a(v)?(m(),g("div",z,[...u[0]||(u[0]=[t("div",null,null,-1),t("span",null,"Loading...",-1)])])):D("",!0)]))}});export{U 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.