(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/show-output-popup"],{1127:(t,e,p)=>{"use strict";p.r(e);var s=p(144);e.default=t=>{const e=JSON.parse(t.getAttribute("data-config")),p=t.getAttribute("data-output"),o=s.Locale.getSection("components.tasks.scheduler-run-task");let a="",n="";e.result?(a="popupDone",n="hint-ok"):(a="popupError",n="hint-failed"),a=o.lmsg(a,{task:e.name,seconds:e.seconds});const c=new s.Popup({id:"scheduled-tasks-popup",title:o.lmsg("popupTitle"),content:'<div><p><span class="'.concat(n,'"><b>').concat(a,"</b></span></p></div>")+'<div class="tree-box" style="height: 400px">'+"<p>".concat((0,s.escapeHtml)(p).replace(/\n/gm,"<br>"),"</p>")+"</div>",buttons:[{title:o.lmsg("popupClose"),handler(){c.hide()}}]})}}}]);
//# sourceMappingURL=show-output-popup.js.map?86a35690e6ff8dc1d1ca