"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/eula"],{3141(e,p,l){l.r(p),l.d(p,{default:()=>a});var t=l(90);const a=({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?27099b88f6205ceb54e9