'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("@gem-sdk/system"),t=require("./common/styles.js"),r=require("./common/classes.js");exports.default=({builderProps:l,setting:a,advanced:o,styles:c})=>{let{name:m,description:n,selected:i,required:y}=a??{},p=s.createStyle(t.composeContainerStyles(a)),u=s.createStyle(t.composeFormCheckboxStyles(a,c,l)),d=s.createStyle(t.composeFormCheckboxInputStyles()),C=s.createStyle(t.getComposedTextStyle(a)),x=s.createClass(r.composeContainerClasses(a,o,l)),h=s.createClass(r.composeFormCheckboxInputClasses()),b=s.createClass(r.composeFormCheckboxLabelClasses());return e.jsx("div",{"data-id":l?.uid,style:p,children:e.jsxs("label",{style:u,className:x,children:[e.jsx("input",{className:h,name:m,type:"checkbox",checked:i,required:y,onChange:e=>e.preventDefault,style:d}),e.jsx("span",{className:b,style:C,children:n})]})})};
