import{u as l}from"./DkW3u-iz.js";import{u as c}from"./n1hvS8Bl.js";import{e as i,y as o,o as f,c as u,U as d,h as s,n as h,r as p,a1 as _}from"./DgRzpAjP.js";import"./DE0mmtVA.js";const b=["data-theme"],E=i({__name:"blank",setup(T){const t=l(),n=c(),a=p(null);o(a,e=>{e&&(n.rootElement=e)});const m=_();return o([()=>t.autoSwitchTheme,m],([e,r])=>{e&&(t.curTheme=r?t.favNightTheme:t.favDayTheme)},{immediate:!0}),o(()=>t.curTheme,e=>{document.documentElement.setAttribute("data-theme",e)},{immediate:!0}),(e,r)=>(f(),u("div",{ref_key:"rootElement",ref:a,class:h(["relative flex h-screen flex-col overscroll-y-none bg-base-100 antialiased",s(t).enableTwemoji?"font-twemoji":"font-default"]),"data-theme":s(t).curTheme},[d(e.$slots,"default")],10,b))}});export{E as default};
