import{r as t,c as s,h as e}from"./p-c87337b7.js";const h=class{constructor(e){t(this,e),this.smoothlyChecked=s(this,"smoothlyChecked",7)}async onInput(t){return t.target&&t.target.value&&(this.checked=t.target.checked)&&this.smoothlyChecked.emit({name:this.name,value:this.value}),!0}render(){return[e("input",{type:"checkbox",name:this.name,value:this.value,title:this.label,checked:this.checked,onChange:t=>this.onInput(t)})]}static get style(){return".sc-smoothly-checkbox-h{display:block;position:relative}[hidden].sc-smoothly-checkbox-h{display:none}"}};export{h as smoothly_checkbox};