import{z as f}from"./index-CBho6rsP.js";import{N as i,d as m,aP as d,T as p,e as h,aQ as C,r as _,aA as v,u,o as P,w,aR as b}from"./index-BLuBzgcR.js";import{V as y}from"./VContainer-DOe7JF0h.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}},A={variant:"default",fluid:!0},B=m({__name:"Container",props:d({variant:{},fluid:{type:Boolean},tag:{},class:{},style:{}},A),setup(a){const s=a,r=p(),o=i(()=>r.current.value.dark),{containerProps:n,containerClasses:e}=k(s,o.value);return(t,c)=>(P(),h(y,v(u(n),{class:u(e)}),C({_:2},[_(t.$slots,(j,l)=>({name:l,fn:w(()=>[b(t.$slots,l,{},void 0,!0)])}))]),1040,["class"]))}}),V=g(B,[["__scopeId","data-v-b8d6ce90"]]);export{V as C};
