import{r as e}from"./rolldown-runtime-DIIn1E2Q.js";import"./vendor-primevue-DGevbYGF.js";import"./vendor-firebase-yTFzdAQf.js";import{F as t,I as n,O as r,R as i,Rt as a,S as o,Ut as s,_t as c,et as l,j as u,rt as d,t as f}from"./vendor-vue-core-BdhYaYlO.js";import"./vendor-other-D9HJWI2D.js";import"./useFeatureFlags-DLStzqlx.js";import"./api-C1WIrB4Z.js";import"./vendor-markdown-th9BvURy.js";import"./colorUtil-DJbZtU1U.js";import{n as p}from"./vendor-i18n-JubCsGQ_.js";import"./i18n-DKtnmyh4.js";import"./vendor-reka-ui-CSo89nDv.js";import{t as m}from"./Button-DHxPjNdi.js";import"./dialogService-CwVeD8j9.js";import"./extensionStore-By6c6sCD.js";import{t as h}from"./_plugin-vue_export-helper-BwIhnXfq.js";import"./userStore-ChcnLOkA.js";import"./useErrorHandling-CWU_3R6Y.js";import"./useExternalLink-DZBh_BZs.js";import"./vendor-tiptap-BZHcjrm1.js";import"./markdownRendererUtil-J4WlXR5e.js";import"./Popover-_oREh-V5.js";import{t as g}from"./GlobalToast-BAlX7_I5.js";import{t as _}from"./BaseViewTemplate-BPNpLti5.js";var v=``+new URL(`thumbnail-imMA3y7Z.png`,import.meta.url).href,y=``+new URL(`video-BvOHf4P9.mp4`,import.meta.url).href,b=``+new URL(`images/comfy-cloud-logo.svg`,import.meta.url).href,x={},S={class:`mx-auto flex h-[7%] max-h-[70px] w-5/6 items-end`},C=[`alt`];function _sfc_render(e,t){return l(),u(`div`,S,[r(`img`,{src:b,alt:e.$t(`subscription.comfyCloudLogo`),class:`h-3/4 max-h-10 w-auto`},null,8,C)])}var w=h(x,[[`render`,_sfc_render]]),T={class:`mx-auto flex h-[5%] max-h-[60px] w-5/6 items-start gap-2.5`},E={href:`https://www.comfy.org/terms-of-service`,target:`_blank`,class:`cursor-pointer text-sm text-gray-600 no-underline`},D={href:`https://www.comfy.org/privacy-policy`,target:`_blank`,class:`cursor-pointer text-sm text-gray-600 no-underline`},O={href:`https://support.comfy.org`,class:`cursor-pointer text-sm text-gray-600 no-underline`,target:`_blank`,rel:`noopener noreferrer`},k=i({__name:`CloudTemplateFooter`,setup(e){let{t}=p();return(e,n)=>(l(),u(`footer`,T,[r(`a`,E,s(a(t)(`auth.login.termsLink`)),1),r(`a`,D,s(a(t)(`auth.login.privacyLink`)),1),r(`a`,O,s(a(t)(`cloudFooter_needHelp`)),1)]))}}),A={class:`flex`},j={class:`relative hidden flex-1 overflow-hidden bg-black lg:block`},M=[`poster`],N=[`src`],P={class:`absolute inset-0 flex items-center justify-center text-center text-white`},F={class:`font-abcrom hero-title font-black uppercase italic`},I={class:`m-2 text-center text-xl text-white`},L={class:`m-0 text-center text-xl text-white`},R={class:`absolute inset-0 flex flex-col justify-end px-14 pb-[64px]`},z={class:`flex items-center justify-end`},B={class:`flex items-center gap-3`},V={class:`text-md text-white`},H=i({__name:`CloudTemplate`,setup(e){let{t:i}=p(),handleDownloadClick=()=>{window.open(`https://www.comfy.org/download`,`_blank`)};return(e,o)=>(l(),u(`div`,A,[n(_,{dark:``,class:`flex-1`},{header:c(()=>[n(w)]),footer:c(()=>[n(k)]),default:c(()=>[d(e.$slots,`default`)]),_:3}),r(`div`,j,[r(`video`,{class:`absolute inset-0 h-full w-full object-cover`,autoplay:``,muted:``,loop:``,playsinline:``,poster:a(v)},[r(`source`,{src:a(y),type:`video/mp4`},null,8,N)],8,M),o[0]||=r(`div`,{class:`absolute inset-0 h-full w-full bg-black/30`},null,-1),r(`div`,P,[r(`div`,null,[r(`h1`,F,s(a(i)(`cloudStart_title`)),1),r(`p`,I,s(a(i)(`cloudStart_desc`)),1),r(`p`,L,s(a(i)(`cloudStart_explain`)),1)])]),r(`div`,R,[r(`div`,z,[r(`div`,B,[r(`p`,V,s(a(i)(`cloudStart_wantToRun`)),1),n(m,{type:`button`,class:`h-10 bg-black font-bold text-white`,variant:`secondary`,onClick:handleDownloadClick},{default:c(()=>[t(s(a(i)(`cloudStart_download`)),1)]),_:1})])])])])]))}}),U=i({__name:`CloudLayoutView`,setup(e){return(e,t)=>(l(),u(o,null,[n(H,null,{default:c(()=>[n(a(f))]),_:1}),n(g)],64))}});export{U as default};
//# sourceMappingURL=CloudLayoutView-BD11pDhn.js.map