var n=Object.defineProperty,r=(t,e,o)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,s=(t,e,o)=>r(t,typeof e!="symbol"?e+"":e,o);import{c as a}from"./chunk-DXS-TKru.js";class c{constructor(){s(this,"optionsStore",a)}async changeAcceptTerms(...e){return this.optionsStore.changeAcceptTerms(...e)}async changeAskToSendFlows(...e){return this.optionsStore.changeAskToSendFlows(...e)}async changeAskToSendFunnels(...e){return this.optionsStore.changeAskToSendFunnels(...e)}async changeAskToSendSingleItem(...e){return this.optionsStore.changeAskToSendSingleItem(...e)}async changeHideItemsBar(...e){return this.optionsStore.changeHideItemsBar(...e)}async changeShowOnlyFavoritesOnItemsBar(...e){return this.optionsStore.changeShowOnlyFavoritesOnItemsBar(...e)}async changeTheme(...e){return this.optionsStore.changeTheme(...e)}async changeWhatsappAutoScroll(...e){return this.optionsStore.changeWhatsappAutoScroll(...e)}}class i{constructor(e){this.repository=e}execute(e){if(typeof e!="boolean")throw new Error("ToggleDarkMode: A boolean must be provided");this.repository.changeTheme(e?"dark":"light")}}function h(t){return t=new i(t),t.execute.bind(t)}export{c as C,h as u};
