(()=>{"use strict";const e=require("electron");const t=[...["subscribe","unsubscribe","publish","openExternalUrl","openSubWindow","closeSubWindow","statSubWindow","openWatchLogWindow","startWatchLog","showErrorBox","showOpenDialog","showSaveDialog","loadFromFile","saveToFile","outputToMainLog","startService","stopService","statService","isServiceRunning","callServiceRPC","initWalletRepo","authWalletRepo","unauthWalletRepo","updateNetworksInfo","updateAccountsInfo","createOrImportAccount","deleteAccount","getAccountMetadata","isValidMasterPassphrase","getAccountAddressInfos","addAccountAddressInfo","getAllAccountAddressInfos","getAbelAddress","getShortAddress","fetchAbelAddress","fetchShortAddress","getCachedAbelAddress","getCachedShortAddress"].map((t=>[t,(...o)=>e.ipcRenderer.invoke(t,...o)])),["listen",function(t,o){!function(e){if(!e.startsWith("abec-")&&!e.startsWith("abewallet-"))throw Error(`Channel not exposed to renderer: ${e}.`)}(t);const r=e.ipcRenderer.listeners(t).length;r>0&&(console.warn(`Will remove existing ${r} listeners to channel ${t}.`),e.ipcRenderer.removeAllListeners(t)),e.ipcRenderer.on(t,o)}]];e.contextBridge.exposeInMainWorld("electronAPI",Object.fromEntries(t))})();
//# sourceMappingURL=preload.js.map