const e=require("../_util/classNames.js"),t=require("../_util/vue-types/index.js"),n=require("./Item.js"),r=require("./context.js");let i=require("vue");var a=(0,i.defineComponent)({compatConfig:{MODE:3},name:`RawItem`,inheritAttrs:!1,props:{component:t.default.any,title:t.default.any,id:String,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},role:String,tabindex:Number},setup(t,{slots:a,attrs:o}){let s=r.useInjectOverflowContext();return()=>{if(!s.value){let{component:e=`div`,...n}=t;return(0,i.createVNode)(e,{...n,...o},{default:()=>[a.default?.()]})}let{className:c,...l}=s.value,{class:u,...d}=o;return(0,i.createVNode)(r.OverflowContextProvider,{value:null},{default:()=>[(0,i.createVNode)(n.default,{class:e.default(c,u),...l,...d,...t},a)]})}}});exports.default=a;