var x=Object.defineProperty,f=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var o=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var i=(a,s,r)=>s in a?x(a,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[s]=r,l=(a,s)=>{for(var r in s||(s={}))d.call(s,r)&&i(a,r,s[r]);if(o)for(var r of o(s))b.call(s,r)&&i(a,r,s[r]);return a},p=(a,s)=>f(a,h(s));var u=(a,s)=>{var r={};for(var c in a)d.call(a,c)&&s.indexOf(c)<0&&(r[c]=a[c]);if(a!=null&&o)for(var c of o(a))s.indexOf(c)<0&&b.call(a,c)&&(r[c]=a[c]);return r};import{j as n,eF as v,c_ as C,a2 as T,ex as L,bc as M,e5 as j,ez as k,bn as y,b3 as m,aa as I,eI as N,dr as S,bj as q,eJ as F,eK as P,dp as D,e6 as R,ew as z,eL as B,cF as E,dq as G,dN as J}from"./react-vendor-xYZnmIII.js";import{c as K}from"./ui-components-CQM92IK3.js";import"./inertia-vendor-cBbDTmhJ.js";import"./ui-vendor-Ds9iwIxa.js";import"./interactive-vendor-B1OgcAgP.js";const g=U=>{var t=U,{className:a,item:s,isSelected:r,type:c}=t,w=u(t,["className","item","isSelected","type"]);let e;switch(c){case"video":e=J;break;case"link":e=G;break;case"image":e=E;break;case"input":e=B;break;case"label":e=z;break;case"button":e=R;break;case"heading":e=D;break;case"paragraph":e=m;break;case"span":e=P;break;case"iframe":e=F;break;case"icon":e=q;break;case"checkbox":e=S;break;case"radio":e=N;break;case"select":e=I;break;case"textarea":e=m;break;case"form":e=k;break;case"ul":case"li":e=y;break;case"div":e=k;break;case"header":case"footer":case"nav":case"article":case"aside":e=j;break;case"dropdownMenu":case"dropdownMenuTrigger":case"dropdownMenuContent":case"dropdownMenuLabel":case"dropdownMenuItem":e=M;break;case"popover":case"popoverTrigger":case"popoverContent":e=L;break;case"drawer":case"drawerTrigger":case"drawerContent":e=T;break;case"accordion":case"accordionItem":case"accordionTrigger":case"accordionContent":e=C;break;case"tabs":case"tabsList":case"tabsTrigger":case"tabsContent":e=v;break}return n.jsxs("div",p(l({className:K("flex w-full cursor-pointer items-center border-l p-3",a)},w),{children:[e&&n.jsx(e,{className:"mr-2 h-5 w-5 text-muted-foreground","aria-hidden":"true"}),n.jsxs("span",{className:"inline-flex w-full flex-grow items-center justify-between gap-2 truncate text-sm",children:[s.name," ",r&&n.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-500"})]})]}))};g.displayName=g.name;export{g as default};
