import{a as k}from"./chunk-B22Z5HGN.js";import"./chunk-NZT7EMSF.js";import{b as L}from"./chunk-KVG6CKMN.js";import{a as H}from"./chunk-Q6YQJFNJ.js";import"./chunk-SPNVV2KO.js";import"./chunk-BGV4AOSB.js";import"./chunk-2SZ4MB2K.js";import{l as C}from"./chunk-N7PC5CHF.js";import"./chunk-ZTKV4AIV.js";import{ja as _,ka as h,la as E,ma as I,na as w,oa as M,ra as j,sa as B}from"./chunk-JIDGXFMJ.js";import"./chunk-MTR2L2TG.js";import"./chunk-5JDCLYZA.js";import"./chunk-YJYOGSOO.js";import"./chunk-73IMXZSJ.js";import{oa as T}from"./chunk-KVTHJWZA.js";import{Ab as c,Bc as N,Hb as m,Ic as y,Kc as S,Ob as x,Sb as i,Tb as t,Ua as u,Ub as p,hb as o,jc as f,na as s,qa as g,uc as b,vc as a,wc as r}from"./chunk-FWZCAEAJ.js";import"./chunk-CWTPBX7D.js";function O(n,e){if(n&1&&(i(0,"div",11),p(1,"pre",13),t()),n&2){let l=f();o(),m("innerHTML",l.bodyHTML,u)}}function P(n,e){if(n&1&&(i(0,"div",11)(1,"pre",12),a(2),t()()),n&2){let l=f();o(2),r(l.bodyHTML)}}function Y(n,e){if(n&1&&(i(0,"div",1)(1,"h1",2),a(2,"TMP-Notification"),t(),i(3,"scrollable-toolbar"),p(4,"back-button"),i(5,"div")(6,"span",3),a(7),y(8,"date"),t()(),i(9,"div")(10,"span",4),a(11),t()(),i(12,"div")(13,"span",4),a(14),t()()(),p(15,"hr"),i(16,"h3",2),a(17,"HTML"),t(),i(18,"ul",5,6)(20,"li",7)(21,"button",8),a(22,"Preview"),t(),c(23,O,2,1,"ng-template",9),t(),i(24,"li",7)(25,"button",8),a(26,"Source"),t(),c(27,P,3,1,"ng-template",9),t()(),p(28,"div",10),i(29,"h3",2),a(30,"Text"),t(),i(31,"div",11)(32,"pre",12),a(33),t()()()),n&2){let l=b(19);o(7),r(S(8,8,e.createdAt,"dd.MM.YYYY HH:mm:ss:SSS")),o(4),r(e.to),o(3),r(e.subject),o(4),m("activeId",1),o(2),m("ngbNavItem",1),o(4),m("ngbNavItem",2),o(4),m("ngbNavOutlet",l),o(5),r(e.body)}}var $=(()=>{let e=class e{constructor(){this.router=s(C),this.tmpNotification=s(k).single}ngOnInit(){this.tmpNotification()||this.router.navigateByUrl("/tmp-notifications")}};e.\u0275fac=function(d){return new(d||e)},e.\u0275cmp=g({type:e,selectors:[["app-tmp-notification-view"]],standalone:!0,features:[N],decls:1,vars:1,consts:[["class","d-flex flex-column gap-3"],[1,"d-flex","flex-column","gap-3"],[1,"my-0"],[1,"badge","text-bg-primary"],[1,"badge","text-bg-secondary"],["ngbNav","",1,"nav-tabs",3,"activeId"],["nav","ngbNav"],[3,"ngbNavItem"],["ngbNavLink",""],["ngbNavContent",""],[3,"ngbNavOutlet"],[1,"json-box"],[1,"json-data"],[1,"json-data",3,"innerHTML"]],template:function(d,D){if(d&1&&c(0,Y,34,11,"div",0),d&2){let v;x(0,(v=D.tmpNotification())?0:-1,v)}},dependencies:[H,L,T,B,_,I,E,h,M,w,j],styles:[`.json-box{padding:15px;background-color:#000;border-radius:5px}.json-data{margin-bottom:0}.container{display:flex;flex-direction:column;gap:.75rem;margin-top:-100px;max-width:unset;line-height:unset}.container>ul{display:flex;flex-direction:column;gap:.25rem}.logo-row{display:flex;justify-content:center;align-items:center;gap:1rem}.logo{max-width:96px;height:auto}
`],encapsulation:2});let n=e;return n})();export{$ as TmpNotificationViewComponent};
