LavaPack.loadBundle([[9293,{"../../shared/constants/messages":6719},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.generateActionId=void 0,t.setBackgroundConnection=async function(e){s=e},t.submitRequestToBackground=a,t.subscribeToMessengerEvent=async function(e,n){await a("messengerSubscribe",[e]);const t=t=>{var s;t.method===o.MESSENGER_SUBSCRIPTION_NOTIFICATION&&(null===(s=t.params)||void 0===s?void 0:s[0])===e&&n(t.params[1])};return s.onNotification(t),()=>(s.removeOnNotification(t),a("messengerUnsubscribe",[e]))};var o=e("../../shared/constants/messages");let s;function a(e,n){return s[e](...n??[])}t.generateActionId=()=>Date.now()+Math.random()}}},{package:"$root$",file:"ui/store/background-connection.ts"}]],[],{});