Jucundus/client/dist/angular-material-template/852.38e77b9083937542.js

1 line
8.9 KiB
JavaScript

"use strict";(self.webpackChunkangular_material_template=self.webpackChunkangular_material_template||[]).push([[852],{8852:(L,_,e)=>{e.r(_),e.d(_,{TypographyModule:()=>v});var I=e(1368),d=e(2992),t=e(3200),a=e(2116),l=e(2276),p=e(2080);const u=[{path:"",component:t.Y,children:[{path:"",component:(()=>{class n{constructor(){}static#t=this.\u0275fac=function(o){return new(o||n)};static#a=this.\u0275cmp=a.In1({type:n,selectors:[["app-typography"]],decls:41,vars:0,consts:[["fxLayout","row","fxLayoutAlign","center none",1,"container"],["fxFlex","95%"],[1,"note"],[1,"blockquote"]],template:function(o,y){1&o&&(a.I0R(0,"div",0)(1,"div",1)(2,"mat-card")(3,"mat-card-content")(4,"h2"),a.OEk(5,"Typography"),a.C$Y(),a.I0R(6,"span",2),a.OEk(7,"Header 1"),a.C$Y(),a.I0R(8,"h1"),a.OEk(9," The Life of Material Dashboard "),a.C$Y(),a.I0R(10,"span",2),a.OEk(11,"Header 2"),a.C$Y(),a.I0R(12,"h2"),a.OEk(13," The Life of Material Dashboard "),a.C$Y(),a.I0R(14,"span",2),a.OEk(15,"Header 3"),a.C$Y(),a.I0R(16,"h3"),a.OEk(17," The Life of Material Dashboard "),a.C$Y(),a.I0R(18,"span",2),a.OEk(19,"Header 4"),a.C$Y(),a.I0R(20,"h4"),a.OEk(21," The Life of Material Dashboard "),a.C$Y(),a.I0R(22,"span",2),a.OEk(23,"Header 5"),a.C$Y(),a.I0R(24,"h5"),a.OEk(25," The Life of Material Dashboard "),a.C$Y(),a.I0R(26,"span",2),a.OEk(27,"Header 6"),a.C$Y(),a.I0R(28,"h6"),a.OEk(29," The Life of Material Dashboard "),a.C$Y(),a.I0R(30,"span",2),a.OEk(31,"Paragraph"),a.C$Y(),a.I0R(32,"p"),a.OEk(33," I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that\u2019s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. "),a.C$Y(),a.I0R(34,"span",2),a.OEk(35,"Quote"),a.C$Y(),a.I0R(36,"blockquote",3)(37,"p"),a.OEk(38," I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that\u2019s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at. "),a.C$Y(),a.I0R(39,"small"),a.OEk(40," Kanye West, Musician "),a.C$Y()()()()()())},dependencies:[l.sZ,l.qG,l.CA,p.SM,p.WK]})}return n})()}]}];let O=(()=>{class n{static#t=this.\u0275fac=function(o){return new(o||n)};static#a=this.\u0275mod=a.a4G({type:n});static#e=this.\u0275inj=a.s3X({imports:[d.qQ.forChild(u),d.qQ]})}return n})();var h=e(9588);let v=(()=>{class n{static#t=this.\u0275fac=function(o){return new(o||n)};static#a=this.\u0275mod=a.a4G({type:n});static#e=this.\u0275inj=a.s3X({imports:[I.MD,h.k,O]})}return n})()},3200:(L,_,e)=>{e.d(_,{Y:()=>B});var I=e(4548),d=e(6928),t=e(2116),a=e(1216),l=e(3548),p=e(119),g=e(9920),u=e(2992),O=e(1368),h=e(9964),v=e(1560),n=e(964),M=e(7816),i=e(6664),o=e(3584),y=e(3576),P=e(9092),R=e(7500),k=e(6496),Y=e(8156),D=e(2978);function $(m,S){1&m&&t.wR5(0,"mat-progress-bar",26)}const T=()=>["/"],f=()=>["/account/profile"],b=()=>["/auth/login"],A=()=>["/dashboard"],G=()=>["/sales"],x=()=>["/favorites"],K=()=>["/pictures"],U=()=>["/users"],W=()=>["/about"];let B=(()=>{class m{constructor(c,r,s,E,C){this.changeDetectorRef=c,this.media=r,this.spinnerService=s,this.authService=E,this.authGuard=C,this.showSpinner=!1,this.userName="",this.isAdmin=!1,this.autoLogoutSubscription=new d.wH,this.mobileQuery=this.media.matchMedia("(max-width: 1000px)"),this._mobileQueryListener=()=>c.detectChanges(),this.mobileQuery.addListener(this._mobileQueryListener)}ngOnInit(){const c=this.authService.getCurrentUser();this.isAdmin=c.isAdmin,this.userName=c.fullName;const r=(0,I.k)(2e3,5e3);this.autoLogoutSubscription=r.subscribe(()=>{this.authGuard.canActivate()})}ngOnDestroy(){this.mobileQuery.removeListener(this._mobileQueryListener),this.autoLogoutSubscription.unsubscribe()}ngAfterViewInit(){this.changeDetectorRef.detectChanges()}static#t=this.\u0275fac=function(r){return new(r||m)(t.GI1(t.kD9),t.GI1(a.iG),t.GI1(l.m),t.GI1(p.A),t.GI1(g.Q))};static#a=this.\u0275cmp=t.In1({type:m,selectors:[["app-layout"]],decls:91,vars:35,consts:[[1,"navbar-container"],["color","primary",1,"navbar"],["mat-icon-button","",3,"click"],["matTooltip","Home",1,"navbar-brand",3,"routerLink"],[1,"navbar-spacer"],["mat-icon-button","",3,"matMenuTriggerFor"],["matBadge","2","matBadgeColor","accent"],["xPosition","before","yPosition","above",3,"overlapTrigger"],["notificationMenu","matMenu"],["mat-menu-item",""],["mat-button","",3,"matMenuTriggerFor"],["fxShow","","fxHide.xs",""],["userMenu","matMenu"],["mat-menu-item","",3,"routerLink"],[1,"navbar-sidenav-container"],["fixedTopGap","56",1,"sidenav",3,"opened","mode","fixedInViewport"],["snav",""],["mat-subheader",""],["mat-list-item","","routerLinkActive","active",3,"routerLink"],["matListItemIcon",""],["mat-line",""],["mat-list-item","",3,"routerLink"],["id","push-bottom","mat-list-item","","routerLinkActive","active",3,"routerLink"],[1,"sidenav-content"],[1,"progress-bar-container"],["color","accent","mode","indeterminate",4,"ngIf"],["color","accent","mode","indeterminate"]],template:function(r,s){if(1&r){const E=t.KQA();t.I0R(0,"div",0)(1,"mat-toolbar",1)(2,"button",2),t.qCj("click",function(){t.usT(E);const Q=t.Gew(39);return t.CGJ(Q.toggle())}),t.I0R(3,"mat-icon"),t.OEk(4,"menu"),t.C$Y()(),t.I0R(5,"a",3)(6,"h1"),t.OEk(7," Jucundus "),t.C$Y()(),t.wR5(8,"span",4),t.I0R(9,"button",5)(10,"mat-icon",6),t.OEk(11,"notifications"),t.C$Y()(),t.I0R(12,"mat-menu",7,8)(14,"a",9)(15,"span"),t.OEk(16,"You have new tasks"),t.C$Y()(),t.I0R(17,"a",9)(18,"span"),t.OEk(19,"You have a new message"),t.C$Y()()(),t.I0R(20,"button",10)(21,"mat-icon"),t.OEk(22,"person"),t.C$Y(),t.I0R(23,"span",11),t.OEk(24),t.C$Y()(),t.I0R(25,"mat-menu",7,12)(27,"a",13)(28,"mat-icon"),t.OEk(29,"person"),t.C$Y(),t.I0R(30,"span"),t.OEk(31,"Account"),t.C$Y()(),t.I0R(32,"a",13)(33,"mat-icon"),t.OEk(34,"exit_to_app"),t.C$Y(),t.I0R(35,"span"),t.OEk(36,"Log out"),t.C$Y()()()(),t.I0R(37,"mat-sidenav-container",14)(38,"mat-sidenav",15,16)(40,"mat-nav-list")(41,"h3",17),t.OEk(42,"Home"),t.C$Y(),t.I0R(43,"a",18)(44,"mat-icon",19),t.OEk(45," dashboard "),t.C$Y(),t.I0R(46,"p",20),t.OEk(47," Dashboard "),t.C$Y()(),t.I0R(48,"a",18)(49,"mat-icon",19),t.OEk(50," today "),t.C$Y(),t.I0R(51,"p",20),t.OEk(52," Sales "),t.C$Y()(),t.I0R(53,"a",18)(54,"mat-icon",19),t.OEk(55," bookmark "),t.C$Y(),t.I0R(56,"p",20),t.OEk(57," Favorites "),t.C$Y()(),t.I0R(58,"a",18)(59,"mat-icon",19),t.OEk(60," image "),t.C$Y(),t.I0R(61,"p",20),t.OEk(62," Pictures "),t.C$Y()(),t.I0R(63,"a",18)(64,"mat-icon",19),t.OEk(65," people "),t.C$Y(),t.I0R(66,"p",20),t.OEk(67," Users "),t.C$Y()(),t.wR5(68,"mat-divider"),t.I0R(69,"h3",17),t.OEk(70,"User"),t.C$Y(),t.I0R(71,"a",21)(72,"mat-icon",19),t.OEk(73,"person"),t.C$Y(),t.I0R(74,"p",20),t.OEk(75," Account "),t.C$Y()(),t.I0R(76,"a",21)(77,"mat-icon",19),t.OEk(78,"exit_to_app"),t.C$Y(),t.I0R(79,"p",20),t.OEk(80," Log out "),t.C$Y()(),t.I0R(81,"a",22)(82,"mat-icon",19),t.OEk(83," info_outline "),t.C$Y(),t.I0R(84,"p",20),t.OEk(85," About "),t.C$Y()()()(),t.I0R(86,"mat-sidenav-content",23)(87,"div",24),t.yuY(88,$,1,0,"mat-progress-bar",25),t.wVc(89,"async"),t.C$Y(),t.wR5(90,"router-outlet"),t.C$Y()()()}if(2&r){const E=t.Gew(13),C=t.Gew(26);t.eAK("example-is-mobile",s.mobileQuery.matches),t.yG2(5),t.E7m("routerLink",t.q4q(24,T)),t.yG2(4),t.E7m("matMenuTriggerFor",E),t.yG2(3),t.E7m("overlapTrigger",!1),t.yG2(8),t.E7m("matMenuTriggerFor",C),t.yG2(4),t.oRS(" ",s.userName," "),t.yG2(),t.E7m("overlapTrigger",!1),t.yG2(2),t.E7m("routerLink",t.q4q(25,f)),t.yG2(5),t.E7m("routerLink",t.q4q(26,b)),t.yG2(6),t.E7m("opened",!s.mobileQuery.matches)("mode",s.mobileQuery.matches?"over":"side")("fixedInViewport",s.mobileQuery.matches),t.yG2(5),t.E7m("routerLink",t.q4q(27,A)),t.yG2(5),t.E7m("routerLink",t.q4q(28,G)),t.yG2(5),t.E7m("routerLink",t.q4q(29,x)),t.yG2(5),t.E7m("routerLink",t.q4q(30,K)),t.yG2(5),t.E7m("routerLink",t.q4q(31,U)),t.yG2(8),t.E7m("routerLink",t.q4q(32,f)),t.yG2(5),t.E7m("routerLink",t.q4q(33,b)),t.yG2(5),t.E7m("routerLink",t.q4q(34,W)),t.yG2(7),t.E7m("ngIf",t.kDX(89,22,s.spinnerService.visibility))}},dependencies:[u.cP,u.ER,u.LC,O.u_,h.Ar,h.WS,h.Uq,v.qL,n.EZ,M.Gw,M.um,i.G2,i.g9,i.Y1,i.Qp,o.k,y.Cs,P.wx,R.aM,R.OQ,R.yG,k.a4,Y.S,D.s9,O.a],styles:[".navbar-spacer[_ngcontent-%COMP%]{flex:1 1 auto}.navbar[_ngcontent-%COMP%]{z-index:2}.navbar-brand[_ngcontent-%COMP%]{text-decoration:none;color:#fff}.navbar-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:absolute;inset:0}.navbar-is-mobile[_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%]{position:fixed;z-index:2}.navbar-sidenav-container[_ngcontent-%COMP%]{flex:1}.navbar-is-mobile[_ngcontent-%COMP%] .navbar-sidenav-container[_ngcontent-%COMP%]{flex:1 0 auto}mat-sidenav[_ngcontent-%COMP%]{min-width:180px!important;border-right:1px solid #eee;box-shadow:6px 0 6px #0000001a}.progress-bar-container[_ngcontent-%COMP%]{height:5px}a.mat-list-item.active[_ngcontent-%COMP%]{background:#0000000a}#push-bottom[_ngcontent-%COMP%]{position:absolute;bottom:0}"]})}return m})()}}]);