"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["app/show-output-popup"],{3051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var p=s(90);const o=t=>{const e=JSON.parse(t.getAttribute("data-config")),s=t.getAttribute("data-output"),o=p.Locale.getSection("components.tasks.scheduler-run-task");let a="",l="";e.result?(a="popupDone",l="hint-ok"):(a="popupError",l="hint-failed"),a=o.lmsg(a,{task:e.name,seconds:e.seconds});const n=new p.Popup({id:"scheduled-tasks-popup",title:o.lmsg("popupTitle"),closeButtonEnabled:!0,content:`<div><p><span class="${l}"><b>${a}</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(){n.hide()}}]})}}}]);
//# sourceMappingURL=show-output-popup.js.map?93d94298741e28be8505