'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("./common/styles.js"),t=require("@gem-sdk/system"),r=require("./common/classes.js"),l=require("react");exports.default=a=>{let{index:i,isSelected:c,setSelected:n,setting:o,styles:d,childItem:u,bundleItem:m}=a,y=t.createStyle(s.getItemWrapStyles(d,c)),g=t.createClass(r.getLayoutClasses(o)),x=t.createStyle(s.getIconStyles(o)),j=t.createStyle(s.getSvgActiveStyles(d)),v=t.createStyle(s.getSvgStyles(d)),p=t.createClass(r.getIconSectionClasses),C=t.createClass(r.getItemClasses),h=t.createClass(s.getFlexChildren);return e.jsx("div",{"aria-hidden":!0,onClick:()=>n?.(i),className:C,style:y,children:e.jsxs("div",{className:g,children:[o?.enableIcon&&e.jsx("div",{className:p,style:x,children:t.If(c,e.jsx("svg",{style:j,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor","data-id":"493334324348453213",children:e.jsx("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.jsx("svg",{style:v,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor","data-id":"508817616304734568",children:e.jsx("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.jsx("div",{className:h,children:l.isValidElement(u)&&e.jsx(u.type,{...u.props,"bundle-item":m})})]})})};
