PageSourceSearch

https://trynow.ai/_nuxt/B5OOqxha.js

js trynow.ai collected 2026-10-05 13:09:08 UTC 5,373 bytes, 1 lines download raw bytes

1import{a7 as A,cd as E,ck as T,cf as B,Y as g,R as t,cC as f,cB as w,bz as r,aR as h,a5 as v,bo as y,f as I,be as R,bb as m,b2 as k,w as F}from"./CR0f8w3d.js";import{u as N}from"./Cgc1i7CS.js";import{u as P}from"./C6AWRA15.js";import"./3YiafU0C.js";import"./Dv7XJYq1.js";import"./osFJBD5T.js";const U={class:"min-h-[calc(100svh-var(--ui-header-height))] flex-1 bg-zinc-950 text-white"},V={class:"relative isolate overflow-hidden"},O={class:"mx-auto flex w-full max-w-6xl flex-col px-6 pb-16 pt-24 sm:pt-32 desk:px-8 desk:pb-24 desk:pt-40"},j={class:"mt-14 max-w-3xl rounded-2xl border border-white/10 bg-black/40 p-2 shadow-2xl shadow-black/40 backdrop-blur sm:mt-18"},K={class:"grid size-12 place-items-center rounded-2xl bg-white/[0.06] text-indigo-400 transition group-hover:-translate-y-0.5"},W={class:"mt-1 text-sm text-white/70"},Y=["accept"],G={class:"mt-16 border-t border-white/10 pt-8"},q={class:"mt-5 grid max-w-3xl gap-3 sm:grid-cols-2"},H=["disabled","onClick"],J={class:"text-sm font-medium text-white/80"},ie=A({__name:"index",setup(Q){const i=P("clean-cut"),D=E(),_=N(),x=T(),p=m(null),a=m(!1),l=m(null);let d=0;const C=[{number:1,label:"Corner logo"},{number:2,label:"Center caption"}];B({title:`${i.title} | Creative AI Tools`,description:i.description,ogTitle:i.title,ogDescription:i.description,ogImage:i.images.cover});async function u(o){const e=o[0];if(!e)return;if(e.size>i.input.maxSizeMB*1024*1024){x.add({title:"Video too large",description:`Please upload a video under ${i.input.maxSizeMB} MB.`,color:"error"});return}const n=await new Promise((s,b)=>{const c=new FileReader;c.onload=()=>s(String(c.result)),c.onerror=()=>b(c.error),c.readAsDataURL(e)});_.setInputVideo(n),D.push(`/${i.slug}/edit`)}function S(o){o&&u(Array.from(o))}function z(o){o.preventDefault(),d++,a.value=!0}function M(o){o.preventDefault(),d=Math.max(0,d-1),d===0&&(a.value=!1)}function L(o){o.preventDefault(),d=0,a.value=!1,o.dataTransfer?.files&&u(Array.from(o.dataTransfer.files))}async function $(o){l.value=o;try{const e=await fetch(`/demo-videos/watermark-samples/sample-${o}.mp4`);if(!e.ok)throw new Error("Sample unavailable");const n=await e.blob(),s=new File([n],`clean-cut-sample-${o}.mp4`,{type:n.type||"video/mp4"});await u([s])}catch{x.add({title:"Sample unavailable",description:"Please upload your own clip instead.",color:"error"})}finally{l.value=null}}return(o,e)=>{const n=F;return k(),g("div",U,[t("div",V,[e[11]||(e[11]=t("div",{class:"absolute inset-0 -z-10 bg-zinc-950"},[t("div",{class:"absolute inset-0 bg-[radial-gradient(circle_at_50%_18%,rgba(79,70,229,0.18),transparent_42%)]"}),t("div",{class:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_35%,rgba(0,0,0,0.72)_100%)]"})],-1)),t("main",O,[e[9]||(e[9]=t("header",{class:"max-w-4xl"},[t("p",{class:"text-xs font-medium tracking-[0.28em] text-white/50"}," CLEANCUT STUDIO "),t("h1",{class:"mt-6 text-5xl font-semibold leading-[0.94] tracking-[-0.055em] text-white sm:text-7xl desk:text-8xl"}," Your footage, unbranded. "),t("p",{class:"mt-7 max-w-xl text-base leading-7 text-white/60 sm:text-lg"}," Remove platform stamps, logos and burned-in captions from any clip — without touching the pixels you care about. ")],-1)),t("section",j,[t("div",{class:h(["group flex min-h-72 cursor-pointer flex-col items-center justify-center rounded-xl border-2 border-dashed bg-zinc-900 px-6 py-12 text-center text-white/70 transition",r(a)?"border-indigo-400 bg-indigo-500/10":"border-white/15 hover:border-white/30 hover:bg-white/[0.05]"]),role:"button",tabindex:"0",onClick:e[1]||(e[1]=s=>r(p)?.click()),onKeydown:[e[2]||(e[2]=w(s=>r(p)?.click(),["enter"])),e[3]||(e[3]=w(f(s=>r(p)?.click(),["prevent"]),["space"]))],onDragenter:z,onDragover:e[4]||(e[4]=f(()=>{},["prevent"])),onDragleave:M,onDrop:L},[t("div",K,[v(n,{name:"i-lucide-cloud-upload",class:"size-6"})]),e[5]||(e[5]=t("h2",{class:"mt-5 text-lg font-semibold text-white/90"}," Drop your clip ",-1)),t("p",W,y(r(a)?"Drop to upload":"Drag & drop, or choose a file"),1),e[6]||(e[6]=t("span",{class:"mt-6 rounded-lg bg-indigo-600 px-5 py-2.5 text-sm font-semibold text-white shadow-lg shadow-indigo-950/30 transition hover:bg-indigo-500"}," Choose clip ",-1)),t("input",{ref_key:"fileInput",ref:p,type:"file",accept:r(i).input.accept.join(","),class:"hidden",onChange:e[0]||(e[0]=s=>S(s.target.files))},null,40,Y)],34),e[7]||(e[7]=t("p",{class:"px-4 pb-4 pt-3 text-center text-xs tracking-wide text-white/40"}," MP4, MOV or WebM · 20 MB max ",-1))]),t("section",G,[e[8]||(e[8]=t("p",{class:"text-xs font-medium uppercase tracking-[0.24em] text-white/40"}," Screening room ",-1)),t("div",q,[(k(),g(I,null,R(C,s=>t("button",{key:s.number,type:"button",class:"group flex items-center justify-between rounded-xl border border-white/10 bg-white/[0.025] px-5 py-4 text-left transition hover:border-white/25 hover:bg-white/[0.06]",disabled:r(l)!==null,onClick:b=>$(s.number)},[t("span",J,y(s.label),1),v(n,{name:r(l)===s.number?"i-lucide-loader-circle":"i-lucide-play",class:h(["size-4 text-white/40 group-hover:text-white",r(l)===s.number&&"animate-spin"])},null,8,["name","class"])],8,H)),64))])]),e[10]||(e[10]=t("footer",{class:"mt-20 border-t border-white/10 pt-6 text-[10px] font-medium tracking-[0.24em] text-white/40 sm:text-xs"}," KLING · SEEDANCE · SORA — ALL STAMPS WELCOME ",-1))])])])}}});
1export{ie 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.