import{R as o}from"./Root-rl66e6VO.js";import"./index-D02r7Zsc.js";class h extends o{constructor(){super(),this.setShortcuts(),this.setFont(),this.setFontSize(),this.setTopBarConfig()}setItem(t,e){localStorage.getItem(t)||localStorage.setItem(t,this.getConfig()[e])}setShortcuts(){this.setItem("leftButton","defaultLeftButton"),this.setItem("rightButton","defaultRightButton")}setFont(){this.setItem("customFont","defaultFont")}setFontSize(){this.setItem("fontSize","fontSize")}setTopBarConfig(){this.setItem("hideTopBar","hideTopBar")}async changeUserPassword(t,e,s){return await this.get("ws").changeUserPassword(t,e,s)}async updateAccountInfos(t,e){return await this.get("ws").updateAccountInfos(t,e)}}export{h as default};
