import{P as d,E as m}from"./app-Ba7ZqSpq.js";import{_ as f}from"./app-yUrwy8EY.js";import{_,K as r,r as i,a$ as h,o as s,g as c,j as v,a as g,c as y,h as B,F as L,aa as k}from"./app-SC54XQDl.js";const w={class:"fixed top-0 left-0 right-0",style:{"z-index":"999999"}},$={__name:"PopupLayout",setup(P){const l=k("$inDialogDynamic",!1);r("$popupLayout",l);const o=new d;r("$popupState",o.last());const a=i(!1),e=new m,t=()=>{a.value=!0};e.on("showLoadingBar",t);const n=()=>{setTimeout(()=>a.value=!1,200)};e.on("hideLoadingBar",n),h(()=>{o.pop(),e.remove("showLoadingBar",t),e.remove("hideLoadingBar",n)});const p=i();return(u,x)=>(s(),c(L,null,[(s(),c("div",{key:p.value},[v(u.$slots,"default",{},void 0,!0)])),g("div",w,[a.value?(s(),y(f,{key:0,class:"w-full",style:{height:"0.2em"},mode:"indeterminate"})):B("",!0)])],64))}},V=_($,[["__scopeId","data-v-f4ea1882"]]);export{V as P};
