Files
rsu-new-site/frontend/chunk-WJ7ZEA4X.js

2 lines
18 KiB
JavaScript

import{a as O}from"./chunk-SMVD5LRJ.js";import{d as T,f as H,g as G,i as j}from"./chunk-ZEULGWAI.js";import{a as h}from"./chunk-MBEC6LK4.js";import{Bb as _,Eb as n,Fa as d,Fb as b,Gb as L,Hc as w,Oa as S,Ob as A,R as f,S as k,T as r,Ta as E,U as a,ca as g,db as c,fb as u,jb as C,kb as e,lb as t,mb as i,qb as y,rb as v,sb as x,xc as V}from"./chunk-TVKQFRWX.js";import"./chunk-DAQOROHW.js";var U=()=>({exact:!0});function D(o,s){if(o&1){let m=y();e(0,"div",21)(1,"a",39),v("click",function(){f(m);let p=x();return k(p.userMenuOpen.set(!1))}),r(),e(2,"svg",40),i(3,"path",41),t(),n(4," Mon profil "),t(),a(),i(5,"hr",42),e(6,"button",43),v("click",function(){f(m);let p=x();return k(p.logout())}),r(),e(7,"svg",44),i(8,"path",45),t(),n(9," D\xE9connexion "),t()()}}function N(o,s){o&1&&(e(0,"a",25),r(),e(1,"svg",12),i(2,"path",13),t(),n(3," Tableau de bord "),t()),o&2&&C("routerLinkActiveOptions",A(1,U))}function I(o,s){o&1&&(e(0,"div",26)(1,"p",28),n(2,"Contenus secondaires"),t(),e(3,"a",46),r(),e(4,"svg",12),i(5,"path",30),t(),n(6," Services du RSU "),t(),a(),e(7,"a",47),r(),e(8,"svg",12),i(9,"path",30),t(),n(10," Agendas "),t(),a(),e(11,"a",48),r(),e(12,"svg",12),i(13,"path",30),t(),n(14," Ev\xE8nements "),t()())}function R(o,s){if(o&1&&(e(0,"span",55),n(1),t()),o&2){let m=x(2);d(),b(m.unreadMessages())}}function B(o,s){if(o&1&&(e(0,"span",55),n(1),t()),o&2){let m=x(2);d(),b(m.unreadComplaints())}}function P(o,s){if(o&1&&(e(0,"span",62),n(1),t()),o&2){let m=x(2);d(),b(m.pendingComments())}}function F(o,s){if(o&1&&(e(0,"p",49),n(1,"Communication et suivi"),t(),e(2,"a",50),r(),e(3,"svg",12),i(4,"path",51),t(),n(5," Utilisateurs "),t(),a(),e(6,"a",52),r(),e(7,"svg",12),i(8,"path",53),t(),a(),e(9,"span",54),n(10,"Messages"),t(),c(11,R,2,1,"span",55),t(),e(12,"a",56),r(),e(13,"svg",12),i(14,"path",57),t(),n(15," Contacts des d\xE9partements "),t(),a(),e(16,"a",58),r(),e(17,"svg",12),i(18,"path",59),t(),a(),e(19,"span",54),n(20,"Plaintes et r\xE9clamations"),t(),c(21,B,2,1,"span",55),t(),e(22,"a",60),r(),e(23,"svg",12),i(24,"path",61),t(),a(),e(25,"span",54),n(26,"Commentaires"),t(),c(27,P,2,1,"span",62),t(),e(28,"p",63),n(29,"Configuration du site"),t(),e(30,"a",64),r(),e(31,"svg",12),i(32,"path",65),t(),n(33," Page d\u2019accueil "),t(),a(),e(34,"a",66),r(),e(35,"svg",12),i(36,"path",67),t(),n(37," Carrousel "),t(),a(),e(38,"a",68),r(),e(39,"svg",12),i(40,"path",69),t(),n(41," Statistiques "),t(),a(),e(42,"a",70),r(),e(43,"svg",12),i(44,"path",71),t(),n(45," Partenaires "),t(),a(),e(46,"a",72),r(),e(47,"svg",12),i(48,"path",73),t(),n(49," Couverture territoriale "),t(),a(),e(50,"p",74),n(51,"Administration"),t()),o&2){let m=x();d(11),u(m.unreadMessages()>0?11:-1),d(10),u(m.unreadComplaints()>0?21:-1),d(6),u(m.pendingComments()>0?27:-1)}}function $(o,s){o&1&&(e(0,"div",75)(1,"p",28),n(2,"Administration"),t(),e(3,"a",76),r(),e(4,"svg",12),i(5,"path",36),t(),n(6," Type Documents "),t()(),a(),e(7,"div",77)(8,"p",28),n(9,"Configuration RSU"),t(),e(10,"a",78),r(),e(11,"svg",12),i(12,"path",36),t(),n(13," Pr\xE9sentation du RSU "),t(),a(),e(14,"a",79),r(),e(15,"svg",12),i(16,"path",36),t(),n(17," Secr\xE9tariat technique "),t(),a(),e(18,"a",80),r(),e(19,"svg",12),i(20,"path",36),t(),n(21," Organigramme "),t(),a(),e(22,"a",81),r(),e(23,"svg",12),i(24,"path",36),t(),n(25," Domaines "),t(),a(),e(26,"a",82),r(),e(27,"svg",12),i(28,"path",36),t(),n(29," Organisation "),t(),a(),e(30,"a",83),r(),e(31,"svg",12),i(32,"path",36),t(),n(33," Missions "),t()())}function q(o,s){if(o&1){let m=y();e(0,"div",84),v("click",function(){f(m);let p=x();return k(p.sidebarOpen.set(!1))}),t()}}var z=class o{constructor(s,m){this.authService=s;this.http=m;this.authService.isAdmin()&&(this.loadComplaintNotifications(),this.complaintTimer=setInterval(()=>this.loadComplaintNotifications(),3e4))}sidebarOpen=g(!1);userMenuOpen=g(!1);unreadComplaints=g(0);unreadMessages=g(0);pendingComments=g(0);complaintTimer;loadComplaintNotifications(){this.http.get(`${h.apiUrl}/contacts/messages/unread-count`).subscribe({next:s=>this.unreadMessages.set(s.count||0),error:()=>this.loadUnreadMessagesFromList()}),this.http.get(`${h.apiUrl}/contacts/complaints/unread-count`).subscribe({next:s=>this.unreadComplaints.set(s.count||0)}),this.http.get(`${h.apiUrl}/article-interactions/admin/comments/pending-count`).subscribe({next:s=>this.pendingComments.set(s.count||0)})}loadUnreadMessagesFromList(){this.http.get(`${h.apiUrl}/contacts?page=0&size=200&sortBy=createdAt&sortDir=desc`).subscribe({next:s=>{let m=s.data?.content||[];this.unreadMessages.set(m.filter(l=>l.type==="CONTACT"&&l.status==="NON_LU").length)}})}ngOnDestroy(){this.complaintTimer&&clearInterval(this.complaintTimer)}logout(){this.userMenuOpen.set(!1),this.authService.logout()}static \u0275fac=function(m){return new(m||o)(S(O),S(w))};static \u0275cmp=E({type:o,selectors:[["app-admin-layout"]],decls:55,vars:12,consts:[[1,"min-h-screen","bg-slate-50"],[1,"bg-white","border-b","border-slate-100","sticky","top-0","z-50"],[1,"flex","items-center","justify-between","h-16","px-4","lg:px-8"],[1,"flex","items-center","gap-4"],[1,"p-2","rounded-lg","hover:bg-slate-100","lg:hidden","transition-colors",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-6","h-6","text-slate-600"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M4 6h16M4 12h16M4 18h16"],["routerLink","/admin",1,"flex","items-center","gap-3"],[1,"w-12","h-12","rounded-lg","flex","items-center","justify-center","overflow-hidden"],["src","assets/images/rsu-logo.jpg","alt","Logo du Registre Social Unique",1,"w-full","h-full","object-contain"],[1,"font-semibold","text-slate-800","hidden","sm:block"],["routerLink","/",1,"p-2","rounded-lg","text-slate-500","hover:bg-slate-100","hover:text-primary-600","transition-all"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-5","h-5"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"],[1,"relative"],[1,"flex","items-center","gap-2","p-2","rounded-lg","hover:bg-slate-100","transition-colors",3,"click"],[1,"w-9","h-9","bg-primary-100","rounded-lg","flex","items-center","justify-center"],[1,"text-primary-600","font-semibold","text-sm"],[1,"hidden","sm:block","text-sm","font-medium","text-slate-700"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","text-slate-400"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 9l-7 7-7-7"],[1,"absolute","top-full","right-0","mt-2","w-48","bg-white","rounded-lg","shadow-soft","border","border-slate-100","py-1","z-50"],[1,"flex"],[1,"fixed","lg:static","inset-y-0","left-0","z-40","w-64","bg-white","border-r","border-slate-100","transform","transition-transform","duration-300","lg:translate-x-0",2,"top","64px"],[1,"flex","flex-col","p-4"],["routerLink","/admin/dashboard","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"order-1","flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",3,"routerLinkActiveOptions"],[1,"order-3","pt-4"],[1,"order-2","pt-4","flex","flex-col"],[1,"px-4","text-xs","font-semibold","text-slate-400","uppercase","tracking-wider","mb-2"],["routerLink","/admin/articles","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","1"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"],["routerLink","/admin/cos-sessions","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 7V3m8 4V3M5 11h14M5 5h14a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2z"],["routerLink","/admin/infoline","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","4"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M11 5h10M11 9h7M11 13h10M11 17h7M3 6h.01M3 10h.01M3 14h.01M3 18h.01"],["routerLink","/admin/documents","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","3"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z"],[1,"fixed","inset-0","bg-slate-900/30","backdrop-blur-sm","z-30","lg:hidden",2,"top","64px"],[1,"flex-1","p-4","lg:p-8","min-h-[calc(100vh-64px)]"],["routerLink","/admin/profile",1,"flex","items-center","gap-3","px-4","py-2","text-sm","text-slate-700","hover:bg-slate-50",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","text-slate-500"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"],[1,"my-1","border-slate-100"],[1,"flex","items-center","gap-3","px-4","py-2","text-sm","text-danger-600","hover:bg-slate-50","w-full",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"],["routerLink","/admin/services","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors"],["routerLink","/admin/agendas","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors"],["routerLink","/admin/evenements","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors"],[1,"px-4","pt-5","text-xs","font-semibold","text-slate-400","uppercase","tracking-wider","mb-2",2,"order","5"],["routerLink","/admin/users","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","20"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"],["routerLink","/admin/contacts","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"],[1,"flex-1"],[1,"flex","h-6","min-w-6","items-center","justify-center","rounded-full","bg-red-600","px-1.5","text-xs","font-bold","text-white"],["routerLink","/admin/department-contacts","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","15"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M17 20h5v-2a4 4 0 00-4-4h-1M9 20H2v-2a4 4 0 014-4h3m4 6v-2a5 5 0 00-10 0v2m10-12a4 4 0 11-8 0 4 4 0 018 0zm7 1a3 3 0 11-6 0 3 3 0 016 0z"],["routerLink","/admin/complaints","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","7"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.59a1 1 0 01.7.29l3.42 3.42a1 1 0 01.29.7V19a2 2 0 01-2 2z"],["routerLink","/admin/article-comments","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","8"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 4v-4z"],[1,"flex","h-6","min-w-6","items-center","justify-center","rounded-full","bg-amber-500","px-1.5","text-xs","font-bold","text-white"],[1,"px-4","pt-5","text-xs","font-semibold","text-slate-400","uppercase","tracking-wider","mb-2",2,"order","9"],["routerLink","/admin/homepage-content","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","10"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M4 6h16M4 12h16M4 18h10"],["routerLink","/admin/homepage-carousel","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","11"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M4 16l4-4a2 2 0 012.8 0l2.2 2.2 2-2a2 2 0 012.8 0L21 15m-2-9h.01M5 4h14a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V6a2 2 0 012-2z"],["routerLink","/admin/etats","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","12"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M4 19V9m5 10V5m5 14v-7m5 7V3"],["routerLink","/admin/partners","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","14"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M17 20h5v-2a3 3 0 00-5.36-1.86M17 20H7m10 0v-2c0-.66-.13-1.29-.36-1.86M7 20H2v-2a3 3 0 015.36-1.86M7 20v-2c0-.66.13-1.29.36-1.86m9.28 0a5 5 0 00-9.28 0M15 7a3 3 0 11-6 0 3 3 0 016 0z"],["routerLink","/admin/coverage","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors",2,"order","13"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 20l-5.45-2.73A1 1 0 013 16.38V5.62a1 1 0 011.45-.89L9 7m0 13l6-3m-6 3V7m6 10l4.55 2.27A1 1 0 0021 18.38V7.62a1 1 0 00-.55-.89L15 4m0 13V4m0 0L9 7"],[1,"px-4","pt-5","text-xs","font-semibold","text-slate-400","uppercase","tracking-wider","mb-2",2,"order","19"],[1,"order-5","pt-4"],["routerLink","/admin/types","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors"],[1,"order-4","pt-4"],["routerLink","/admin/minist\xE8re","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors"],["routerLink","/admin/ministre","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors"],["routerLink","/admin/organigramme","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors"],["routerLink","/admin/domains","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors"],["routerLink","/admin/structures","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors"],["routerLink","/admin/missions","routerLinkActive","bg-primary-50 text-primary-600 font-medium",1,"flex","items-center","gap-3","px-4","py-3","text-sm","text-slate-600","rounded-lg","hover:bg-slate-50","transition-colors"],[1,"fixed","inset-0","bg-slate-900/30","backdrop-blur-sm","z-30","lg:hidden",2,"top","64px",3,"click"]],template:function(m,l){if(m&1&&(e(0,"div",0)(1,"header",1)(2,"div",2)(3,"div",3)(4,"button",4),v("click",function(){return l.sidebarOpen.set(!l.sidebarOpen())}),r(),e(5,"svg",5),i(6,"path",6),t()(),a(),e(7,"a",7)(8,"div",8),i(9,"img",9),t(),e(10,"span",10),n(11,"Administration RSU"),t()()(),e(12,"div",3)(13,"a",11),r(),e(14,"svg",12),i(15,"path",13),t()(),a(),e(16,"div",14)(17,"button",15),v("click",function(){return l.userMenuOpen.set(!l.userMenuOpen())}),e(18,"div",16)(19,"span",17),n(20),t()(),e(21,"span",18),n(22),t(),r(),e(23,"svg",19),i(24,"path",20),t()(),c(25,D,10,0,"div",21),t()()()(),a(),e(26,"div",22)(27,"aside",23)(28,"nav",24),c(29,N,4,2,"a",25),c(30,I,15,0,"div",26),e(31,"div",27)(32,"p",28),n(33,"Contenus \xE0 publier"),t(),e(34,"a",29),r(),e(35,"svg",12),i(36,"path",30),t(),n(37," Articles "),t(),a(),e(38,"a",31),r(),e(39,"svg",12),i(40,"path",32),t(),n(41," Sessions du COS-RSU "),t(),a(),e(42,"a",33),r(),e(43,"svg",12),i(44,"path",34),t(),n(45," Flash info "),t(),a(),e(46,"a",35),r(),e(47,"svg",12),i(48,"path",36),t(),n(49," Documents "),t(),c(50,F,52,3),t(),c(51,$,34,0),t()(),c(52,q,1,0,"div",37),a(),e(53,"main",38),i(54,"router-outlet"),t()()()),m&2){let p,M;d(20),L(" ",((p=l.authService.currentUser())==null||p.firstName==null?null:p.firstName.charAt(0))||"U"," "),d(2),L(" ",((M=l.authService.currentUser())==null?null:M.firstName)||"Utilisateur"," "),d(3),u(l.userMenuOpen()?25:-1),d(2),_("translate-x-0",l.sidebarOpen())("-translate-x-full",!l.sidebarOpen()),d(2),u(l.authService.isAdmin()?29:-1),d(),u(-1),d(20),u(l.authService.isAdmin()?50:-1),d(),u(-1),d(),u(l.sidebarOpen()?52:-1)}},dependencies:[V,j,T,H,G],encapsulation:2})};export{z as AdminLayoutComponent};