"use strict";(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/show-output-popup"],{2632:(e,t,s)=>{s.r(t),s.d(t,{default:()=>o});var p=s(89);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 n="",a="";t.result?(n="popupDone",a="hint-ok"):(n="popupError",a="hint-failed"),n=o.lmsg(n,{task:t.name,seconds:t.seconds});const l=new p.Popup({id:"scheduled-tasks-popup",title:o.lmsg("popupTitle"),closeButtonEnabled:!0,content:`<div><p><span class="${a}"><b>${n}</b></span></p></div><div class="tree-box"><p>${(0,p.escapeHtml)(s).replace(/\n/gm,"<br>")}</p></div>`,buttons:[{title:o.lmsg("popupClose"),handler(){l.hide()}}]})}}}]);
//# sourceMappingURL=show-output-popup.js.map?dc35b14f340af9fec424