export{F as FileUploadRejectionReason}from"./p-a65bc5e2.js";export{B as BalDate,i as i18nBalDate}from"./p-72e54211.js";export{i as i18nBalClose}from"./p-a0fe8d65.js";export{i as i18nBalDatepicker}from"./p-ce37dba1.js";export{i as i18nBalTimeInput}from"./p-8dc7ee30.js";export{i as i18nBalInputStepper}from"./p-ad81b8ea.js";export{i as i18nBalLabel}from"./p-09ab29d6.js";export{a as BalSnackbarController,B as BalToastController,c as balSnackbarController,b as balToastController,i as initialize,i as initializeBaloiseDesignSystem,s as setupConfig}from"./p-be2499b4.js";export{n as newBalStepOption}from"./p-725c3eb1.js";export{n as newBalTabOption}from"./p-3f62022e.js";import{g as t,c as r}from"./p-28b0e0a8.js";export{c as componentOnReady,e as deepReady,g as getAppRoot,i as isDescendant,s as shallowReady,f as wait,b as waitAfterFramePaint,d as waitAfterIdleCallback,w as waitForComponent,a as waitForDesignSystem}from"./p-28b0e0a8.js";export{s as scrollToFirstInvalidField}from"./p-f385e205.js";export{B as BalScrollHandler}from"./p-64218a56.js";import{b as l}from"./p-e680e7e4.js";export{b as balBrowser}from"./p-e680e7e4.js";import{b as p}from"./p-da187899.js";export{B as BalDevice,b as balDevice}from"./p-da187899.js";import{g as m,a as j}from"./p-4f644803.js";import{B as h,b as x}from"./p-2de6aa8f.js";export{c as BalBreakpointSubject,d as BalBreakpointsUtil,a as balBreakpointSubject,b as balBreakpoints}from"./p-2de6aa8f.js";export{a as attachToConfig,d as detachFromConfig,o as onBalConfigChange,u as updateBalAllowedLanguages,b as updateBalAnimated,c as updateBalIcons,e as updateBalLanguage,f as updateBalRegion,g as useBalConfig}from"./p-ba041fc5.js";export{d as defaultConfig}from"./p-e7a581f5.js";import{S as C}from"./p-ab217a42.js";export{B as BalSwipeSubject}from"./p-f216e83d.js";import"./p-3e8ff66b.js";import"./p-236f0668.js";import"./p-9a3d9e17.js";import"./p-90108212.js";import"./p-73aabc9d.js";import"./p-7c679dda.js";import"./p-2f931022.js";const S={de:{optional:" (optional)"},en:{optional:" (optional)"},fr:{optional:" (optionnel)"},it:{optional:" (opzionale)"},nl:{optional:" (optioneel)"},es:{optional:" (opcional)"},pl:{optional:" (opcjonalnie)"},pt:{optional:" (opcional)"},sv:{optional:" (frivillig)"},fi:{optional:" (valinnainen)"}},v=a=>Object.assign(Object.assign({interface:"checkbox",labelHidden:!1,flat:!1,disabled:!1,readonly:!1,required:!1,hidden:!1,invalid:!1,checked:!1},a),{label:"",html:a.label}),y=a=>Object.assign(Object.assign({interface:"radio",labelHidden:!1,flat:!1,disabled:!1,readonly:!1,required:!1,hidden:!1,invisible:!1,invalid:!1},a),{label:"",html:a.label}),k=(a,e,o=!1,s)=>({value:a,label:e,disabled:o,data:s}),D=(a,e=!1,o)=>k(a,a,e,o);class O extends C{constructor(){super((a=>a.orientationListener(this.state))),this.listener=new h,this.state=p.orientation.toObject(),this.listener.connect(),this.listener.add((()=>{const a=p.orientation.toObject();this.isEqual(a)||(this.state=a,this.notify(void 0))}))}attach(a){super.attach(a),a.orientationListener(this.state)}isEqual(a){return a.landscape===this.state.landscape&&a.portrait===this.state.portrait}}const R=new O;class T{constructor(){this.tag="bal-modal"}create(a){return"undefined"!=typeof customElements&&l.hasDocument?customElements.whenDefined(this.tag).then((()=>{const e=document.createElement(this.tag);return Object.assign(e,a),t(document).appendChild(e),new Promise((a=>r(e,a)))})):Promise.resolve()}async dismissAll(a,e){if(l.hasDocument){const o=m(document,this.tag);await Promise.all(o.map((o=>o.dismiss(a,e))))}}dismiss(a,e,o){if(l.hasDocument){const s=j(document,this.tag,o);return s?s.dismiss(a,e):Promise.reject("overlay does not exist")}return Promise.resolve(!1)}async getTop(){if(l.hasDocument)return j(document,this.tag)}}const A=new T,P=()=>p.hasTouchScreen,I=a=>"Safari"===a&&l.isSafari,q=()=>x.detect(),z=(a,e)=>("string"==typeof a&&(e=a),!!e&&x.detect().includes(e)),E=k,H=D;export{T as BalModalController,O as BalOrientationSubject,E as NewBalOptionValue,H as NewBalSingleOptionValue,A as balModalController,R as balOrientationSubject,q as getPlatforms,P as hasTouchSupport,S as i18nBalFieldLabel,I as isBrowser,z as isPlatform,v as newBalCheckboxOption,k as newBalOptionValue,y as newBalRadioOption,D as newBalSingleOptionValue}