"use strict";(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/eula"],{2980:(e,p,l)=>{l.r(p),l.d(p,{default:()=>u});var t=l(90);const u=({isUpdate:e,license:p})=>{const l=t.Locale.getSection("admin.controllers.index.eula");new t.Popup({popupCls:"popup-panel popup-panel-lg",id:"eula-update-popup",hideOnBgClick:!1,title:e?l.lmsg("updatePopupTitle"):l.lmsg("popupTitle"),content:`<h4>${e?l.lmsg("updatePopupDescription"):l.lmsg("popupDescription")}</h4><div class="eula">${p}</div>`,buttons:[{id:"eula-update-accept",title:l.lmsg("buttonAccept"),handler(e,p){t.api.post("/admin/index/accept-eula"),p.hide()}},{id:"eula-update-decline",title:l.lmsg("buttonDecline"),handler(e,p){document.location.href="/logout.php",p.hide()}}]})}}}]);
//# sourceMappingURL=eula.js.map?b34dba3143868523fd2a