import{r as s,c as t,h as i,H as r}from"./p-bace3d90.js";const o=class{constructor(i){s(this,i),this.formSubmit=t(this,"formSubmit",7)}onClick(s){s.preventDefault(),this.formSubmit.emit({name:this.formId,type:"submit"})}render(){return i(r,{onClick:s=>this.onClick(s),"data-cy":`submit-${this.formId}`},i("slot",null))}};export{o as corejam_form_submit}