System.register(["./index-legacy-DF2p3puw.js"],(function(e,n){"use strict";var t;return{setters:[function(e){t=e.j}],execute:function(){e("S",(function(e){var n=e.options,l=e.onChange,a=e.value;return 0===n.length?null:t.jsx("ul",{className:"group p-1 bg-slate-100 hover:bg-slate-200 rounded-lg inline-flex",children:n.map((function(e){return t.jsx("li",{children:t.jsxs("label",{className:"py-1 px-5 relative rounded-md items-center text-base font-medium inline-block\n            ".concat(e.value===a?"bg-gray-700 text-white group-hover:shadow-sm":"group-hover:bg-gray-200"),children:[t.jsx("input",{type:"radio",name:"switcher",value:e.value,checked:a===e.value,onChange:function(){return l(e.value)},className:"opacity-0 absolute left-0 w-full h-full top-0 ".concat(e.value===a?"":"cursor-pointer")}),e.label]})},e.value)}))})}))}}}));
