1 "use strict";var i=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var n=(s,o)=>{var t={};for(var e in s)a.call(s,e)&&o.indexOf(e)<0&&(t[e]=s[e]);if(s!=null&&i)for(var e of i(s))o.indexOf(e)<0&&y.call(s,e)&&(t[e]=s[e]);return t};const r=require("vue");function C(s,o=r.computed(()=>({}))){const t=r.computed(()=>{const c=n(o.value,[]);return s.class&&s.class.split(" ").forEach(u=>{c[u]=!0}),c}),e=r.computed(()=>{if("style"in s)return s.style}),d=r.computed(()=>{const l=s,{class:c,style:p}=l;return n(l,["class","style"])});return{rootClasses:t,rootStyle:e,otherAttrs:d}}module.exports=C;