"use strict";const{contextBridge,ipcRenderer}=require("electron");contextBridge.exposeInMainWorld("UP",{Parent:(...e)=>ipcRenderer.send("parent",...e),Browser:(...e)=>ipcRenderer.send("browser",...e),AppMenu:(...e)=>ipcRenderer.send("app-menu",...e),ModalShow:(...e)=>ipcRenderer.send("modal-show",...e),ModalHide:(...e)=>ipcRenderer.send("modal-hide",...e),OnDark:e=>ipcRenderer.on("set-dark",(r,...n)=>e(...n)),OnLanguage:e=>ipcRenderer.on("set-language",(r,...n)=>e(...n)),WebViewShow:(...e)=>ipcRenderer.send("webview-show",...e),WebViewBack:(...e)=>ipcRenderer.send("webview-back",...e),WebViewStop:(...e)=>ipcRenderer.send("webview-stop",...e),WebViewLoad:(...e)=>ipcRenderer.send("webview-load",...e),WebViewReload:(...e)=>ipcRenderer.send("webview-reload",...e),WebViewForward:(...e)=>ipcRenderer.send("webview-forward",...e),WebViewZoomIn:(...e)=>ipcRenderer.send("webview-zoom-in",...e),WebViewZoomOut:(...e)=>ipcRenderer.send("webview-zoom-out",...e),WebViewZoomReset:(...e)=>ipcRenderer.send("webview-zoom-reset",...e),OnMessage:e=>ipcRenderer.on("message",(r,...n)=>e(...n))});
