import{z as f}from"./Button-kSJGA_Pw.js";import{c as i,U as m,aO as d,al as p,W as h,X as C,aP as _,a1 as v,G as P,a2 as u,Y as b,aQ as w}from"./index-B-lUZalq.js";import{V as y}from"./VContainer-DB65WVbe.js";import{_ as g}from"./_plugin-vue_export-helper-DlAUqK2U.js";const k=(a,s)=>{const r=i(()=>{const{variant:n,...e}=a;return{...e,fluid:a.fluid!==!1}}),o=i(()=>{const n=f(a.variant).with("panel",()=>["container-main","container-panel",s?"container-panel--dark":"container-panel--light"]).with("compact",()=>["container-main","container-compact"]).with("comfortable",()=>["container-main","container-comfortable"]).with("default",()=>["container-main","container-default"]).otherwise(()=>["container-main","container-default"]),e=[];return a.class&&(typeof a.class=="string"?e.push(a.class):Array.isArray(a.class)?e.push(...a.class):Object.entries(a.class).forEach(([t,c])=>{c&&e.push(t)})),[...n,...e].join(" ")});return{containerProps:r,containerClasses:o}},B={variant:"default",fluid:!0},j=m({__name:"Container",props:d({variant:{},fluid:{type:Boolean},tag:{},class:{},style:{}},B),setup(a){const s=a,r=p(),o=i(()=>r.current.value.dark),{containerProps:n,containerClasses:e}=k(s,o.value);return(t,c)=>(C(),h(y,P(u(n),{class:u(e)}),_({_:2},[v(t.$slots,(x,l)=>({name:l,fn:b(()=>[w(t.$slots,l,{},void 0,!0)])}))]),1040,["class"]))}}),V=g(j,[["__scopeId","data-v-b8d6ce90"]]);export{V as C};
