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