import{d as r,n as c,w as l,b as d,h as p,o as t,c as a,g as f,e as g,N as _,t as m,k as u,T as h}from"./Dp5WhfgA.js";const x={key:0,class:"d-flex align-center justify-center"},y={class:"ma-6"},k={key:1},C=r({__name:"CLoading",props:{isLoading:{type:Boolean,default:!1},loadingText:{type:String,default:""},textWhite:{type:Boolean,default:!1}},setup(s){const e=s,o=c(e.isLoading);return l(()=>{o.value=e.isLoading}),(n,v)=>{const i=d("v-progress-circular");return p(o)?(t(),a("div",x,[f("div",y,[g(i,{indeterminate:"",size:"64"}),e.loadingText?(t(),a("h1",{key:0,class:_(["text-center py-2",s.textWhite?"text-white":"text-black"])},m(e.loadingText),3)):u("",!0)])])):(t(),a("div",k,[h(n.$slots,"default")]))}}});export{C as _};
