import{_ as n}from"./vendor-vite-runtime-DD1OZmLC.js";import{registerPlugin as i,WebPlugin as o}from"./vendor-capacitor-core-B4EWRrHz.js";const p=i("App",{web:()=>n(()=>Promise.resolve().then(()=>r),void 0).then(e=>new e.AppWeb)});class s extends o{constructor(){super(),this.handleVisibilityChange=()=>{const t={isActive:document.hidden!==!0};this.notifyListeners("appStateChange",t),document.hidden?this.notifyListeners("pause",null):this.notifyListeners("resume",null)},document.addEventListener("visibilitychange",this.handleVisibilityChange,!1)}exitApp(){throw this.unimplemented("Not implemented on web.")}async getInfo(){throw this.unimplemented("Not implemented on web.")}async getLaunchUrl(){return{url:""}}async getState(){return{isActive:document.hidden!==!0}}async minimizeApp(){throw this.unimplemented("Not implemented on web.")}async toggleBackButtonHandler(){throw this.unimplemented("Not implemented on web.")}async getAppLanguage(){return{value:navigator.language.split("-")[0].toLowerCase()}}}const r=Object.freeze(Object.defineProperty({__proto__:null,AppWeb:s},Symbol.toStringTag,{value:"Module"}));export{p as App};
