import{i as e,n as t}from"./rolldown-runtime-ConPGZeh.js";import{Nn as n,Rr as r,Sr as i,Tr as a,Vn as o,Yr as s,Zn as c,er as l,hr as u,ii as d,oi as f,or as p,yr as m}from"./vendor-primevue-D1-E3-0M.js";import{_n as h,bn as g,vn as _,yn as v}from"./api-DvJuMrZn.js";var y,b,x=t((()=>{n(),_(),y={class:`flex w-full grow items-center justify-center overflow-auto`},b=p({__name:`BaseViewTemplate`,props:{dark:{type:Boolean,default:!1}},setup(e){let t={color:`rgba(0, 0, 0, 0)`,symbolColor:`#d4d4d4`},n={color:`rgba(0, 0, 0, 0)`,symbolColor:`#171717`},p=s(null);return m(async()=>{v()&&(await u(),h().changeTheme({...e.dark?t:n,height:p.value?.getBoundingClientRect().height??0}))}),(e,t)=>(i(),l(`div`,{class:f([`flex h-svh w-screen flex-col font-sans`,[e.dark?`dark-theme bg-neutral-900 text-neutral-300`:`bg-neutral-300 text-neutral-900`]])},[r(c(`div`,{ref_key:`topMenuRef`,ref:p,class:`app-drag h-(--comfy-topbar-height) w-full`},null,512),[[o,d(g)()]]),c(`div`,y,[a(e.$slots,`default`)])],2))}})})),S,C=t((()=>{x(),x(),S=b}));export{C as n,S as t};
//# sourceMappingURL=BaseViewTemplate-CzPltQUr.js.map