1import{u as e,n as l,d as t,i as a,o as s,H as i,j as o,F as r,r as p,O as n,h as c,c as m,X as u,x as d,t as f,G as h,cX as g,a9 as x,al as v}from"./C_SujqTF.js";import{_ as w}from"./DNML2DWm.js";import{_ as b}from"./7e8-68_c.js";import{_ as y}from"./BbAjMHgY.js";import{H as k}from"./Dg1vCQpR.js";import{I as C}from"./EIcR-VM0.js";import{u as j}from"./CU_9o-6M.js";import"./D-0bpgdg.js";import"./D_eKWQSu.js";const _={class:"w-full my-10 hsm:my-20 hmd:my-[120px] px-3 hsm:px-8"},H={class:"w-full flex gap-2 hsm:gap-4 items-center justify-center relative"},L=["onClick"],V={key:2,class:"w-[30px] h-[30px] rounded-full bg-black/[.16] backdrop-filter backdrop-blur-[12px] absolute top-2 right-3 flex items-center justify-center"},$={key:0,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},I={key:1,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},M={class:"size-full absolute top-0 left-0 bg-black/[.32] backdrop-filter backdrop-blur-[16px] opacity-0 group-hover:opacity-100 transition-opacity duration-300 hidden hmd:flex flex-col gap-4 p-4 hlg:p-6"},S={class:"w-full flex items-center justify-center absolute bottom-4 left-0"},U={class:"text-white text-xl hlg:text-base text-ellipsis overflow-hidden whitespace-nowrap"},Z={class:"text-white text-sm"},z={__name:"VideoEffectList",props:{title:{type:String,default:""},subtitle:{type:String,default:""},paragraph:{type:Array,default:()=>[]},videoList:{type:Array,default:()=>[]}},setup(z){const O=z,{href:A}=j(),{locale:E}=e(),B=l(),F=B.public.linkUrl,G=B.public.modelLinkUrl,J=B.public.videoModelLinkUrl,T=[[2,1,3],[1,3,2],[3,2,1],[1,2,3],[2,3,1],[3,1,2]],X=t(()=>{const e=[];for(let l=0;l<O.videoList.length&&l<18;l+=3)e.push(O.videoList.slice(l,l+3));return e}),K=()=>{v("click_inspirations",{category:"Home_Page",transport:"beacon"})};return(e,l)=>{const t=g,v=w;return s(),a("section",_,[i(y,{title:z.title,subtitle:z.subtitle,paragraph:z.paragraph,class:"mb-10 hsm:mb-24"},null,8,["title","subtitle","paragraph"]),o("div",H,[(s(),a(r,null,p(T,(g,v)=>o("div",{key:v,class:n(["flex flex-col gap-2 hsm:gap-4 w-1/2 hsm:w-1/4 hlg:w-1/6",{"hidden hsm:flex":v>=2&&v<4,"hidden hlg:flex":v>=4}])},[(s(!0),a(r,null,p(c(X)[v],(r,p)=>(s(),a("div",{key:p,onClick:e=>(e=>{if(!e)return;K();let l={source_urls:e.isImage?[]:[{url:e.posterUrl}],prompt:e.prompt};sessionStorage.setItem("home_template",JSON.stringify(l)),e.isImage?x(`${F}${"en"===E.value?"":"/"+E.value}${G}`,{external:!0}):x(`${F}${"en"===E.value?"":"/"+E.value}${J}`,{external:!0})})(r),class:n(["w-full cursor-pointer rounded-lg hsm:rounded-2xl overflow-hidden relative group",{"aspect-[4/3]":1===g[p],"aspect-[1/1]":2===g[p],"aspect-[3/4]":3===g[p]}])},[r.isVideo?(s(),m(b,{key:0,class:"size-full object-cover transition-all duration-300 ease-in-out transform group-hover:scale-[1.08]",videoSrc:r.videoUrl,poster:r.posterUrl,"alt-text":"","video-title":"","video-description":"",autoplay:!0,muted:!0,loop:!0,"lazy-load":!0},null,8,["videoSrc","poster"])):u("",!0),r.isImage?(s(),m(C,d({key:1,ref_for:!0},r.image,{class:"size-full object-cover transition-all duration-300 ease-in-out transform group-hover:scale-[1.08]"}),null,16)):u("",!0),r.isVideo||r.isImage?(s(),a("div",V,[r.isImage?(s(),a("svg",$,[...l[0]||(l[0]=[o("path",{d:"M11.778 1.77734C13.1263 1.77734 14.2221 2.87338 14.2223 4.22168V11.7773C14.2223 13.1258 13.1264 14.2217 11.778 14.2217H4.22229C2.874 14.2215 1.77795 13.1257 1.77795 11.7773V4.22168C1.77813 2.87349 2.8741 1.77752 4.22229 1.77734H11.778ZM4.22229 3.11035C3.6101 3.11053 3.11114 3.60949 3.11096 4.22168V11.7773C3.11096 12.0131 3.18635 12.2311 3.31213 12.4111L8.27112 7.45215C9.22491 6.49941 10.7753 6.49931 11.7281 7.45215L12.8893 8.6123V4.22168C12.8891 3.60938 12.3903 3.11035 11.778 3.11035H4.22229ZM5.55627 5.33301C6.16967 5.3333 6.66662 5.83087 6.66663 6.44434C6.66645 7.05766 6.16957 7.55537 5.55627 7.55566C4.94273 7.55566 4.44512 7.05784 4.44495 6.44434C4.44495 5.83069 4.94263 5.33301 5.55627 5.33301Z",fill:"white","fill-opacity":"0.56"},null,-1)])])):(s(),a("svg",I,[...l[1]||(l[1]=[o("path",{d:"M8.66699 2.66699C10.0151 2.66729 11.1102 3.76321 11.1104 5.11133V10.8887C11.1104 12.2369 10.0152 13.3337 8.66699 13.334H3.33301C1.98471 13.3338 0.888672 12.237 0.888672 10.8887V5.11133C0.888848 3.76314 1.98482 2.66717 3.33301 2.66699H8.66699ZM14.3545 4.44531C14.701 4.25433 15.112 4.2603 15.4541 4.46191C15.7962 4.66459 16 5.02167 16 5.41895V10.582C15.9999 10.9792 15.7962 11.3364 15.4541 11.5391C15.2791 11.642 15.0842 11.6943 14.8896 11.6943C14.7058 11.6943 14.5213 11.648 14.3525 11.5547L12.4443 10.5049V5.49414L14.3545 4.44531Z",fill:"white","fill-opacity":"0.56"},null,-1)])]))])):u("",!0),o("div",M,[o("p",{class:n(["w-full max-h-[calc(100%-48px)] text-white font-medium text-base overflow-hidden",{"hmd:line-clamp-2 hlg:line-clamp-1 1xl:line-clamp-2 3xl:line-clamp-3 2k:line-clamp-4 2ks:line-clamp-6":1===g[p],"hmd:line-clamp-5 hlg:line-clamp-3 1xl:line-clamp-4 3xl:line-clamp-6 2k:line-clamp-[7] 2ks:line-clamp-[10]":2===g[p],"hmd:line-clamp-[8] hlg:line-clamp-6 1xl:line-clamp-[7] 3xl:line-clamp-[9] 2k:line-clamp-[12] 2ks:line-clamp-[14]":3===g[p]}])},f(r.prompt),3),o("div",S,[i(k,null,{default:h(()=>[i(t,{class:"text-white w-5 h-5 shrink-0"}),o("span",U,f(e.$t("HOME.START")),1)]),_:1})])])],10,L))),128))],2)),64)),i(v,{external:"",to:c(A)("/app/dashboard"),
1class:"w-full p-6 flex hsm:hidden items-center justify-center absolute bottom-0 left-0 bg-[linear-gradient(180deg,rgba(18,18,19,0)_0%,#121213_100%)]"},{default:h(()=>[i(k,null,{default:h(()=>[o("span",Z,f(e.$t("HOME.Load")),1)]),_:1})]),_:1},8,["to"])])])}}};export{z 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.