'use client';
import{jsx as e,jsxs as r}from"react/jsx-runtime";import{getItemWrapStyles as o,getIconStyles as t,getSvgActiveStyles as l,getSvgStyles as i,getFlexChildren as s}from"./common/styles.js";import{createStyle as n,createClass as d,If as m}from"@gem-sdk/system";import{getLayoutClasses as a,getIconSectionClasses as c,getItemClasses as p}from"./common/classes.js";import{isValidElement as u}from"react";let h=h=>{let{index:f,isSelected:v,setSelected:w,setting:g,styles:y,childItem:k,bundleItem:x}=h,C=n(o(y,v)),j=d(a(g)),A=n(t(g)),Z=n(l(y)),L=n(i(y)),N=d(c),B=d(p),b=d(s);return e("div",{"aria-hidden":!0,onClick:()=>w?.(f),className:B,style:C,children:r("div",{className:j,children:[g?.enableIcon&&e("div",{className:N,style:A,children:m(v,e("svg",{style:Z,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor","data-id":"493334324348453213",children:e("path",{fill:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Z"})}),e("svg",{style:L,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor","data-id":"508817616304734568",children:e("path",{fill:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Z"})}))}),e("div",{className:b,children:u(k)&&e(k.type,{...k.props,"bundle-item":x})})]})})};export{h as default};
