import{r as s,h as a,H as t,g as i}from"./p-BdVwMG9u.js";import{s as r}from"./p-FCLKfv6B.js";import{b as o,a as e}from"./p-Ba5qjFjW.js";import"./p-B1u-Mq75.js";import"./p-D7M-7v58.js";const l=class{constructor(a){s(this,a),this.native=!1,this.novalidate=!1,this.formClass=""}async scrollToFirstInvalidField(){await o(),await e(),r({formEl:this.el})}render(){let s={};return this.native&&(s={novalidate:this.novalidate}),a(t,{key:"8b3d28034718b1594fef9900e776ff718e16441d"},a(this.native?"form":"div",Object.assign({key:"4a21539e4b24d63f95813654d92ac8aa2c0f948b"},s,{class:this.formClass}),a("slot",{key:"9b2a367a300b2803a4868c057e54d14952a557ca"})))}get el(){return i(this)}};l.style=".bal-form{display:block;position:static}";export{l as bal_form}