var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,u){function o(t){try{c(r.next(t))}catch(t){u(t)}}function f(t){try{c(r["throw"](t))}catch(t){u(t)}}function c(t){t.done?e(t.value):i(t.value).then(o,f)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r,i,u,o;return o={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function f(t){return function(n){return c([t,n])}}function c(f){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,f[0]&&(e=0)),e)try{if(r=1,i&&(u=f[0]&2?i["return"]:f[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,f[1])).done)return u;if(i=0,u)f=[f[0]&2,u.value];switch(f[0]){case 0:case 1:u=f;break;case 4:e.label++;return{value:f[1],done:false};case 5:e.label++;i=f[1];f=[0];continue;case 7:f=e.ops.pop();e.trys.pop();continue;default:if(!(u=e.trys,u=u.length>0&&u[u.length-1])&&(f[0]===6||f[0]===2)){e=0;continue}if(f[0]===3&&(!u||f[1]>u[0]&&f[1]<u[3])){e.label=f[1];break}if(f[0]===6&&e.label<u[1]){e.label=u[1];u=f;break}if(u&&e.label<u[2]){e.label=u[2];e.ops.push(f);break}if(u[2])e.ops.pop();e.trys.pop();continue}f=n.call(t,e)}catch(t){f=[6,t];i=0}finally{r=u=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};System.register(["./p-23ab2ff7.system.js","./p-6e5745c8.system.js"],(function(t){"use strict";var n,e,r,i,u;return{setters:[function(t){n=t.r;e=t.h;r=t.H;i=t.g},function(t){u=t.s}],execute:function(){var o=t("bal_form",function(){function t(t){n(this,t);this.native=false;this.novalidate=false}t.prototype.scrollToFirstInvalidField=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){u({formEl:this.el});return[2]}))}))};t.prototype.render=function(){var t=this.native?"form":"div";var n={};if(this.native){n={novalidate:this.novalidate}}return e(r,null,e(t,Object.assign({},n),e("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}())}}}));