import{r as s,h as t,H as r,g as i}from"./p-90108212.js";import{s as l}from"./p-f385e205.js";const o=class{constructor(t){s(this,t),this.native=!1,this.novalidate=!1}async scrollToFirstInvalidField(){l({formEl:this.el})}render(){let s={};return this.native&&(s={novalidate:this.novalidate}),t(r,null,t(this.native?"form":"div",Object.assign({},s),t("slot",null)))}get el(){return i(this)}};export{o as bal_form}