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