"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[615],{4615:(v,a,i)=>{i.r(a),i.d(a,{TerminalModule:()=>h});var c=i(6895),s=i(4463),m=i(7750),u=i(7579),n=i(4650),d=i(6272);const f=["terminaloutput"],p=[{path:"",component:(()=>{class e{constructor(t){this.$terminal=t,this.resizeEvent=new u.x}onWindowResize(){this.resizeEvent.next(void 0)}ngOnInit(){window.document.querySelector("body").classList.add("bg-black"),this.$terminal.startTerminal(this.termTarget,{},this.resizeEvent),this.$terminal.term.focus()}ngOnDestroy(){window.document.querySelector("body").classList.remove("bg-black"),this.$terminal.destroyTerminal()}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(d.z))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-terminal"]],viewQuery:function(t,r){if(1&t&&n.Gf(f,7),2&t){let l;n.iGM(l=n.CRH())&&(r.termTarget=l.first)}},hostBindings:function(t,r){1&t&&n.NdJ("resize",function(g){return r.onWindowResize(g)},!1,n.Jf7)},decls:8,vars:3,consts:[[1,"row","mb-3"],[1,"col-12"],[1,"primary-text","m-0"],[1,"flex-column","d-flex","align-items-stretch",2,"height","calc(100% - 52px)"],["id","docker-terminal",1,"terminal","align-self-end","w-100","h-100","mb-1"],["terminaloutput",""]],template:function(t,r){1&t&&(n.TgZ(0,"div",0)(1,"div",1)(2,"h3",2),n._uU(3),n.ALo(4,"translate"),n.qZA()()(),n.TgZ(5,"div",3),n._UZ(6,"div",4,5),n.qZA()),2&t&&(n.xp6(3),n.Oqu(n.lcZ(4,1,"menu.linux.label_terminal")))},dependencies:[s.X$],encapsulation:2}),e})()}];let T=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[m.Bz.forChild(p),m.Bz]}),e})(),h=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[c.ez,T,s.aw.forChild()]}),e})()}}]);